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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin1765
RA = 120.888, Dec = 20.7678
tmin = 696816001, tmax = 697075201
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='629836', job_status='RUN', time_executed='2023-02-03 00:44:11.328549', time_epoch_executed='1675413851.33' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/629836

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/629836/ft1_4FGL_J0803.5+2046_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/629836/ft2_4FGL_J0803.5+2046_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/629836/ft1_4FGL_J0803.5+2046_daily_bin1765.fits outfile=/scratch/kocevski/629836/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1765.fits ra=120.888 dec=20.7678 rad=12.0 tmin=696816001.0 tmax=697075201.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.63
user 3.40
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/629836/ft2_4FGL_J0803.5+2046_daily_bin1765.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/629836/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/629836/ft1_filtered_4FGL_J0803.5+2046_daily_bin1765.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 627

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/629836/ft1_filtered_4FGL_J0803.5+2046_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/629836/ft2_4FGL_J0803.5+2046_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/629836/ltcube_696816001_697075201_4FGL_J0803.5+2046_daily_bin1765.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/629836/ft2_4FGL_J0803.5+2046_daily_bin1765.fits
.....................!
real 13.94
user 13.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/629836/ft1_filtered_4FGL_J0803.5+2046_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/629836/ft2_4FGL_J0803.5+2046_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/629836/ltcube_696816001_697075201_4FGL_J0803.5+2046_daily_bin1765.fits outfile=/scratch/kocevski/629836/expmap_696816001_697075201_4FGL_J0803.5+2046_daily_bin1765.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/629836/ltcube_696816001_697075201_4FGL_J0803.5+2046_daily_bin1765.fits
.....................!
real 192.12
user 186.50
sys 5.24

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/629836/ft1_filtered_4FGL_J0803.5+2046_daily_bin1765.fits scfile=/scratch/kocevski/629836/ft2_4FGL_J0803.5+2046_daily_bin1765.fits outfile=/scratch/kocevski/629836/cmap_696816001_697075201_4FGL_J0803.5+2046_daily_bin1765.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/629836/ft1_filtered_4FGL_J0803.5+2046_daily_bin1765.fits scfile=/scratch/kocevski/629836/ft2_4FGL_J0803.5+2046_daily_bin1765.fits outfile=/scratch/kocevski/629836/cmap_HighResolution_696816001_697075201_4FGL_J0803.5+2046_daily_bin1765.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.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.901       1.0000          .0000       .10000E+07
     2 'norm      '    .28311E-08   1.0000          .0000       .10000E+07
     3 'norm      '    17.605       1.0000          .0000       .10000E+07
     4 'norm      '    6.3028       1.0000          .0000       .10000E+07
     5 'Prefactor '    53.434       1.0000          .0000       .10000E+07
     6 'Prefactor '    28.734       1.0000          .0000       .10000E+07
     7 'Prefactor '    22.276       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.7423       1.0000          .0000       .10000E+07
     9 'norm      '    .32844E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .47734E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .49926       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11793       1.0000          .0000       .10000E+07
    13 'Prefactor '    .24623E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.4569       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17059E-06   1.0000          .0000       .10000E+07
    16 'norm      '    2.4158       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.8159       1.0000          .0000       .10000E+07
    18 'Prefactor '    .54028       1.0000          .0000       .10000E+07
    19 'Normalizat'    .68151       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0231       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=   7153.431     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1523 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.750        15.081       -.25334E-07    .52963E-03
   2  norm           .0000        .44849       -.16623E-07** at limit **
   3  norm          17.629        3.0721        .15392E-08   -.18623E-03
   4  norm          5.6927        10.136       -.35430E-06   -.19525E-02
   5  Prefactor     58.093        68.206        .69001E-06    .53310E-01
   6  Prefactor     30.399        34.013        .34089E-06    .14255E-01
   7  Prefactor     20.356        53.074       -.61585E-06    .13282E-01
   8  Prefactor     4.7508        3.0400       -.25449E-07    .11395E-03
   9  norm           .0000        5.3746       -.13432E-06** at limit **
  10  Prefactor      .0000        4.5331       -.10151E-06** at limit **
  11  norm          .13822E-07    122.95        .14865E-05** at limit **
  12  Prefactor      .0000        46.323        .74710E-06** at limit **
  13  Prefactor      .0000        19.369       -.52011E-07** at limit **
  14  Prefactor     7.5082        12.027       -.64260E-06    .52766E-03
  15  Prefactor      .0000        12.755       -.16485E-06** at limit **
  16  norm          2.4155        1.3117       -.96704E-08   -.15337E-03
  17  Prefactor     5.7725        9.6051        .64177E-06    .33038E-03
  18  Prefactor     .56434E-02    115.00       -.13539E-05** at limit **
  19  Normalizat    .68203        .22462        .33130E-05    .15360E-04
  20  Prefactor     1.0228        .15629       -.25076E-05    .24941E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 32.7498
  norm       = 0
  norm       = 17.6294
  norm       = 5.6927
  Prefactor  = 58.0933
  Prefactor  = 30.3991
  Prefactor  = 20.3557
  Prefactor  = 4.75085
  norm       = 0
  Prefactor  = 0
  norm       = 1.38223e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 7.50816
  Prefactor  = 0
  norm       = 2.4155
  Prefactor  = 5.77249
  Prefactor  = 0.00564344
  Normalizat = 0.682034
  Prefactor  = 1.02282
 **********
 **   18 **HESSE 
 **********

 FCN=   7153.431     FROM HESSE     STATUS=OK           341 CALLS     1864 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.750        15.086        .17436E-03   -1.5594    
   2  norm           .0000        .44373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.629        3.0754        .23843E-03   -1.5624    
   4  norm          5.6927        10.717        .39959E-03   -1.5660    
   5  Prefactor     58.093        72.561        .13681E-03   -1.5556    
   6  Prefactor     30.399        34.982        .18658E-03   -1.5598    
   7  Prefactor     20.356        53.010        .21193E-03   -1.5618    
   8  Prefactor     4.7508        3.0429        .46181E-03   -1.5664    
   9  norm           .0000        5.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.5331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .13822E-07    122.67        .78784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        45.644        .13471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        19.190        .16750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.5082        12.024        .36703E-03   -1.5653    
  15  Prefactor      .0000        12.718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4155        1.3174        .65832E-03   -1.5677    
  17  Prefactor     5.7725        9.6205        .41621E-03   -1.5660    
  18  Prefactor     .56434E-02    45.300        .12466E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .68203        .19944        .76487E-01   -1.0461    
  20  Prefactor     1.0228        .13627        .41844E-01   -.91973    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13147e-07
