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


Performing analysis on: 4FGL_J1015.0+4926_daily_bin1717
RA = 153.768, Dec = 49.4336
tmin = 684374401, tmax = 684633601
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='90444', job_status='RUN', time_executed='2022-09-16 15:15:44.581283', time_epoch_executed='1663366544.58' WHERE source_name='4FGL J1015.0+4926' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90444

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90444/ft1_4FGL_J1015.0+4926_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90444/ft2_4FGL_J1015.0+4926_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90444/ft1_4FGL_J1015.0+4926_daily_bin1717.fits outfile=/scratch/kocevski/90444/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1717.fits ra=153.768 dec=49.4336 rad=12.0 tmin=684374401.0 tmax=684633601.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 5.11
user 4.83
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/90444/ft2_4FGL_J1015.0+4926_daily_bin1717.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90444/ft2_4FGL_J1015.0+4926_daily_bin1717.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/90444/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1717.fits evtable="EVENTS" outfile="/scratch/kocevski/90444/ft1_filtered_4FGL_J1015.0+4926_daily_bin1717.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.55
user 0.37
sys 0.14

Number of photons that the gtmktime cut: 556

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90444/ft1_filtered_4FGL_J1015.0+4926_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/90444/ft2_4FGL_J1015.0+4926_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/90444/ltcube_684374401_684633601_4FGL_J1015.0+4926_daily_bin1717.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/90444/ft2_4FGL_J1015.0+4926_daily_bin1717.fits
.....................!
real 14.76
user 14.34
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90444/ft1_filtered_4FGL_J1015.0+4926_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/90444/ft2_4FGL_J1015.0+4926_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/90444/ltcube_684374401_684633601_4FGL_J1015.0+4926_daily_bin1717.fits outfile=/scratch/kocevski/90444/expmap_684374401_684633601_4FGL_J1015.0+4926_daily_bin1717.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/90444/ltcube_684374401_684633601_4FGL_J1015.0+4926_daily_bin1717.fits
.....................!
real 192.25
user 187.34
sys 4.42

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

