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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin1746
RA = 213.899, Dec = 48.5142
tmin = 691891201, tmax = 692150401
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='728601', job_status='RUN', time_executed='2022-12-08 01:01:41.315243', time_epoch_executed='1670490101.32' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/728601

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/728601/ft1_4FGL_J1415.5+4830_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/728601/ft2_4FGL_J1415.5+4830_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/728601/ft1_4FGL_J1415.5+4830_daily_bin1746.fits outfile=/scratch/kocevski/728601/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1746.fits ra=213.899 dec=48.5142 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.72
user 4.44
sys 0.23

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

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

Number of photons that the gtmktime cut: 664

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/728601/ft1_filtered_4FGL_J1415.5+4830_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/728601/ft2_4FGL_J1415.5+4830_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/728601/ltcube_691891201_692150401_4FGL_J1415.5+4830_daily_bin1746.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/728601/ft2_4FGL_J1415.5+4830_daily_bin1746.fits
.....................!
real 11.91
user 11.59
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/728601/ft1_filtered_4FGL_J1415.5+4830_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/728601/ft2_4FGL_J1415.5+4830_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/728601/ltcube_691891201_692150401_4FGL_J1415.5+4830_daily_bin1746.fits outfile=/scratch/kocevski/728601/expmap_691891201_692150401_4FGL_J1415.5+4830_daily_bin1746.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/728601/ltcube_691891201_692150401_4FGL_J1415.5+4830_daily_bin1746.fits
.....................!
real 189.80
user 185.05
sys 4.41

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/728601/ft1_filtered_4FGL_J1415.5+4830_daily_bin1746.fits scfile=/scratch/kocevski/728601/ft2_4FGL_J1415.5+4830_daily_bin1746.fits outfile=/scratch/kocevski/728601/cmap_691891201_692150401_4FGL_J1415.5+4830_daily_bin1746.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/728601/ft1_filtered_4FGL_J1415.5+4830_daily_bin1746.fits scfile=/scratch/kocevski/728601/ft2_4FGL_J1415.5+4830_daily_bin1746.fits outfile=/scratch/kocevski/728601/cmap_HighResolution_691891201_692150401_4FGL_J1415.5+4830_daily_bin1746.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/728601/ft1_filtered_4FGL_J1415.5+4830_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/728601/ft2_4FGL_J1415.5+4830_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/728601/Model_4FGL_J1415.5+4830_daily_bin1746.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/728601/ft1_filtered_4FGL_J1415.5+4830_daily_bin1746.fits.....................!
real 57.63
user 56.26
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44695E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7179       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19584E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .85701E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.065       1.0000          .0000       .10000E+07
     6 'norm      '    1.4742       1.0000          .0000       .10000E+07
     7 'norm      '    .19902E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .12825E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11590E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11275       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12929E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4134       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34534E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .20317E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    21.662       1.0000          .0000       .10000E+07
    16 'norm      '    .64780E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.0128       1.0000          .0000       .10000E+07
    18 'Prefactor '    .14394E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    25.726       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.8290       1.0000          .0000       .10000E+07
    21 'norm      '    .98426       1.0000          .0000       .10000E+07
    22 'Prefactor '    13.515       1.0000          .0000       .10000E+07
    23 'Prefactor '    4.4604       1.0000          .0000       .10000E+07
    24 'Prefactor '    14.800       1.0000          .0000       .10000E+07
    25 'norm      '    .17486E-06   1.0000          .0000       .10000E+07
    26 'Prefactor '    .16738E-03   1.0000          .0000       .10000E+07
    27 'Normalizat'    .90214       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1739       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=   7309.417     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     2490 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57288E-07    2.0248       -.27337E-07** at limit **
   2  Prefactor     2.7907        8.2972       -.97437E-07    .81721E-02
   3  Prefactor     .93481E-07    8.8638       -.10112E-06** at limit **
   4  norm          .20051E-06    4.5020       -.20759E-06** at limit **
   5  Prefactor     12.568        41.525       -.60485E-06   -.59398E-02
   6  norm          1.4747        1.0162       -.41381E-07   -.42450E-02
   7  norm          .74885E-07    3.1444        .97600E-07** at limit **
   8  norm          .13728E-06    2.4451       -.59912E-08** at limit **
   9  Prefactor     .54878E-06    11.603        .46125E-07** at limit **
  10  Prefactor     .11811E-05    25.276       -.31546E-06** at limit **
  11  Prefactor     .12157E-07    1.3941        .53642E-08** at limit **
  12  Prefactor     2.4774        3.4455       -.53229E-07    .90172E-03
  13  Prefactor     .57232E-07    10.817       -.10649E-06** at limit **
  14  Prefactor     .13878E-08    2.3777       -.18832E-07** at limit **
  15  Prefactor     21.810        6.3748       -.41619E-07    .17386E-01
  16  norm          .10325E-07    4.8577       -.21189E-06** at limit **
  17  Prefactor     3.2643        15.087       -.17027E-06    .17094E-01
  18  Prefactor     .15565E-06    8.8054       -.11454E-06** at limit **
  19  Prefactor     25.635        6.1512        .31904E-07   -.50522E-01
  20  Prefactor     4.8092        8.8996       -.28602E-07   -.22316E-01
  21  norm          .98499        1.0400       -.11397E-07    .44995E-03
  22  Prefactor     13.477        6.2450       -.23957E-07   -.11358E-02
  23  Prefactor     4.5020        4.9788       -.55889E-08    .90349E-03
  24  Prefactor     14.835        6.1949       -.28034E-07    .12005E-02
  25  norm          .55511E-10    .92675        .61655E-07** at limit **
  26  Prefactor     .12768E-08    4.0501       -.22423E-07** at limit **
  27  Normalizat    .90018        .18579        .32120E-05    .21540E-03
  28  Prefactor     1.1748        .21335       -.38476E-06    .17655E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.72875e-08
  Prefactor  = 2.79072
  Prefactor  = 9.34808e-08
  norm       = 2.00506e-07
  Prefactor  = 12.5678
  norm       = 1.47472
  norm       = 7.48845e-08
  norm       = 1.37279e-07
  Prefactor  = 5.48783e-07
  Prefactor  = 1.18111e-06
  Prefactor  = 1.21569e-08
  Prefactor  = 2.47737
  Prefactor  = 5.7232e-08
  Prefactor  = 1.38778e-09
  Prefactor  = 21.8095
  norm       = 1.03251e-08
  Prefactor  = 3.26426
  Prefactor  = 1.55653e-07
  Prefactor  = 25.6347
  Prefactor  = 4.80925
  norm       = 0.98499
  Prefactor  = 13.4767
  Prefactor  = 4.50203
  Prefactor  = 14.835
  norm       = 5.55112e-11
  Prefactor  = 1.27676e-09
  Normalizat = 0.900181
  Prefactor  = 1.17484
 **********
 **   18 **HESSE 
 **********

 FCN=   7309.417     FROM HESSE     STATUS=OK           577 CALLS     3067 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57288E-07    5.2048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7907        39.514        .61750E-03   -1.5675    
   3  Prefactor     .93481E-07    18.866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .20051E-06    6.1667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.568        41.512        .30093E-03   -1.5637    
   6  norm          1.4747        1.0260        .88433E-03   -1.5684    
   7  norm          .74885E-07    5.2878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .13728E-06    4.2130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .54878E-06    14.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11811E-05    84.829        .13599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .12157E-07    4.6265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4774        29.796        .65868E-03   -1.5676    
  13  Prefactor     .57232E-07    11.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .13878E-08    2.3627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.810        19.186        .21492E-03   -1.5615    
  16  norm          .10325E-07    5.4286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.2643        38.097        .58447E-03   -1.5672    
  18  Prefactor     .15565E-06    18.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.635        23.548        .19720E-03   -1.5607    
  20  Prefactor     4.8092        9.1588        .45755E-03   -1.5664    
  21  norm          .98499        1.0450        .43208E-03   -1.5688    
  22  Prefactor     13.477        13.692        .27220E-03   -1.5635    
  23  Prefactor     4.5020        4.9930        .47654E-03   -1.5666    
  24  Prefactor     14.835        13.845        .26008E-03   -1.5631    
  25  norm          .55511E-10    .92715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .12768E-08    4.0727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .90018        .15916        .44929E-01   -.96454    
  28  Prefactor     1.1748        .17674        .57471E-01   -.87109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09606e-07
