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


Performing analysis on: 4FGL_J1015.0+4926_daily_bin1759
RA = 153.768, Dec = 49.4336
tmin = 695260801, tmax = 695520001
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='554401', job_status='RUN', time_executed='2023-01-16 01:01:53.604634', time_epoch_executed='1673859713.6' WHERE source_name='4FGL J1015.0+4926' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554401

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554401/ft1_4FGL_J1015.0+4926_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554401/ft2_4FGL_J1015.0+4926_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554401/ft1_4FGL_J1015.0+4926_daily_bin1759.fits outfile=/scratch/kocevski/554401/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1759.fits ra=153.768 dec=49.4336 rad=12.0 tmin=695260801.0 tmax=695520001.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 2.36
user 2.09
sys 0.18

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

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

Number of photons that the gtmktime cut: 288

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554401/ft1_filtered_4FGL_J1015.0+4926_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/554401/ft2_4FGL_J1015.0+4926_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/554401/ltcube_695260801_695520001_4FGL_J1015.0+4926_daily_bin1759.fits outfile=/scratch/kocevski/554401/expmap_695260801_695520001_4FGL_J1015.0+4926_daily_bin1759.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/554401/ltcube_695260801_695520001_4FGL_J1015.0+4926_daily_bin1759.fits
.....................!
real 159.51
user 152.64
sys 5.03

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/554401/ft1_filtered_4FGL_J1015.0+4926_daily_bin1759.fits scfile=/scratch/kocevski/554401/ft2_4FGL_J1015.0+4926_daily_bin1759.fits outfile=/scratch/kocevski/554401/cmap_695260801_695520001_4FGL_J1015.0+4926_daily_bin1759.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.50
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/554401/ft1_filtered_4FGL_J1015.0+4926_daily_bin1759.fits scfile=/scratch/kocevski/554401/ft2_4FGL_J1015.0+4926_daily_bin1759.fits outfile=/scratch/kocevski/554401/cmap_HighResolution_695260801_695520001_4FGL_J1015.0+4926_daily_bin1759.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.51
user 0.32
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.786       1.0000          .0000       .10000E+07
     2 'norm      '    .27039E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16782E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .18946E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8538       1.0000          .0000       .10000E+07
     6 'Prefactor '    .63125E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .19905E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    25.815       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.422       1.0000          .0000       .10000E+07
    10 'norm      '    .52108E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .64640E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .38498E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .10081E-06   1.0000          .0000       .10000E+07
    14 'norm      '    29.949       1.0000          .0000       .10000E+07
    15 'Prefactor '    .61834E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .20964E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    41.154       1.0000          .0000       .10000E+07
    18 'norm      '    .15112E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.6982       1.0000          .0000       .10000E+07
    20 'Prefactor '    .12805E-02   1.0000          .0000       .10000E+07
    21 'norm      '    5.2142       1.0000          .0000       .10000E+07
    22 'norm      '    .31793       1.0000          .0000       .10000E+07
    23 'Prefactor '    43.111       1.0000          .0000       .10000E+07
    24 'Prefactor '    68.894       1.0000          .0000       .10000E+07
    25 'norm      '    .41230E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .28495E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    13.006       1.0000          .0000       .10000E+07
    28 'Prefactor '    .45124       1.0000          .0000       .10000E+07
    29 'norm      '    25.631       1.0000          .0000       .10000E+07
    30 'Normalizat'    1.5403       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .76510       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=   3240.404     FROM MIGRAD    STATUS=CONVERGED    270 CALLS     3066 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.477        62.842        .81096E-05   -.79281E-01
   2  norm           .0000        .91081        .41332E-08** at limit **
   3  Prefactor     .55511E-10    6.2949       -.12197E-05** at limit **
   4  Prefactor     .55511E-10    6.6251       -.53793E-06** at limit **
   5  Prefactor     2.8945        4.8684       -.15885E-06    .39218E-03
   6  Prefactor     .19984E-08    13.529        .10306E-06** at limit **
   7  norm          .55511E-10    35.090       -.21705E-05** at limit **
   8  Prefactor     25.336        7.6876       -.17379E-05    .30557E-02
   9  Prefactor     11.304        14.265        .62096E-06    .44140E-02
  10  norm          .55511E-10    8.6937       -.77996E-06** at limit **
  11  Prefactor     .31308E-06    261.88        .15739E-05** at limit **
  12  Prefactor     .53668E-06    58.263       -.26021E-05** at limit **
  13  norm           .0000        .42374        .10463E-06** at limit **
  14  norm          30.092        3.4203        .20201E-07    .30856E-01
  15  Prefactor     .72164E-08    15.194        .15245E-05** at limit **
  16  norm          .55511E-10    17.029       -.12388E-05** at limit **
  17  Prefactor     43.775        34.560        .42421E-05    .10040    
  18  norm          .62667E-04    89.016       -.68297E-05** at limit **
  19  Prefactor     2.6942        28.863        .80082E-05    .35404E-01
  20  Prefactor     .55511E-10    5.6889       -.30721E-05** at limit **
  21  norm          5.2078        3.6767       -.59884E-06   -.44182E-02
  22  norm          .31375        1.2914       -.58537E-07   -.78019E-03
  23  Prefactor     45.007        82.022        .11768E-05    .87904E-01
  24  Prefactor     62.688        143.22       -.11896E-04    .17403E-01
  25  norm           .0000        1.1814        .14762E-06** at limit **
  26  Prefactor     .98810E-08    31.449        .14927E-05** at limit **
  27  Prefactor     12.950        9.5985       -.11816E-05    .11397    
  28  Prefactor     .32219E-06    133.79       -.10399E-05** at limit **
  29  norm          26.727        26.153        .39025E-05    .10074    
  30  Normalizat    1.5409        .30530        .24388E-05    .49039E-04
  31  Prefactor     .76299        .37491       -.53297E-06    .10643E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.477
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 2.89453
  Prefactor  = 1.9984e-09
  norm       = 5.55112e-11
  Prefactor  = 25.336
  Prefactor  = 11.3036
  norm       = 5.55112e-11
  Prefactor  = 3.13083e-07
  Prefactor  = 5.36682e-07
  norm       = 0
  norm       = 30.0923
  Prefactor  = 7.21645e-09
  norm       = 5.55112e-11
  Prefactor  = 43.775
  norm       = 6.26674e-05
  Prefactor  = 2.69418
  Prefactor  = 5.55112e-11
  norm       = 5.20777
  norm       = 0.313748
  Prefactor  = 45.0067
  Prefactor  = 62.6881
  norm       = 0
  Prefactor  = 9.88098e-09
  Prefactor  = 12.9504
  Prefactor  = 3.22187e-07
  norm       = 26.7274
  Normalizat = 1.54086
  Prefactor  = 0.762994
 **********
 **   18 **HESSE 
 **********

 FCN=   3240.404     FROM HESSE     STATUS=OK           684 CALLS     3750 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.477        69.121        .18641E-03   -1.5598    
   2  norm           .0000        .88914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.2873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    6.6401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8945        4.8958        .60157E-03   -1.5674    
   6  Prefactor     .19984E-08    13.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    35.233        .17043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.336        76.139        .19686E-03   -1.5607    
   9  Prefactor     11.304        14.357        .29618E-03   -1.5641    
  10  norm          .55511E-10    8.7047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .31308E-06    261.12        .14999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .53668E-06    58.336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .41700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          30.092        26.627        .18276E-03   -1.5598    
  15  Prefactor     .72164E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    2.3301        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     43.775        52.021        .15590E-03   -1.5576    
  18  norm          .62667E-04    114.81        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6942        31.540        .61992E-03   -1.5675    
  20  Prefactor     .55511E-10    5.7039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.2078        3.7281        .43998E-03   -1.5662    
  22  norm          .31375        1.3701        .99686E-03   -1.5697    
  23  Prefactor     45.007        97.177        .15232E-03   -1.5574    
  24  Prefactor     62.688        146.08        .12049E-03   -1.5550    
  25  norm           .0000        1.1739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .98810E-08    31.593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     12.950        23.942        .27750E-03   -1.5636    
  28  Prefactor     .32219E-06    134.55        .83775E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          26.727        52.679        .19756E-03   -1.5605    
  30  Normalizat    1.5409        .26499        .50631E-01   -.76636    
  31  Prefactor     .76299        .32701        .85292E-01   -1.0111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71684e-06
