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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1727
RA = 207.843, Dec = 11.2502
tmin = 686966401, tmax = 687225601
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='207456', job_status='RUN', time_executed='2022-10-12 00:15:58.266486', time_epoch_executed='1665558958.27' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/207456

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/207456/ft1_4FGL_J1351.3+1115_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/207456/ft2_4FGL_J1351.3+1115_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/207456/ft1_4FGL_J1351.3+1115_daily_bin1727.fits outfile=/scratch/kocevski/207456/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1727.fits ra=207.843 dec=11.2502 rad=12.0 tmin=686966401.0 tmax=687225601.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.75
user 2.69
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/207456/ft2_4FGL_J1351.3+1115_daily_bin1727.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/207456/ft2_4FGL_J1351.3+1115_daily_bin1727.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/207456/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1727.fits evtable="EVENTS" outfile="/scratch/kocevski/207456/ft1_filtered_4FGL_J1351.3+1115_daily_bin1727.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 477

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/207456/ft1_filtered_4FGL_J1351.3+1115_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/207456/ft2_4FGL_J1351.3+1115_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/207456/ltcube_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.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/207456/ft2_4FGL_J1351.3+1115_daily_bin1727.fits
.....................!
real 12.63
user 12.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/207456/ft1_filtered_4FGL_J1351.3+1115_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/207456/ft2_4FGL_J1351.3+1115_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/207456/ltcube_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.fits outfile=/scratch/kocevski/207456/expmap_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.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/207456/ltcube_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.fits
.....................!
real 194.52
user 188.80
sys 5.40

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

Setting source of interest to:
4FGL J1351.3+1115 @ 207.843 11.2502

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/207456/ft1_filtered_4FGL_J1351.3+1115_daily_bin1727.fits scfile=/scratch/kocevski/207456/ft2_4FGL_J1351.3+1115_daily_bin1727.fits outfile=/scratch/kocevski/207456/cmap_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.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=207.843 yref=11.2502 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/207456/ft1_filtered_4FGL_J1351.3+1115_daily_bin1727.fits scfile=/scratch/kocevski/207456/ft2_4FGL_J1351.3+1115_daily_bin1727.fits outfile=/scratch/kocevski/207456/cmap_HighResolution_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.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=207.843 yref=11.2502 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/207456/ft1_filtered_4FGL_J1351.3+1115_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/207456/ft2_4FGL_J1351.3+1115_daily_bin1727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/207456/Model_4FGL_J1351.3+1115_daily_bin1727.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/207456/ft1_filtered_4FGL_J1351.3+1115_daily_bin1727.fits.....................!
real 46.73
user 45.37
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/207456/ft1_filtered_4FGL_J1351.3+1115_daily_bin1727.fits', '/scratch/kocevski/207456/ft2_4FGL_J1351.3+1115_daily_bin1727.fits', expMap='/scratch/kocevski/207456/expmap_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.fits', expCube='/scratch/kocevski/207456/ltcube_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/207456/Model_4FGL_J1351.3+1115_daily_bin1727.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1351.3+1115'

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.085e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/207456/ft1_filtered_4FGL_J1351.3+1115_daily_bin1727.fits
Spacecraft file(s): /scratch/kocevski/207456/ft2_4FGL_J1351.3+1115_daily_bin1727.fits
Exposure map: /scratch/kocevski/207456/expmap_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.fits
Exposure cube: /scratch/kocevski/207456/ltcube_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/207456/Model_4FGL_J1351.3+1115_daily_bin1727.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) = 5623.8574599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11990E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .44009E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.5081       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.5165       1.0000          .0000       .10000E+07
     5 'Prefactor '    .97097E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .52666       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.840       1.0000          .0000       .10000E+07
     8 'Prefactor '    .47673E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19470E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20200E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .92925E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .10389E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.733       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2007       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1780       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5623.819     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1086 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46074E-08    6.4540       -.13514E-05** at limit **
   2  Prefactor     .93814E-08    23.077        .12582E-04** at limit **
   3  Prefactor     10.253        77.603       -.14697E-04    .84872E-03
   4  Prefactor     4.5026        5.5249       -.13682E-07   -.98506E-02
   5  Prefactor     .55511E-10    18.998       -.10811E-05** at limit **
   6  Prefactor     .50773        12.594        .14925E-05   -.24584E-02
   7  Prefactor     14.860        15.991       -.94875E-06    .18374E-02
   8  Prefactor     .56699E-06    616.74       -.10117E-03** at limit **
   9  Prefactor     .55511E-10    11.843       -.72660E-06** at limit **
  10  Prefactor     .21594E-07    21.056       -.77810E-05** at limit **
  11  Prefactor     .66930E-06    15.168        .20778E-05** at limit **
  12  norm          .64421E-06    16.001        .11138E-06** at limit **
  13  Prefactor     10.745        9.0810        .44512E-06    .61645E-02
  14  Normalizat    1.2008        .28510        .36552E-04   -.57526E-05
  15  Prefactor     1.1774        .21707       -.18338E-04   -.21485E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.60743e-09
  Prefactor  = 9.38138e-09
  Prefactor  = 10.2533
  Prefactor  = 4.50255
  Prefactor  = 5.55112e-11
  Prefactor  = 0.507729
  Prefactor  = 14.8597
  Prefactor  = 5.66991e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 2.15938e-08
  Prefactor  = 6.69298e-07
  norm       = 6.44207e-07
  Prefactor  = 10.7448
  Normalizat = 1.20077
  Prefactor  = 1.17742
 **********
 **   18 **HESSE 
 **********

 FCN=   5623.819     FROM HESSE     STATUS=OK           218 CALLS     1304 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46074E-08    6.4365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .93814E-08    23.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.253        79.118        .34343E-03   -1.5644    
   4  Prefactor     4.5026        5.5359        .47349E-03   -1.5666    
   5  Prefactor     .55511E-10    19.040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .50773        12.337        .76071E-03   -1.5694    
   7  Prefactor     14.860        16.023        .25974E-03   -1.5631    
   8  Prefactor     .56699E-06    26.119        .59878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    11.808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .21594E-07    21.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .66930E-06    30.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .64421E-06    30.833        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.745        9.1046        .30558E-03   -1.5642    
  14  Normalizat    1.2008        .23932        .67267E-01   -.86579    
  15  Prefactor     1.1774        .17681        .51174E-01   -.87029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19954e-06
