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


Performing analysis on: 4FGL_J1015.6+5553_daily_bin1766
RA = 153.911, Dec = 55.8893
tmin = 697075201, tmax = 697334401
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='846406', job_status='RUN', time_executed='2023-02-06 00:41:41.570427', time_epoch_executed='1675672901.57' WHERE source_name='4FGL J1015.6+5553' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846406

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846406/ft1_4FGL_J1015.6+5553_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846406/ft2_4FGL_J1015.6+5553_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846406/ft1_4FGL_J1015.6+5553_daily_bin1766.fits outfile=/scratch/kocevski/846406/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1766.fits ra=153.911 dec=55.8893 rad=12.0 tmin=697075201.0 tmax=697334401.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.74
user 3.47
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/846406/ft2_4FGL_J1015.6+5553_daily_bin1766.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/846406/ft2_4FGL_J1015.6+5553_daily_bin1766.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/846406/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/846406/ft1_filtered_4FGL_J1015.6+5553_daily_bin1766.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.52
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 652

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846406/ft1_filtered_4FGL_J1015.6+5553_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/846406/ft2_4FGL_J1015.6+5553_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/846406/ltcube_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.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/846406/ft2_4FGL_J1015.6+5553_daily_bin1766.fits
.....................!
real 15.74
user 15.23
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846406/ft1_filtered_4FGL_J1015.6+5553_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/846406/ft2_4FGL_J1015.6+5553_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/846406/ltcube_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.fits outfile=/scratch/kocevski/846406/expmap_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.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/846406/ltcube_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.fits
.....................!
real 193.97
user 186.97
sys 5.63

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 240 point sources and 0 extended sources

