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 31 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_J1015.0+4926_daily_bin1748
RA = 153.768, Dec = 49.4336
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='881888', job_status='RUN', time_executed='2022-12-14 00:26:16.325964', time_epoch_executed='1671006376.33' WHERE source_name='4FGL J1015.0+4926' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881888

Creating custom pfile directory:
/scratch/kocevski/881888/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/881888/ft1_4FGL_J1015.0+4926_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/881888/ft2_4FGL_J1015.0+4926_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881888/ft1_4FGL_J1015.0+4926_daily_bin1748.fits outfile=/scratch/kocevski/881888/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1748.fits ra=153.768 dec=49.4336 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.58
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/881888/ft2_4FGL_J1015.0+4926_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/881888/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/881888/ft1_filtered_4FGL_J1015.0+4926_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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 595

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/881888/ft1_filtered_4FGL_J1015.0+4926_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/881888/ft2_4FGL_J1015.0+4926_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/881888/ltcube_692409601_692668801_4FGL_J1015.0+4926_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/881888/ft2_4FGL_J1015.0+4926_daily_bin1748.fits
.....................!
real 12.69
user 12.32
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881888/ft1_filtered_4FGL_J1015.0+4926_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881888/ft2_4FGL_J1015.0+4926_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881888/ltcube_692409601_692668801_4FGL_J1015.0+4926_daily_bin1748.fits outfile=/scratch/kocevski/881888/expmap_692409601_692668801_4FGL_J1015.0+4926_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/881888/ltcube_692409601_692668801_4FGL_J1015.0+4926_daily_bin1748.fits
.....................!
real 190.89
user 185.43
sys 4.85

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/881888/ft1_filtered_4FGL_J1015.0+4926_daily_bin1748.fits scfile=/scratch/kocevski/881888/ft2_4FGL_J1015.0+4926_daily_bin1748.fits outfile=/scratch/kocevski/881888/cmap_692409601_692668801_4FGL_J1015.0+4926_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=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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881888/ft1_filtered_4FGL_J1015.0+4926_daily_bin1748.fits scfile=/scratch/kocevski/881888/ft2_4FGL_J1015.0+4926_daily_bin1748.fits outfile=/scratch/kocevski/881888/cmap_HighResolution_692409601_692668801_4FGL_J1015.0+4926_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=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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/881888/ft1_filtered_4FGL_J1015.0+4926_daily_bin1748.fits', '/scratch/kocevski/881888/ft2_4FGL_J1015.0+4926_daily_bin1748.fits', expMap='/scratch/kocevski/881888/expmap_692409601_692668801_4FGL_J1015.0+4926_daily_bin1748.fits', expCube='/scratch/kocevski/881888/ltcube_692409601_692668801_4FGL_J1015.0+4926_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/881888/Model_4FGL_J1015.0+4926_daily_bin1748.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/881888/ft1_filtered_4FGL_J1015.0+4926_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/881888/ft2_4FGL_J1015.0+4926_daily_bin1748.fits
Exposure map: /scratch/kocevski/881888/expmap_692409601_692668801_4FGL_J1015.0+4926_daily_bin1748.fits
Exposure cube: /scratch/kocevski/881888/ltcube_692409601_692668801_4FGL_J1015.0+4926_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/881888/Model_4FGL_J1015.0+4926_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) = 6636.13186537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.956       1.0000          .0000       .10000E+07
     2 'norm      '    .45913E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2874       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.7862       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24319E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29980E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .80420E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10896E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    36.522       1.0000          .0000       .10000E+07
    10 'norm      '    .40445E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    14.210       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31583E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .71006       1.0000          .0000       .10000E+07
    14 'norm      '    22.986       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6125       1.0000          .0000       .10000E+07
    16 'norm      '    2.1082       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.9415       1.0000          .0000       .10000E+07
    18 'norm      '    14.864       1.0000          .0000       .10000E+07
    19 'Prefactor '    .79218E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.0274       1.0000          .0000       .10000E+07
    21 'norm      '    2.9397       1.0000          .0000       .10000E+07
    22 'norm      '    1.4287       1.0000          .0000       .10000E+07
    23 'Prefactor '    .11210E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .44914E-02   1.0000          .0000       .10000E+07
    25 'norm      '    5.3338       1.0000          .0000       .10000E+07
    26 'Prefactor '    2.4756       1.0000          .0000       .10000E+07
    27 'Prefactor '    12.017       1.0000          .0000       .10000E+07
    28 'Prefactor '    .14219E-02   1.0000          .0000       .10000E+07
    29 'norm      '    27.244       1.0000          .0000       .10000E+07
    30 'Normalizat'    .53369       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.4184       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=   6636.104     FROM MIGRAD    STATUS=CONVERGED    237 CALLS     3026 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.077        2.0356       -.47393E-07    .67659E-02
   2  norm          .47085E-01    2.7134        .45918E-06** at limit **
   3  Prefactor     1.2835        4.2675       -.99417E-06    .14605E-02
   4  Prefactor     6.9178        10.776       -.34461E-06   -.12254E-02
   5  Prefactor      .0000        1.2231        .66743E-08** at limit **
   6  Prefactor     .10806E-04    66.600        .87286E-06** at limit **
   7  norm           .0000        6.6502        .93644E-06** at limit **
   8  Prefactor     .11102E-08    11.977        .73693E-07** at limit **
   9  Prefactor     36.696        9.5979        .64727E-07   -.22148E-02
  10  norm           .0000        2.2766        .31398E-06** at limit **
  11  Prefactor     15.007        14.035        .64139E-07   -.23878E-01
  12  Prefactor     .88818E-09    12.961       -.82290E-06** at limit **
  13  norm          .70994        .38512        .11287E-07   -.28758E-02
  14  norm          23.030        4.7930       -.32783E-06   -.68169E-01
  15  Prefactor     1.6072        4.3015       -.51177E-06    .35845E-03
  16  norm          2.1082        1.7038        .26678E-06    .66982E-03
  17  Prefactor     4.4091        6.9202        .12187E-06   -.12776E-01
  18  norm          14.894        12.010        .32101E-07   -.18822E-02
  19  Prefactor     .38858E-09    12.119        .21454E-05** at limit **
  20  Prefactor     4.1299        5.6964       -.33130E-06   -.35908E-03
  21  norm          2.9417        1.9166       -.25555E-06   -.22151E-02
  22  norm          1.4290        1.0843       -.34711E-07   -.46877E-03
  23  Prefactor     .71809E-05    64.814        .18426E-05** at limit **
  24  Prefactor     .66669E-07    32.709       -.19401E-05** at limit **
  25  norm          5.3236        2.3929       -.10726E-06   -.31478E-03
  26  Prefactor     3.8512        134.14       -.31966E-05    .41863E-02
  27  Prefactor     12.373        3.6226        .93104E-07   -.14516E-01
  28  Prefactor     .61617E-08    26.601       -.35041E-06** at limit **
  29  norm          27.660        2.6282        .76088E-07    .32571E-02
  30  Normalizat    .52990        .19145        .39037E-05    .48927E-04
  31  Prefactor     1.4196        .23569        .37848E-06   -.22210E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.0775
  norm       = 0.0470852
  Prefactor  = 1.28351
  Prefactor  = 6.91779
  Prefactor  = 0
  Prefactor  = 1.08057e-05
  norm       = 0
  Prefactor  = 1.11022e-09
  Prefactor  = 36.6956
  norm       = 0
  Prefactor  = 15.0067
  Prefactor  = 8.88178e-10
  norm       = 0.709941
  norm       = 23.03
  Prefactor  = 1.60723
  norm       = 2.10819
  Prefactor  = 4.40906
  norm       = 14.8941
  Prefactor  = 3.88578e-10
  Prefactor  = 4.12989
  norm       = 2.94174
  norm       = 1.42903
  Prefactor  = 7.18087e-06
  Prefactor  = 6.66689e-08
  norm       = 5.32358
  Prefactor  = 3.8512
  Prefactor  = 12.3733
  Prefactor  = 6.16174e-09
  norm       = 27.6596
  Normalizat = 0.529905
  Prefactor  = 1.41964
 **********
 **   18 **HESSE 
 **********

 FCN=   6636.104     FROM HESSE     STATUS=OK           692 CALLS     3718 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.077        24.531        .16233E-03   -1.5585    
   2  norm          .47085E-01    1.4673        .15707E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2835        5.5620        .97633E-03   -1.5685    
   4  Prefactor     6.9178        10.916        .38493E-03   -1.5655    
   5  Prefactor      .0000        1.2230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10806E-04    136.95        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        6.6691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-08    12.107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.696        9.6532        .16549E-03   -1.5587    
  10  norm           .0000        2.2822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.007        30.680        .26545E-03   -1.5630    
  12  Prefactor     .88818E-09    13.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .70994        .38764        .59896E-03   -1.5691    
  14  norm          23.030        13.644        .20863E-03   -1.5612    
  15  Prefactor     1.6072        4.3788        .83369E-03   -1.5683    
  16  norm          2.1082        1.7025        .71031E-03   -1.5679    
  17  Prefactor     4.4091        36.561        .50787E-03   -1.5666    
  18  norm          14.894        12.085        .25953E-03   -1.5631    
  19  Prefactor     .38858E-09    13.027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.1299        5.7485        .50224E-03   -1.5667    
  21  norm          2.9417        1.9178        .59214E-03   -1.5674    
  22  norm          1.4290        1.0888        .90368E-04   -1.5684    
  23  Prefactor     .71809E-05    122.14        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .66669E-07    34.876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          5.3236        2.4852        .43493E-03   -1.5662    
  26  Prefactor     3.8512        162.60        .64955E-03   -1.5669    
  27  Prefactor     12.373        24.255        .28873E-03   -1.5638    
  28  Prefactor     .61617E-08    27.359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          27.660        27.858        .19162E-03   -1.5603    
  30  Normalizat    .52990        .16997        .66589E-01   -1.1105    
  31  Prefactor     1.4196        .20198        .56870E-01   -.79816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13286e-07
