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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin1747
RA = 213.899, Dec = 48.5142
tmin = 692150401, tmax = 692409601
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='803556', job_status='RUN', time_executed='2022-12-11 01:02:09.987852', time_epoch_executed='1670749329.99' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/803556

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/803556/ft1_4FGL_J1415.5+4830_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/803556/ft2_4FGL_J1415.5+4830_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/803556/ft1_4FGL_J1415.5+4830_daily_bin1747.fits outfile=/scratch/kocevski/803556/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1747.fits ra=213.899 dec=48.5142 rad=12.0 tmin=692150401.0 tmax=692409601.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.97
user 3.76
sys 0.20

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

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

Number of photons that the gtmktime cut: 635

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/803556/ft1_filtered_4FGL_J1415.5+4830_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/803556/ft2_4FGL_J1415.5+4830_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/803556/ltcube_692150401_692409601_4FGL_J1415.5+4830_daily_bin1747.fits outfile=/scratch/kocevski/803556/expmap_692150401_692409601_4FGL_J1415.5+4830_daily_bin1747.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/803556/ltcube_692150401_692409601_4FGL_J1415.5+4830_daily_bin1747.fits
.....................!
real 191.05
user 186.09
sys 4.63

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/803556/ft1_filtered_4FGL_J1415.5+4830_daily_bin1747.fits scfile=/scratch/kocevski/803556/ft2_4FGL_J1415.5+4830_daily_bin1747.fits outfile=/scratch/kocevski/803556/cmap_692150401_692409601_4FGL_J1415.5+4830_daily_bin1747.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/803556/ft1_filtered_4FGL_J1415.5+4830_daily_bin1747.fits scfile=/scratch/kocevski/803556/ft2_4FGL_J1415.5+4830_daily_bin1747.fits outfile=/scratch/kocevski/803556/cmap_HighResolution_692150401_692409601_4FGL_J1415.5+4830_daily_bin1747.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1695       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.916       1.0000          .0000       .10000E+07
     3 'Prefactor '    50.866       1.0000          .0000       .10000E+07
     4 'norm      '    .22023E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.450       1.0000          .0000       .10000E+07
     6 'norm      '    .81379E-07   1.0000          .0000       .10000E+07
     7 'norm      '    2.5491       1.0000          .0000       .10000E+07
     8 'norm      '    .15624E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .62234E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    33.269       1.0000          .0000       .10000E+07
    11 'Prefactor '    .70522       1.0000          .0000       .10000E+07
    12 'Prefactor '    .23093E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.958       1.0000          .0000       .10000E+07
    14 'Prefactor '    .17259E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10033E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .85466E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    25.026       1.0000          .0000       .10000E+07
    18 'Prefactor '    53.149       1.0000          .0000       .10000E+07
    19 'Prefactor '    20.215       1.0000          .0000       .10000E+07
    20 'Prefactor '    .20256E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .44076E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .51829E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.2353       1.0000          .0000       .10000E+07
    24 'Prefactor '    .12224E-04   1.0000          .0000       .10000E+07
    25 'norm      '    2.2804       1.0000          .0000       .10000E+07
    26 'Prefactor '    6.6451       1.0000          .0000       .10000E+07
    27 'Normalizat'    .94580       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0894       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=   6937.734     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2535 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1929        4.4644       -.38165E-06   -.12103E-02
   2  Prefactor     27.657        38.946       -.23352E-05    .11701E-01
   3  Prefactor     51.543        34.025        .35420E-05   -.25317E-01
   4  norm          .11102E-09    1.8409       -.69151E-06** at limit **
   5  Prefactor     16.964        13.117       -.16665E-05    .43688E-01
   6  norm           .0000        .57986       -.22402E-06** at limit **
   7  norm          2.5427        3.2295        .46312E-06    .78949E-03
   8  norm           .0000        3.3180        .16084E-05** at limit **
   9  Prefactor     .10961E-05    32.451        .99027E-05** at limit **
  10  Prefactor     33.405        8.6647       -.18825E-05    .55373E-01
  11  Prefactor     .63377        6.4061       -.95153E-06   -.14963E-02
  12  Prefactor     .12768E-08    15.759       -.55637E-06** at limit **
  13  Prefactor     14.070        12.037       -.69487E-06   -.92365E-03
  14  Prefactor      .0000        3.4468        .55613E-06** at limit **
  15  Prefactor     .77099E-06    29.622       -.14510E-04** at limit **
  16  norm          .27756E-09    7.0397       -.11241E-06** at limit **
  17  Prefactor     24.778        2.9433        .81362E-06    .11528E-01
  18  Prefactor     53.213        8.0391       -.11027E-05    .60019E-01
  19  Prefactor     20.406        2.5594       -.63206E-06    .73196E-02
  20  Prefactor     .12434E-07    21.613        .26706E-05** at limit **
  21  norm           .0000        .30929        .32936E-07** at limit **
  22  Prefactor     .11102E-09    5.7333       -.18221E-06** at limit **
  23  Prefactor     4.2335        3.9296        .33076E-07   -.13482E-02
  24  Prefactor     .55511E-10    3.0417       -.16824E-05** at limit **
  25  norm          2.3075        3.1040        .19886E-06   -.40220E-02
  26  Prefactor     6.4624        7.4280        .60928E-07    .10336E-03
  27  Normalizat    .94608        .18016       -.12025E-04   -.20986E-03
  28  Prefactor     1.0896        .21746        .18867E-04   -.24635E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.19286
  Prefactor  = 27.6571
  Prefactor  = 51.5429
  norm       = 1.11022e-10
  Prefactor  = 16.9638
  norm       = 0
  norm       = 2.54274
  norm       = 0
  Prefactor  = 1.09607e-06
  Prefactor  = 33.4053
  Prefactor  = 0.633766
  Prefactor  = 1.27676e-09
  Prefactor  = 14.0697
  Prefactor  = 0
  Prefactor  = 7.70994e-07
  norm       = 2.77556e-10
  Prefactor  = 24.7779
  Prefactor  = 53.2127
  Prefactor  = 20.406
  Prefactor  = 1.24345e-08
  norm       = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 4.23354
  Prefactor  = 5.55112e-11
  norm       = 2.30746
  Prefactor  = 6.4624
  Normalizat = 0.946076
  Prefactor  = 1.08959
 **********
 **   18 **HESSE 
 **********

 FCN=   6937.734     FROM HESSE     STATUS=OK           577 CALLS     3112 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1929        4.5412        .37439E-03   -1.5654    
   2  Prefactor     27.657        45.541        .18599E-03   -1.5603    
   3  Prefactor     51.543        42.199        .14022E-03   -1.5564    
   4  norm          .11102E-09    1.8369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.964        45.157        .24667E-03   -1.5626    
   6  norm           .0000        .57279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.5427        3.2666        .63928E-03   -1.5676    
   8  norm           .0000        3.3155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10961E-05    35.618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.405        41.828        .17339E-03   -1.5592    
  11  Prefactor     .63377        7.1822        .60286E-03   -1.5692    
  12  Prefactor     .12768E-08    15.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.070        12.096        .26783E-03   -1.5633    
  14  Prefactor      .0000        3.3587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .77099E-06    31.745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .27756E-09    7.0341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.778        21.457        .19994E-03   -1.5608    
  18  Prefactor     53.213        42.814        .13718E-03   -1.5562    
  19  Prefactor     20.406        32.303        .22249E-03   -1.5618    
  20  Prefactor     .12434E-07    21.507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        .30846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .11102E-09    5.7223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.2335        3.9357        .48938E-03   -1.5667    
  24  Prefactor     .55511E-10    3.0424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          2.3075        3.1250        .67963E-03   -1.5678    
  26  Prefactor     6.4624        7.4535        .38904E-03   -1.5657    
  27  Normalizat    .94608        .15721        .45484E-01   -.94860    
  28  Prefactor     1.0896        .18271        .59773E-01   -.89800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18582e-06