Minuit parameter uncertainties:
  1  0.00109228
  2  21.0024
  3  0.00265599
  4  0.00222381
  5  41.5131
  6  1.02597
  7  0.0012584
  8  0.00152111
  9  0.00556348
  10  0.0200193
  11  0.000474097
  12  17.1832
  13  0.00159859
  14  0.000113635
  15  19.1863
  16  0.000473493
  17  22.3035
  18  0.0033928
  19  23.5481
  20  9.15884
  21  1.04497
  22  13.6916
  23  4.99299
  24  13.8449
  25  1.70568e-05
  26  0.000145714
  27  0.159245
  28  0.176826
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.216e-08  4.741e-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:  1.175e+00  1.768e-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.002e-01  1.592e-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.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/728601/likelihoodResults_691891201_692150401_4FGL_J1415.5+4830_daily_bin1746.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) = 7309.41798102
delta logL = -0.00087220754267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7309.2484853
delta logL = 0.168623509964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11424       1.0000          .0000       .10000E+07
     2 'Index     '    3.4510       1.0000          .0000       10.000    
     3 'Normalizat'    .87717       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1875       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=   7309.248     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      281 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11423        2.4789        .11165E-02** at limit **
   2  Index         3.4518        2.4330        .11172        .22769E-03
   3  Normalizat    .87707        .20494E-01    .44609E-01   -.54861E-04
   4  Prefactor     1.1877        .25005E-01    .57203E-01   -.37280E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.114235
  Index      = 3.45175
  Normalizat = 0.877071
  Prefactor  = 1.18767
 **********
 **   18 **HESSE 
 **********

 FCN=   7309.248     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      316 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11423        16.971        .47637E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4518        6.1575        .81272E-02   -.31482    
   3  Normalizat    .87707        .10697        .23846E-03   -.97271    
   4  Prefactor     1.1877        .12911        .25295E-03   -.86712    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.12695e-10
Minuit parameter uncertainties:
  1  2.78476
  2  9.24121
  3  0.106999
  4  0.129144
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/728601': 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) = 7309.24848459
delta logL = 0.168624228775

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.142e-01  2.785e+00  0.000e+00  1.000e+06 ( 1.000e-13)
323        Index:  3.452e+00  9.241e+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.188e+00  1.291e-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.771e-01  1.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/728601/cmap_HighResolution_691891201_692150401_4FGL_J1415.5+4830_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='4.07e-08', time_completed='2022-12-08 01:14:56.817098', job_id='728601', GAL2='1.19', fit_tolerance='1e-08', EG2='0.88', EG='0.90', time_epoch_completed='1670490896.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.69e-01', ts2='0.35', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1746' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:14:56 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 728601: <4FGL_J1415.5+4830_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin1746> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec  8 01:00:20 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:00:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:00:22 2022
Terminated at Thu Dec  8 01:14:57 2022
Results reported at Thu Dec  8 01:14:57 2022

Your job looked like:

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

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

