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


Performing analysis on: 4FGL_J1015.0+4926_weekly_bin759
RA = 153.768, Dec = 49.4336
tmin = 698025601, tmax = 698630401
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='585584', job_status='RUN', time_executed='2023-02-21 03:17:08.826100', time_epoch_executed='1676978228.83' WHERE source_name='4FGL J1015.0+4926' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/585584

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/585584/ft1_4FGL_J1015.0+4926_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/585584/ft2_4FGL_J1015.0+4926_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/585584/ft1_4FGL_J1015.0+4926_weekly_bin759.fits outfile=/scratch/kocevski/585584/ft1_filteredMKT_4FGL_J1015.0+4926_weekly_bin759.fits ra=153.768 dec=49.4336 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.68
user 8.21
sys 0.38

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

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

Number of photons that the gtmktime cut: 591

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/585584/ft1_filtered_4FGL_J1015.0+4926_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/585584/ft2_4FGL_J1015.0+4926_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/585584/ltcube_698025601_698630401_4FGL_J1015.0+4926_weekly_bin759.fits outfile=/scratch/kocevski/585584/expmap_698025601_698630401_4FGL_J1015.0+4926_weekly_bin759.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/585584/ltcube_698025601_698630401_4FGL_J1015.0+4926_weekly_bin759.fits
.....................!
real 191.37
user 185.03
sys 3.86

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/585584/ft1_filtered_4FGL_J1015.0+4926_weekly_bin759.fits scfile=/scratch/kocevski/585584/ft2_4FGL_J1015.0+4926_weekly_bin759.fits outfile=/scratch/kocevski/585584/cmap_698025601_698630401_4FGL_J1015.0+4926_weekly_bin759.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.56
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/585584/ft1_filtered_4FGL_J1015.0+4926_weekly_bin759.fits scfile=/scratch/kocevski/585584/ft2_4FGL_J1015.0+4926_weekly_bin759.fits outfile=/scratch/kocevski/585584/cmap_HighResolution_698025601_698630401_4FGL_J1015.0+4926_weekly_bin759.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.56
user 0.42
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.680       1.0000          .0000       .10000E+07
     2 'norm      '    .79781E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7985       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.7396       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.4905       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32235E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .20486E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .38162E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9591       1.0000          .0000       .10000E+07
    10 'norm      '    .14767E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    14.196       1.0000          .0000       .10000E+07
    12 'Prefactor '    .73511E-02   1.0000          .0000       .10000E+07
    13 'norm      '    1.1152       1.0000          .0000       .10000E+07
    14 'norm      '    23.781       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11526E-05   1.0000          .0000       .10000E+07
    16 'norm      '    5.2094       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.481       1.0000          .0000       .10000E+07
    18 'norm      '    4.6976       1.0000          .0000       .10000E+07
    19 'Prefactor '    44.660       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.0026       1.0000          .0000       .10000E+07
    21 'norm      '    .35996E-05   1.0000          .0000       .10000E+07
    22 'norm      '    3.5167       1.0000          .0000       .10000E+07
    23 'Prefactor '    .28410E-01   1.0000          .0000       .10000E+07
    24 'Prefactor '    .83839E-01   1.0000          .0000       .10000E+07
    25 'norm      '    3.0659       1.0000          .0000       .10000E+07
    26 'Prefactor '    .64600E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    15.553       1.0000          .0000       .10000E+07
    28 'Prefactor '    .10180E-02   1.0000          .0000       .10000E+07
    29 'norm      '    .85587E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .76512       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0729       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=   6524.471     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     2980 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.637        1.8104        .19706E-07    .20588E-01
   2  norm           .0000        .49018       -.94290E-07** at limit **
   3  Prefactor     1.7936        2.3701       -.26552E-06    .10439E-02
   4  Prefactor     5.7650        5.8256        .79920E-08   -.76394E-03
   5  Prefactor     2.4899        2.6791        .11846E-07   -.49073E-03
   6  Prefactor     .83267E-09    4.9594        .16062E-06** at limit **
   7  norm          .13878E-08    6.0487        .24957E-06** at limit **
   8  Prefactor     .79381E-08    6.5074        .26621E-06** at limit **
   9  Prefactor     3.9596        5.2334        .56173E-07   -.79412E-03
  10  norm           .0000        2.4871       -.53840E-07** at limit **
  11  Prefactor     14.162        1.8673       -.19535E-07   -.12657E-01
  12  Prefactor     .18924E-05    7.6141       -.58523E-07** at limit **
  13  norm          1.1153        .43220        .14474E-07   -.35367E-02
  14  norm          23.803        1.1444       -.99468E-09    .16609E-02
  15  Prefactor      .0000        1.6584        .83625E-08** at limit **
  16  norm          5.2081        2.5767        .62366E-07   -.10439E-02
  17  Prefactor     16.507        1.2952       -.83336E-08   -.88137E-02
  18  norm          4.6371        1.6055       -.12458E-08   -.22343E-01
  19  Prefactor     44.559        4.1992       -.20536E-07   -.12988    
  20  Prefactor     2.0071        2.3145       -.48144E-07    .61017E-03
  21  norm           .0000        1.3902        .30898E-06** at limit **
  22  norm          3.5177        1.7327       -.13387E-07    .79568E-03
  23  Prefactor     .83267E-09    43.907       -.34438E-07** at limit **
  24  Prefactor     .14360E-05    2.2057        .70868E-07** at limit **
  25  norm          3.0631        1.8847        .57631E-07   -.71581E-03
  26  Prefactor     .14340E-05    33.914       -.56442E-07** at limit **
  27  Prefactor     15.555        1.1379        .55060E-08    .13988E-01
  28  Prefactor     .15588E-05    29.589        .66779E-06** at limit **
  29  norm          .17492E-05    7.4989        .80225E-07** at limit **
  30  Normalizat    .76522        .16916       -.26999E-05    .32370E-04
  31  Prefactor     1.0728        .21716        .24370E-05    .99328E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6365
  norm       = 0
  Prefactor  = 1.79363
  Prefactor  = 5.76502
  Prefactor  = 2.48987
  Prefactor  = 8.32667e-10
  norm       = 1.38778e-09
  Prefactor  = 7.93809e-09
  Prefactor  = 3.95957
  norm       = 0
  Prefactor  = 14.1616
  Prefactor  = 1.89238e-06
  norm       = 1.11531
  norm       = 23.8027
  Prefactor  = 0
  norm       = 5.20808
  Prefactor  = 16.5067
  norm       = 4.63712
  Prefactor  = 44.5587
  Prefactor  = 2.00708
  norm       = 0
  norm       = 3.51767
  Prefactor  = 8.32667e-10
  Prefactor  = 1.43596e-06
  norm       = 3.06307
  Prefactor  = 1.43402e-06
  Prefactor  = 15.5554
  Prefactor  = 1.55881e-06
  norm       = 1.74916e-06
  Normalizat = 0.765219
  Prefactor  = 1.0728
 **********
 **   18 **HESSE 
 **********

 FCN=   6524.471     FROM HESSE     STATUS=OK           692 CALLS     3672 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.637        20.512        .28105E-03   -1.5637    
   2  norm           .0000        .36350        .13948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7936        2.8534        .77928E-03   -1.5681    
   4  Prefactor     5.7650        5.8469        .41901E-03   -1.5660    
   5  Prefactor     2.4899        2.7191        .64743E-03   -1.5676    
   6  Prefactor     .83267E-09    5.0273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .13878E-08    6.1836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .79381E-08    6.5934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.9596        5.2547        .50670E-03   -1.5668    
  10  norm           .0000        2.4880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.162        21.084        .26558E-03   -1.5633    
  12  Prefactor     .18924E-05    13.566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1153        .43655        .72361E-03   -1.5687    
  14  norm          23.803        12.123        .20511E-03   -1.5610    
  15  Prefactor      .0000        1.6562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.2081        2.5800        .44019E-03   -1.5662    
  17  Prefactor     16.507        22.985        .24644E-03   -1.5627    
  18  norm          4.6371        10.877        .46405E-03   -1.5665    
  19  Prefactor     44.559        17.933        .14965E-03   -1.5574    
  20  Prefactor     2.0071        2.3403        .73150E-03   -1.5680    
  21  norm           .0000        1.3872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.5177        1.7436        .53884E-03   -1.5670    
  23  Prefactor     .83267E-09    43.895        .16536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .14360E-05    56.823        .14385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.0631        1.8927        .57908E-03   -1.5673    
  26  Prefactor     .14340E-05    36.549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     15.555        15.420        .25370E-03   -1.5629    
  28  Prefactor     .15588E-05    32.472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .17492E-05    13.847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .76522        .14983        .43153E-01   -1.0137    
  31  Prefactor     1.0728        .18711        .60878E-01   -.90341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10651e-07