Minuit parameter uncertainties:
  1  15.0856
  2  1.18067e-09
  3  3.07538
  4  10.7169
  5  72.5619
  6  34.982
  7  53.0116
  8  3.04294
  9  6.15158e-06
  10  1.97321e-06
  11  0.00260621
  12  2.62938e-05
  13  1.07795e-06
  14  12.0242
  15  7.923e-06
  16  1.31736
  17  9.62049
  18  1.01124
  19  0.199649
  20  0.136313
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.382e-08  2.606e-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.023e+00  1.363e-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:  6.820e-01  1.996e-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.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/629836/likelihoodResults_696816001_697075201_4FGL_J0803.5+2046_daily_bin1765.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) = 7153.43530083
delta logL = -0.00397484853147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7150.10341231
delta logL = 3.32791366809

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.014       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .50327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0907       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=   7150.103     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      271 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.014        12.950        .18897E-03    .42418E-01
   2  alpha         5.0000        .26413        .46314E-01** at limit **
   3  Normalizat    .50338        .19660        .87836E-01   -.60272E-05
   4  Prefactor     1.0908        .14320        .37949E-01   -.83045E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 28.0139
  alpha      = 5
  Normalizat = 0.503379
  Prefactor  = 1.09075
 **********
 **   18 **HESSE 
 **********

 FCN=   7150.103     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.014        12.947        .75587E-05   -1.5602    
   2  alpha         5.0000        .26415        .92627E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .50338        .21373        .38917E-03   -1.1226    
   4  Prefactor     1.0908        .15642        .20325E-03   -.89763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08489e-08
Minuit parameter uncertainties:
  1  12.9471
  2  2.15141e-07
  3  0.214075
  4  0.156482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/629836': 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) = 7150.1034064
delta logL = 3.32791957793

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  2.801e+01  1.295e+01  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  5.000e+00  2.151e-07  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.091e+00  1.565e-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:  5.034e-01  2.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.27
Ra Dec: 120.888 20.768
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.45e-07 +/- 6.72e-08
Energy Flux (Free Index): 2.49e-05 +/- 1.15e-05

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/629836/cmap_HighResolution_696816001_697075201_4FGL_J0803.5+2046_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.79e-05', comment='SUCCESS', energy_flux2='2.49e-05', dlogl='3.33e+00', photon_flux2='1.45e-07', job_status='DONE', time_completed='2023-02-03 00:53:55.315071', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='3.41e-08', energy_flux_error2='1.15e-05', EG='0.68', time_epoch_completed='1675414435.32', return_code='0', job_id='629836', GAL2='1.09', EG2='0.50', return_code2='0', photon_flux_error2='6.72e-08', ts2='7.27', photon_index='2.00' WHERE bin_id='1765' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 00:53:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 629836: <4FGL_J0803.5+2046_daily_bin1765> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 00:40:15 2023
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:40:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:40:33 2023
Terminated at Fri Feb  3 00:53:55 2023
Results reported at Fri Feb  3 00:53:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1765 120.888 20.7678 696816001 697075201 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 :                                   585.30 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             266.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            820 sec.

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