Setting source of interest to:
4FGL J1015.6+5553 @ 153.911 55.8893

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/846406/ft1_filtered_4FGL_J1015.6+5553_daily_bin1766.fits scfile=/scratch/kocevski/846406/ft2_4FGL_J1015.6+5553_daily_bin1766.fits outfile=/scratch/kocevski/846406/cmap_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.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.911 yref=55.8893 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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846406/ft1_filtered_4FGL_J1015.6+5553_daily_bin1766.fits scfile=/scratch/kocevski/846406/ft2_4FGL_J1015.6+5553_daily_bin1766.fits outfile=/scratch/kocevski/846406/cmap_HighResolution_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.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.911 yref=55.8893 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/846406/ft1_filtered_4FGL_J1015.6+5553_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/846406/ft2_4FGL_J1015.6+5553_daily_bin1766.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/846406/Model_4FGL_J1015.6+5553_daily_bin1766.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/846406/ft1_filtered_4FGL_J1015.6+5553_daily_bin1766.fits.....................!
real 67.04
user 65.10
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/846406/ft1_filtered_4FGL_J1015.6+5553_daily_bin1766.fits', '/scratch/kocevski/846406/ft2_4FGL_J1015.6+5553_daily_bin1766.fits', expMap='/scratch/kocevski/846406/expmap_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.fits', expCube='/scratch/kocevski/846406/ltcube_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/846406/Model_4FGL_J1015.6+5553_daily_bin1766.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1015.6+5553'

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  7.306e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
392        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
393        Scale:  7.469e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/846406/ft1_filtered_4FGL_J1015.6+5553_daily_bin1766.fits
Spacecraft file(s): /scratch/kocevski/846406/ft2_4FGL_J1015.6+5553_daily_bin1766.fits
Exposure map: /scratch/kocevski/846406/expmap_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.fits
Exposure cube: /scratch/kocevski/846406/ltcube_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/846406/Model_4FGL_J1015.6+5553_daily_bin1766.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) = 7012.78193469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.139       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16981E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .77189       1.0000          .0000       .10000E+07
     4 'Prefactor '    .66067E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19817E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21716E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20933E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13378E-03   1.0000          .0000       .10000E+07
     9 'norm      '    10.378       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15146E-03   1.0000          .0000       .10000E+07
    11 'norm      '    1.6180       1.0000          .0000       .10000E+07
    12 'norm      '    22.698       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.7970       1.0000          .0000       .10000E+07
    14 'norm      '    .92386       1.0000          .0000       .10000E+07
    15 'norm      '    .30426E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    25.150       1.0000          .0000       .10000E+07
    17 'norm      '    .33941E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.6353       1.0000          .0000       .10000E+07
    19 'norm      '    6.3424       1.0000          .0000       .10000E+07
    20 'norm      '    2.2984       1.0000          .0000       .10000E+07
    21 'Prefactor '    .28575E-03   1.0000          .0000       .10000E+07
    22 'norm      '    3.2101       1.0000          .0000       .10000E+07
    23 'Prefactor '    .16926       1.0000          .0000       .10000E+07
    24 'Prefactor '    .15283E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .55654E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .18542E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    25.538       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.1625       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .86932       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7012.654     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2134 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.269        1.1726       -.57054E-08   -.83424E-02
   2  Prefactor      .0000        21.185        .24055E-05** at limit **
   3  norm          .77208        .64776        .33266E-06    .13834E-02
   4  Prefactor     .12601E-07    12.138        .11802E-05** at limit **
   5  Prefactor      .0000        .89083        .48225E-07** at limit **
   6  Prefactor     .64393E-07    1.3135       -.69089E-06** at limit **
   7  Prefactor     .35860E-07    9.4803       -.90412E-07** at limit **
   8  Prefactor     .35603E-04    31.779        .46777E-05** at limit **
   9  norm          10.303        9.7142        .11225E-06    .26328E-03
  10  Prefactor     .32602E-06    15.536        .29349E-05** at limit **
  11  norm          1.6169        .56838       -.63119E-07   -.50433E-02
  12  norm          22.716        12.413       -.56004E-06   -.15196E-01
  13  Prefactor     9.7805        6.0490        .16661E-06    .17363E-02
  14  norm          .92420        .63733        .70613E-07   -.48022E-04
  15  norm           .0000        6.5434       -.67186E-07** at limit **
  16  Prefactor     25.749        13.681       -.12723E-05   -.87634E-01
  17  norm           .0000        3.6402       -.18766E-05** at limit **
  18  Prefactor     4.7320        1.3939        .13638E-06   -.17326E-03
  19  norm          6.3317        2.3103        .13519E-06   -.31786E-02
  20  norm          2.2971        1.4188        .41514E-06    .15763E-02
  21  Prefactor     .43924E-05    88.882       -.27509E-05** at limit **
  22  norm          3.2099        2.0368       -.89176E-07    .20529E-02
  23  Prefactor     .17809E-04    8.1413        .16666E-06** at limit **
  24  Prefactor     .36637E-08    8.3608       -.23511E-05** at limit **
  25  Prefactor     .15932E-06    29.371        .27189E-05** at limit **
  26  Prefactor     .12947E-05    46.225        .67845E-05** at limit **
  27  Prefactor     25.964        4.6923        .74797E-07    .10926    
  28  Normalizat    1.1619        .17841       -.46235E-05    .10787E-03
  29  Prefactor     .86954        .20684        .24482E-05    .70646E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.2694
  Prefactor  = 0
  norm       = 0.772076
  Prefactor  = 1.2601e-08
  Prefactor  = 0
  Prefactor  = 6.43929e-08
  Prefactor  = 3.58602e-08
  Prefactor  = 3.56029e-05
  norm       = 10.3033
  Prefactor  = 3.26017e-07
  norm       = 1.61685
  norm       = 22.7158
  Prefactor  = 9.78051
  norm       = 0.924198
  norm       = 0
  Prefactor  = 25.7492
  norm       = 0
  Prefactor  = 4.73205
  norm       = 6.33172
  norm       = 2.29712
  Prefactor  = 4.39243e-06
  norm       = 3.20994
  Prefactor  = 1.78089e-05
  Prefactor  = 3.66374e-09
  Prefactor  = 1.59317e-07
  Prefactor  = 1.29469e-06
  Prefactor  = 25.9637
  Normalizat = 1.16185
  Prefactor  = 0.869541
 **********
 **   18 **HESSE 
 **********

 FCN=   7012.654     FROM HESSE     STATUS=OK           639 CALLS     2773 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.269        17.989        .17373E-03   -1.5593    
   2  Prefactor      .0000        20.769        .17244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .77208        .65348        .55054E-03   -1.5690    
   4  Prefactor     .12601E-07    12.144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .89248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .64393E-07    9.5048        .13723E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .35860E-07    9.4507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .35603E-04    7.8410        .55719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.303        9.7191        .31078E-03   -1.5644    
  10  Prefactor     .32602E-06    16.173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6169        .57475        .81495E-03   -1.5683    
  12  norm          22.716        12.445        .20995E-03   -1.5613    
  13  Prefactor     9.7805        6.3023        .31991E-03   -1.5645    
  14  norm          .92420        .63991        .44124E-03   -1.5689    
  15  norm           .0000        1.0006        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.749        31.756        .19944E-03   -1.5606    
  17  norm           .0000        3.6458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7320        17.200        .46723E-03   -1.5664    
  19  norm          6.3317        2.8627        .39832E-03   -1.5658    
  20  norm          2.2971        1.4204        .67668E-03   -1.5678    
  21  Prefactor     .43924E-05    96.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.2099        2.0415        .56521E-03   -1.5672    
  23  Prefactor     .17809E-04    147.33        .12351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .36637E-08    8.3703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .15932E-06    29.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .12947E-05    3.6041        .55883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     25.964        20.386        .19792E-03   -1.5606    
  28  Normalizat    1.1619        .15787        .51490E-01   -.87790    
  29  Prefactor     .86954        .17841        .68112E-01   -.97214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.39407e-07