Minuit parameter uncertainties:
  1  24.5314
  2  0.525695
  3  5.34373
  4  10.9157
  5  3.49098e-06
  6  0.0769398
  7  9.59509e-06
  8  0.000232402
  9  9.65316
  10  1.80365e-06
  11  30.68
  12  0.000218725
  13  0.387643
  14  13.6436
  15  4.37883
  16  1.70247
  17  25.3929
  18  12.0851
  19  0.000145353
  20  5.74854
  21  1.91782
  22  1.08884
  23  0.059231
  24  0.00305008
  25  2.48525
  26  50.0498
  27  24.2554
  28  0.000820278
  29  27.8586
  30  0.170132
  31  0.202096
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  2.108e+00  1.702e+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:  1.420e+00  2.021e-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:  5.299e-01  1.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.69
Ra Dec: 153.768 49.434
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 1.19e-08
Energy Flux (Fixed Index): 1.70e-05 +/- 1.37e-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) = 6636.05924216
delta logL = 0.0447770776709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6636.0588939
delta logL = 0.0451253415522

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0726       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5936       1.0000          .0000       5.0000    
     3 'Normalizat'    .53176       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4187       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=   6636.059     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      205 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0726        2.2015        .71722E-03    .77453E-02
   2  alpha         1.5936        .56406        .38614       -.18190E-04
   3  Normalizat    .53176        .14867        .66479E-01    .38105E-04
   4  Prefactor     1.4187        .19932        .56887E-01   -.11354E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.0726
  alpha      = 1.5936
  Normalizat = 0.53176
  Prefactor  = 1.41871
 **********
 **   18 **HESSE 
 **********

 FCN=   6636.059     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0726        1.7082        .92833E-05   -1.5679    
   2  alpha         1.5936        .50403        .14820E-01   -.37101    
   3  Normalizat    .53176        .17188        .29422E-03   -1.1097    
   4  Prefactor     1.4187        .23121        .25152E-03   -.79843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.63233e-11
