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


Performing analysis on: 4FGL_J1358.1+7642_daily_bin1780
RA = 209.528, Dec = 76.7064
tmin = 700704001, tmax = 700963201
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='65266', job_status='RUN', time_executed='2023-03-20 01:04:33.175223', time_epoch_executed='1679299473.18' WHERE source_name='4FGL J1358.1+7642' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/65266

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/65266/ft1_4FGL_J1358.1+7642_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/65266/ft2_4FGL_J1358.1+7642_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/65266/ft1_4FGL_J1358.1+7642_daily_bin1780.fits outfile=/scratch/kocevski/65266/ft1_filteredMKT_4FGL_J1358.1+7642_daily_bin1780.fits ra=209.528 dec=76.7064 rad=12.0 tmin=700704001.0 tmax=700963201.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.10
user 3.86
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/65266/ft2_4FGL_J1358.1+7642_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/65266/ft2_4FGL_J1358.1+7642_daily_bin1780.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/65266/ft1_filteredMKT_4FGL_J1358.1+7642_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/65266/ft1_filtered_4FGL_J1358.1+7642_daily_bin1780.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.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 1186

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/65266/ft1_filtered_4FGL_J1358.1+7642_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/65266/ft2_4FGL_J1358.1+7642_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/65266/ltcube_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.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/65266/ft2_4FGL_J1358.1+7642_daily_bin1780.fits
.....................!
real 12.12
user 11.78
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/65266/ft1_filtered_4FGL_J1358.1+7642_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/65266/ft2_4FGL_J1358.1+7642_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/65266/ltcube_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.fits outfile=/scratch/kocevski/65266/expmap_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.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/65266/ltcube_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.fits
.....................!
real 190.81
user 185.40
sys 5.09

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 219 point sources and 0 extended sources

Setting source of interest to:
4FGL J1358.1+7642 @ 209.528 76.7064

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/65266/ft1_filtered_4FGL_J1358.1+7642_daily_bin1780.fits scfile=/scratch/kocevski/65266/ft2_4FGL_J1358.1+7642_daily_bin1780.fits outfile=/scratch/kocevski/65266/cmap_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.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=209.528 yref=76.7064 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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/65266/ft1_filtered_4FGL_J1358.1+7642_daily_bin1780.fits scfile=/scratch/kocevski/65266/ft2_4FGL_J1358.1+7642_daily_bin1780.fits outfile=/scratch/kocevski/65266/cmap_HighResolution_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.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=209.528 yref=76.7064 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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/65266/ft1_filtered_4FGL_J1358.1+7642_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/65266/ft2_4FGL_J1358.1+7642_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/65266/Model_4FGL_J1358.1+7642_daily_bin1780.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/65266/ft1_filtered_4FGL_J1358.1+7642_daily_bin1780.fits.....................!
real 136.64
user 135.26
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/65266/ft1_filtered_4FGL_J1358.1+7642_daily_bin1780.fits', '/scratch/kocevski/65266/ft2_4FGL_J1358.1+7642_daily_bin1780.fits', expMap='/scratch/kocevski/65266/expmap_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.fits', expCube='/scratch/kocevski/65266/ltcube_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/65266/Model_4FGL_J1358.1+7642_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1358.1+7642'

4FGL J1358.1+7642
   Spectrum: PowerLaw