Setting source of interest to:
4FGL J1015.0+4926 @ 153.768 49.4336

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/90444/ft1_filtered_4FGL_J1015.0+4926_daily_bin1717.fits scfile=/scratch/kocevski/90444/ft2_4FGL_J1015.0+4926_daily_bin1717.fits outfile=/scratch/kocevski/90444/cmap_684374401_684633601_4FGL_J1015.0+4926_daily_bin1717.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=153.768 yref=49.4336 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.58
user 0.39
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90444/ft1_filtered_4FGL_J1015.0+4926_daily_bin1717.fits scfile=/scratch/kocevski/90444/ft2_4FGL_J1015.0+4926_daily_bin1717.fits outfile=/scratch/kocevski/90444/cmap_HighResolution_684374401_684633601_4FGL_J1015.0+4926_daily_bin1717.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=153.768 yref=49.4336 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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90444/ft1_filtered_4FGL_J1015.0+4926_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/90444/ft2_4FGL_J1015.0+4926_daily_bin1717.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90444/Model_4FGL_J1015.0+4926_daily_bin1717.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/90444/ft1_filtered_4FGL_J1015.0+4926_daily_bin1717.fits.....................!
real 54.61
user 53.30
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/90444/ft1_filtered_4FGL_J1015.0+4926_daily_bin1717.fits', '/scratch/kocevski/90444/ft2_4FGL_J1015.0+4926_daily_bin1717.fits', expMap='/scratch/kocevski/90444/expmap_684374401_684633601_4FGL_J1015.0+4926_daily_bin1717.fits', expCube='/scratch/kocevski/90444/ltcube_684374401_684633601_4FGL_J1015.0+4926_daily_bin1717.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/90444/Model_4FGL_J1015.0+4926_daily_bin1717.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1015.0+4926'

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  6.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
364        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
365         beta:  4.278e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
366           Eb:  1.022e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/90444/ft1_filtered_4FGL_J1015.0+4926_daily_bin1717.fits
Spacecraft file(s): /scratch/kocevski/90444/ft2_4FGL_J1015.0+4926_daily_bin1717.fits
Exposure map: /scratch/kocevski/90444/expmap_684374401_684633601_4FGL_J1015.0+4926_daily_bin1717.fits
Exposure cube: /scratch/kocevski/90444/ltcube_684374401_684633601_4FGL_J1015.0+4926_daily_bin1717.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/90444/Model_4FGL_J1015.0+4926_daily_bin1717.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6012.93481002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    88.342       1.0000          .0000       .10000E+07
     2 'norm      '    .27642       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59398       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10340E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.2732       1.0000          .0000       .10000E+07
     6 'Prefactor '    .67269E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .49855E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .39965E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .93895E-05   1.0000          .0000       .10000E+07
    10 'norm      '    16.015       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4304       1.0000          .0000       .10000E+07
    12 'Prefactor '    48.117       1.0000          .0000       .10000E+07
    13 'norm      '    1.3160       1.0000          .0000       .10000E+07
    14 'norm      '    .22511E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.1383       1.0000          .0000       .10000E+07
    16 'norm      '    5.5310       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17469E-01   1.0000          .0000       .10000E+07
    18 'norm      '    6.6297       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.207       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.3322       1.0000          .0000       .10000E+07
    21 'norm      '    7.3807       1.0000          .0000       .10000E+07
    22 'norm      '    1.5217       1.0000          .0000       .10000E+07
    23 'Prefactor '    .19565       1.0000          .0000       .10000E+07
    24 'Prefactor '    8.2260       1.0000          .0000       .10000E+07
    25 'norm      '    .18263E-07   1.0000          .0000       .10000E+07
    26 'Prefactor '    .24106       1.0000          .0000       .10000E+07
    27 'Prefactor '    14.261       1.0000          .0000       .10000E+07
    28 'Prefactor '    .13396E-02   1.0000          .0000       .10000E+07
    29 'norm      '    .10369E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .93351       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .69056       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6010.710     FROM MIGRAD    STATUS=CONVERGED    221 CALLS     1791 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     86.673        30.945        .47841E-06    .49602E-01
   2  norm          .27548        .45911       -.13521E-06    .75396E-02
   3  Prefactor     .60646        3.1488        .20845E-06    .84906E-04
   4  Prefactor     .22204E-09    1.8243        .18893E-06** at limit **
   5  Prefactor     5.2998        3.1897       -.72559E-07   -.20562E-02
   6  Prefactor     .11102E-09    5.7528        .47348E-06** at limit **
   7  norm          .12484E-06    14.489        .14814E-05** at limit **
   8  Prefactor     .49960E-09    9.0687       -.17466E-05** at limit **
   9  Prefactor      .0000        2.4908        .52948E-07** at limit **
  10  norm          15.906        9.7371       -.11261E-05   -.11811E-01
  11  Prefactor     1.4185        29.556       -.35976E-05   -.13203E-02
  12  Prefactor     48.763        10.647       -.83594E-06    .11445    
  13  norm          1.3156        .47399       -.64138E-08    .12625E-01
  14  norm          .16653E-09    5.9372       -.38107E-06** at limit **
  15  Prefactor     4.1459        4.7249       -.51994E-07    .64233E-03
  16  norm          5.5321        2.7202       -.10176E-07    .24981E-03
  17  Prefactor     .55511E-10    28.930       -.63686E-06** at limit **
  18  norm          6.5458        9.8218       -.14109E-05   -.29079E-02
  19  Prefactor     15.451        3.3951        .40489E-06   -.20827E-01
  20  Prefactor     4.3322        3.2518        .87921E-07    .44272E-03
  21  norm          7.3528        3.0629       -.10537E-06    .55983E-03
  22  norm          1.5204        1.2354        .33119E-07   -.18593E-02
  23  Prefactor     .90100E-06    9.2344       -.71614E-06** at limit **
  24  Prefactor     12.930        182.79       -.14743E-05   -.21780E-02
  25  norm           .0000        2.4835        .29486E-06** at limit **
  26  Prefactor     .22332E-06    72.297        .95331E-05** at limit **
  27  Prefactor     14.392        8.7722       -.13253E-05    .23746E-01
  28  Prefactor     .14155E-07    26.440       -.45815E-06** at limit **
  29  norm          .31308E-07    13.368       -.27479E-05** at limit **
  30  Normalizat    .93188        .18209        .10089E-04   -.29837E-03
  31  Prefactor     .69187        .22278       -.51084E-05   -.80555E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 86.673
  norm       = 0.275485
  Prefactor  = 0.606461
  Prefactor  = 2.22045e-10
  Prefactor  = 5.29978
  Prefactor  = 1.11022e-10
  norm       = 1.24845e-07
  Prefactor  = 4.996e-10
  Prefactor  = 0
  norm       = 15.9057
  Prefactor  = 1.41853
  Prefactor  = 48.7632
  norm       = 1.31556
  norm       = 1.66533e-10
  Prefactor  = 4.14585
  norm       = 5.53206
  Prefactor  = 5.55112e-11
  norm       = 6.5458
  Prefactor  = 15.4507
  Prefactor  = 4.33218
  norm       = 7.35283
  norm       = 1.52041
  Prefactor  = 9.01001e-07
  Prefactor  = 12.9295
  norm       = 0
  Prefactor  = 2.23321e-07
  Prefactor  = 14.392
  Prefactor  = 1.41553e-08
  norm       = 3.13083e-08
  Normalizat = 0.931878
  Prefactor  = 0.691872
 **********
 **   18 **HESSE 
 **********

 FCN=   6010.710     FROM HESSE     STATUS=OK           690 CALLS     2481 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     86.673        32.167        .10640E-03   -1.5522    
   2  norm          .27548        .52278        .10075E-02   -1.5697    
   3  Prefactor     .60646        3.5003        .69769E-03   -1.5692    
   4  Prefactor     .22204E-09    1.8298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.2998        3.1976        .43746E-03   -1.5662    
   6  Prefactor     .11102E-09    5.7406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .12484E-06    16.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-09    9.0793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.4899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.906        10.461        .25001E-03   -1.5628    
  11  Prefactor     1.4185        29.513        .90293E-03   -1.5684    
  12  Prefactor     48.763        35.756        .14417E-03   -1.5568    
  13  norm          1.3156        .47565        .70045E-03   -1.5685    
  14  norm          .16653E-09    5.9294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1459        4.7193        .49526E-03   -1.5667    
  16  norm          5.5321        2.7239        .42697E-03   -1.5661    
  17  Prefactor     .55511E-10    28.469        .17209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.5458        9.8264        .38949E-03   -1.5657    
  19  Prefactor     15.451        25.839        .25657E-03   -1.5629    
  20  Prefactor     4.3322        3.2586        .48373E-03   -1.5666    
  21  norm          7.3528        4.0170        .36894E-03   -1.5654    
  22  norm          1.5204        1.2377        .86570E-03   -1.5683    
  23  Prefactor     .90100E-06    110.19        .11854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     12.930        180.84        .34931E-03   -1.5636    
  25  norm           .0000        2.4341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .22332E-06    73.698        .11086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     14.392        20.372        .26497E-03   -1.5632    
  28  Prefactor     .14155E-07    26.519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .31308E-07    14.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .93188        .15608        .45328E-01   -.95349    
  31  Prefactor     .69187        .18875        .69929E-01   -1.0385    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6574e-07
