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


Performing analysis on: 4FGL_J1015.0+4926_daily_bin1692
RA = 153.768, Dec = 49.4336
tmin = 677894401, tmax = 678153601
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='404899', job_status='RUN', time_executed='2022-06-29 04:23:00.254450', time_epoch_executed='1656501780.25' WHERE source_name='4FGL J1015.0+4926' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/404899

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/404899/ft1_4FGL_J1015.0+4926_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/404899/ft2_4FGL_J1015.0+4926_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/404899/ft1_4FGL_J1015.0+4926_daily_bin1692.fits outfile=/scratch/kocevski/404899/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1692.fits ra=153.768 dec=49.4336 rad=12.0 tmin=677894401.0 tmax=678153601.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 4.47
user 4.21
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/404899/ft2_4FGL_J1015.0+4926_daily_bin1692.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/404899/ft1_filteredMKT_4FGL_J1015.0+4926_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/404899/ft1_filtered_4FGL_J1015.0+4926_daily_bin1692.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 482

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/404899/ft1_filtered_4FGL_J1015.0+4926_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/404899/ft2_4FGL_J1015.0+4926_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/404899/ltcube_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.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/404899/ft2_4FGL_J1015.0+4926_daily_bin1692.fits
.....................!
real 15.13
user 14.72
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/404899/ft1_filtered_4FGL_J1015.0+4926_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/404899/ft2_4FGL_J1015.0+4926_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/404899/ltcube_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.fits outfile=/scratch/kocevski/404899/expmap_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.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/404899/ltcube_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.fits
.....................!
real 195.46
user 189.20
sys 5.98

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/404899/ft1_filtered_4FGL_J1015.0+4926_daily_bin1692.fits scfile=/scratch/kocevski/404899/ft2_4FGL_J1015.0+4926_daily_bin1692.fits outfile=/scratch/kocevski/404899/cmap_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/404899/ft1_filtered_4FGL_J1015.0+4926_daily_bin1692.fits scfile=/scratch/kocevski/404899/ft2_4FGL_J1015.0+4926_daily_bin1692.fits outfile=/scratch/kocevski/404899/cmap_HighResolution_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.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.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/404899/ft1_filtered_4FGL_J1015.0+4926_daily_bin1692.fits', '/scratch/kocevski/404899/ft2_4FGL_J1015.0+4926_daily_bin1692.fits', expMap='/scratch/kocevski/404899/expmap_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.fits', expCube='/scratch/kocevski/404899/ltcube_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/404899/Model_4FGL_J1015.0+4926_daily_bin1692.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  1.000e-04  1.000e+04 ( 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  0.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/404899/ft1_filtered_4FGL_J1015.0+4926_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/404899/ft2_4FGL_J1015.0+4926_daily_bin1692.fits
Exposure map: /scratch/kocevski/404899/expmap_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.fits
Exposure cube: /scratch/kocevski/404899/ltcube_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/404899/Model_4FGL_J1015.0+4926_daily_bin1692.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) = 5467.75281556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .13636       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3965       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.4020       1.0000         .10000E-03   10000.    
     8 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10542E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.3670       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10369E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5257       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .60070       1.0000         .10000E-03   10000.    
    17 'Prefactor '    43.519       1.0000         .10000E-03   10000.    
    18 'norm      '    2.8054       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    11.771       1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.935       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10116E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    2.4528       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    4.2875       1.0000         .10000E-03   10000.    
    30 'Prefactor '    114.40       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    33 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .82515       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.0582       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5467.742     FROM MIGRAD    STATUS=CONVERGED    959 CALLS     5046 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.809        .52568E-05** at limit **
   2  Prefactor     .10000E-03    33.718       -.87247E-05** at limit **
   3  norm          .13638        .34342       -.22969E-06   -.31414E-02
   4  Prefactor     .10000E-03    2.4303        .17369E-06** at limit **
   5  Prefactor     7.3992        9.6036       -.54602E-06   -.35420E-04
   6  Prefactor     .10000E-03    1.0787       -.93765E-07** at limit **
   7  Prefactor     5.4008        15.945       -.10649E-06   -.15471E-04
   8  norm          .10000E-03    8.2743       -.51231E-05** at limit **
   9  Prefactor     .10000E-03    49.950        .11606E-04** at limit **
  10  Prefactor     7.3619        7.3793       -.69788E-06   -.57375E-04
  11  norm          .10000E-03    2.8329        .14615E-06** at limit **
  12  Prefactor     .10000E-03    53.237        .99912E-05** at limit **
  13  Prefactor     .10000E-03    26.091       -.21078E-05** at limit **
  14  norm          1.5257        .53947        .43735E-07    .21454E-04
  15  norm          .10000E-03    10.845       -.75156E-05** at limit **
  16  Prefactor     .65063        4.4024       -.26475E-06   -.78051E-04
  17  Prefactor     43.526        34.789        .48420E-05   -.78918E-05
  18  norm          2.8041        3.2131       -.13781E-06   -.18621E-03
  19  Prefactor     .10000E-03    8.9876        .98344E-05** at limit **
  20  norm          11.771        11.779       -.79709E-06   -.55989E-04
  21  Prefactor     21.923        16.378        .10261E-06   -.68766E-04
  22  Prefactor     .10000E-03    1.7946        .18828E-06** at limit **
  23  norm          .10000E-03    1.5335        .33863E-07** at limit **
  24  norm          2.4529        1.3365       -.56909E-08    .99963E-05
  25  Prefactor     .10000E-03    57.687        .14530E-05** at limit **
  26  Prefactor     .10000E-03    42.929        .68149E-05** at limit **
  27  Prefactor     .10000E-03    37.699       -.24086E-05** at limit **
  28  Prefactor     .10000E-03    62.978       -.10140E-04** at limit **
  29  norm          4.2877        2.2361       -.48965E-07   -.30468E-03
  30  Prefactor     114.40        61.492        .12828E-05   -.11283E-04
  31  Prefactor     .10000E-03    49.270        .11702E-04** at limit **
  32  Prefactor     .10000E-03    68.419       -.29488E-04** at limit **
  33  norm          .10000E-03    55.319        .77363E-05** at limit **
  34  Normalizat    .82478        .16961        .36650E-06   -.59055E-05
  35  Prefactor     1.0586        .21027        .16540E-06   -.26917E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.136385
  Prefactor  = 0.0001
  Prefactor  = 7.39924
  Prefactor  = 0.0001
  Prefactor  = 5.40077
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.36191
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.52572
  norm       = 0.0001
  Prefactor  = 0.650632
  Prefactor  = 43.5256
  norm       = 2.80411
  Prefactor  = 0.0001
  norm       = 11.7713
  Prefactor  = 21.9233
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.45293
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.2877
  Prefactor  = 114.398
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.82478
  Prefactor  = 1.05862
 **********
 **   18 **HESSE 
 **********

 FCN=   5467.742     FROM HESSE     STATUS=OK           770 CALLS     5816 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    33.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .13638        .30337        .65907E-03   -1.5634    
   4  Prefactor     .10000E-03    2.4885        .22277E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.3992        9.5702        .14747E-03   -1.5164    
   6  Prefactor     .10000E-03    1.0824        .74964E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.4008        15.835        .17290E-03   -1.5243    
   8  norm          .10000E-03    8.2891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    50.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.3619        7.2196        .14777E-03   -1.5165    
  11  norm          .10000E-03    2.8353        .12155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    53.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    26.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5257        .53967        .31166E-04   -1.5461    
  15  norm          .10000E-03    10.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .65063        14.171        .26138E-02   -1.5547    
  17  Prefactor     43.526        34.764        .60771E-04   -1.4388    
  18  norm          2.8041        3.1727        .13234E-03   -1.5373    
  19  Prefactor     .10000E-03    8.9699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          11.771        11.777        .11676E-03   -1.5022    
  21  Prefactor     21.923        14.766        .85523E-04   -1.4771    
  22  Prefactor     .10000E-03    1.8110        .96693E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.1093        .16059E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.4529        1.3393        .61327E-04   -1.5395    
  25  Prefactor     .10000E-03    58.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    42.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    37.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    63.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          4.2877        2.2346        .77302E-04   -1.5294    
  30  Prefactor     114.40        61.553        .37615E-04   -1.3565    
  31  Prefactor     .10000E-03    50.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    68.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  norm          .10000E-03    55.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .82478        .20044        .23801E-03   -.99156    
  35  Prefactor     1.0586        .25020        .27441E-03   -.90800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52084e-08
