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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin1710
RA = 213.899, Dec = 48.5142
tmin = 682560001, tmax = 682819201
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='143418', job_status='RUN', time_executed='2022-09-16 18:15:07.834955', time_epoch_executed='1663377307.83' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/143418

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/143418/ft1_4FGL_J1415.5+4830_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/143418/ft2_4FGL_J1415.5+4830_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/143418/ft1_4FGL_J1415.5+4830_daily_bin1710.fits outfile=/scratch/kocevski/143418/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1710.fits ra=213.899 dec=48.5142 rad=12.0 tmin=682560001.0 tmax=682819201.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.67
user 3.46
sys 0.19

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

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

Number of photons that the gtmktime cut: 551

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/143418/ft1_filtered_4FGL_J1415.5+4830_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/143418/ft2_4FGL_J1415.5+4830_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/143418/ltcube_682560001_682819201_4FGL_J1415.5+4830_daily_bin1710.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/143418/ft2_4FGL_J1415.5+4830_daily_bin1710.fits
.....................!
real 15.68
user 15.21
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/143418/ft1_filtered_4FGL_J1415.5+4830_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/143418/ft2_4FGL_J1415.5+4830_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/143418/ltcube_682560001_682819201_4FGL_J1415.5+4830_daily_bin1710.fits outfile=/scratch/kocevski/143418/expmap_682560001_682819201_4FGL_J1415.5+4830_daily_bin1710.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/143418/ltcube_682560001_682819201_4FGL_J1415.5+4830_daily_bin1710.fits
.....................!
real 193.04
user 187.75
sys 4.89

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/143418/ft1_filtered_4FGL_J1415.5+4830_daily_bin1710.fits scfile=/scratch/kocevski/143418/ft2_4FGL_J1415.5+4830_daily_bin1710.fits outfile=/scratch/kocevski/143418/cmap_682560001_682819201_4FGL_J1415.5+4830_daily_bin1710.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/143418/ft1_filtered_4FGL_J1415.5+4830_daily_bin1710.fits scfile=/scratch/kocevski/143418/ft2_4FGL_J1415.5+4830_daily_bin1710.fits outfile=/scratch/kocevski/143418/cmap_HighResolution_682560001_682819201_4FGL_J1415.5+4830_daily_bin1710.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29572E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14455E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    29.900       1.0000          .0000       .10000E+07
     4 'norm      '    .41041E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .67632E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .64500       1.0000          .0000       .10000E+07
     7 'norm      '    .14618E-04   1.0000          .0000       .10000E+07
     8 'norm      '    5.0837       1.0000          .0000       .10000E+07
     9 'Prefactor '    .36816E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    15.392       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2272       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16556       1.0000          .0000       .10000E+07
    13 'Prefactor '    .27239E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .72164E-09   1.0000          .0000       .10000E+07
    15 'Prefactor '    11.277       1.0000          .0000       .10000E+07
    16 'norm      '    .90735E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19866E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.7810       1.0000          .0000       .10000E+07
    19 'Prefactor '    .88580E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.5751       1.0000          .0000       .10000E+07
    21 'norm      '    .89894       1.0000          .0000       .10000E+07
    22 'Prefactor '    2.6391       1.0000          .0000       .10000E+07
    23 'Prefactor '    .61796E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    35.557       1.0000          .0000       .10000E+07
    25 'norm      '    .28045       1.0000          .0000       .10000E+07
    26 'Prefactor '    11.485       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1558       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .81143       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=   6025.502     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     2125 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33307E-09    1.7256       -.23410E-06** at limit **
   2  Prefactor     .12323E-07    6.5593       -.57575E-06** at limit **
   3  Prefactor     30.034        6.1948       -.50367E-06    .37243E-01
   4  norm          .71609E-08    3.9633       -.88115E-07** at limit **
   5  Prefactor     .31336E-06    25.729        .25021E-05** at limit **
   6  norm          .64476        .98265       -.36932E-07    .17072E-02
   7  norm          .16098E-08    2.4763        .11301E-06** at limit **
   8  norm          5.1041        4.9126       -.40923E-06    .20105E-02
   9  Prefactor     .14477E-06    12.928        .15750E-05** at limit **
  10  Prefactor     15.076        11.902        .97704E-06   -.23761E-01
  11  Prefactor     8.2323        5.1688        .35791E-06    .43179E-03
  12  Prefactor     .63227E-07    9.3120       -.27746E-06** at limit **
  13  Prefactor     .46962E-07    7.9266       -.35722E-06** at limit **
  14  Prefactor     .88041E-07    8.4955       -.43104E-06** at limit **
  15  Prefactor     11.240        10.339       -.36475E-06   -.80424E-01
  16  norm          .15243E-06    5.3031        .13954E-05** at limit **
  17  Prefactor     .24036E-07    5.9799       -.40574E-06** at limit **
  18  Prefactor     2.2039        265.36       -.52356E-05   -.62996E-02
  19  Prefactor     .14163E-05    14.314       -.20722E-05** at limit **
  20  Prefactor     5.5358        4.7852        .11992E-06    .65871E-02
  21  norm          .89728        .96165       -.19918E-06    .11773E-02
  22  Prefactor     2.6368        6.7276       -.28905E-06   -.39120E-03
  23  Prefactor     .12951E-06    5.4186       -.46059E-06** at limit **
  24  Prefactor     35.571        1.9517       -.68091E-08   -.80520E-03
  25  norm          .28920        7.0206        .54998E-06    .17327E-02
  26  Prefactor     11.504        4.4554        .16575E-06   -.20888E-01
  27  Normalizat    1.1562        .18847        .50929E-05   -.26847E-04
  28  Prefactor     .81096        .22099       -.41079E-05   -.36403E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.33067e-10
  Prefactor  = 1.23235e-08
  Prefactor  = 30.0344
  norm       = 7.16094e-09
  Prefactor  = 3.1336e-07
  norm       = 0.644759
  norm       = 1.60982e-09
  norm       = 5.10413
  Prefactor  = 1.44773e-07
  Prefactor  = 15.0763
  Prefactor  = 8.23228
  Prefactor  = 6.32272e-08
  Prefactor  = 4.69624e-08
  Prefactor  = 8.80407e-08
  Prefactor  = 11.2398
  norm       = 1.52434e-07
  Prefactor  = 2.40363e-08
  Prefactor  = 2.20391
  Prefactor  = 1.41631e-06
  Prefactor  = 5.53584
  norm       = 0.897283
  Prefactor  = 2.63676
  Prefactor  = 1.29508e-07
  Prefactor  = 35.5708
  norm       = 0.289198
  Prefactor  = 11.504
  Normalizat = 1.15623
  Prefactor  = 0.810958
 **********
 **   18 **HESSE 
 **********

 FCN=   6025.502     FROM HESSE     STATUS=OK           587 CALLS     2712 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33307E-09    1.7225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12323E-07    21.685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.034        28.213        .18291E-03   -1.5598    
   4  norm          .71609E-08    3.9765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31336E-06    28.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .64476        1.0005        .65290E-03   -1.5692    
   7  norm          .16098E-08    2.4837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.1041        12.729        .44570E-03   -1.5663    
   9  Prefactor     .14477E-06    20.595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.076        32.834        .25502E-03   -1.5630    
  11  Prefactor     8.2323        5.2083        .34929E-03   -1.5651    
  12  Prefactor     .63227E-07    61.452        .12424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .46962E-07    8.1684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .88041E-07    1.2469        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.240        15.882        .29807E-03   -1.5641    
  16  norm          .15243E-06    5.9747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .24036E-07    22.108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.2039        314.10        .78389E-03   -1.5678    
  19  Prefactor     .14163E-05    24.768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.5358        15.856        .42525E-03   -1.5661    
  21  norm          .89728        .97003        .45833E-03   -1.5689    
  22  Prefactor     2.6368        7.1751        .62737E-03   -1.5675    
  23  Prefactor     .12951E-06    6.5169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     35.571        12.860        .16772E-03   -1.5589    
  25  norm          .28920        3.1173        .60041E-02   -1.5697    
  26  Prefactor     11.504        13.435        .29536E-03   -1.5640    
  27  Normalizat    1.1562        .16709        .36079E-01   -.87966    
  28  Prefactor     .81096        .19167        .65798E-01   -.99326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.73926e-07