Minuit parameter uncertainties:
  1  32.1667
  2  0.522776
  3  2.91396
  4  3.89278e-05
  5  3.19763
  6  4.46435e-05
  7  0.00287205
  8  0.000133602
  9  2.57771e-06
  10  10.4613
  11  12.9408
  12  35.7562
  13  0.47565
  14  6.67504e-05
  15  4.71929
  16  2.7239
  17  6.88545e-05
  18  9.82647
  19  25.8393
  20  3.25858
  21  4.01704
  22  1.23774
  23  0.0199281
  24  96.7139
  25  6.41321e-06
  26  0.00811346
  27  20.3718
  28  0.00122419
  29  0.00136991
  30  0.156161
  31  0.188927
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  5.532e+00  2.724e+00  0.000e+00  1.000e+06 ( 1.000e-12)
364        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
365         beta:  4.278e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
366           Eb:  1.022e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  6.919e-01  1.889e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  9.319e-01  1.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.31
Ra Dec: 153.768 49.434
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.86e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 4.46e-05 +/- 2.20e-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) = 6009.50626794
delta logL = 1.20330715214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6009.49606869
delta logL = 1.21350639605

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6009.496     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      240 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4665        34.543        .47618E-03    .14468E-02
   2  alpha         2.3553        3.6776        .20797        .60463E-04
   3  Normalizat    .89497        .95884E-01    .44839E-01   -.12392E-04
   4  Prefactor     .71682        .93572E-01    .68738E-01    .20292E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.46654
  alpha      = 2.35534
  Normalizat = 0.894966
  Prefactor  = 0.716817
 **********
 **   18 **HESSE 
 **********

 FCN=   6009.496     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4665        2.5580        .67051E-05   -1.5666    
   2  alpha         2.3553        .41863        .84907E-02   -.57897E-01
   3  Normalizat    .89497        .17195        .21342E-03   -.96637    
   4  Prefactor     .71682        .21924        .30417E-03   -1.0287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.63666e-12