Minuit parameter uncertainties:
  1  4.54121
  2  45.5411
  3  42.1991
  4  2.49749e-05
  5  45.1582
  6  3.32702e-06
  7  3.26662
  8  1.64895e-05
  9  0.0124965
  10  41.8281
  11  4.26703
  12  0.000282041
  13  12.0958
  14  1.19497e-05
  15  0.00989461
  16  9.18568e-05
  17  21.4574
  18  42.8139
  19  32.3028
  20  0.00103492
  21  3.55158e-06
  22  4.51078e-05
  23  3.93566
  24  2.93558e-05
  25  3.12498
  26  7.45348
  27  0.157291
  28  0.18281
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  6.338e-01  4.267e+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

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.090e+00  1.828e-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.461e-01  1.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/803556/likelihoodResults_692150401_692409601_4FGL_J1415.5+4830_daily_bin1747.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) = 6937.73148115
delta logL = 0.00264791657264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6937.73136277
delta logL = 0.0027663027613

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60848       1.0000          .0000       .10000E+07
     2 'Index     '    2.0724       1.0000          .0000       10.000    
     3 'Normalizat'    .94566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0894       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6937.731     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      287 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60549        6.3902        .13694E-03    .10134E-01
   2  Index         2.0798        1.8594        .37928E-02   -.77724E-05
   3  Normalizat    .94559        .17751        .23312E-03   -.14630E-04
   4  Prefactor     1.0896        .21630        .26434E-03   -.17289E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.605493
  Index      = 2.07984
  Normalizat = 0.945591
  Prefactor  = 1.0896
 **********
 **   18 **HESSE 
 **********

 FCN=   6937.731     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60549        5.8100        .27389E-04   -1.5692    
   2  Index         2.0798        1.7803        .15171E-03   -.62369    
   3  Normalizat    .94559        .17767        .93249E-05   -.94876    
   4  Prefactor     1.0896        .21640        .10573E-04   -.89800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16564e-11
Minuit parameter uncertainties:
  1  3.75121
  2  1.843
  3  0.177781
  4  0.216574
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/803556': 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) = 6937.73135352
delta logL = 0.00277555038338

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  6.055e-01  3.751e+00  0.000e+00  1.000e+06 ( 1.000e-13)
323        Index:  2.080e+00  1.843e+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.090e+00  2.166e-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.456e-01  1.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 213.899 48.514

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/803556/cmap_HighResolution_692150401_692409601_4FGL_J1415.5+4830_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-03', job_status='DONE', photon_flux_upper_limit='5.30e-08', time_completed='2022-12-11 01:15:02.895092', job_id='803556', GAL2='1.09', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1670750102.9', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.78e-03', ts2='0.03', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1747' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:15:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 803556: <4FGL_J1415.5+4830_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin1747> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Dec 11 01:00:28 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:00:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:00:30 2022
Terminated at Sun Dec 11 01:15:03 2022
Results reported at Sun Dec 11 01:15:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin1747 213.899 48.5142 692150401 692409601 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 :                                   775.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             309.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            875 sec.

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