Minuit parameter uncertainties:
  1  1.70822
  2  0.508045
  3  0.172054
  4  0.231377
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881888': 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) = 6636.0588939
delta logL = 0.0451253424717

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  2.073e+00  1.708e+00  0.000e+00  1.000e+06 ( 1.000e-12)
364        alpha:  1.594e+00  5.080e-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:  1.419e+00  2.314e-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:  5.318e-01  1.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.78
Ra Dec: 153.768 49.434
Photon Index (Free Index): 1.59 +/- 0.51
Photon Flux (Free Index): 1.26e-08 +/- 1.22e-08
Energy Flux (Free Index): 2.25e-05 +/- 2.82e-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/881888/cmap_HighResolution_692409601_692668801_4FGL_J1015.0+4926_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='2.25e-05', photon_flux_error='1.19e-08', dlogl='4.51e-02', energy_flux='1.70e-05', photon_flux2='1.26e-08', job_status='DONE', time_completed='2022-12-14 00:39:44.689279', photon_index_error2='0.51', photon_index2='1.59', ts='4.69', fit_tolerance='1e-08', GAL='1.42', photon_index_error='0.00', energy_flux_error2='2.82e-05', EG='0.53', time_epoch_completed='1671007184.69', return_code='0', job_id='881888', GAL2='1.42', EG2='0.53', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='1.22e-08', ts2='4.78', photon_index='1.75' WHERE bin_id='1748' AND source_name='4FGL J1015.0+4926' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:39:44 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 881888: <4FGL_J1015.0+4926_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1015.0+4926_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:34 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:35 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:25:35 2022
Terminated at Wed Dec 14 00:39:45 2022
Results reported at Wed Dec 14 00:39:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1748 153.768 49.4336 692409601 692668801 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 :                                   806.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             364.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            851 sec.

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