Minuit parameter uncertainties:
  1  20.5125
  2  7.1665e-07
  3  2.85341
  4  5.8469
  5  2.71914
  6  0.000130481
  7  0.000185941
  8  0.000457575
  9  5.25467
  10  1.2335e-05
  11  21.0837
  12  0.0101335
  13  0.436547
  14  12.1226
  15  6.65248e-06
  16  2.58002
  17  22.9848
  18  10.8774
  19  17.9325
  20  2.34034
  21  1.47877e-06
  22  1.74356
  23  0.000377025
  24  0.0180663
  25  1.8927
  26  0.0144792
  27  15.42
  28  0.0142293
  29  0.00984274
  30  0.149906
  31  0.187221
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  5.208e+00  2.580e+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.073e+00  1.872e-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:  7.652e-01  1.499e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.37
Ra Dec: 153.768 49.434
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.63e-08 +/- 1.80e-08
Energy Flux (Fixed Index): 4.20e-05 +/- 2.08e-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) = 6524.3607845
delta logL = 0.11045437155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6524.35328775
delta logL = 0.117951124786

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9961       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5740       1.0000          .0000       5.0000    
     3 'Normalizat'    .77150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0698       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=   6524.353     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9974        2.6612        .44967E-03   -.41522E-03
   2  alpha         1.5743        .32783        .26173       -.27730E-04
   3  Normalizat    .77149        .14098        .43237E-01   -.62066E-05
   4  Prefactor     1.0698        .18577        .60963E-01   -.10601E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.9974
  alpha      = 1.5743
  Normalizat = 0.771488
  Prefactor  = 1.06978
 **********
 **   18 **HESSE 
 **********

 FCN=   6524.353     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9974        2.6660        .89576E-05   -1.5663    
   2  alpha         1.5743        .35658        .10634E-01   -.37931    
   3  Normalizat    .77149        .16447        .23790E-03   -1.0114    
   4  Prefactor     1.0698        .21676        .26961E-03   -.90438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77825e-12
