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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin1712
RA = 213.899, Dec = 48.5142
tmin = 683078401, tmax = 683337601
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='143421', job_status='RUN', time_executed='2022-09-16 18:15:59.294807', time_epoch_executed='1663377359.29' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/143421

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/143421/ft1_4FGL_J1415.5+4830_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/143421/ft2_4FGL_J1415.5+4830_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/143421/ft1_4FGL_J1415.5+4830_daily_bin1712.fits outfile=/scratch/kocevski/143421/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1712.fits ra=213.899 dec=48.5142 rad=12.0 tmin=683078401.0 tmax=683337601.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.96
user 3.67
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/143421/ft2_4FGL_J1415.5+4830_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/143421/ft2_4FGL_J1415.5+4830_daily_bin1712.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/143421/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/143421/ft1_filtered_4FGL_J1415.5+4830_daily_bin1712.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.45
user 0.27
sys 0.16

Number of photons that the gtmktime cut: 541

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/143421/ft1_filtered_4FGL_J1415.5+4830_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/143421/ft2_4FGL_J1415.5+4830_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/143421/ltcube_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.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/143421/ft2_4FGL_J1415.5+4830_daily_bin1712.fits
.....................!
real 11.17
user 10.81
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/143421/ft1_filtered_4FGL_J1415.5+4830_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/143421/ft2_4FGL_J1415.5+4830_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/143421/ltcube_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.fits outfile=/scratch/kocevski/143421/expmap_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.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/143421/ltcube_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.fits
.....................!
real 156.88
user 152.06
sys 4.49

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

