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 34 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1015.6+5553_daily_bin1694
RA = 153.911, Dec = 55.8893
tmin = 678412801, tmax = 678672001
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='639559', job_status='RUN', time_executed='2022-07-05 03:19:19.031018', time_epoch_executed='1657016359.03' WHERE source_name='4FGL J1015.6+5553' and cadence='daily' and bin_id='1694'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639559

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639559/ft1_4FGL_J1015.6+5553_daily_bin1694.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639559/ft2_4FGL_J1015.6+5553_daily_bin1694.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639559/ft1_4FGL_J1015.6+5553_daily_bin1694.fits outfile=/scratch/kocevski/639559/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1694.fits ra=153.911 dec=55.8893 rad=12.0 tmin=678412801.0 tmax=678672001.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.73
user 3.47
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/639559/ft2_4FGL_J1015.6+5553_daily_bin1694.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/639559/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1694.fits evtable="EVENTS" outfile="/scratch/kocevski/639559/ft1_filtered_4FGL_J1015.6+5553_daily_bin1694.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: 639

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/639559/ft1_filtered_4FGL_J1015.6+5553_daily_bin1694.fits" evtable="EVENTS" scfile=/scratch/kocevski/639559/ft2_4FGL_J1015.6+5553_daily_bin1694.fits sctable="SC_DATA" outfile=/scratch/kocevski/639559/ltcube_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.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/639559/ft2_4FGL_J1015.6+5553_daily_bin1694.fits
.....................!
real 15.71
user 15.04
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639559/ft1_filtered_4FGL_J1015.6+5553_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/639559/ft2_4FGL_J1015.6+5553_daily_bin1694.fits sctable="SC_DATA" expcube=/scratch/kocevski/639559/ltcube_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.fits outfile=/scratch/kocevski/639559/expmap_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.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/639559/ltcube_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.fits
.....................!
real 193.43
user 187.45
sys 4.57

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/639559/ft1_filtered_4FGL_J1015.6+5553_daily_bin1694.fits scfile=/scratch/kocevski/639559/ft2_4FGL_J1015.6+5553_daily_bin1694.fits outfile=/scratch/kocevski/639559/cmap_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639559/ft1_filtered_4FGL_J1015.6+5553_daily_bin1694.fits scfile=/scratch/kocevski/639559/ft2_4FGL_J1015.6+5553_daily_bin1694.fits outfile=/scratch/kocevski/639559/cmap_HighResolution_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.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.57
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639559/ft1_filtered_4FGL_J1015.6+5553_daily_bin1694.fits', '/scratch/kocevski/639559/ft2_4FGL_J1015.6+5553_daily_bin1694.fits', expMap='/scratch/kocevski/639559/expmap_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.fits', expCube='/scratch/kocevski/639559/ltcube_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639559/Model_4FGL_J1015.6+5553_daily_bin1694.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  1.000e-04  1.000e+04 ( 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/639559/ft1_filtered_4FGL_J1015.6+5553_daily_bin1694.fits
Spacecraft file(s): /scratch/kocevski/639559/ft2_4FGL_J1015.6+5553_daily_bin1694.fits
Exposure map: /scratch/kocevski/639559/expmap_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.fits
Exposure cube: /scratch/kocevski/639559/ltcube_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639559/Model_4FGL_J1015.6+5553_daily_bin1694.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) = 6996.00832835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.616       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.5570       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0900       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.989       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7991       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5200       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.8255       1.0000         .10000E-03   10000.    
    15 'norm      '    12.170       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.9576       1.0000         .10000E-03   10000.    
    17 'norm      '    .84086       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.5469       1.0000         .10000E-03   10000.    
    20 'norm      '    12.710       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.4110       1.0000         .10000E-03   10000.    
    22 'norm      '    2.6339       1.0000         .10000E-03   10000.    
    23 'norm      '    .27474       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.3908       1.0000         .10000E-03   10000.    
    25 'Prefactor '    58.245       1.0000         .10000E-03   10000.    
    26 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    23.043       1.0000         .10000E-03   10000.    
    28 'Prefactor '    18.511       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    16.850       1.0000         .10000E-03   10000.    
    31 'Prefactor '    28.965       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .96675       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0131       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.

 FCN=   6996.003     FROM MIGRAD    STATUS=CONVERGED    868 CALLS     4575 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.615        13.275        .28681E-06   -.79090E-05
   2  Prefactor     .10000E-03    4.3872        .18049E-07** at limit **
   3  Prefactor     .10000E-03    6.7086        .12605E-07** at limit **
   4  Prefactor     .10000E-03    33.637       -.99048E-06** at limit **
   5  norm          1.5570        .89554       -.54482E-06   -.10226E-02
   6  Prefactor     3.0896        4.3201       -.14603E-06   -.15400E-03
   7  Prefactor     .10000E-03    1.1134        .20927E-07** at limit **
   8  Prefactor     10.988        12.423        .25659E-06   -.23610E-04
   9  Prefactor     .10000E-03    7.0889       -.14672E-05** at limit **
  10  Prefactor     3.7971        8.1994        .11989E-04   -.67395E-03
  11  Prefactor     6.5198        5.3297        .16906E-06   -.61162E-04
  12  norm          .10000E-03    2.1484       -.19375E-07** at limit **
  13  Prefactor     .10000E-03    10.220       -.27658E-06** at limit **
  14  norm          1.8255        .56110        .13041E-07   -.41746E-03
  15  norm          12.169        11.043        .40718E-06   -.32538E-04
  16  Prefactor     2.9572        4.6399        .71169E-06   -.54278E-04
  17  norm          .84085        .55885       -.11832E-06   -.67328E-03
  18  norm          .10000E-03    1.3082        .29528E-07** at limit **
  19  Prefactor     6.5438        22.803        .40866E-06   -.34831E-04
  20  norm          12.710        12.653       -.78693E-07   -.15541E-04
  21  Prefactor     9.4124        18.971       -.10640E-06   -.71191E-04
  22  norm          2.6338        2.5648        .94088E-07   -.17891E-03
  23  norm          .27461        1.0668        .11002E-05   -.18327E-03
  24  Prefactor     3.3015        224.69       -.39399E-04   -.11038E-03
  25  Prefactor     58.244        93.889        .60239E-07    .94928E-05
  26  norm          .10000E-03    1.2931        .22172E-06** at limit **
  27  Prefactor     23.125        63.217        .16993E-04    .24423E-03
  28  Prefactor     18.512        22.842        .35317E-06   -.40755E-04
  29  Prefactor     .10000E-03    42.946        .18446E-05** at limit **
  30  Prefactor     16.852        9.0579        .37305E-06   -.34185E-04
  31  Prefactor     28.952        33.682       -.40047E-06   -.13892E-03
  32  Normalizat    .96676        .17031       -.51015E-05    .13801E-03
  33  Prefactor     1.0132        .17955        .17471E-05   -.29483E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6152
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.557
  Prefactor  = 3.08957
  Prefactor  = 0.0001
  Prefactor  = 10.9884
  Prefactor  = 0.000100001
  Prefactor  = 3.79712
  Prefactor  = 6.51981
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.82545
  norm       = 12.1691
  Prefactor  = 2.95716
  norm       = 0.840852
  norm       = 0.0001
  Prefactor  = 6.54382
  norm       = 12.7096
  Prefactor  = 9.41237
  norm       = 2.63378
  norm       = 0.274608
  Prefactor  = 3.30146
  Prefactor  = 58.244
  norm       = 0.0001
  Prefactor  = 23.1255
  Prefactor  = 18.512
  Prefactor  = 0.000100001
  Prefactor  = 16.8521
  Prefactor  = 28.952
  Normalizat = 0.96676
  Prefactor  = 1.01316
 **********
 **   18 **HESSE 
 **********

 FCN=   6996.003     FROM HESSE     STATUS=OK           699 CALLS     5274 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.615        13.277        .11754E-03   -1.5026    
   2  Prefactor     .10000E-03    4.4044        .17105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.7192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    33.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5570        .89181        .55133E-04   -1.5458    
   6  Prefactor     3.0896        4.3106        .19969E-03   -1.5356    
   7  Prefactor     .10000E-03    1.1273        .86152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.988        12.411        .12086E-03   -1.5045    
   9  Prefactor     .10000E-03    7.1571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.7971        8.3802        .10355E-02   -1.5318    
  11  Prefactor     6.5198        5.3181        .15717E-03   -1.5197    
  12  norm          .10000E-03    2.1489        .11973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.8255        .56207        .33236E-04   -1.5438    
  15  norm          12.169        11.047        .11483E-03   -1.5010    
  16  Prefactor     2.9572        4.6184        .21181E-03   -1.5364    
  17  norm          .84085        .55963        .48685E-04   -1.5525    
  18  norm          .10000E-03    1.3248        .93370E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.5438        22.811        .15684E-03   -1.5196    
  20  norm          12.710        12.651        .11236E-03   -1.4995    
  21  Prefactor     9.4124        19.247        .13064E-03   -1.5094    
  22  norm          2.6338        2.5829        .98650E-04   -1.5383    
  23  norm          .27461        1.0517        .16416E-03   -1.5603    
  24  Prefactor     3.3015        248.24        .21972E-03   -1.5345    
  25  Prefactor     58.244        93.584        .52567E-04   -1.4180    
  26  norm          .10000E-03    1.3286        .18433E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     23.125        64.908        .83444E-04   -1.4746    
  28  Prefactor     18.512        22.742        .93090E-04   -1.4847    
  29  Prefactor     .10000E-03    43.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     16.852        9.0606        .97572E-04   -1.4887    
  31  Prefactor     28.952        33.775        .74442E-04   -1.4631    
  32  Normalizat    .96676        .19775        .24384E-03   -.94152    
  33  Prefactor     1.0132        .20892        .27949E-03   -.92292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26998e-09