Minuit parameter uncertainties:
  1  4.03208e-07
  2  5.41196e-06
  3  0.303378
  4  1.34547e-05
  5  9.57219
  6  1.44222e-06
  7  15.8475
  8  8.71131e-06
  9  0.000211119
  10  7.2205
  11  3.98537e-07
  12  0.000158806
  13  1.03873e-05
  14  0.539674
  15  1.82194e-05
  16  6.07405
  17  34.7798
  18  3.17291
  19  3.29421e-06
  20  11.7796
  21  14.7688
  22  2.93398e-06
  23  1.85623e-05
  24  1.33934
  25  4.65592e-05
  26  1.55551e-05
  27  7.23973e-06
  28  1.14933e-05
  29  2.23463
  30  61.5878
  31  0.000249537
  32  5.84173e-06
  33  1.99267e-05
  34  0.200617
  35  0.250478
Done.

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

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  2.804e+00  3.173e+00  1.000e-04  1.000e+04 ( 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  0.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.059e+00  2.505e-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:  8.248e-01  2.006e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.25
Ra Dec: 153.768 49.434
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.95e-08 +/- 2.21e-08
Energy Flux (Fixed Index): 2.26e-05 +/- 2.56e-05

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

Saving results to:
/scratch/kocevski/404899/likelihoodResults_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.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) = 5465.17443441
delta logL = 2.56726041189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5465.14137894
delta logL = 2.60031588122

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2140       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0081       1.0000          .0000       5.0000    
     3 'Normalizat'    .72218       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1264       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=   5465.141     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      207 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2108        19.658        .69104E-03    .77176E-03
   2  alpha         3.0091        3.8914        .18392        .11542E-03
   3  Normalizat    .72215        .80544E-01    .42586E-01   -.22750E-04
   4  Prefactor     1.1264        .95523E-01    .60249E-01   -.46879E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.21079
  alpha      = 3.00912
  Normalizat = 0.722148
  Prefactor  = 1.12643
 **********
 **   18 **HESSE 
 **********

 FCN=   5465.141     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2108        2.3671        .27642E-04   -1.5411    
   2  alpha         3.0091        .62723        .76421E-02    .20508    
   3  Normalizat    .72215        .19877        .25232E-03   -1.0303    
   4  Prefactor     1.1264        .25158        .26644E-03   -.88626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.08477e-11