Minuit parameter uncertainties:
  1  2.66598
  2  0.357995
  3  0.164578
  4  0.216942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/585584': 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) = 6524.35328742
delta logL = 0.117951452035

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  4.997e+00  2.666e+00  0.000e+00  1.000e+06 ( 1.000e-12)
364        alpha:  1.574e+00  3.580e-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.070e+00  2.169e-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:  7.715e-01  1.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.59
Ra Dec: 153.768 49.434
Photon Index (Free Index): 1.57 +/- 0.36
Photon Flux (Free Index): 2.99e-08 +/- 1.97e-08
Energy Flux (Free Index): 5.65e-05 +/- 4.60e-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/585584/cmap_HighResolution_698025601_698630401_4FGL_J1015.0+4926_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.63e-08', energy_flux2='5.65e-05', photon_flux_error='1.80e-08', dlogl='1.18e-01', energy_flux='4.20e-05', photon_flux2='2.99e-08', job_status='DONE', time_completed='2023-02-21 03:31:05.944621', photon_index_error2='0.36', photon_index2='1.57', ts='17.37', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='4.60e-05', EG='0.77', time_epoch_completed='1676979065.94', return_code='0', job_id='585584', GAL2='1.07', EG2='0.77', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='1.97e-08', ts2='17.59', photon_index='1.75' WHERE bin_id='759' AND source_name='4FGL J1015.0+4926' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:31:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 585584: <4FGL_J1015.0+4926_weekly_bin759> in cluster <slac> Done

Job <4FGL_J1015.0+4926_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 03:15:24 2023
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:15:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:15:25 2023
Terminated at Tue Feb 21 03:31:06 2023
Results reported at Tue Feb 21 03:31:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_weekly_bin759 153.768 49.4336 698025601 698630401 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 :                                   833.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             303.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   941 sec.
    Turnaround time :                            942 sec.

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

