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 132 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7493
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0803.5+2046_daily_bin1748
RA = 120.888, Dec = 20.7678
tmin = 692409601, tmax = 692668801
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='880216', job_status='RUN', time_executed='2022-12-14 00:22:42.611357', time_epoch_executed='1671006162.61' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/880216

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/880216/ft1_4FGL_J0803.5+2046_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/880216/ft2_4FGL_J0803.5+2046_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/880216/ft1_4FGL_J0803.5+2046_daily_bin1748.fits outfile=/scratch/kocevski/880216/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1748.fits ra=120.888 dec=20.7678 rad=12.0 tmin=692409601.0 tmax=692668801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.56
user 3.33
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/880216/ft2_4FGL_J0803.5+2046_daily_bin1748.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/880216/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/880216/ft1_filtered_4FGL_J0803.5+2046_daily_bin1748.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.58
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 650

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/880216/ft1_filtered_4FGL_J0803.5+2046_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/880216/ft2_4FGL_J0803.5+2046_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/880216/ltcube_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/880216/ft2_4FGL_J0803.5+2046_daily_bin1748.fits
.....................!
real 12.31
user 11.90
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/880216/ft1_filtered_4FGL_J0803.5+2046_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/880216/ft2_4FGL_J0803.5+2046_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/880216/ltcube_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.fits outfile=/scratch/kocevski/880216/expmap_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/880216/ltcube_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.fits
.....................!
real 191.23
user 185.43
sys 5.46

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/880216/ft1_filtered_4FGL_J0803.5+2046_daily_bin1748.fits scfile=/scratch/kocevski/880216/ft2_4FGL_J0803.5+2046_daily_bin1748.fits outfile=/scratch/kocevski/880216/cmap_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/880216/ft1_filtered_4FGL_J0803.5+2046_daily_bin1748.fits scfile=/scratch/kocevski/880216/ft2_4FGL_J0803.5+2046_daily_bin1748.fits outfile=/scratch/kocevski/880216/cmap_HighResolution_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/880216/ft1_filtered_4FGL_J0803.5+2046_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/880216/ft2_4FGL_J0803.5+2046_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/880216/Model_4FGL_J0803.5+2046_daily_bin1748.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/880216/ft1_filtered_4FGL_J0803.5+2046_daily_bin1748.fits.....................!
real 77.83
user 76.33
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/880216/ft1_filtered_4FGL_J0803.5+2046_daily_bin1748.fits', '/scratch/kocevski/880216/ft2_4FGL_J0803.5+2046_daily_bin1748.fits', expMap='/scratch/kocevski/880216/expmap_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.fits', expCube='/scratch/kocevski/880216/ltcube_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/880216/Model_4FGL_J0803.5+2046_daily_bin1748.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/880216/ft1_filtered_4FGL_J0803.5+2046_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/880216/ft2_4FGL_J0803.5+2046_daily_bin1748.fits
Exposure map: /scratch/kocevski/880216/expmap_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.fits
Exposure cube: /scratch/kocevski/880216/ltcube_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/880216/Model_4FGL_J0803.5+2046_daily_bin1748.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6617       1.0000          .0000       .10000E+07
     2 'norm      '    .18303E-05   1.0000          .0000       .10000E+07
     3 'norm      '    5.6918       1.0000          .0000       .10000E+07
     4 'norm      '    13.984       1.0000          .0000       .10000E+07
     5 'Prefactor '    55.790       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.208       1.0000          .0000       .10000E+07
     7 'Prefactor '    28.480       1.0000          .0000       .10000E+07
     8 'Prefactor '    .87091E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .22262E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.4273       1.0000          .0000       .10000E+07
    11 'norm      '    .17100       1.0000          .0000       .10000E+07
    12 'Prefactor '    .84913E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .38086E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.1299       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.347       1.0000          .0000       .10000E+07
    16 'norm      '    .62049       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.0515       1.0000          .0000       .10000E+07
    18 'Prefactor '    .75805E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .88401       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0870       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=   7417.008     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1616 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6523        1.3215        .53707E-07   -.72049E-01
   2  norm           .0000        1.3527       -.15526E-06** at limit **
   3  norm          5.6931        2.0576        .80708E-07    .19244E-02
   4  norm          14.062        8.6782        .47884E-06   -.27574E-02
   5  Prefactor     56.436        71.388       -.20401E-05   -.39109E-01
   6  Prefactor     12.285        4.1442       -.20358E-06   -.23601E-01
   7  Prefactor     28.644        13.109       -.52537E-06    .14155    
   8  Prefactor      .0000        1.5490        .14400E-06** at limit **
   9  norm          .16653E-09    40.416        .13580E-06** at limit **
  10  Prefactor     4.6927        11.222       -.39470E-06   -.10689E-01
  11  norm          .23298E-06    51.832        .23107E-05** at limit **
  12  Prefactor     .44409E-09    28.229       -.31180E-06** at limit **
  13  Prefactor     .27756E-09    8.0955        .69361E-07** at limit **
  14  Prefactor     4.1622        2.4697       -.12215E-08   -.85892E-01
  15  Prefactor     14.378        1.6827       -.76315E-07    .11885E-01
  16  norm          .62801        1.3094       -.16195E-06   -.25146E-02
  17  Prefactor     1.9387        12.355       -.23038E-06   -.69332E-02
  18  Prefactor     .55511E-09    19.471       -.66848E-06** at limit **
  19  Normalizat    .88261        .22884        .79996E-05   -.10253E-04
  20  Prefactor     1.0872        .16294       -.47581E-05   -.57090E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.65228
  norm       = 0
  norm       = 5.69306
  norm       = 14.0619
  Prefactor  = 56.4363
  Prefactor  = 12.2851
  Prefactor  = 28.6441
  Prefactor  = 0
  norm       = 1.66533e-10
  Prefactor  = 4.69271
  norm       = 2.3298e-07
  Prefactor  = 4.44089e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 4.16224
  Prefactor  = 14.3779
  norm       = 0.628007
  Prefactor  = 1.93868
  Prefactor  = 5.55112e-10
  Normalizat = 0.882613
  Prefactor  = 1.08716
 **********
 **   18 **HESSE 
 **********

 FCN=   7417.008     FROM HESSE     STATUS=OK           347 CALLS     1963 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6523        15.680        .34035E-03   -1.5649    
   2  norm           .0000        .62317        .23692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.6931        2.0809        .42080E-03   -1.5660    
   4  norm          14.062        9.8929        .26759E-03   -1.5633    
   5  Prefactor     56.436        74.948        .13389E-03   -1.5558    
   6  Prefactor     12.285        25.437        .28645E-03   -1.5638    
   7  Prefactor     28.644        41.919        .18741E-03   -1.5601    
   8  Prefactor      .0000        1.5404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .16653E-09    16.092        .10976E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6927        12.890        .47836E-03   -1.5665    
  11  norm          .23298E-06    52.414        .12316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .44409E-09    28.219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27756E-09    8.1092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.1622        12.490        .49578E-03   -1.5667    
  15  Prefactor     14.378        31.260        .26417E-03   -1.5632    
  16  norm          .62801        1.6941        .67412E-03   -1.5692    
  17  Prefactor     1.9387        13.384        .72144E-03   -1.5680    
  18  Prefactor     .55511E-09    19.440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .88261        .20212        .70449E-01   -.97074    
  20  Prefactor     1.0872        .14256        .38102E-01   -.89878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82069e-06