386    Prefactor:  5.684e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
387        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  9.780e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/65266/ft1_filtered_4FGL_J1358.1+7642_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/65266/ft2_4FGL_J1358.1+7642_daily_bin1780.fits
Exposure map: /scratch/kocevski/65266/expmap_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.fits
Exposure cube: /scratch/kocevski/65266/ltcube_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/65266/Model_4FGL_J1358.1+7642_daily_bin1780.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) = 12560.2371138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5020       1.0000          .0000       .10000E+07
     2 'norm      '    7.3292       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12119E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .23981E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    27.178       1.0000          .0000       .10000E+07
     6 'Prefactor '    44.112       1.0000          .0000       .10000E+07
     7 'norm      '    .81046E-08   1.0000          .0000       .10000E+07
     8 'norm      '    .83267E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    .14246E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .98912E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16695       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.454       1.0000          .0000       .10000E+07
    13 'Prefactor '    .64726E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12562E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.1592       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16572E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .42954E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .11486E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.6500       1.0000          .0000       .10000E+07
    20 'Prefactor '    21.779       1.0000          .0000       .10000E+07
    21 'norm      '    7.2901       1.0000          .0000       .10000E+07
    22 'Prefactor '    59.645       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.2680       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11226E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .10497E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0674       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .82720       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12560.24     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     2398 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4831        11.606        .90786E-06    .80208E-06
   2  norm          7.3320        3.5888       -.24774E-06   -.18329E-02
   3  Prefactor     .22482E-07    142.81       -.57072E-05** at limit **
   4  Prefactor      .0000        .71938       -.13718E-06** at limit **
   5  Prefactor     27.169        8.9956        .16291E-06    .21144E-01
   6  Prefactor     44.109        1.8531        .11317E-07   -.25703E-01
   7  norm           .0000        1.3822        .26094E-06** at limit **
   8  norm           .0000        .81521       -.16414E-07** at limit **
   9  Prefactor     .11768E-07    8.2007        .32002E-06** at limit **
  10  Prefactor     .28866E-08    7.6424       -.59249E-07** at limit **
  11  Prefactor     .16198        .68368        .50426E-07** at limit **
  12  Prefactor     11.447        5.5790       -.10302E-08   -.50085E-01
  13  Prefactor      .0000        1.6099        .21066E-06** at limit **
  14  Prefactor      .0000        3.8554       -.21848E-06** at limit **
  15  Prefactor     5.1678        2.9707       -.34054E-07    .15293E-01
  16  Prefactor     .93259E-07    6.7980        .70837E-06** at limit **
  17  Prefactor     .29809E-07    16.614        .37177E-06** at limit **
  18  Prefactor     .44409E-09    23.045        .12533E-05** at limit **
  19  Prefactor     6.6467        1.0400       -.77653E-09    .48792E-03
  20  Prefactor     21.769        1.0364        .98369E-09    .98658E-03
  21  norm          7.2917        9.0537        .72093E-06    .23556E-01
  22  Prefactor     59.570        3.8109       -.15644E-06    .80281E-01
  23  Prefactor     1.2712        1.7507       -.93154E-07    .42329E-03
  24  Prefactor     .38858E-09    9.3253       -.60076E-06** at limit **
  25  Prefactor     .17641E-06    7.6668        .11704E-05** at limit **
  26  Normalizat    1.0669        .12449       -.16371E-05    .85246E-04
  27  Prefactor     .82746        .99823E-01   -.94800E-07    .97214E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.48313
  norm       = 7.33197
  Prefactor  = 2.2482e-08
  Prefactor  = 0
  Prefactor  = 27.1686
  Prefactor  = 44.1094
  norm       = 0
  norm       = 0
  Prefactor  = 1.17684e-08
  Prefactor  = 2.88658e-09
  Prefactor  = 0.16198
  Prefactor  = 11.4474
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.16781
  Prefactor  = 9.32587e-08
  Prefactor  = 2.98095e-08
  Prefactor  = 4.44089e-10
  Prefactor  = 6.64674
  Prefactor  = 21.7685
  norm       = 7.29167
  Prefactor  = 59.5703
  Prefactor  = 1.27119
  Prefactor  = 3.88578e-10
  Prefactor  = 1.76414e-07
  Normalizat = 1.06691
  Prefactor  = 0.827461
 **********
 **   18 **HESSE 
 **********

 FCN=   12560.24     FROM HESSE     STATUS=OK           546 CALLS     2944 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4831        11.989        .87324E-03   -1.5684    
   2  norm          7.3320        4.1597        .37025E-03   -1.5654    
   3  Prefactor     .22482E-07    7.8998        .64236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .71859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.169        9.4049        .19186E-03   -1.5604    
   6  Prefactor     44.109        32.869        .15058E-03   -1.5575    
   7  norm           .0000        1.3598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .81118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11768E-07    8.7607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .28866E-08    7.7799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16198        4.0562        .12396E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.447        12.139        .29576E-03   -1.5640    
  13  Prefactor      .0000        1.6050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.8575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.1678        12.324        .44236E-03   -1.5662    
  16  Prefactor     .93259E-07    12.660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .29809E-07    17.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .44409E-09    23.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6467        18.960        .38889E-03   -1.5656    
  20  Prefactor     21.769        21.356        .21434E-03   -1.5615    
  21  norm          7.2917        9.4752        .37125E-03   -1.5654    
  22  Prefactor     59.570        74.993        .12949E-03   -1.5554    
  23  Prefactor     1.2712        1.7831        .98832E-03   -1.5685    
  24  Prefactor     .38858E-09    10.467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .17641E-06    13.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0669        .11347        .39519E-01   -.90822    
  27  Prefactor     .82746        .89729E-01    .44070E-01   -.98724    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49279e-06