Minuit parameter uncertainties:
  1  2.36717
  2  0.634307
  3  0.198969
  4  0.251848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/404899': 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) = 5465.1413773
delta logL = 2.60031752768

Extracting fit parameters...

4FGL J1015.0+4926
   Spectrum: LogParabola
363         norm:  2.211e+00  2.367e+00  1.000e-04  1.000e+04 ( 1.000e-12)
364        alpha:  3.009e+00  6.343e-01  0.000e+00  5.000e+00 ( 1.000e+00)
365         beta:  4.278e-02  0.000e+00  0.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.126e+00  2.518e-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.221e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.64
Ra Dec: 153.768 49.434
Photon Index (Free Index): 3.01 +/- 0.63
Photon Flux (Free Index): 1.03e-07 +/- 5.48e-08
Energy Flux (Free Index): 2.13e-05 +/- 1.09e-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/404899/cmap_HighResolution_677894401_678153601_4FGL_J1015.0+4926_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.24e-05', comment='SUCCESS', photon_flux='1.95e-08', energy_flux2='2.13e-05', photon_flux_error='2.21e-08', dlogl='2.60e+00', energy_flux='2.26e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2022-06-29 04:40:57.667248', photon_index_error2='0.63', photon_index2='3.01', ts='1.25', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='7.13e-08', energy_flux_error2='1.09e-05', EG='0.82', time_epoch_completed='1656502857.67', return_code='0', job_id='404899', GAL2='1.13', EG2='0.72', return_code2='0', energy_flux_error='2.56e-05', photon_flux_error2='5.48e-08', ts2='6.64', photon_index='1.75' WHERE bin_id='1692' AND source_name='4FGL J1015.0+4926' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 04:40:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 404900: <4FGL_J1015.0+4926_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1015.0+4926_daily_bin1692> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jun 29 00:06:19 2022
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:22:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:22:05 2022
Terminated at Wed Jun 29 04:40:14 2022
Results reported at Wed Jun 29 04:40:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1692 153.768 49.4336 677894401 678153601 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 :                                   1069.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             348.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1091 sec.
    Turnaround time :                            16435 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 404899: <4FGL_J1015.0+4926_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1015.0+4926_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:06:19 2022
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:22:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:22:05 2022
Terminated at Wed Jun 29 04:40:58 2022
Results reported at Wed Jun 29 04:40:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.0+4926_daily_bin1692 153.768 49.4336 677894401 678153601 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 :                                   1080.18 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             338.02 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1132 sec.
    Turnaround time :                            16479 sec.

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