Minuit parameter uncertainties:
  1  4.68655e-05
  2  0.00103325
  3  28.2133
  4  0.000337703
  5  0.00602621
  6  1.00046
  7  0.00012688
  8  12.7292
  9  0.00345371
  10  32.8347
  11  5.20827
  12  0.00394307
  13  0.00123854
  14  0.000662636
  15  15.8825
  16  0.00190871
  17  0.0014571
  18  52.6238
  19  0.0118457
  20  15.856
  21  0.970033
  22  7.17511
  23  0.00183727
  24  12.8604
  25  1.89895
  26  13.4351
  27  0.167165
  28  0.191827
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  8.232e+00  5.208e+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:  8.110e-01  1.918e-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.156e+00  1.672e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.48
Ra Dec: 213.899 48.514
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 2.21e-08
Energy Flux (Fixed Index): 2.79e-05 +/- 1.76e-05

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) = 6025.37267276
delta logL = 0.128930199749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6025.37248637
delta logL = 0.129116588384

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.223       1.0000          .0000       .10000E+07
     2 'Index     '    1.7239       1.0000          .0000       10.000    
     3 'Normalizat'    1.1637       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80577       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=   6025.372     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      264 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.220        173.51        .31313E-03   -.25797E-02
   2  Index         1.7237        5.7939        .16885        .55246E-04
   3  Normalizat    1.1636        .11233        .35851E-01    .75322E-05
   4  Prefactor     .80584        .90630E-01    .65983E-01    .18879E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2203
  Index      = 1.72369
  Normalizat = 1.16363
  Prefactor  = 0.80584
 **********
 **   18 **HESSE 
 **********

 FCN=   6025.372     FROM HESSE     STATUS=OK            33 CALLS      297 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.220        7.1598        .62627E-04   -1.5644    
   2  Index         1.7237        .41935        .62017E-02   -.71453    
   3  Normalizat    1.1636        .18814        .21155E-03   -.87734    
   4  Prefactor     .80584        .22085        .29190E-03   -.99513    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57946e-12
