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 50 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_J1248.3+5820_daily_bin1715
RA = 192.084, Dec = 58.3432
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='122012', job_status='RUN', time_executed='2022-09-16 16:58:00.729583', time_epoch_executed='1663372680.73' WHERE source_name='4FGL J1248.3+5820' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/122012

Creating custom pfile directory:
/scratch/kocevski/122012/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/122012/ft1_4FGL_J1248.3+5820_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/122012/ft2_4FGL_J1248.3+5820_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/122012/ft1_4FGL_J1248.3+5820_daily_bin1715.fits outfile=/scratch/kocevski/122012/ft1_filteredMKT_4FGL_J1248.3+5820_daily_bin1715.fits ra=192.084 dec=58.3432 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.48
user 3.22
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/122012/ft2_4FGL_J1248.3+5820_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/122012/ft2_4FGL_J1248.3+5820_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/122012/ft1_filteredMKT_4FGL_J1248.3+5820_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/122012/ft1_filtered_4FGL_J1248.3+5820_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.52
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 556

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/122012/ft1_filtered_4FGL_J1248.3+5820_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/122012/ft2_4FGL_J1248.3+5820_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/122012/ltcube_683856001_684115201_4FGL_J1248.3+5820_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/122012/ft2_4FGL_J1248.3+5820_daily_bin1715.fits
.....................!
real 15.09
user 14.62
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/122012/ft1_filtered_4FGL_J1248.3+5820_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/122012/ft2_4FGL_J1248.3+5820_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/122012/ltcube_683856001_684115201_4FGL_J1248.3+5820_daily_bin1715.fits outfile=/scratch/kocevski/122012/expmap_683856001_684115201_4FGL_J1248.3+5820_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/122012/ltcube_683856001_684115201_4FGL_J1248.3+5820_daily_bin1715.fits
.....................!
real 191.96
user 186.82
sys 4.76

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

Setting source of interest to:
4FGL J1248.3+5820 @ 192.084 58.3432

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/122012/ft1_filtered_4FGL_J1248.3+5820_daily_bin1715.fits scfile=/scratch/kocevski/122012/ft2_4FGL_J1248.3+5820_daily_bin1715.fits outfile=/scratch/kocevski/122012/cmap_683856001_684115201_4FGL_J1248.3+5820_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=192.084 yref=58.3432 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/122012/ft1_filtered_4FGL_J1248.3+5820_daily_bin1715.fits scfile=/scratch/kocevski/122012/ft2_4FGL_J1248.3+5820_daily_bin1715.fits outfile=/scratch/kocevski/122012/cmap_HighResolution_683856001_684115201_4FGL_J1248.3+5820_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=192.084 yref=58.3432 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/122012/ft1_filtered_4FGL_J1248.3+5820_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/122012/ft2_4FGL_J1248.3+5820_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/122012/Model_4FGL_J1248.3+5820_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/122012/ft1_filtered_4FGL_J1248.3+5820_daily_bin1715.fits.....................!
real 53.99
user 52.63
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/122012/ft1_filtered_4FGL_J1248.3+5820_daily_bin1715.fits', '/scratch/kocevski/122012/ft2_4FGL_J1248.3+5820_daily_bin1715.fits', expMap='/scratch/kocevski/122012/expmap_683856001_684115201_4FGL_J1248.3+5820_daily_bin1715.fits', expCube='/scratch/kocevski/122012/ltcube_683856001_684115201_4FGL_J1248.3+5820_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/122012/Model_4FGL_J1248.3+5820_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.3+5820'

4FGL J1248.3+5820
   Spectrum: LogParabola
