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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin1744
RA = 213.899, Dec = 48.5142
tmin = 691372801, tmax = 691632001
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='582347', job_status='RUN', time_executed='2022-12-02 01:05:41.043237', time_epoch_executed='1669971941.04' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/582347

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/582347/ft1_4FGL_J1415.5+4830_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/582347/ft2_4FGL_J1415.5+4830_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/582347/ft1_4FGL_J1415.5+4830_daily_bin1744.fits outfile=/scratch/kocevski/582347/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1744.fits ra=213.899 dec=48.5142 rad=12.0 tmin=691372801.0 tmax=691632001.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 2.73
user 2.31
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/582347/ft2_4FGL_J1415.5+4830_daily_bin1744.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/582347/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/582347/ft1_filtered_4FGL_J1415.5+4830_daily_bin1744.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 913

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/582347/ft1_filtered_4FGL_J1415.5+4830_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/582347/ft2_4FGL_J1415.5+4830_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/582347/ltcube_691372801_691632001_4FGL_J1415.5+4830_daily_bin1744.fits outfile=/scratch/kocevski/582347/expmap_691372801_691632001_4FGL_J1415.5+4830_daily_bin1744.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/582347/ltcube_691372801_691632001_4FGL_J1415.5+4830_daily_bin1744.fits
.....................!
real 189.84
user 185.29
sys 4.22

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/582347/ft1_filtered_4FGL_J1415.5+4830_daily_bin1744.fits scfile=/scratch/kocevski/582347/ft2_4FGL_J1415.5+4830_daily_bin1744.fits outfile=/scratch/kocevski/582347/cmap_691372801_691632001_4FGL_J1415.5+4830_daily_bin1744.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/582347/ft1_filtered_4FGL_J1415.5+4830_daily_bin1744.fits scfile=/scratch/kocevski/582347/ft2_4FGL_J1415.5+4830_daily_bin1744.fits outfile=/scratch/kocevski/582347/cmap_HighResolution_691372801_691632001_4FGL_J1415.5+4830_daily_bin1744.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/582347/ft1_filtered_4FGL_J1415.5+4830_daily_bin1744.fits', '/scratch/kocevski/582347/ft2_4FGL_J1415.5+4830_daily_bin1744.fits', expMap='/scratch/kocevski/582347/expmap_691372801_691632001_4FGL_J1415.5+4830_daily_bin1744.fits', expCube='/scratch/kocevski/582347/ltcube_691372801_691632001_4FGL_J1415.5+4830_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/582347/Model_4FGL_J1415.5+4830_daily_bin1744.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/582347/ft1_filtered_4FGL_J1415.5+4830_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/582347/ft2_4FGL_J1415.5+4830_daily_bin1744.fits
Exposure map: /scratch/kocevski/582347/expmap_691372801_691632001_4FGL_J1415.5+4830_daily_bin1744.fits
Exposure cube: /scratch/kocevski/582347/ltcube_691372801_691632001_4FGL_J1415.5+4830_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/582347/Model_4FGL_J1415.5+4830_daily_bin1744.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) = 9886.92851185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58406E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    16.951       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39017E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .14260E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    19.092       1.0000          .0000       .10000E+07
     6 'norm      '    .20811E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .54728       1.0000          .0000       .10000E+07
     8 'norm      '    .93980E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.7360       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15874E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14529E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .64670E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .23228E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.7062       1.0000          .0000       .10000E+07
    15 'Prefactor '    15.948       1.0000          .0000       .10000E+07
    16 'norm      '    .26346E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .11700E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    29.571       1.0000          .0000       .10000E+07
    19 'Prefactor '    16.401       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.6718       1.0000          .0000       .10000E+07
    21 'norm      '    3.5136       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.2186       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.3061       1.0000          .0000       .10000E+07
    24 'Prefactor '    5.8575       1.0000          .0000       .10000E+07
    25 'norm      '    .12046E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    7.9477       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0476       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .97014       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=   9886.873     FROM MIGRAD    STATUS=CONVERGED    201 CALLS     2565 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48830E-01    42.136       -.33643E-05** at limit **
   2  Prefactor     17.229        20.743       -.57758E-06   -.10474    
   3  Prefactor     .19651E-06    17.497       -.39209E-06** at limit **
   4  norm           .0000        1.2253        .10946E-07** at limit **
   5  Prefactor     22.682        46.073       -.93061E-06    .25594E-01
   6  norm           .0000        .25031        .51324E-07** at limit **
   7  norm          .53825        2.2101       -.64356E-07    .44164E-03
   8  norm          .34528E-07    6.0054       -.39052E-06** at limit **
   9  Prefactor     1.7104        1.2971       -.41381E-07    .18395E-02
  10  Prefactor     .55511E-10    24.162       -.34289E-06** at limit **
  11  Prefactor     .10436E-07    6.4663       -.31373E-06** at limit **
  12  Prefactor     .74940E-08    7.4026        .16217E-06** at limit **
  13  Prefactor     .33529E-06    13.319       -.35726E-06** at limit **
  14  Prefactor     1.7079        1.4490       -.48623E-08    .64430E-03
  15  Prefactor     16.061        4.3950        .12673E-07    .33982E-01
  16  norm          .16653E-09    3.8705       -.11396E-06** at limit **
  17  Prefactor     .10214E-07    10.300       -.30452E-06** at limit **
  18  Prefactor     30.223        26.110        .30098E-06   -.11918    
  19  Prefactor     16.470        1.2266       -.16972E-07   -.28681E-02
  20  Prefactor     8.6381        3.2962       -.43819E-07    .10383E-01
  21  norm          3.5174        1.4464        .25146E-07   -.24528E-04
  22  Prefactor     1.2122        10.205       -.24898E-06   -.12189E-03
  23  Prefactor     2.3834        4.1573        .34264E-07   -.19252E-03
  24  Prefactor     5.8990        7.6312        .36469E-06   -.50039E-03
  25  norm           .0000        1.4765       -.49523E-07** at limit **
  26  Prefactor     7.9105        6.8245        .18354E-07   -.15278E-03
  27  Normalizat    1.0445        .15526        .15980E-05    .60031E-04
  28  Prefactor     .97138        .17745       -.31499E-05    .47667E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0488296
  Prefactor  = 17.2293
  Prefactor  = 1.96509e-07
  norm       = 0
  Prefactor  = 22.6815
  norm       = 0
  norm       = 0.538246
  norm       = 3.45279e-08
  Prefactor  = 1.71042
  Prefactor  = 5.55112e-11
  Prefactor  = 1.04361e-08
  Prefactor  = 7.49401e-09
  Prefactor  = 3.35287e-07
  Prefactor  = 1.70792
  Prefactor  = 16.0609
  norm       = 1.66533e-10
  Prefactor  = 1.02141e-08
  Prefactor  = 30.2233
  Prefactor  = 16.47
  Prefactor  = 8.63807
  norm       = 3.51741
  Prefactor  = 1.21222
  Prefactor  = 2.38337
  Prefactor  = 5.89901
  norm       = 0
  Prefactor  = 7.91046
  Normalizat = 1.04452
  Prefactor  = 0.971384
 **********
 **   18 **HESSE 
 **********

 FCN=   9886.873     FROM HESSE     STATUS=OK           583 CALLS     3148 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48830E-01    1.1985        .77028E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.229        23.896        .24299E-03   -1.5625    
   3  Prefactor     .19651E-06    17.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.2144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.682        46.006        .22894E-03   -1.5613    
   6  norm           .0000        .24946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .53825        2.2518        .74089E-03   -1.5693    
   8  norm          .34528E-07    6.1534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7104        83.658        .79618E-03   -1.5682    
  10  Prefactor     .55511E-10    23.858        .17325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10436E-07    6.3671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .74940E-08    7.4656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .33529E-06    13.479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7079        1.4716        .80470E-03   -1.5682    
  15  Prefactor     16.061        13.748        .25054E-03   -1.5628    
  16  norm          .16653E-09    3.8633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10214E-07    10.843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.223        48.202        .18392E-03   -1.5598    
  19  Prefactor     16.470        18.584        .24704E-03   -1.5627    
  20  Prefactor     8.6381        12.916        .34015E-03   -1.5649    
  21  norm          3.5174        1.4616        .53909E-03   -1.5670    
  22  Prefactor     1.2122        11.186        .10219E-02   -1.5686    
  23  Prefactor     2.3834        4.1739        .67542E-03   -1.5677    
  24  Prefactor     5.8990        7.9855        .41471E-03   -1.5659    
  25  norm           .0000        1.4690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     7.9105        6.8423        .35542E-03   -1.5652    
  27  Normalizat    1.0445        .13417        .40717E-01   -.91554    
  28  Prefactor     .97138        .15181        .45893E-01   -.93690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.24141e-06