Minuit parameter uncertainties:
  1  69.1223
  2  1.63012e-06
  3  2.78357e-05
  4  3.43232e-05
  5  4.89585
  6  0.000328809
  7  9.94181e-05
  8  76.1415
  9  14.3571
  10  3.2721e-05
  11  0.0180837
  12  0.0111907
  13  7.8801e-07
  14  26.6266
  15  0.000661053
  16  1.69535e-05
  17  52.0218
  18  0.169649
  19  18.4363
  20  3.61222e-05
  21  3.72814
  22  1.31126
  23  97.1801
  24  146.089
  25  1.60328e-08
  26  0.00111694
  27  23.9424
  28  0.0131684
  29  52.6796
  30  0.26523
  31  0.327839
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  5.551e-11  1.695e-05  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:  7.630e-01  3.278e-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:  1.541e+00  2.652e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 153.768 49.434
Photon Flux Upper Limit: 6.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.02e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/554401/likelihoodResults_695260801_695520001_4FGL_J1015.0+4926_daily_bin1759.txt

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): 102
logL (Free Index) = 3240.40672332
delta logL = -0.00275099936562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3240.40325275
delta logL = 0.000719571028185

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .73251E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    2.1415       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76199       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   3240.403     FROM MIGRAD    STATUS=FAILED        92 CALLS      331 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .72255E-01    2882.6        .18033E-03** at limit **
   2  alpha         2.1423        2.7427        .87773E-01    .42800E-04
   3  Normalizat    1.5408        .24693        .22383E-03   -.12842E-03
   4  Prefactor     .76212        .43022        .37792E-03   -.49981E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   3240.403     FROM SIMPLEX   STATUS=UNCHANGED    123 CALLS      454 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .72255E-01    2882.6        .65169E-04** at limit **
   2  alpha         2.1423        2.7427        .13638E-02    .42800E-04
   3  Normalizat    1.5408        .24693        .98442E-04   -.12842E-03
   4  Prefactor     .76212        .43022        .18468E-03   -.49981E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3240.403     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      486 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .72276E-01    13.696        .72131E-05** at limit **
   2  alpha         2.1422        3.4103        .17555E-01   -.59769E-05
   3  Normalizat    1.5408        .29959        .44766E-04   -.13163E-03
   4  Prefactor     .76212        .37201        .15117E-04   -.51365E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0722757
  alpha      = 2.14221
  Normalizat = 1.54084
  Prefactor  = 0.76212
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .72276E-01    13.016        .28852E-06   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1422        3.4382        .70218E-03   -.14361    
   3  Normalizat    1.5408        .29970        .89532E-05   -.76637    
   4  Prefactor     .76212        .37210        .30234E-05   -1.0114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61576e-10
Minuit parameter uncertainties:
  1  1.93987
  2  4.68238
  3  0.300044
  4  0.37333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554401': 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) = 3240.40325078
delta logL = 0.000721541956864

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  7.228e-02  1.940e+00  0.000e+00  1.000e+06 ( 1.000e-12)
364        alpha:  2.142e+00  4.682e+00  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.621e-01  3.733e-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:  1.541e+00  3.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 153.768 49.434

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/554401/cmap_HighResolution_695260801_695520001_4FGL_J1015.0+4926_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-05', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2023-01-16 01:10:36.096692', job_id='554401', GAL2='0.76', fit_tolerance='1e-08', EG2='1.54', EG='1.54', time_epoch_completed='1673860236.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='7.22e-04', ts2='0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1759' AND source_name='4FGL J1015.0+4926' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:10:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 554401: <4FGL_J1015.0+4926_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1015.0+4926_daily_bin1759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 16 00:55:41 2023
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 00:59:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 00:59:47 2023
Terminated at Mon Jan 16 01:10:36 2023
Results reported at Mon Jan 16 01:10:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1759 153.768 49.4336 695260801 695520001 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 :                                   519.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            895 sec.

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

