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


Performing analysis on: 4FGL_J1248.3+5820_daily_bin1711
RA = 192.084, Dec = 58.3432
tmin = 682819201, tmax = 683078401
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='122006', job_status='RUN', time_executed='2022-09-16 16:59:03.159997', time_epoch_executed='1663372743.16' WHERE source_name='4FGL J1248.3+5820' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/122006

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/122006/ft1_4FGL_J1248.3+5820_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/122006/ft2_4FGL_J1248.3+5820_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/122006/ft1_4FGL_J1248.3+5820_daily_bin1711.fits outfile=/scratch/kocevski/122006/ft1_filteredMKT_4FGL_J1248.3+5820_daily_bin1711.fits ra=192.084 dec=58.3432 rad=12.0 tmin=682819201.0 tmax=683078401.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.60
user 4.34
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/122006/ft2_4FGL_J1248.3+5820_daily_bin1711.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/122006/ft1_filteredMKT_4FGL_J1248.3+5820_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/122006/ft1_filtered_4FGL_J1248.3+5820_daily_bin1711.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.33
sys 0.16

Number of photons that the gtmktime cut: 593

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/122006/ft1_filtered_4FGL_J1248.3+5820_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/122006/ft2_4FGL_J1248.3+5820_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/122006/ltcube_682819201_683078401_4FGL_J1248.3+5820_daily_bin1711.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/122006/ft2_4FGL_J1248.3+5820_daily_bin1711.fits
.....................!
real 14.39
user 13.90
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/122006/ft1_filtered_4FGL_J1248.3+5820_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/122006/ft2_4FGL_J1248.3+5820_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/122006/ltcube_682819201_683078401_4FGL_J1248.3+5820_daily_bin1711.fits outfile=/scratch/kocevski/122006/expmap_682819201_683078401_4FGL_J1248.3+5820_daily_bin1711.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/122006/ltcube_682819201_683078401_4FGL_J1248.3+5820_daily_bin1711.fits
.....................!
real 191.84
user 185.62
sys 5.53

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/122006/ft1_filtered_4FGL_J1248.3+5820_daily_bin1711.fits scfile=/scratch/kocevski/122006/ft2_4FGL_J1248.3+5820_daily_bin1711.fits outfile=/scratch/kocevski/122006/cmap_682819201_683078401_4FGL_J1248.3+5820_daily_bin1711.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/122006/ft1_filtered_4FGL_J1248.3+5820_daily_bin1711.fits scfile=/scratch/kocevski/122006/ft2_4FGL_J1248.3+5820_daily_bin1711.fits outfile=/scratch/kocevski/122006/cmap_HighResolution_682819201_683078401_4FGL_J1248.3+5820_daily_bin1711.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/122006/ft1_filtered_4FGL_J1248.3+5820_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/122006/ft2_4FGL_J1248.3+5820_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/122006/Model_4FGL_J1248.3+5820_daily_bin1711.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/122006/ft1_filtered_4FGL_J1248.3+5820_daily_bin1711.fits.....................!
real 57.14
user 55.62
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/122006/ft1_filtered_4FGL_J1248.3+5820_daily_bin1711.fits', '/scratch/kocevski/122006/ft2_4FGL_J1248.3+5820_daily_bin1711.fits', expMap='/scratch/kocevski/122006/expmap_682819201_683078401_4FGL_J1248.3+5820_daily_bin1711.fits', expCube='/scratch/kocevski/122006/ltcube_682819201_683078401_4FGL_J1248.3+5820_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/122006/Model_4FGL_J1248.3+5820_daily_bin1711.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/122006/ft1_filtered_4FGL_J1248.3+5820_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/122006/ft2_4FGL_J1248.3+5820_daily_bin1711.fits
Exposure map: /scratch/kocevski/122006/expmap_682819201_683078401_4FGL_J1248.3+5820_daily_bin1711.fits
Exposure cube: /scratch/kocevski/122006/ltcube_682819201_683078401_4FGL_J1248.3+5820_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/122006/Model_4FGL_J1248.3+5820_daily_bin1711.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) = 6498.14476729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.191       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8959       1.0000          .0000       .10000E+07
     3 'norm      '    .23723E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .35423E-03   1.0000          .0000       .10000E+07
     5 'norm      '    2.5313       1.0000          .0000       .10000E+07
     6 'Prefactor '    .76243E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .58798E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .23225E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .25122E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .19165E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10587E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.3108       1.0000          .0000       .10000E+07
    13 'norm      '    2.7355       1.0000          .0000       .10000E+07
    14 'Prefactor '    .62131E-03   1.0000          .0000       .10000E+07
    15 'norm      '    1.8516       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.8007       1.0000          .0000       .10000E+07
    17 'Prefactor '    .46712E-04   1.0000          .0000       .10000E+07
    18 'norm      '    1.0645       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.1276       1.0000          .0000       .10000E+07
    20 'Prefactor '    19.777       1.0000          .0000       .10000E+07
    21 'norm      '    .45745E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .48961E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    1.3805       1.0000          .0000       .10000E+07
    24 'norm      '    4.6185       1.0000          .0000       .10000E+07
    25 'Prefactor '    7.0385       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0808       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .90464       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=   6498.109     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     1949 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.205        9.5323        .46582E-07   -.13732E-02
   2  Prefactor     5.8760        7.3076       -.16987E-06    .14108E-01
   3  norm          .47740E-08    4.6396       -.61630E-07** at limit **
   4  Prefactor     .15325E-05    4.7120        .31860E-07** at limit **
   5  norm          2.5890        4.6407       -.55878E-07   -.41772E-03
   6  Prefactor     .37192E-08    6.9920        .37911E-06** at limit **
   7  Prefactor     .25700E-04    56.776        .12554E-06** at limit **
   8  norm           .0000        3.4072       -.12560E-06** at limit **
   9  Prefactor     .53679E-07    4.3550       -.10174E-06** at limit **
  10  norm          .10472E-05    9.0126       -.26166E-06** at limit **
  11  Prefactor     .16653E-09    5.8390        .12527E-06** at limit **
  12  Prefactor     4.2904        3.7002        .30167E-07    .75674E-03
  13  norm          2.7367        1.5663        .29964E-07    .28124E-02
  14  Prefactor     .16764E-07    10.704       -.34949E-06** at limit **
  15  norm          1.8511        1.5009       -.19999E-07   -.11083E-02
  16  Prefactor     2.4965        42.357       -.79675E-06    .26269E-01
  17  Prefactor      .0000        1.8321       -.41521E-07** at limit **
  18  norm          1.0549        3.8182       -.36147E-06   -.16137E-02
  19  Prefactor     .14385E-04    1161.7       -.10209E-05** at limit **
  20  Prefactor     21.507        35.582        .53674E-06    .18681E-01
  21  norm           .0000        2.5297        .87906E-07** at limit **
  22  Prefactor     .83211E-07    16.796       -.28613E-06** at limit **
  23  Prefactor     1.3947        3.2020        .95159E-07    .10538E-02
  24  norm          4.6220        3.6053       -.47096E-07   -.10977E-02
  25  Prefactor     7.0328        1.3124        .33454E-08    .52876E-02
  26  Normalizat    1.0801        .17951        .26199E-06    .48330E-04
  27  Prefactor     .90524        .21334        .62876E-06    .26842E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.2052
  Prefactor  = 5.876
  norm       = 4.77396e-09
  Prefactor  = 1.5325e-06
  norm       = 2.58896
  Prefactor  = 3.71925e-09
  Prefactor  = 2.56996e-05
  norm       = 0
  Prefactor  = 5.36793e-08
  norm       = 1.04722e-06
  Prefactor  = 1.66533e-10
  Prefactor  = 4.2904
  norm       = 2.73667
  Prefactor  = 1.67644e-08
  norm       = 1.85115
  Prefactor  = 2.49651
  Prefactor  = 0
  norm       = 1.05495
  Prefactor  = 1.43852e-05
  Prefactor  = 21.5073
  norm       = 0
  Prefactor  = 8.32112e-08
  Prefactor  = 1.39471
  norm       = 4.62198
  Prefactor  = 7.03276
  Normalizat = 1.08011
  Prefactor  = 0.905237
 **********
 **   18 **HESSE 
 **********

 FCN=   6498.109     FROM HESSE     STATUS=OK           554 CALLS     2503 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.205        10.145        .27554E-03   -1.5635    
   2  Prefactor     5.8760        31.809        .41334E-03   -1.5659    
   3  norm          .47740E-08    9.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15325E-05    15.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.5890        4.8192        .64171E-03   -1.5676    
   6  Prefactor     .37192E-08    7.0595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .25700E-04    12.633        .15206E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.2933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .53679E-07    9.3990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10472E-05    11.820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    5.8768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2904        3.7040        .48496E-03   -1.5667    
  13  norm          2.7367        1.5651        .61536E-03   -1.5675    
  14  Prefactor     .16764E-07    12.330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8511        1.4974        .76586E-03   -1.5681    
  16  Prefactor     2.4965        69.457        .60764E-03   -1.5676    
  17  Prefactor      .0000        1.8341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.0549        3.8611        .11828E-02   -1.5687    
  19  Prefactor     .14385E-04    51.615        .15496E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     21.507        36.535        .22494E-03   -1.5615    
  21  norm           .0000        2.5169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .83211E-07    16.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.3947        3.2468        .92606E-03   -1.5684    
  24  norm          4.6220        3.6128        .46810E-03   -1.5665    
  25  Prefactor     7.0328        17.947        .37789E-03   -1.5655    
  26  Normalizat    1.0801        .15553        .38841E-01   -.90393    
  27  Prefactor     .90524        .18439        .45064E-01   -.95958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.72153e-07