Minuit parameter uncertainties:
  1  0.483819
  2  23.8966
  3  0.00372458
  4  1.64362e-06
  5  46.0067
  6  4.67221e-07
  7  2.20182
  8  0.000921686
  9  23.9243
  10  8.40716e-05
  11  0.000515057
  12  0.000472541
  13  0.0042518
  14  1.47164
  15  13.7478
  16  4.98927e-05
  17  0.000666339
  18  48.2025
  19  18.5841
  20  12.9164
  21  1.46162
  22  7.36482
  23  4.17391
  24  7.98551
  25  1.02898e-06
  26  6.84234
  27  0.134218
  28  0.151876
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.044e-08  5.151e-04  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.714e-01  1.519e-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:  1.045e+00  1.342e-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: 3.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/582347/likelihoodResults_691372801_691632001_4FGL_J1415.5+4830_daily_bin1744.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) = 9886.97170054
delta logL = -0.0984650810897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9886.21117072
delta logL = 0.662064732252

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99877E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.7571       1.0000          .0000       10.000    
     3 'Normalizat'    .99642       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0008       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=   9886.211     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      238 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99785E-01    1.0913        .61436E-03** at limit **
   2  Index         3.7576        1.8483        .85097E-01    .34174E-03
   3  Normalizat    .99640        .24030E-01    .46122E-01    .13792E-04
   4  Prefactor     1.0008        .28874E-01    .45471E-01    .17006E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0997847
  Index      = 3.75758
  Normalizat = 0.996396
  Prefactor  = 1.0008
 **********
 **   18 **HESSE 
 **********

 FCN=   9886.211     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99785E-01    3.8985        .27607E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7576        3.9405        .51741E-02   -.25112    
   3  Normalizat    .99640        .11952        .22323E-03   -.93151    
   4  Prefactor     1.0008        .14160        .26638E-03   -.92703    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71902e-06