Setting source of interest to:
4FGL J1415.5+4830 @ 213.899 48.5142

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/143421/ft1_filtered_4FGL_J1415.5+4830_daily_bin1712.fits scfile=/scratch/kocevski/143421/ft2_4FGL_J1415.5+4830_daily_bin1712.fits outfile=/scratch/kocevski/143421/cmap_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.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=213.899 yref=48.5142 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.49
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/143421/ft1_filtered_4FGL_J1415.5+4830_daily_bin1712.fits scfile=/scratch/kocevski/143421/ft2_4FGL_J1415.5+4830_daily_bin1712.fits outfile=/scratch/kocevski/143421/cmap_HighResolution_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.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=213.899 yref=48.5142 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.51
user 0.32
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/143421/ft1_filtered_4FGL_J1415.5+4830_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/143421/ft2_4FGL_J1415.5+4830_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/143421/Model_4FGL_J1415.5+4830_daily_bin1712.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/143421/ft1_filtered_4FGL_J1415.5+4830_daily_bin1712.fits.....................!
real 39.38
user 38.15
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/143421/ft1_filtered_4FGL_J1415.5+4830_daily_bin1712.fits', '/scratch/kocevski/143421/ft2_4FGL_J1415.5+4830_daily_bin1712.fits', expMap='/scratch/kocevski/143421/expmap_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.fits', expCube='/scratch/kocevski/143421/ltcube_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/143421/Model_4FGL_J1415.5+4830_daily_bin1712.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1415.5+4830'

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.339e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
323        Index:  1.944e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/143421/ft1_filtered_4FGL_J1415.5+4830_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/143421/ft2_4FGL_J1415.5+4830_daily_bin1712.fits
Exposure map: /scratch/kocevski/143421/expmap_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.fits
Exposure cube: /scratch/kocevski/143421/ltcube_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/143421/Model_4FGL_J1415.5+4830_daily_bin1712.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) = 5913.49385162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34688E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21539E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16597E-02   1.0000          .0000       .10000E+07
     4 'norm      '    3.8073       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.1150       1.0000          .0000       .10000E+07
     6 'norm      '    1.4780       1.0000          .0000       .10000E+07
     7 'norm      '    .56631       1.0000          .0000       .10000E+07
     8 'norm      '    .59416E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13237E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    85.621       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21423E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21918E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .15401E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.3455       1.0000          .0000       .10000E+07
    15 'Prefactor '    32.220       1.0000          .0000       .10000E+07
    16 'norm      '    .38070E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18785E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .11503E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .44293E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .24491E-03   1.0000          .0000       .10000E+07
    21 'norm      '    4.0204       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10298       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.2781       1.0000          .0000       .10000E+07
    24 'Prefactor '    11.347       1.0000          .0000       .10000E+07
    25 'norm      '    .27181E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    7.2334       1.0000          .0000       .10000E+07
    27 'Normalizat'    .73901       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5913.357     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2520 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38471E-01    56.655        .31187E-05** at limit **
   2  Prefactor     .62284E-07    3.2331        .22787E-06** at limit **
   3  Prefactor     .13112E-06    3.7598       -.11880E-06** at limit **
   4  norm          3.8093        2.9407        .75778E-08    .10437E-02
   5  Prefactor     1.7694        37.723        .33724E-07   -.54993E-01
   6  norm          1.4770        1.2387        .88770E-08    .10325E-02
   7  norm          .57233        2.5469        .12799E-07    .51574E-03
   8  norm          .92648E-07    2.5415        .15034E-06** at limit **
   9  Prefactor     .25074E-06    16.939        .87566E-07** at limit **
  10  Prefactor     87.730        40.538        .31258E-07   -.14590    
  11  Prefactor     .17308E-06    6.8301       -.99191E-07** at limit **
  12  Prefactor     .11657E-08    2.6473       -.11014E-06** at limit **
  13  Prefactor     .16542E-06    2.9844        .96936E-07** at limit **
  14  Prefactor     4.3364        2.3547       -.20598E-07   -.20512E-02
  15  Prefactor     32.161        5.8350       -.33847E-07    .17327E-01
  16  norm          .84044E-07    3.5170       -.85593E-07** at limit **
  17  Prefactor     .25535E-08    2.8469        .22559E-06** at limit **
  18  Prefactor     .58753E-06    24.517       -.11865E-06** at limit **
  19  Prefactor     .11313E-06    7.3623       -.29198E-06** at limit **
  20  Prefactor     .19507E-06    5.3866       -.73283E-07** at limit **
  21  norm          4.0206        1.7048        .23143E-07    .38834E-02
  22  Prefactor     .56788E-07    2.8286       -.11062E-07** at limit **
  23  Prefactor     1.2798        3.1005        .38346E-07    .95201E-03
  24  Prefactor     11.342        9.0347       -.98955E-08   -.28314E-02
  25  norm           .0000        1.9121       -.48228E-07** at limit **
  26  Prefactor     7.2514        5.7185        .64096E-07    .10624E-02
  27  Normalizat    .73831        .17351       -.26863E-05    .94272E-04
  28  Prefactor     .98127        .20219        .34656E-05    .17477E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0384711
  Prefactor  = 6.22835e-08
  Prefactor  = 1.31117e-07
  norm       = 3.80926
  Prefactor  = 1.76944
  norm       = 1.47702
  norm       = 0.572334
  norm       = 9.26481e-08
  Prefactor  = 2.50744e-07
  Prefactor  = 87.7299
  Prefactor  = 1.73084e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 1.65423e-07
  Prefactor  = 4.33645
  Prefactor  = 32.1609
  norm       = 8.40439e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 5.8753e-07
  Prefactor  = 1.13132e-07
  Prefactor  = 1.95066e-07
  norm       = 4.02062
  Prefactor  = 5.67879e-08
  Prefactor  = 1.27981
  Prefactor  = 11.342
  norm       = 0
  Prefactor  = 7.25143
  Normalizat = 0.738311
  Prefactor  = 0.981268
 **********
 **   18 **HESSE 
 **********

 FCN=   5913.357     FROM HESSE     STATUS=OK           583 CALLS     3103 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38471E-01    1.7212        .65929E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .62284E-07    9.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .13112E-06    11.029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.8093        2.9476        .51706E-03   -1.5669    
   5  Prefactor     1.7694        171.77        .57424E-03   -1.5681    
   6  norm          1.4770        1.2588        .88280E-03   -1.5684    
   7  norm          .57233        2.5579        .72301E-03   -1.5693    
   8  norm          .92648E-07    9.1942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25074E-06    18.166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     87.730        45.563        .10808E-03   -1.5521    
  11  Prefactor     .17308E-06    12.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11657E-08    11.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16542E-06    9.1338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3364        2.3644        .48296E-03   -1.5666    
  15  Prefactor     32.161        18.848        .17619E-03   -1.5595    
  16  norm          .84044E-07    11.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    9.2997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .58753E-06    24.979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11313E-06    8.7090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .19507E-06    12.095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.0206        1.7161        .50269E-03   -1.5668    
  22  Prefactor     .56788E-07    5.5358        .10434E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.2798        3.1487        .98201E-03   -1.5685    
  24  Prefactor     11.342        9.9050        .29715E-03   -1.5641    
  25  norm           .0000        1.8921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     7.2514        5.7427        .37271E-03   -1.5654    
  27  Normalizat    .73831        .15361        .42809E-01   -1.0240    
  28  Prefactor     .98127        .17340        .46025E-01   -.93357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74904e-06
