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


Performing analysis on: 4FGL_J1015.0+4926_daily_bin1769
RA = 153.768, Dec = 49.4336
tmin = 697852801, tmax = 698112001
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='430951', job_status='RUN', time_executed='2023-02-15 00:34:35.116068', time_epoch_executed='1676450075.12' WHERE source_name='4FGL J1015.0+4926' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430951

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430951/ft1_4FGL_J1015.0+4926_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430951/ft2_4FGL_J1015.0+4926_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430951/ft1_4FGL_J1015.0+4926_daily_bin1769.fits outfile=/scratch/kocevski/430951/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1769.fits ra=153.768 dec=49.4336 rad=12.0 tmin=697852801.0 tmax=698112001.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.38
user 4.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430951/ft2_4FGL_J1015.0+4926_daily_bin1769.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/430951/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/430951/ft1_filtered_4FGL_J1015.0+4926_daily_bin1769.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.49
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 652

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430951/ft1_filtered_4FGL_J1015.0+4926_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/430951/ft2_4FGL_J1015.0+4926_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/430951/ltcube_697852801_698112001_4FGL_J1015.0+4926_daily_bin1769.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/430951/ft2_4FGL_J1015.0+4926_daily_bin1769.fits
.....................!
real 11.92
user 11.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430951/ft1_filtered_4FGL_J1015.0+4926_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/430951/ft2_4FGL_J1015.0+4926_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/430951/ltcube_697852801_698112001_4FGL_J1015.0+4926_daily_bin1769.fits outfile=/scratch/kocevski/430951/expmap_697852801_698112001_4FGL_J1015.0+4926_daily_bin1769.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/430951/ltcube_697852801_698112001_4FGL_J1015.0+4926_daily_bin1769.fits
.....................!
real 189.14
user 184.93
sys 3.88

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/430951/ft1_filtered_4FGL_J1015.0+4926_daily_bin1769.fits scfile=/scratch/kocevski/430951/ft2_4FGL_J1015.0+4926_daily_bin1769.fits outfile=/scratch/kocevski/430951/cmap_697852801_698112001_4FGL_J1015.0+4926_daily_bin1769.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430951/ft1_filtered_4FGL_J1015.0+4926_daily_bin1769.fits scfile=/scratch/kocevski/430951/ft2_4FGL_J1015.0+4926_daily_bin1769.fits outfile=/scratch/kocevski/430951/cmap_HighResolution_697852801_698112001_4FGL_J1015.0+4926_daily_bin1769.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8870       1.0000          .0000       .10000E+07
     2 'norm      '    .19096E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .30699E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54737       1.0000          .0000       .10000E+07
     5 'Prefactor '    .53916E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14981E-05   1.0000          .0000       .10000E+07
     7 'norm      '    15.815       1.0000          .0000       .10000E+07
     8 'Prefactor '    39.277       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.172       1.0000          .0000       .10000E+07
    10 'norm      '    .24272E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .68460E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32626E-02   1.0000          .0000       .10000E+07
    13 'norm      '    1.2481       1.0000          .0000       .10000E+07
    14 'norm      '    38.559       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10260E-05   1.0000          .0000       .10000E+07
    16 'norm      '    4.1796       1.0000          .0000       .10000E+07
    17 'Prefactor '    .88648E-02   1.0000          .0000       .10000E+07
    18 'norm      '    17.251       1.0000          .0000       .10000E+07
    19 'Prefactor '    30.312       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.0665       1.0000          .0000       .10000E+07
    21 'norm      '    2.8531       1.0000          .0000       .10000E+07
    22 'norm      '    1.5157       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17249E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    2.1718       1.0000          .0000       .10000E+07
    25 'norm      '    4.0921       1.0000          .0000       .10000E+07
    26 'Prefactor '    26.121       1.0000          .0000       .10000E+07
    27 'Prefactor '    .22073E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .46403E-02   1.0000          .0000       .10000E+07
    29 'norm      '    .59020E-04   1.0000          .0000       .10000E+07
    30 'Normalizat'    .90302       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0380       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=   7036.276     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1713 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8196        1.2938        .74991E-07   -.70553E-03
   2  norm           .0000        .24148       -.52461E-07** at limit **
   3  Prefactor      .0000        1.7921       -.32657E-06** at limit **
   4  Prefactor     .67282        9.1334       -.13323E-05    .13492E-03
   5  Prefactor      .0000        3.8095        .80578E-06** at limit **
   6  Prefactor     .11102E-09    3.9631       -.11284E-07** at limit **
   7  norm          15.883        1.3364        .32249E-07   -.87034E-02
   8  Prefactor     39.281        1.2743       -.25386E-08   -.29827E-03
   9  Prefactor     11.141        6.2889       -.18061E-06   -.23010E-02
  10  norm          .14988E-08    5.5426        .21395E-06** at limit **
  11  Prefactor     .27756E-09    9.9042        .61853E-06** at limit **
  12  Prefactor     .41245E-07    6.8775       -.73485E-06** at limit **
  13  norm          1.2477        .48168       -.99284E-07    .18028E-02
  14  norm          38.585        5.6824       -.34461E-06    .10606    
  15  Prefactor      .0000        1.8706        .46967E-06** at limit **
  16  norm          4.1767        2.6926        .85854E-07   -.11201E-02
  17  Prefactor     .21229E-05    8.0101       -.56274E-06** at limit **
  18  norm          17.157        9.5079       -.11320E-05   -.99277E-01
  19  Prefactor     30.127        1.1924        .13593E-07    .24539E-02
  20  Prefactor     1.0668        1.5202       -.18663E-06    .26008E-03
  21  norm          2.8667        2.3522        .30239E-06    .13147E-02
  22  norm          1.5159        1.0164       -.69595E-07    .12288E-03
  23  Prefactor     .12833E-05    18.707        .21751E-05** at limit **
  24  Prefactor     .49235E-04    50.884        .69156E-05** at limit **
  25  norm          4.0926        1.8817        .18191E-07   -.47299E-04
  26  Prefactor     25.743        5.2812        .33426E-07    .31365E-01
  27  Prefactor     .10883E-04    36.871        .21702E-05** at limit **
  28  Prefactor     .11983E-05    7.4174       -.38307E-06** at limit **
  29  norm          .20411E-06    13.471        .77747E-06** at limit **
  30  Normalizat    .90403        .17629        .19819E-05   -.71548E-04
  31  Prefactor     1.0376        .22931        .16812E-05   -.51248E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.8196
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.672816
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  norm       = 15.8833
  Prefactor  = 39.2809
  Prefactor  = 11.1411
  norm       = 1.4988e-09
  Prefactor  = 2.77556e-10
  Prefactor  = 4.12448e-08
  norm       = 1.24772
  norm       = 38.5854
  Prefactor  = 0
  norm       = 4.17674
  Prefactor  = 2.12291e-06
  norm       = 17.1569
  Prefactor  = 30.1272
  Prefactor  = 1.06679
  norm       = 2.86672
  norm       = 1.51595
  Prefactor  = 1.28325e-06
  Prefactor  = 4.92351e-05
  norm       = 4.09258
  Prefactor  = 25.7434
  Prefactor  = 1.08826e-05
  Prefactor  = 1.19826e-06
  norm       = 2.04115e-07
  Normalizat = 0.90403
  Prefactor  = 1.03762
 **********
 **   18 **HESSE 
 **********

 FCN=   7036.276     FROM HESSE     STATUS=OK           690 CALLS     2403 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8196        29.013        .59786E-03   -1.5674    
   2  norm           .0000        .23020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.7685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .67282        9.0853        .74080E-03   -1.5692    
   5  Prefactor      .0000        3.7171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    3.9596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.883        19.495        .25158E-03   -1.5628    
   8  Prefactor     39.281        27.288        .15958E-03   -1.5583    
   9  Prefactor     11.141        6.2945        .29948E-03   -1.5641    
  10  norm          .14988E-08    5.5323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .27756E-09    9.9319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .41245E-07    19.862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2477        .48333        .78856E-03   -1.5686    
  14  norm          38.585        13.198        .16106E-03   -1.5584    
  15  Prefactor      .0000        1.8668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.1767        2.7014        .49273E-03   -1.5667    
  17  Prefactor     .21229E-05    17.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          17.157        10.471        .24087E-03   -1.5625    
  19  Prefactor     30.127        21.352        .18166E-03   -1.5598    
  20  Prefactor     1.0668        1.9614        .28094E-02   -1.5687    
  21  norm          2.8667        2.8950        .60164E-03   -1.5674    
  22  norm          1.5159        1.0058        .86796E-03   -1.5683    
  23  Prefactor     .12833E-05    26.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .49235E-04    108.75        .69846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          4.0926        1.8802        .49813E-03   -1.5668    
  26  Prefactor     25.743        34.615        .19570E-03   -1.5606    
  27  Prefactor     .10883E-04    50.261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .11983E-05    21.523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .20411E-06    14.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .90403        .15177        .44940E-01   -.96319    
  31  Prefactor     1.0376        .19421        .65505E-01   -.91486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09325e-06
