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


Performing analysis on: 4FGL_J1015.0+4926_daily_bin1778
RA = 153.768, Dec = 49.4336
tmin = 700185601, tmax = 700444801
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='957274', job_status='RUN', time_executed='2023-03-14 00:37:33.043883', time_epoch_executed='1678779453.04' WHERE source_name='4FGL J1015.0+4926' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/957274

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/957274/ft1_4FGL_J1015.0+4926_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/957274/ft2_4FGL_J1015.0+4926_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/957274/ft1_4FGL_J1015.0+4926_daily_bin1778.fits outfile=/scratch/kocevski/957274/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1778.fits ra=153.768 dec=49.4336 rad=12.0 tmin=700185601.0 tmax=700444801.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.94
user 3.69
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/957274/ft2_4FGL_J1015.0+4926_daily_bin1778.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/957274/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/957274/ft1_filtered_4FGL_J1015.0+4926_daily_bin1778.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: 544

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/957274/ft1_filtered_4FGL_J1015.0+4926_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/957274/ft2_4FGL_J1015.0+4926_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/957274/ltcube_700185601_700444801_4FGL_J1015.0+4926_daily_bin1778.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/957274/ft2_4FGL_J1015.0+4926_daily_bin1778.fits
.....................!
real 12.07
user 11.74
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/957274/ft1_filtered_4FGL_J1015.0+4926_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/957274/ft2_4FGL_J1015.0+4926_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/957274/ltcube_700185601_700444801_4FGL_J1015.0+4926_daily_bin1778.fits outfile=/scratch/kocevski/957274/expmap_700185601_700444801_4FGL_J1015.0+4926_daily_bin1778.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/957274/ltcube_700185601_700444801_4FGL_J1015.0+4926_daily_bin1778.fits
.....................!
real 190.31
user 184.91
sys 5.09

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/957274/ft1_filtered_4FGL_J1015.0+4926_daily_bin1778.fits scfile=/scratch/kocevski/957274/ft2_4FGL_J1015.0+4926_daily_bin1778.fits outfile=/scratch/kocevski/957274/cmap_700185601_700444801_4FGL_J1015.0+4926_daily_bin1778.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/957274/ft1_filtered_4FGL_J1015.0+4926_daily_bin1778.fits scfile=/scratch/kocevski/957274/ft2_4FGL_J1015.0+4926_daily_bin1778.fits outfile=/scratch/kocevski/957274/cmap_HighResolution_700185601_700444801_4FGL_J1015.0+4926_daily_bin1778.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .77893E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .17297E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9991       1.0000          .0000       .10000E+07
     4 'Prefactor '    .30048E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .82341E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .76732E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .74510E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .45014E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .36858E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .18319E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.523       1.0000          .0000       .10000E+07
    12 'Prefactor '    .89253E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .91691       1.0000          .0000       .10000E+07
    14 'norm      '    12.389       1.0000          .0000       .10000E+07
    15 'Prefactor '    .33298E-03   1.0000          .0000       .10000E+07
    16 'norm      '    3.4683       1.0000          .0000       .10000E+07
    17 'Prefactor '    .40332E-03   1.0000          .0000       .10000E+07
    18 'norm      '    21.862       1.0000          .0000       .10000E+07
    19 'Prefactor '    41.655       1.0000          .0000       .10000E+07
    20 'Prefactor '    .51995E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .26212E-05   1.0000          .0000       .10000E+07
    22 'norm      '    1.5561       1.0000          .0000       .10000E+07
    23 'Prefactor '    .81968E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    100.88       1.0000          .0000       .10000E+07
    25 'norm      '    .29715E-06   1.0000          .0000       .10000E+07
    26 'Prefactor '    .13509E-04   1.0000          .0000       .10000E+07
    27 'Prefactor '    20.903       1.0000          .0000       .10000E+07
    28 'Prefactor '    .16045       1.0000          .0000       .10000E+07
    29 'norm      '    .28684E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .97759       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .83550       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=   5897.023     FROM MIGRAD    STATUS=CONVERGED    239 CALLS     3020 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-07    5.6079       -.72285E-07** at limit **
   2  norm           .0000        .43674        .34281E-07** at limit **
   3  Prefactor     3.0043        2.3157       -.26169E-08    .98953E-04
   4  Prefactor      .0000        4.7784        .88501E-08** at limit **
   5  Prefactor      .0000        1.8842       -.14277E-06** at limit **
   6  Prefactor     .52680E-07    7.8841        .93331E-08** at limit **
   7  norm           .0000        4.4183        .71129E-07** at limit **
   8  Prefactor     .78437E-07    5.9673       -.13766E-07** at limit **
   9  Prefactor      .0000        2.1560       -.99099E-08** at limit **
  10  norm           .0000        2.5067        .14627E-07** at limit **
  11  Prefactor     36.517        32.148        .61280E-08   -.11802E-01
  12  Prefactor     .16820E-07    6.4722       -.27031E-07** at limit **
  13  norm          .91778        .41626       -.54930E-08    .74401E-03
  14  norm          12.392        9.7183       -.15328E-07    .16273E-02
  15  Prefactor     .27756E-09    5.4447        .87804E-07** at limit **
  16  norm          3.4710        1.9864       -.10309E-07    .15094E-03
  17  Prefactor     .48295E-08    20.439        .38508E-06** at limit **
  18  norm          21.929        9.6317       -.22200E-08    .58033E-01
  19  Prefactor     41.442        6.2135       -.57353E-08    .10583E-01
  20  Prefactor      .0000        2.8813        .44810E-08** at limit **
  21  norm          .48850E-08    10.949        .32248E-06** at limit **
  22  norm          1.5583        1.4405        .26849E-08   -.30134E-04
  23  Prefactor     .54401E-08    61.969        .36655E-06** at limit **
  24  Prefactor     104.81        85.638        .24026E-07   -.45718E-03
  25  norm           .0000        .94590        .62293E-07** at limit **
  26  Prefactor     .46629E-08    27.313        .24853E-06** at limit **
  27  Prefactor     20.986        2.7177        .12790E-08    .50943E-03
  28  Prefactor     .97944E-06    42.602       -.52718E-07** at limit **
  29  norm          .24425E-08    12.615       -.89924E-07** at limit **
  30  Normalizat    .97614        .18003       -.73422E-06    .10731E-04
  31  Prefactor     .83622        .22456       -.17683E-06    .71867E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-08
  norm       = 0
  Prefactor  = 3.00432
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.26801e-08
  norm       = 0
  Prefactor  = 7.84373e-08
  Prefactor  = 0
  norm       = 0
  Prefactor  = 36.5172
  Prefactor  = 1.68199e-08
  norm       = 0.917785
  norm       = 12.3918
  Prefactor  = 2.77556e-10
  norm       = 3.47098
  Prefactor  = 4.82947e-09
  norm       = 21.9292
  Prefactor  = 41.4424
  Prefactor  = 0
  norm       = 4.88498e-09
  norm       = 1.5583
  Prefactor  = 5.44009e-09
  Prefactor  = 104.809
  norm       = 0
  Prefactor  = 4.66294e-09
  Prefactor  = 20.9856
  Prefactor  = 9.79439e-07
  norm       = 2.44249e-09
  Normalizat = 0.976137
  Prefactor  = 0.836216
 **********
 **   18 **HESSE 
 **********

 FCN=   5897.023     FROM HESSE     STATUS=OK           684 CALLS     3704 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-07    7.0837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .23404        .12684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.0043        2.4829        .58589E-03   -1.5673    
   4  Prefactor      .0000        4.7732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.8746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .52680E-07    15.200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        4.4179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .78437E-07    7.1248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.1540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.5086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     36.517        33.003        .16780E-03   -1.5587    
  12  Prefactor     .16820E-07    14.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .91778        .41638        .44598E-03   -1.5689    
  14  norm          12.392        9.7223        .28434E-03   -1.5638    
  15  Prefactor     .27756E-09    5.3700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.4710        1.9835        .54275E-03   -1.5671    
  17  Prefactor     .48295E-08    20.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          21.929        11.425        .21393E-03   -1.5614    
  19  Prefactor     41.442        20.717        .15496E-03   -1.5579    
  20  Prefactor      .0000        2.8693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .48850E-08    1.8520        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.5583        1.4626        .85306E-03   -1.5683    
  23  Prefactor     .54401E-08    62.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     104.81        85.400        .99571E-04   -1.5503    
  25  norm           .0000        .94319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .46629E-08    27.385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     20.986        23.667        .21879E-03   -1.5616    
  28  Prefactor     .97944E-06    56.799        .12527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .24425E-08    13.719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .97614        .15281        .45885E-01   -.93834    
  31  Prefactor     .83622        .18959        .65699E-01   -.98407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.37189e-08