Minuit parameter uncertainties:
  1  0.000345416
  2  0.000937949
  3  56.965
  4  5.53588
  5  6.28412e-05
  6  5.00559
  7  16.0232
  8  0.00769662
  9  5.64544e-05
  10  0.00135501
  11  0.00901288
  12  0.00891377
  13  9.10456
  14  0.239534
  15  0.176902
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  5.077e-01  5.006e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.177e+00  1.769e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.201e+00  2.395e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 207.843 11.250
Photon Flux Upper Limit: 7.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/207456/likelihoodResults_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.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) = 5623.7249896
delta logL = 0.0936264422444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5623.71553401
delta logL = 0.103082024445

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84699       1.0000          .0000       .10000E+07
     2 'Index     '    2.4732       1.0000          .0000       10.000    
     3 'Normalizat'    1.1937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1750       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5623.716     FROM MIGRAD    STATUS=FAILED        91 CALLS      271 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .84691        3.8791        .15474E-04   -.13599E-02
   2  Index         2.4736        1.4787        .95247E-02    .39718E-03
   3  Normalizat    1.1937        .28300        .29828E-03   -.11804E-03
   4  Prefactor     1.1750        .21430        .22638E-03   -.16987E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5623.716     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      347 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .84691        3.8791        .14179E-04   -1.5690    
   2  Index         2.4736        1.4787        .99671E-03   -.52971    
   3  Normalizat    1.1937        .28300        .31521E-03   -.86797    
   4  Prefactor     1.1750        .21430        .18063E-03   -.87104    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5623.716     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      375 TOTAL
                     EDM=   .30E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .84691        2.8932        .61895E-06    .62000E-04
   2  Index         2.4736        1.1899        .19049E-02   -.13965E-05
   3  Normalizat    1.1937        .28313        .11931E-04    .19057E-06
   4  Prefactor     1.1750        .21427        .45276E-04    .20088E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.846915
  Index      = 2.47358
  Normalizat = 1.19374
  Prefactor  = 1.17499
 **********
 **   18 **HESSE 
 **********

 FCN=   5623.716     FROM HESSE     STATUS=OK            23 CALLS      398 TOTAL
                     EDM=   .47E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .84691        2.8008        .37407E-06   -1.5690    
   2  Index         2.4736        1.1527        .76198E-04   -.52971    
   3  Normalizat    1.1937        .28306        .23863E-05   -.86796    
   4  Prefactor     1.1750        .21422        .90552E-05   -.87104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.72555e-13
Minuit parameter uncertainties:
  1  2.80079
  2  1.16682
  3  0.283419
  4  0.214376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/207456': 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) = 5623.71553385
delta logL = 0.103082191255

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  8.469e-01  2.801e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.474e+00  1.167e+00  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.175e+00  2.144e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.194e+00  2.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 207.843 11.250

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/207456/cmap_HighResolution_686966401_687225601_4FGL_J1351.3+1115_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.89e-03', job_status='DONE', photon_flux_upper_limit='7.94e-08', time_completed='2022-10-12 00:23:27.055093', job_id='207456', GAL2='1.17', fit_tolerance='1e-08', EG2='1.19', EG='1.20', time_epoch_completed='1665559407.06', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='1.03e-01', ts2='0.23', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1727' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:23:27 PDT 2022

'SUCCESS', return_code='0', GAL='1.18', dlogl='1.03e-01', ts2='0.23', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1727' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:20:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0145>
Subject: Job 206763: <4FGL_J1351.3+1115_daily_bin1727> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:07:39 2022
Job was executed on host(s) <bullet0145>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:08:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:08:22 2022
Terminated at Wed Oct 12 00:20:30 2022
Results reported at Wed Oct 12 00:20:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1727 207.843 11.2502 686966401 687225601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1351.3+1115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   449.35 sec.
    Max Memory :                                 766 MB
    Average Memory :                             217.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            771 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 207456: <4FGL_J1351.3+1115_daily_bin1727> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1727> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Oct 12 00:08:25 2022
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:13:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:13:10 2022
Terminated at Wed Oct 12 00:23:27 2022
Results reported at Wed Oct 12 00:23:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1727 207.843 11.2502 686966401 687225601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1351.3+1115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   450.57 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             270.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   617 sec.
    Turnaround time :                            902 sec.

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

