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 53 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1351.3+1115_weekly_bin729
RA = 207.843, Dec = 11.2502
tmin = 679881601, tmax = 680486401
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='200820', job_status='RUN', time_executed='2022-07-26 02:47:20.671801', time_epoch_executed='1658828840.67' WHERE source_name='4FGL J1351.3+1115' and cadence='weekly' and bin_id='729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200820

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200820/ft1_4FGL_J1351.3+1115_weekly_bin729.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200820/ft2_4FGL_J1351.3+1115_weekly_bin729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200820/ft1_4FGL_J1351.3+1115_weekly_bin729.fits outfile=/scratch/kocevski/200820/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin729.fits ra=207.843 dec=11.2502 rad=12.0 tmin=679881601.0 tmax=680486401.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 8.37
user 8.02
sys 0.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200820/ft2_4FGL_J1351.3+1115_weekly_bin729.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/200820/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin729.fits evtable="EVENTS" outfile="/scratch/kocevski/200820/ft1_filtered_4FGL_J1351.3+1115_weekly_bin729.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.57
user 0.40
sys 0.16

Number of photons that the gtmktime cut: 1516

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200820/ft1_filtered_4FGL_J1351.3+1115_weekly_bin729.fits" evtable="EVENTS" scfile=/scratch/kocevski/200820/ft2_4FGL_J1351.3+1115_weekly_bin729.fits sctable="SC_DATA" outfile=/scratch/kocevski/200820/ltcube_679881601_680486401_4FGL_J1351.3+1115_weekly_bin729.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/200820/ft2_4FGL_J1351.3+1115_weekly_bin729.fits
.....................!
real 34.44
user 33.82
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200820/ft1_filtered_4FGL_J1351.3+1115_weekly_bin729.fits evtable="EVENTS" scfile=/scratch/kocevski/200820/ft2_4FGL_J1351.3+1115_weekly_bin729.fits sctable="SC_DATA" expcube=/scratch/kocevski/200820/ltcube_679881601_680486401_4FGL_J1351.3+1115_weekly_bin729.fits outfile=/scratch/kocevski/200820/expmap_679881601_680486401_4FGL_J1351.3+1115_weekly_bin729.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/200820/ltcube_679881601_680486401_4FGL_J1351.3+1115_weekly_bin729.fits
.....................!
real 192.62
user 186.42
sys 5.45

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/200820/ft1_filtered_4FGL_J1351.3+1115_weekly_bin729.fits scfile=/scratch/kocevski/200820/ft2_4FGL_J1351.3+1115_weekly_bin729.fits outfile=/scratch/kocevski/200820/cmap_679881601_680486401_4FGL_J1351.3+1115_weekly_bin729.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.60
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200820/ft1_filtered_4FGL_J1351.3+1115_weekly_bin729.fits scfile=/scratch/kocevski/200820/ft2_4FGL_J1351.3+1115_weekly_bin729.fits outfile=/scratch/kocevski/200820/cmap_HighResolution_679881601_680486401_4FGL_J1351.3+1115_weekly_bin729.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.60
user 0.42
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/200820/ft1_filtered_4FGL_J1351.3+1115_weekly_bin729.fits', '/scratch/kocevski/200820/ft2_4FGL_J1351.3+1115_weekly_bin729.fits', expMap='/scratch/kocevski/200820/expmap_679881601_680486401_4FGL_J1351.3+1115_weekly_bin729.fits', expCube='/scratch/kocevski/200820/ltcube_679881601_680486401_4FGL_J1351.3+1115_weekly_bin729.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/200820/Model_4FGL_J1351.3+1115_weekly_bin729.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  1.000e-04  1.000e+04 ( 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/200820/ft1_filtered_4FGL_J1351.3+1115_weekly_bin729.fits
Spacecraft file(s): /scratch/kocevski/200820/ft2_4FGL_J1351.3+1115_weekly_bin729.fits
Exposure map: /scratch/kocevski/200820/expmap_679881601_680486401_4FGL_J1351.3+1115_weekly_bin729.fits
Exposure cube: /scratch/kocevski/200820/ltcube_679881601_680486401_4FGL_J1351.3+1115_weekly_bin729.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/200820/Model_4FGL_J1351.3+1115_weekly_bin729.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) = 16518.0668824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1474       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.2029       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6475       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10178E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17002E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12446E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    206.39       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5866       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0855       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99312       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.

 FCN=   16517.14     FROM MIGRAD    STATUS=CONVERGED    356 CALLS     1432 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1470        4.0120        .77770E-06   -.11999E-04
   2  Prefactor     2.1444        24.427        .25508E-05   -.11371E-03
   3  Prefactor     .10000E-03    6.9469        .67513E-07** at limit **
   4  Prefactor     .10000E-03    .53719        .68260E-07** at limit **
   5  Prefactor     .10001E-03    6.4158        .43048E-05** at limit **
   6  Prefactor     1.6476        1.4284        .28646E-07   -.68160E-04
   7  Prefactor     .10000E-03    3.3318        .96007E-07** at limit **
   8  Prefactor     .10002E-03    14.831       -.10807E-04** at limit **
   9  Prefactor     .10000E-03    3.1538        .34521E-05** at limit **
  10  Prefactor     .10001E-03    6.5551        .46794E-05** at limit **
  11  Prefactor     206.40        27.161        .13220E-06   -.18909E-03
  12  Prefactor     3.5861        6.2930        .18575E-05    .41878E-04
  13  norm          .10000E-03    3.2600        .16116E-07** at limit **
  14  Prefactor     .10000E-03    1.1514        .10587E-07** at limit **
  15  Prefactor     .10000E-03    .78851        .11890E-06** at limit **
  16  Normalizat    1.0854        .11674       -.13384E-05   -.16293E-02
  17  Prefactor     .99322        .90880E-01   -.17275E-07   -.17863E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.14696
  Prefactor  = 2.14437
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 1.64761
  Prefactor  = 0.0001
  Prefactor  = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 206.396
  Prefactor  = 3.58609
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.08543
  Prefactor  = 0.993217
 **********
 **   18 **HESSE 
 **********

 FCN=   16517.14     FROM HESSE     STATUS=OK           229 CALLS     1661 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1470        4.7979        .98961E-03   -1.5301    
   2  Prefactor     2.1444        24.448        .27720E-03   -1.5415    
   3  Prefactor     .10000E-03    6.9503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.6126        .18266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    23.722        .55882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6476        1.4338        .13929E-03   -1.5451    
   7  Prefactor     .10000E-03    3.3645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10002E-03    21.271        .36610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.058        .35940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    23.869        .55098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     206.40        27.178        .28135E-04   -1.2825    
  12  Prefactor     3.5861        8.3430        .10669E-02   -1.5329    
  13  norm          .10000E-03    3.2638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.1608        .13462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .79691        .11147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0854        .14035        .26366E-03   -.90221    
  17  Prefactor     .99322        .11022        .21528E-03   -.92956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01228e-09