Minuit parameter uncertainties:
  1  18.0894
  2  5.17624e-07
  3  7.0446e-06
  4  4.9448
  5  1.87917e-05
  6  3.87978e-05
  7  19.4948
  8  27.2881
  9  6.29446
  10  0.000183731
  11  0.000103655
  12  0.0018096
  13  0.483326
  14  13.1979
  15  2.29664e-06
  16  2.7014
  17  0.0123435
  18  10.471
  19  21.3518
  20  1.96136
  21  2.89499
  22  1.00577
  23  0.0117189
  24  0.146349
  25  1.88023
  26  34.6156
  27  0.0467751
  28  0.010157
  29  0.00340101
  30  0.151846
  31  0.194342
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  4.177e+00  2.701e+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.038e+00  1.943e-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.040e-01  1.518e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.23
Ra Dec: 153.768 49.434
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.91e-08 +/- 1.88e-08
Energy Flux (Fixed Index): 3.37e-05 +/- 2.18e-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) = 7034.66397787
delta logL = 1.61238910841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7034.64887212
delta logL = 1.6274948605

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7034.649     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      281 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1658        2.4186        .69271E-05   -.23124E-02
   2  alpha         2.5314        .48370        .89313E-02    .27045E-03
   3  Normalizat    .86169        .17417        .23757E-03    .14739E-04
   4  Prefactor     1.0659        .22913        .28601E-03    .17092E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.16579
  alpha      = 2.5314
  Normalizat = 0.861691
  Prefactor  = 1.06587
 **********
 **   18 **HESSE 
 **********

 FCN=   7034.649     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1658        2.2967        .27708E-06   -1.5672    
   2  alpha         2.5314        .45941        .17863E-02    .12560E-01
   3  Normalizat    .86169        .17426        .95028E-05   -.97820    
   4  Prefactor     1.0659        .22925        .11440E-04   -.90565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67404e-12