Minuit parameter uncertainties:
  1  10.1455
  2  27.3431
  3  0.000424792
  4  0.00959283
  5  4.8192
  6  0.000324684
  7  0.036037
  8  1.37433e-05
  9  0.00142067
  10  0.00703638
  11  5.82435e-05
  12  3.70404
  13  1.56507
  14  0.000909055
  15  1.49742
  16  26.3367
  17  3.87597e-06
  18  3.86113
  19  0.0544979
  20  36.5357
  21  1.44313e-05
  22  0.00237733
  23  3.24677
  24  3.61278
  25  17.9474
  26  0.155599
  27  0.184517
Done.

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

Extracting fit parameters...

4FGL J1248.3+5820
   Spectrum: LogParabola
364         norm:  2.737e+00  1.565e+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:  9.052e-01  1.845e-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:  1.080e+00  1.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.29
Ra Dec: 192.084 58.343
Photon Index (Fixed Index): 1.81 +/- 0.00
Photon Flux (Fixed Index): 2.41e-08 +/- 1.38e-08
Energy Flux (Fixed Index): 2.42e-05 +/- 1.38e-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) = 6497.19337751
delta logL = 0.915960421385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6497.11365913
delta logL = 0.995678798648

Fit tolerance = 1e-08

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

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

 FCN=   6497.114     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      202 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0230        1.2349        .72706E-03   -.27470E-02
   2  alpha         1.1899        .31956        .27197       -.41974E-04
   3  Normalizat    1.0932        .14845        .38284E-01    .48075E-05
   4  Prefactor     .89825        .18328        .44983E-01    .14639E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.02301
  alpha      = 1.18989
  Normalizat = 1.09318
  Prefactor  = 0.898255
 **********
 **   18 **HESSE 
 **********

 FCN=   6497.114     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0230        1.4952        .65860E-05   -1.5680    
   2  alpha         1.1899        .40423        .11425E-01   -.55159    
   3  Normalizat    1.0932        .17170        .20810E-03   -.89971    
   4  Prefactor     .89825        .21191        .27930E-03   -.96202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01921e-12