Minuit parameter uncertainties:
  1  13.2806
  2  5.99602e-06
  3  8.53095e-06
  4  0.00015763
  5  0.891821
  6  4.31098
  7  2.9455e-06
  8  12.4136
  9  0.000182804
  10  8.38275
  11  5.31845
  12  1.27711e-06
  13  3.22454e-05
  14  0.562073
  15  11.0491
  16  4.61893
  17  0.559636
  18  6.90085e-06
  19  22.8418
  20  12.654
  21  19.2593
  22  2.58305
  23  1.0518
  24  57.5043
  25  93.8211
  26  5.99892e-06
  27  65.1075
  28  22.7527
  29  0.000328591
  30  9.06133
  31  33.797
  32  0.197901
  33  0.209086
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  6.544e+00  2.284e+01  1.000e-04  1.000e+04 ( 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:  1.013e+00  2.091e-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:  9.668e-01  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 153.911 55.889
Photon Flux Upper Limit: 7.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/639559/likelihoodResults_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.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) = 6995.99716156
delta logL = 0.00549536641574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6995.99671501
delta logL = 0.00594191524669

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0056       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7450       1.0000          .0000       10.000    
     3 'Normalizat'    .96456       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0145       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6995.997     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      294 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9773        22.538        .81923E-03   -.48598E-04
   2  Index         2.7565        1.9893        .80989E-02   -.24838E-04
   3  Normalizat    .96483        .17352        .24406E-03    .13984E-03
   4  Prefactor     1.0145        .20162        .27932E-03    .28128E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.97729
  Index      = 2.75649
  Normalizat = 0.964825
  Prefactor  = 1.01452
 **********
 **   18 **HESSE 
 **********

 FCN=   6995.997     FROM HESSE     STATUS=OK            23 CALLS      317 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9773        21.563        .32769E-04   -1.5219    
   2  Index         2.7565        1.9086        .32396E-03   -.46531    
   3  Normalizat    .96483        .17369        .97623E-05   -.94218    
   4  Prefactor     1.0145        .20176        .55864E-04   -.92247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54208e-10