Minuit parameter uncertainties:
  1  8.43359
  2  4.15966
  3  0.00084242
  4  1.92315e-06
  5  9.40486
  6  32.8694
  7  1.27939e-06
  8  9.97738e-07
  9  0.000642644
  10  0.000299289
  11  1.62113
  12  12.1392
  13  2.77512e-06
  14  2.30658e-06
  15  12.3242
  16  0.00217339
  17  0.00145667
  18  0.000200557
  19  18.9602
  20  21.356
  21  9.47526
  22  74.9946
  23  1.78307
  24  0.000128166
  25  0.00313512
  26  0.113497
  27  0.0897449
Done.

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

Extracting fit parameters...

4FGL J1358.1+7642
   Spectrum: PowerLaw
386    Prefactor:  5.168e+00  1.232e+01  0.000e+00  1.000e+06 ( 1.000e-13)
387        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  9.780e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  8.275e-01  8.974e-02  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.067e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 209.528 76.706
Photon Flux Upper Limit: 5.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/65266/likelihoodResults_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.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) = 12559.9540638
delta logL = 0.282138243065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12559.9251485
delta logL = 0.311053580524

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1918       1.0000          .0000       .10000E+07
     2 'Index     '    3.4679       1.0000          .0000       10.000    
     3 'Normalizat'    1.0464       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12559.93     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      291 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1828        146.35        .18286E-04    .54587E-03
   2  Index         3.4700        6.3563        .75019E-02    .36798E-04
   3  Normalizat    1.0464        .11929        .23992E-03   -.24659E-03
   4  Prefactor     .83671        .95921E-01    .21227E-03   -.88155E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.18278
  Index      = 3.46997
  Normalizat = 1.04639
  Prefactor  = 0.836706
 **********
 **   18 **HESSE 
 **********

 FCN=   12559.93     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1828        6.8868        .73143E-06   -1.5678    
   2  Index         3.4700        1.6320        .30008E-03   -.31100    
   3  Normalizat    1.0464        .12772        .95968E-05   -.91492    
   4  Prefactor     .83671        .10034        .84909E-05   -.98389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.51906e-11
Minuit parameter uncertainties:
  1  6.88682
  2  1.6658
  3  0.127756
  4  0.100358
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/65266': 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) = 12559.9251474
delta logL = 0.311054630778

Extracting fit parameters...

4FGL J1358.1+7642
   Spectrum: PowerLaw
386    Prefactor:  2.183e+00  6.887e+00  0.000e+00  1.000e+06 ( 1.000e-13)
387        Index:  3.470e+00  1.666e+00  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  9.780e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  8.367e-01  1.004e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.046e+00  1.278e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
Ra Dec: 209.528 76.706

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/65266/cmap_HighResolution_700704001_700963201_4FGL_J1358.1+7642_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.09e-03', job_status='DONE', photon_flux_upper_limit='5.30e-08', time_completed='2023-03-20 01:25:30.164816', job_id='65266', GAL2='0.84', fit_tolerance='1e-08', EG2='1.05', EG='1.07', time_epoch_completed='1679300730.16', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.11e-01', ts2='0.85', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1780' AND source_name='4FGL J1358.1+7642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:25:30 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0063>
Subject: Job 65266: <4FGL_J1358.1+7642_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1358.1+7642_daily_bin1780> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Mar 20 01:00:27 2023
Job was executed on host(s) <bullet0063>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:00:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:00:28 2023
Terminated at Mon Mar 20 01:25:30 2023
Results reported at Mon Mar 20 01:25:30 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1358.1+7642_daily_bin1780 209.528 76.7064 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1358.1+7642 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1257.74 sec.
    Max Memory :                                 1269 MB
    Average Memory :                             313.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1502 sec.
    Turnaround time :                            1503 sec.

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