Minuit parameter uncertainties:
  1  1.24742
  2  4.60272
  3  0.119551
  4  0.141657
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/582347': 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) = 9886.21117048
delta logL = 0.662064977305

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  9.978e-02  1.247e+00  0.000e+00  1.000e+06 ( 1.000e-13)
323        Index:  3.758e+00  4.603e+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:  1.001e+00  1.417e-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:  9.964e-01  1.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.39
Ra Dec: 213.899 48.514
Photon Index (Free Index): 3.76 +/- 4.60
Photon Flux (Free Index): 3.91e-08 +/- 3.47e-08
Energy Flux (Free Index): 6.13e-06 +/- 7.71e-06

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/582347/cmap_HighResolution_691372801_691632001_4FGL_J1415.5+4830_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.85e-03', comment='SUCCESS', energy_flux2='6.13e-06', dlogl='6.62e-01', photon_flux2='3.91e-08', job_status='DONE', time_completed='2022-12-02 01:21:51.644375', photon_index_error2='4.60', photon_index2='3.76', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='3.82e-08', energy_flux_error2='7.71e-06', EG='1.04', time_epoch_completed='1669972911.64', return_code='0', job_id='582347', GAL2='1.00', EG2='1.00', return_code2='102', photon_flux_error2='3.47e-08', ts2='1.39', photon_index='1.94' WHERE bin_id='1744' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:21:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 582347: <4FGL_J1415.5+4830_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 01:05:19 2022
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:05:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:05:20 2022
Terminated at Fri Dec  2 01:21:52 2022
Results reported at Fri Dec  2 01:21:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin1744 213.899 48.5142 691372801 691632001 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 :                                   967.14 sec.
    Max Memory :                                 794 MB
    Average Memory :                             331.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2931 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            993 sec.

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