364         norm:  3.611e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
365        alpha:  1.811e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
366         beta:  4.589e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
367           Eb:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/122012/ft1_filtered_4FGL_J1248.3+5820_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/122012/ft2_4FGL_J1248.3+5820_daily_bin1715.fits
Exposure map: /scratch/kocevski/122012/expmap_683856001_684115201_4FGL_J1248.3+5820_daily_bin1715.fits
Exposure cube: /scratch/kocevski/122012/ltcube_683856001_684115201_4FGL_J1248.3+5820_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/122012/Model_4FGL_J1248.3+5820_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) = 6015.10452614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11707E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    28.328       1.0000          .0000       .10000E+07
     3 'norm      '    .56043E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .77764E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .13473E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.2233       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51990E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .15430E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.9379       1.0000          .0000       .10000E+07
    10 'norm      '    13.929       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11507E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .60336E-05   1.0000          .0000       .10000E+07
    13 'norm      '    2.9894       1.0000          .0000       .10000E+07
    14 'Prefactor '    .59009E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .34596E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    15.483       1.0000          .0000       .10000E+07
    17 'Prefactor '    .45567E-03   1.0000          .0000       .10000E+07
    18 'norm      '    1.6525       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2280       1.0000          .0000       .10000E+07
    20 'Prefactor '    .55495E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .10400       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.1442       1.0000          .0000       .10000E+07
    23 'Prefactor '    .39127E-04   1.0000          .0000       .10000E+07
    24 'norm      '    .90960E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .17839E-05   1.0000          .0000       .10000E+07
    26 'Normalizat'    .90680       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0969       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6015.041     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1882 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11932E-04    15.087       -.19807E-06** at limit **
   2  Prefactor     27.764        2.6611        .32815E-07   -.50820E-01
   3  norm          .13323E-08    4.5647        .23286E-06** at limit **
   4  Prefactor     .69963E-05    14.159        .30865E-06** at limit **
   5  norm          .34900E-06    2.3587       -.10348E-06** at limit **
   6  Prefactor     6.2184        6.1553       -.18557E-06   -.26621E-02
   7  Prefactor     .65004E-07    4.2849        .48253E-07** at limit **
   8  norm          .13711E-07    6.5178        .24942E-07** at limit **
   9  Prefactor     6.8331        4.3919        .54901E-07   -.32043E-01
  10  norm          13.900        7.0617       -.56647E-07   -.35622E-02
  11  Prefactor     .63727E-07    9.5710       -.20389E-06** at limit **
  12  Prefactor      .0000        1.6564        .37095E-07** at limit **
  13  norm          2.9869        1.9786       -.22141E-07   -.10863E-02
  14  Prefactor     .32474E-07    7.7696        .24305E-06** at limit **
  15  norm           .0000        1.2062        .11817E-07** at limit **
  16  Prefactor     14.993        3.8430       -.19015E-07    .22980E-01
  17  Prefactor     .11102E-09    3.7783        .12729E-06** at limit **
  18  norm          1.6495        2.9187        .68429E-07    .10455E-02
  19  Prefactor     4.1200        1.6811        .99211E-09    .33084E-03
  20  Prefactor     .32703E-05    38.246        .35339E-07** at limit **
  21  norm          .12127        42.209       -.12850E-05** at limit **
  22  Prefactor     .86959E-04    406.41        .30125E-05** at limit **
  23  Prefactor      .0000        1.6890       -.31213E-07** at limit **
  24  norm           .0000        1.7520        .12955E-07** at limit **
  25  Prefactor     .13217E-06    4.3115        .69699E-07** at limit **
  26  Normalizat    .90780        .17627       -.81871E-06   -.59641E-04
  27  Prefactor     1.0971        .22384        .18682E-05   -.14786E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.19321e-05
  Prefactor  = 27.7644
  norm       = 1.33227e-09
  Prefactor  = 6.99629e-06
  norm       = 3.48999e-07
  Prefactor  = 6.21841
  Prefactor  = 6.50036e-08
  norm       = 1.37113e-08
  Prefactor  = 6.83313
  norm       = 13.8996
  Prefactor  = 6.37268e-08
  Prefactor  = 0
  norm       = 2.98692
  Prefactor  = 3.2474e-08
  norm       = 0
  Prefactor  = 14.9928
  Prefactor  = 1.11022e-10
  norm       = 1.6495
  Prefactor  = 4.12005
  Prefactor  = 3.27027e-06
  norm       = 0.121265
  Prefactor  = 8.69587e-05
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.32172e-07
  Normalizat = 0.907797
  Prefactor  = 1.09707
 **********
 **   18 **HESSE 
 **********

 FCN=   6015.041     FROM HESSE     STATUS=OK           558 CALLS     2440 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11932E-04    26.480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.764        19.779        .18792E-03   -1.5603    
   3  norm          .13323E-08    4.5734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .69963E-05    21.574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .34900E-06    11.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.2184        6.1999        .40217E-03   -1.5658    
   7  Prefactor     .65004E-07    9.3095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .13711E-07    1.0045        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.8331        16.683        .38065E-03   -1.5656    
  10  norm          13.900        7.0724        .26812E-03   -1.5633    
  11  Prefactor     .63727E-07    11.512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.6574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9869        1.9835        .58689E-03   -1.5673    
  14  Prefactor     .32474E-07    7.8031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.1893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.993        23.182        .25427E-03   -1.5631    
  17  Prefactor     .11102E-09    3.7766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.6495        2.9494        .82086E-03   -1.5682    
  19  Prefactor     4.1200        50.162        .48982E-03   -1.5667    
  20  Prefactor     .32703E-05    41.269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .12127        1.9908        .85569E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .86959E-04    44.222        .15153E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        1.6832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        1.7497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .13217E-06    9.2291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .90780        .15117        .44988E-01   -.96187    
  27  Prefactor     1.0971        .18688        .57529E-01   -.89560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.85432e-07