Minuit parameter uncertainties:
  1  7.15982
  2  0.420219
  3  0.188252
  4  0.221096
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/143418': 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) = 6025.3724859
delta logL = 0.129117056113

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.022e+01  7.160e+00  0.000e+00  1.000e+06 ( 1.000e-13)
323        Index:  1.724e+00  4.202e-01  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:  8.058e-01  2.211e-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.164e+00  1.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.75
Ra Dec: 213.899 48.514
Photon Index (Free Index): 1.72 +/- 0.42
Photon Flux (Free Index): 2.86e-08 +/- 2.16e-08
Energy Flux (Free Index): 4.32e-05 +/- 4.76e-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/143418/cmap_HighResolution_682560001_682819201_4FGL_J1415.5+4830_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='4.32e-05', photon_flux_error='2.21e-08', dlogl='1.29e-01', energy_flux='2.79e-05', photon_flux2='2.86e-08', job_status='DONE', time_completed='2022-09-16 18:25:45.719470', photon_index_error2='0.42', photon_index2='1.72', ts='9.48', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='4.76e-05', EG='1.16', time_epoch_completed='1663377945.72', return_code='0', job_id='143418', GAL2='0.81', EG2='1.16', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='2.16e-08', ts2='9.75', photon_index='1.94' WHERE bin_id='1710' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:25:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 143418: <4FGL_J1415.5+4830_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin1710> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 18:10:16 2022
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:14:48 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:48 2022
Terminated at Fri Sep 16 18:25:46 2022
Results reported at Fri Sep 16 18:25:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin1710 213.899 48.5142 682560001 682819201 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 :                                   640.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            930 sec.

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