Minuit parameter uncertainties:
  1  0.00167322
  2  8.39631e-08
  3  2.48285
  4  2.49959e-06
  5  3.04306e-06
  6  0.00178985
  7  9.59477e-06
  8  0.00149511
  9  1.54599e-06
  10  2.68059e-06
  11  33.0036
  12  0.000990003
  13  0.416383
  14  9.7223
  15  7.70832e-05
  16  1.9835
  17  0.000627766
  18  11.4249
  19  20.7166
  20  2.07476e-06
  21  0.000190594
  22  1.46256
  23  0.00116341
  24  85.4006
  25  5.17267e-08
  26  0.000716199
  27  23.6676
  28  0.0149175
  29  0.000364937
  30  0.152876
  31  0.18974
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  3.471e+00  1.984e+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:  8.362e-01  1.897e-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.761e-01  1.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.60
Ra Dec: 153.768 49.434
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.42e-08 +/- 1.38e-08
Energy Flux (Fixed Index): 2.80e-05 +/- 1.60e-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) = 5896.41514159
delta logL = 0.608051466466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5896.30585195
delta logL = 0.717341100393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2689       1.0000          .0000       .10000E+07
     2 'alpha     '    1.1914       1.0000          .0000       5.0000    
     3 'Normalizat'    .98693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83376       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=   5896.306     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2689        1.5761        .68155E-03    .27818E-01
   2  alpha         1.1914        .33068        .25820       -.26772E-04
   3  Normalizat    .98692        .14556        .46003E-01    .10787E-04
   4  Prefactor     .83377        .18893        .65832E-01    .10931E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.26892
  alpha      = 1.19143
  Normalizat = 0.986919
  Prefactor  = 0.833772
 **********
 **   18 **HESSE 
 **********

 FCN=   5896.306     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2689        2.2080        .72744E-05   -1.5678    
   2  alpha         1.1914        .48431        .10839E-01   -.55087    
   3  Normalizat    .98692        .17221        .20890E-03   -.93470    
   4  Prefactor     .83377        .22327        .29121E-03   -.98495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.34441e-10
