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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin1768
RA = 213.899, Dec = 48.5142
tmin = 697593601, tmax = 697852801
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='272825', job_status='RUN', time_executed='2023-02-12 01:01:19.645013', time_epoch_executed='1676192479.65' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272825

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272825/ft1_4FGL_J1415.5+4830_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272825/ft2_4FGL_J1415.5+4830_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272825/ft1_4FGL_J1415.5+4830_daily_bin1768.fits outfile=/scratch/kocevski/272825/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1768.fits ra=213.899 dec=48.5142 rad=12.0 tmin=697593601.0 tmax=697852801.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.69
user 3.45
sys 0.22

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

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

Number of photons that the gtmktime cut: 544

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272825/ft1_filtered_4FGL_J1415.5+4830_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/272825/ft2_4FGL_J1415.5+4830_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/272825/ltcube_697593601_697852801_4FGL_J1415.5+4830_daily_bin1768.fits outfile=/scratch/kocevski/272825/expmap_697593601_697852801_4FGL_J1415.5+4830_daily_bin1768.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/272825/ltcube_697593601_697852801_4FGL_J1415.5+4830_daily_bin1768.fits
.....................!
real 193.52
user 187.85
sys 5.06

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/272825/ft1_filtered_4FGL_J1415.5+4830_daily_bin1768.fits scfile=/scratch/kocevski/272825/ft2_4FGL_J1415.5+4830_daily_bin1768.fits outfile=/scratch/kocevski/272825/cmap_697593601_697852801_4FGL_J1415.5+4830_daily_bin1768.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272825/ft1_filtered_4FGL_J1415.5+4830_daily_bin1768.fits scfile=/scratch/kocevski/272825/ft2_4FGL_J1415.5+4830_daily_bin1768.fits outfile=/scratch/kocevski/272825/cmap_HighResolution_697593601_697852801_4FGL_J1415.5+4830_daily_bin1768.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/272825/ft1_filtered_4FGL_J1415.5+4830_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/272825/ft2_4FGL_J1415.5+4830_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/272825/Model_4FGL_J1415.5+4830_daily_bin1768.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/272825/ft1_filtered_4FGL_J1415.5+4830_daily_bin1768.fits.....................!
real 49.12
user 47.75
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2099       1.0000          .0000       .10000E+07
     2 'Prefactor '    .87862E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .36171E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .25496E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7847       1.0000          .0000       .10000E+07
     6 'norm      '    1.3555       1.0000          .0000       .10000E+07
     7 'norm      '    .17113E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .30788E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.0215       1.0000          .0000       .10000E+07
    10 'Prefactor '    18.990       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16460E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .81903E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    12.961       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.5084       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.7095       1.0000          .0000       .10000E+07
    16 'norm      '    .22165E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.3739       1.0000          .0000       .10000E+07
    18 'Prefactor '    .19160E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .29830E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .31806E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .21283E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    .75322E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.6079       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.6205       1.0000          .0000       .10000E+07
    25 'norm      '    .49129E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    .10754E-04   1.0000          .0000       .10000E+07
    27 'Normalizat'    .89127       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1743       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=   5928.903     FROM MIGRAD    STATUS=CONVERGED    241 CALLS     2574 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2107        3.1428       -.17970E-06   -.73659E-03
   2  Prefactor     .55511E-09    90.015        .10836E-05** at limit **
   3  Prefactor     .97422E-07    5.1056        .27416E-06** at limit **
   4  norm           .0000        1.5008       -.12646E-06** at limit **
   5  Prefactor     .10853        4868.5        .15620E-04** at limit **
   6  norm          1.3543        1.0368       -.38199E-07   -.91051E-03
   7  norm           .0000        2.4734       -.11314E-06** at limit **
   8  norm          .11102E-09    15.552        .12856E-06** at limit **
   9  Prefactor     4.7569        41.505       -.36396E-06   -.13620E-03
  10  Prefactor     19.508        11.419       -.71459E-07    .84682E-02
  11  Prefactor      .0000        2.2993       -.20385E-06** at limit **
  12  Prefactor     .10120E-06    4.4241       -.20987E-06** at limit **
  13  Prefactor     12.807        15.355        .53502E-06   -.32720E-02
  14  Prefactor     1.5808        2.5551       -.29346E-07    .76135E-04
  15  Prefactor     8.8588        18.309       -.95118E-06    .30195E-02
  16  norm           .0000        4.4368       -.11986E-06** at limit **
  17  Prefactor     .18165        33.051        .45477E-06** at limit **
  18  Prefactor     .25757E-07    82.402        .70805E-06** at limit **
  19  Prefactor     .66613E-09    4.6144        .99228E-07** at limit **
  20  Prefactor     .28422E-07    8.8724       -.35965E-06** at limit **
  21  norm           .0000        2.7779        .12361E-06** at limit **
  22  Prefactor      .0000        5.4303       -.16728E-06** at limit **
  23  Prefactor     7.5981        7.3023       -.38956E-07    .21411E-04
  24  Prefactor     1.6411        11.426       -.13079E-06   -.17816E-03
  25  norm           .0000        2.0088       -.17485E-06** at limit **
  26  Prefactor     .37526E-07    11.376       -.26716E-06** at limit **
  27  Normalizat    .89305        .19391        .81230E-05    .51574E-04
  28  Prefactor     1.1735        .22952       -.69501E-05   -.63355E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.21071
  Prefactor  = 5.55112e-10
  Prefactor  = 9.74221e-08
  norm       = 0
  Prefactor  = 0.108531
  norm       = 1.35434
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 4.75692
  Prefactor  = 19.5081
  Prefactor  = 0
  Prefactor  = 1.01197e-07
  Prefactor  = 12.8072
  Prefactor  = 1.58076
  Prefactor  = 8.85885
  norm       = 0
  Prefactor  = 0.181649
  Prefactor  = 2.57572e-08
  Prefactor  = 6.66134e-10
  Prefactor  = 2.84217e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 7.59814
  Prefactor  = 1.64115
  norm       = 0
  Prefactor  = 3.75255e-08
  Normalizat = 0.893047
  Prefactor  = 1.17353
 **********
 **   18 **HESSE 
 **********

 FCN=   5928.903     FROM HESSE     STATUS=OK           593 CALLS     3167 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2107        3.2197        .10284E-02   -1.5686    
   2  Prefactor     .55511E-09    14.461        .14267E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .97422E-07    11.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.5006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10853        71.698        .12032E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.3543        1.0429        .93852E-03   -1.5685    
   7  norm           .0000        2.4740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .11102E-09    15.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.7569        49.141        .44851E-03   -1.5664    
  10  Prefactor     19.508        42.033        .22956E-03   -1.5620    
  11  Prefactor      .0000        2.3002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10120E-06    10.591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.807        15.829        .27798E-03   -1.5636    
  14  Prefactor     1.5808        3.1446        .87075E-03   -1.5683    
  15  Prefactor     8.8588        18.944        .33941E-03   -1.5648    
  16  norm           .0000        4.4546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .18165        35.268        .11185E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .25757E-07    86.732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .66613E-09    10.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .28422E-07    10.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        .79288        .23920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        5.4462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.5981        7.3247        .36334E-03   -1.5653    
  24  Prefactor     1.6411        11.501        .83108E-03   -1.5682    
  25  norm           .0000        2.0011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .37526E-07    12.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .89305        .16507        .44790E-01   -.96705    
  28  Prefactor     1.1735        .19069        .55995E-01   -.87150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.34828e-07