Minuit parameter uncertainties:
  1  2.29668
  2  0.462033
  3  0.174369
  4  0.229457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430951': 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) = 7034.64887212
delta logL = 1.62749486158

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  3.166e+00  2.297e+00  0.000e+00  1.000e+06 ( 1.000e-12)
364        alpha:  2.531e+00  4.620e-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.066e+00  2.295e-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.617e-01  1.744e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.49
Ra Dec: 153.768 49.434
Photon Index (Free Index): 2.53 +/- 0.46
Photon Flux (Free Index): 6.50e-08 +/- 3.45e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/430951/cmap_HighResolution_697852801_698112001_4FGL_J1015.0+4926_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.91e-08', energy_flux2='1.88e-05', photon_flux_error='1.88e-08', dlogl='1.63e+00', energy_flux='3.37e-05', photon_flux2='6.50e-08', job_status='DONE', time_completed='2023-02-15 00:46:13.990658', photon_index_error2='0.46', photon_index2='2.53', ts='5.23', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.01e-05', EG='0.90', time_epoch_completed='1676450773.99', return_code='0', job_id='430951', GAL2='1.07', EG2='0.86', return_code2='0', energy_flux_error='2.18e-05', photon_flux_error2='3.45e-08', ts2='8.49', photon_index='1.75' WHERE bin_id='1769' AND source_name='4FGL J1015.0+4926' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:46:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 430951: <4FGL_J1015.0+4926_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1015.0+4926_daily_bin1769> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Feb 15 00:30:25 2023
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:30:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:30:26 2023
Terminated at Wed Feb 15 00:46:14 2023
Results reported at Wed Feb 15 00:46:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1769 153.768 49.4336 697852801 698112001 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 :                                   700.15 sec.
    Max Memory :                                 1225 MB
    Average Memory :                             294.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            949 sec.

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