Minuit parameter uncertainties:
  1  2.55805
  2  0.420615
  3  0.172056
  4  0.219506
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90444': 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) = 6009.49606802
delta logL = 1.21350707223

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  4.467e+00  2.558e+00  0.000e+00  1.000e+06 ( 1.000e-12)
364        alpha:  2.355e+00  4.206e-01  0.000e+00  5.000e+00 ( 1.000e+00)
365         beta:  4.278e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
366           Eb:  1.022e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  7.168e-01  2.195e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  8.950e-01  1.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.66
Ra Dec: 153.768 49.434
Photon Index (Free Index): 2.36 +/- 0.42
Photon Flux (Free Index): 6.92e-08 +/- 3.49e-08
Energy Flux (Free Index): 2.44e-05 +/- 1.23e-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/90444/cmap_HighResolution_684374401_684633601_4FGL_J1015.0+4926_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.86e-08', energy_flux2='2.44e-05', photon_flux_error='1.90e-08', dlogl='1.21e+00', energy_flux='4.46e-05', photon_flux2='6.92e-08', job_status='DONE', time_completed='2022-09-16 15:26:58.264643', photon_index_error2='0.42', photon_index2='2.36', ts='12.31', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='1.23e-05', EG='0.93', time_epoch_completed='1663367218.26', return_code='0', job_id='90444', GAL2='0.72', EG2='0.89', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='3.49e-08', ts2='14.66', photon_index='1.75' WHERE bin_id='1717' AND source_name='4FGL J1015.0+4926' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:26:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 90444: <4FGL_J1015.0+4926_daily_bin1717> in cluster <slac> Done

Job <4FGL_J1015.0+4926_daily_bin1717> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:10:33 2022
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:11:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:11:54 2022
Terminated at Fri Sep 16 15:26:59 2022
Results reported at Fri Sep 16 15:26:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1717 153.768 49.4336 684374401 684633601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1015.0+4926 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   675.53 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             263.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            986 sec.

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