Minuit parameter uncertainties:
  1  2.20798
  2  0.488586
  3  0.172309
  4  0.223514
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/957274': 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) = 5896.30585194
delta logL = 0.717341110148

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  2.269e+00  2.208e+00  0.000e+00  1.000e+06 ( 1.000e-12)
364        alpha:  1.191e+00  4.886e-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:  8.338e-01  2.235e-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.869e-01  1.723e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.02
Ra Dec: 153.768 49.434
Photon Index (Free Index): 1.19 +/- 0.49
Photon Flux (Free Index): 1.20e-08 +/- 1.09e-08
Energy Flux (Free Index): 7.14e-05 +/- 7.19e-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/957274/cmap_HighResolution_700185601_700444801_4FGL_J1015.0+4926_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.42e-08', energy_flux2='7.14e-05', photon_flux_error='1.38e-08', dlogl='7.17e-01', energy_flux='2.80e-05', photon_flux2='1.20e-08', job_status='DONE', time_completed='2023-03-14 00:50:13.067580', photon_index_error2='0.49', photon_index2='1.19', ts='23.60', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='7.19e-05', EG='0.98', time_epoch_completed='1678780213.07', return_code='0', job_id='957274', GAL2='0.83', EG2='0.99', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='1.09e-08', ts2='25.02', photon_index='1.75' WHERE bin_id='1778' AND source_name='4FGL J1015.0+4926' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:50:13 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 957274: <4FGL_J1015.0+4926_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1015.0+4926_daily_bin1778> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Mar 14 00:35:21 2023
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:35:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:35:23 2023
Terminated at Tue Mar 14 00:50:13 2023
Results reported at Tue Mar 14 00:50:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1778 153.768 49.4336 700185601 700444801 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 :                                   762.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            892 sec.

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