Minuit parameter uncertainties:
  1  15.6805
  2  4.76922e-06
  3  2.0809
  4  9.89293
  5  74.9492
  6  25.4372
  7  41.9194
  8  2.16825e-06
  9  9.98575e-05
  10  12.8903
  11  0.00698926
  12  0.000220314
  13  9.03092e-05
  14  12.4897
  15  31.2601
  16  1.69407
  17  10.1879
  18  0.000205784
  19  0.202291
  20  0.142611
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  2.330e-07  6.989e-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.087e+00  1.426e-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:  8.826e-01  2.023e-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.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.60e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/880216/likelihoodResults_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7417.01736827
delta logL = -0.00913212617979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7416.72944246
delta logL = 0.278793682381

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8333       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .84112       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1025       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=   7416.729     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      281 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8333        10.165        .38358E-03    .28746E-02
   2  alpha         5.0000        3.2573        .46267    ** at limit **
   3  Normalizat    .84109        .19095        .71992E-01    .10320E-05
   4  Prefactor     1.1025        .14011        .37494E-01   -.23746E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.83327
  alpha      = 5
  Normalizat = 0.841085
  Prefactor  = 1.10249
 **********
 **   18 **HESSE 
 **********

 FCN=   7416.729     FROM HESSE     STATUS=OK            31 CALLS      312 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8333        9.9682        .15343E-04   -1.5656    
   2  alpha         5.0000        3.2554        .94099E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .84109        .22025        .31858E-03   -.98562    
   4  Prefactor     1.1025        .16218        .21102E-03   -.89387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53431e-11
Minuit parameter uncertainties:
  1  9.96825
  2  2.06637e-07
  3  0.220486
  4  0.162249
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/880216': 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) = 7416.72944244
delta logL = 0.278793695863

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  6.833e+00  9.968e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        alpha:  5.000e+00  2.066e-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.102e+00  1.622e-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:  8.411e-01  2.205e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/880216/cmap_HighResolution_692409601_692668801_4FGL_J0803.5+2046_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.60e-05', job_status='DONE', photon_flux_upper_limit='3.04e-08', time_completed='2022-12-14 00:32:30.930120', job_id='880216', GAL2='1.10', fit_tolerance='1e-08', EG2='0.84', EG='0.88', time_epoch_completed='1671006750.93', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.79e-01', ts2='0.59', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1748' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:32:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 880216: <4FGL_J0803.5+2046_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1748> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec 14 00:20:17 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:20:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:20:17 2022
Terminated at Wed Dec 14 00:32:31 2022
Results reported at Wed Dec 14 00:32:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1748 120.888 20.7678 692409601 692668801 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 :                                   589.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             281.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            734 sec.

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