Minuit parameter uncertainties:
  1  4.79834
  2  14.4881
  3  3.04996e-06
  4  3.15314e-06
  5  0.000780132
  6  1.43387
  7  2.49466e-05
  8  0.00128243
  9  0.000111448
  10  0.00081462
  11  27.1795
  12  8.34567
  13  1.00748e-05
  14  7.88865e-06
  15  3.79689e-07
  16  0.140398
  17  0.110245
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.648e+00  1.434e+00  1.000e-04  1.000e+04 ( 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:  9.932e-01  1.102e-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.085e+00  1.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.16
Ra Dec: 207.843 11.250
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 8.90e-09 +/- 7.74e-09
Energy Flux (Fixed Index): 8.35e-06 +/- 7.26e-06

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) = 16515.8704222
delta logL = 1.26618669376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16515.8651423
delta logL = 1.27146661119

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6136       1.0000         .10000E-03   10000.    
     2 'Index     '    1.0580       1.0000          .0000       10.000    
     3 'Normalizat'    1.0884       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99404       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.

 FCN=   16515.87     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      209 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6137        69.823        .83342E-02   -.54185E-03
   2  Index         1.0580        5.8976        .39463       -.60025E-04
   3  Normalizat    1.0884        .93002E-01    .59541E-01    .28716E-04
   4  Prefactor     .99404        .57238E-01    .46193E-01    .16820E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.61374
  Index      = 1.05802
  Normalizat = 1.08838
  Prefactor  = 0.994043
 **********
 **   18 **HESSE 
 **********

 FCN=   16515.87     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6137        1.8694        .14390E-03   -1.5454    
   2  Index         1.0580        .54717        .15346E-01   -.90820    
   3  Normalizat    1.0884        .13934        .26332E-03   -.90126    
   4  Prefactor     .99404        .11004        .21520E-03   -.92928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87532e-12
Minuit parameter uncertainties:
  1  1.86945
  2  0.550102
  3  0.139386
  4  0.110063
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200820': 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) = 16515.8651423
delta logL = 1.27146661755

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.614e+00  1.869e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.058e+00  5.501e-01  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:  9.940e-01  1.101e-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.088e+00  1.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.70
Ra Dec: 207.843 11.250
Photon Index (Free Index): 1.06 +/- 0.55
Photon Flux (Free Index): 2.94e-09 +/- 3.45e-09
Energy Flux (Free Index): 3.67e-05 +/- 4.22e-05

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/200820/cmap_HighResolution_679881601_680486401_4FGL_J1351.3+1115_weekly_bin729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.90e-09', energy_flux2='3.67e-05', photon_flux_error='7.74e-09', dlogl='1.27e+00', energy_flux='8.35e-06', photon_flux2='2.94e-09', job_status='DONE', time_completed='2022-07-26 03:00:09.873058', photon_index_error2='0.55', photon_index2='1.06', ts='5.16', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='4.22e-05', EG='1.09', time_epoch_completed='1658829609.87', return_code='0', job_id='200820', GAL2='0.99', EG2='1.09', return_code2='0', energy_flux_error='7.26e-06', photon_flux_error2='3.45e-09', ts2='7.70', photon_index='1.88' WHERE bin_id='729' AND source_name='4FGL J1351.3+1115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 26 03:00:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 200820: <4FGL_J1351.3+1115_weekly_bin729> in cluster <slac> Done

Job <4FGL_J1351.3+1115_weekly_bin729> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jul 26 02:45:29 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:46:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:46:18 2022
Terminated at Tue Jul 26 03:00:10 2022
Results reported at Tue Jul 26 03:00:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_weekly_bin729 207.843 11.2502 679881601 680486401 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 :                                   768.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             319.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            881 sec.

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