Minuit parameter uncertainties:
  1  17.989
  2  1.70317e-05
  3  0.653478
  4  0.000782855
  5  2.6253e-06
  6  0.00156446
  7  0.00116455
  8  0.0334163
  9  9.71912
  10  0.00459236
  11  0.574753
  12  12.445
  13  6.30228
  14  0.639905
  15  4.55871e-06
  16  31.7566
  17  6.48185e-06
  18  17.2003
  19  2.86274
  20  1.42041
  21  0.0411125
  22  2.0415
  23  0.102449
  24  0.000350351
  25  0.00434691
  26  0.00432029
  27  20.3858
  28  0.157936
  29  0.178534
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  2.575e+01  3.176e+01  0.000e+00  1.000e+06 ( 1.000e-13)
392        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
393        Scale:  7.469e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
767    Prefactor:  8.695e-01  1.785e-01  0.000e+00  1.000e+01 ( 1.000e+00)
768        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
769        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
766   Normalization:  1.162e+00  1.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.88
Ra Dec: 153.911 55.889
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846406/likelihoodResults_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.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): 0
logL (Free Index) = 7012.64486613
delta logL = 0.00925188722613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7012.63915473
delta logL = 0.0149632960965

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.648       1.0000          .0000       .10000E+07
     2 'Index     '    2.3206       1.0000          .0000       10.000    
     3 'Normalizat'    1.1689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86320       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7012.639     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      282 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.651        40.007        .73473E-05   -.17200E-02
   2  Index         2.3212        1.2068        .13059E-01   -.75441E-04
   3  Normalizat    1.1684        .17671        .22711E-03    .25070E-03
   4  Prefactor     .86370        .20244        .30219E-03    .18965E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.651
  Index      = 2.32118
  Normalizat = 1.16841
  Prefactor  = 0.863698
 **********
 **   18 **HESSE 
 **********

 FCN=   7012.639     FROM HESSE     STATUS=OK            23 CALLS      305 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.651        38.650        .14695E-05   -1.5599    
   2  Index         2.3212        1.1653        .52238E-03   -.56541    
   3  Normalizat    1.1684        .17653        .45422E-04   -.87585    
   4  Prefactor     .86370        .20229        .12088E-04   -.97421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45505e-10
Minuit parameter uncertainties:
  1  38.6502
  2  1.18064
  3  0.176622
  4  0.20247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846406': 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) = 7012.63915126
delta logL = 0.0149667584856

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  2.965e+01  3.865e+01  0.000e+00  1.000e+06 ( 1.000e-13)
392        Index:  2.321e+00  1.181e+00  0.000e+00  1.000e+01 (-1.000e+00)
393        Scale:  7.469e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
767    Prefactor:  8.637e-01  2.025e-01  0.000e+00  1.000e+01 ( 1.000e+00)
768        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
769        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
766   Normalization:  1.168e+00  1.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.88
Ra Dec: 153.911 55.889

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/846406/cmap_HighResolution_697075201_697334401_4FGL_J1015.6+5553_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.02e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2023-02-06 00:56:24.557309', job_id='846406', GAL2='0.86', fit_tolerance='1e-08', EG2='1.17', EG='1.16', time_epoch_completed='1675673784.56', return_code2='0', ts='0.88', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.50e-02', ts2='0.90', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1766' AND source_name='4FGL J1015.6+5553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 00:56:24 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 846406: <4FGL_J1015.6+5553_daily_bin1766> in cluster <slac> Done

Job <4FGL_J1015.6+5553_daily_bin1766> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Feb  6 00:40:17 2023
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 00:41:31 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 00:41:31 2023
Terminated at Mon Feb  6 00:56:25 2023
Results reported at Mon Feb  6 00:56:25 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_daily_bin1766 153.911 55.8893 697075201 697334401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1015.6+5553 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   880.19 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             347.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            968 sec.

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