Minuit parameter uncertainties:
  1  3.21975
  2  0.000177958
  3  0.00208093
  4  6.09183e-06
  5  5.57911
  6  1.0429
  7  1.79452e-06
  8  8.28231e-05
  9  30.5789
  10  42.0337
  11  8.09442e-06
  12  0.00207053
  13  15.8286
  14  3.14456
  15  18.9444
  16  7.42786e-06
  17  5.06221
  18  0.00299024
  19  0.000167319
  20  0.00108167
  21  4.85048e-06
  22  3.31209e-06
  23  7.32474
  24  8.68906
  25  2.20154e-06
  26  0.00137573
  27  0.165165
  28  0.190798
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  0.000e+00  8.094e-06  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.174e+00  1.908e-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:  8.930e-01  1.652e-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: 4.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/272825/likelihoodResults_697593601_697852801_4FGL_J1415.5+4830_daily_bin1768.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) = 5928.90333607
delta logL = -0.000587275158068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5928.90274945
delta logL = -6.58498720441e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12754E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.3177       1.0000          .0000       10.000    
     3 'Normalizat'    .89293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1736       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=   5928.903     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      250 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .64083E-01    .42118E-03** at limit **
   2  Index         .78658        6.7860        .50000       -.15007E-09
   3  Normalizat    .89305        .10166E-02    .44811E-01    .36717E-03
   4  Prefactor     1.1735        .12592E-02    .55995E-01    .20680E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 0.786581
  Normalizat = 0.89305
  Prefactor  = 1.17352
 **********
 **   18 **HESSE 
 **********

 FCN=   5928.903     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      277 TOTAL
                     EDM=   .92E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .36948        .71595E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .78658        5.5588        .50000       -1.0022    
   3  Normalizat    .89305        .24400E-02    .22687E-03   -.96705    
   4  Prefactor     1.1735        .30219E-02    .24760E-03   -.87150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.23372e-13
Minuit parameter uncertainties:
  1  8.90123e-06
  2  72144.8
  3  0.00243996
  4  0.00302187
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272825': 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) = 5928.90274879
delta logL = -2.68300937023e-10

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  5.551e-11  8.901e-06  0.000e+00  1.000e+06 ( 1.000e-13)
323        Index:  7.866e-01  7.214e+04  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.174e+00  3.022e-03  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:  8.930e-01  2.440e-03  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/272825/cmap_HighResolution_697593601_697852801_4FGL_J1415.5+4830_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-03', job_status='DONE', photon_flux_upper_limit='4.00e-08', time_completed='2023-02-12 01:13:32.061918', job_id='272825', GAL2='1.17', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1676193212.06', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='-2.68e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1768' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:13:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 272825: <4FGL_J1415.5+4830_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin1768> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Feb 12 01:00:18 2023
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:01:05 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:01:05 2023
Terminated at Sun Feb 12 01:13:32 2023
Results reported at Sun Feb 12 01:13:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin1768 213.899 48.5142 697593601 697852801 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 :                                   733.32 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             331.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            794 sec.

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