Minuit parameter uncertainties:
  1  0.514654
  2  0.00153684
  3  0.00240507
  4  2.94764
  5  34.8687
  6  1.2588
  7  2.41992
  8  0.00184565
  9  0.00426863
  10  45.5633
  11  0.00293614
  12  0.000232622
  13  0.00245846
  14  2.36437
  15  18.848
  16  0.00200056
  17  0.000306792
  18  0.00766181
  19  0.00198509
  20  0.00307189
  21  1.71615
  22  0.00112138
  23  3.14875
  24  9.90504
  25  2.66465e-06
  26  5.74269
  27  0.153701
  28  0.173496
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.731e-07  2.936e-03  0.000e+00  1.000e+06 ( 1.000e-13)
323        Index:  1.944e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.813e-01  1.735e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  7.383e-01  1.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 213.899 48.514
Photon Flux Upper Limit: 5.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/143421/likelihoodResults_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.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): 102
logL (Free Index) = 5913.41043389
delta logL = -0.0539048095261

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5913.18388228
delta logL = 0.172646805518

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5913.184     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      232 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38752        16.290        .91028E-03    .17482E-01
   2  Index         2.9954        3.2147        .11575        .14742E-03
   3  Normalizat    .72052        .27768E-01    .42564E-01    .16033E-05
   4  Prefactor     .98813        .33529E-01    .46118E-01   -.91128E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.387519
  Index      = 2.9954
  Normalizat = 0.720516
  Prefactor  = 0.988131
 **********
 **   18 **HESSE 
 **********

 FCN=   5913.184     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38752        61.603        .82589E-05   -1.5696    
   2  Index         2.9954        5.4261        .79579E-02   -.41252    
   3  Normalizat    .72052        .17439        .23087E-03   -1.0309    
   4  Prefactor     .98813        .21142        .24103E-03   -.93126    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.57121e-09
Minuit parameter uncertainties:
  1  9.77194
  2  9.71508
  3  0.174521
  4  0.211599
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/143421': 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): 102
logL (Free Index) = 5913.1838819
delta logL = 0.172647183113

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  3.875e-01  9.772e+00  0.000e+00  1.000e+06 ( 1.000e-13)
323        Index:  2.995e+00  9.715e+00  0.000e+00  1.000e+01 (-1.000e+00)
324        Scale:  2.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.881e-01  2.116e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  7.205e-01  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 213.899 48.514

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/143421/cmap_HighResolution_683078401_683337601_4FGL_J1415.5+4830_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.81e-03', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2022-09-16 18:26:29.762086', job_id='143421', GAL2='0.99', fit_tolerance='1e-08', EG2='0.72', EG='0.74', time_epoch_completed='1663377989.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.73e-01', ts2='0.36', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1712' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:26:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 143421: <4FGL_J1415.5+4830_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin1712> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 18:10:17 2022
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:14:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:14:49 2022
Terminated at Fri Sep 16 18:26:30 2022
Results reported at Fri Sep 16 18:26:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin1712 213.899 48.5142 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1415.5+4830 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   631.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             362.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            973 sec.

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