Minuit parameter uncertainties:
  1  1.49519
  2  0.406697
  3  0.171784
  4  0.212107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/122006': 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) = 6497.11365889
delta logL = 0.995679041039

Extracting fit parameters...

4FGL J1248.3+5820
   Spectrum: LogParabola
364         norm:  2.023e+00  1.495e+00  0.000e+00  1.000e+06 ( 1.000e-12)
365        alpha:  1.190e+00  4.067e-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:  8.983e-01  2.121e-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:  1.093e+00  1.718e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.30
Ra Dec: 192.084 58.343
Photon Index (Free Index): 1.19 +/- 0.41
Photon Flux (Free Index): 1.20e-08 +/- 8.62e-09
Energy Flux (Free Index): 7.21e-05 +/- 6.94e-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/122006/cmap_HighResolution_682819201_683078401_4FGL_J1248.3+5820_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.41e-08', energy_flux2='7.21e-05', photon_flux_error='1.38e-08', dlogl='9.96e-01', energy_flux='2.42e-05', photon_flux2='1.20e-08', job_status='DONE', time_completed='2022-09-16 17:10:12.584629', photon_index_error2='0.41', photon_index2='1.19', ts='17.29', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='6.94e-05', EG='1.08', time_epoch_completed='1663373412.58', return_code='0', job_id='122006', GAL2='0.90', EG2='1.09', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='8.62e-09', ts2='19.30', photon_index='1.81' WHERE bin_id='1711' AND source_name='4FGL J1248.3+5820' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:10:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 122006: <4FGL_J1248.3+5820_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1248.3+5820_daily_bin1711> 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) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:56:58 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:56:58 2022
Terminated at Fri Sep 16 17:10:14 2022
Results reported at Fri Sep 16 17:10:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1248.3+5820_daily_bin1711 192.084 58.3432 682819201 683078401 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 :                                   669.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            890 sec.

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