Minuit parameter uncertainties:
  1  21.591
  2  1.972
  3  0.173792
  4  0.201909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639559': 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) = 6995.99668824
delta logL = 0.00596869160927

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  5.977e+00  2.159e+01  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  2.756e+00  1.972e+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:  1.015e+00  2.019e-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:  9.648e-01  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/639559/cmap_HighResolution_678412801_678672001_4FGL_J1015.6+5553_daily_bin1694.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.75e-03', job_status='DONE', photon_flux_upper_limit='7.37e-08', time_completed='2022-07-05 03:40:53.886604', job_id='639559', GAL2='1.01', fit_tolerance='1e-08', EG2='0.96', EG='0.97', time_epoch_completed='1657017653.89', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.97e-03', ts2='0.11', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1694' AND source_name='4FGL J1015.6+5553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  5 03:40:53 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 639604: <4FGL_J1015.6+5553_daily_bin1694> in cluster <slac> Done

Job <4FGL_J1015.6+5553_daily_bin1694> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Jul  5 00:06:05 2022
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 03:19:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 03:19:33 2022
Terminated at Tue Jul  5 03:37:34 2022
Results reported at Tue Jul  5 03:37:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_daily_bin1694 153.911 55.8893 678412801 678672001 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 :                                   1038.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             299.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1080 sec.
    Turnaround time :                            12689 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0039>
Subject: Job 639559: <4FGL_J1015.6+5553_daily_bin1694> in cluster <slac> Done

Job <4FGL_J1015.6+5553_daily_bin1694> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Jul  5 00:06:03 2022
Job was executed on host(s) <bullet0039>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 03:18:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 03:18:23 2022
Terminated at Tue Jul  5 03:40:54 2022
Results reported at Tue Jul  5 03:40:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_daily_bin1694 153.911 55.8893 678412801 678672001 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 :                                   1287.98 sec.
    Max Memory :                                 1277 MB
    Average Memory :                             352.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1353 sec.
    Turnaround time :                            12891 sec.

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