Minuit parameter uncertainties:
  1  0.0355509
  2  19.7792
  3  0.000157412
  4  0.0245714
  5  0.00402427
  6  6.19991
  7  0.00155596
  8  0.000234874
  9  16.6834
  10  7.07237
  11  0.00171295
  12  4.24642e-06
  13  1.98355
  14  0.0010065
  15  8.82525e-06
  16  23.182
  17  3.6021e-05
  18  2.9494
  19  28.7524
  20  0.0232348
  21  0.982675
  22  0.124024
  23  3.90736e-06
  24  3.38278e-06
  25  0.00220898
  26  0.151239
  27  0.186988
Done.

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

Extracting fit parameters...

4FGL J1248.3+5820
   Spectrum: LogParabola
364         norm:  2.987e+00  1.984e+00  0.000e+00  1.000e+06 ( 1.000e-12)
365        alpha:  1.811e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
366         beta:  4.589e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
367           Eb:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.097e+00  1.870e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  9.078e-01  1.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.40
Ra Dec: 192.084 58.343
Photon Index (Fixed Index): 1.81 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 1.75e-08
Energy Flux (Fixed Index): 2.64e-05 +/- 1.75e-05

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) = 6015.03483731
delta logL = 0.00587282787455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6015.03453411
delta logL = 0.00617602500643

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6015.035     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      234 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9442        2.0128        .85130E-05    .10446E-01
   2  alpha         1.8612        .45693        .11870E-01    .73888E-04
   3  Normalizat    .90635        .17458        .21719E-03   -.54752E-04
   4  Prefactor     1.0980        .22348        .25430E-03   -.54944E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.94417
  alpha      = 1.86119
  Normalizat = 0.906351
  Prefactor  = 1.09803
 **********
 **   18 **HESSE 
 **********

 FCN=   6015.035     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9442        1.9971        .34052E-06   -1.5674    
   2  alpha         1.8612        .45337        .47479E-03   -.25839    
   3  Normalizat    .90635        .17473        .86876E-05   -.96237    
   4  Prefactor     1.0980        .22369        .10172E-04   -.89530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62362e-10
Minuit parameter uncertainties:
  1  1.9971
  2  0.456074
  3  0.174835
  4  0.223878
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/122012': 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) = 6015.03453411
delta logL = 0.00617602669445

Extracting fit parameters...

4FGL J1248.3+5820
   Spectrum: LogParabola
364         norm:  2.944e+00  1.997e+00  0.000e+00  1.000e+06 ( 1.000e-12)
365        alpha:  1.861e+00  4.561e-01  0.000e+00  5.000e+00 ( 1.000e+00)
366         beta:  4.589e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
367           Eb:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  1.098e+00  2.239e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  9.064e-01  1.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.40
Ra Dec: 192.084 58.343
Photon Index (Free Index): 1.86 +/- 0.46
Photon Flux (Free Index): 2.76e-08 +/- 2.14e-08
Energy Flux (Free Index): 2.44e-05 +/- 2.34e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/122012/cmap_HighResolution_683856001_684115201_4FGL_J1248.3+5820_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='2.44e-05', photon_flux_error='1.75e-08', dlogl='6.18e-03', energy_flux='2.64e-05', photon_flux2='2.76e-08', job_status='DONE', time_completed='2022-09-16 17:08:36.390823', photon_index_error2='0.46', photon_index2='1.86', ts='4.40', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='2.34e-05', EG='0.91', time_epoch_completed='1663373316.39', return_code='0', job_id='122012', GAL2='1.10', EG2='0.91', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='2.14e-08', ts2='4.40', photon_index='1.81' WHERE bin_id='1715' AND source_name='4FGL J1248.3+5820' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:08:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 122012: <4FGL_J1248.3+5820_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1248.3+5820_daily_bin1715> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 16:55:24 2022
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:57:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:57:01 2022
Terminated at Fri Sep 16 17:08:38 2022
Results reported at Fri Sep 16 17:08:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1248.3+5820_daily_bin1715 192.084 58.3432 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1248.3+5820 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   638.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            794 sec.

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

