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 226 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7706
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1357.1+1921_daily_bin1768
RA = 209.29, Dec = 19.3608
tmin = 697593601, tmax = 697852801
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='272799', job_status='RUN', time_executed='2023-02-12 01:04:34.269679', time_epoch_executed='1676192674.27' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272799

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272799/ft1_4FGL_J1357.1+1921_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272799/ft2_4FGL_J1357.1+1921_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272799/ft1_4FGL_J1357.1+1921_daily_bin1768.fits outfile=/scratch/kocevski/272799/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1768.fits ra=209.29 dec=19.3608 rad=12.0 tmin=697593601.0 tmax=697852801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.75
user 3.48
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/272799/ft2_4FGL_J1357.1+1921_daily_bin1768.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/272799/ft2_4FGL_J1357.1+1921_daily_bin1768.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/272799/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/272799/ft1_filtered_4FGL_J1357.1+1921_daily_bin1768.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 620

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/272799/ft1_filtered_4FGL_J1357.1+1921_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/272799/ft2_4FGL_J1357.1+1921_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/272799/ltcube_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/272799/ft2_4FGL_J1357.1+1921_daily_bin1768.fits
.....................!
real 17.00
user 16.62
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272799/ft1_filtered_4FGL_J1357.1+1921_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/272799/ft2_4FGL_J1357.1+1921_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/272799/ltcube_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.fits outfile=/scratch/kocevski/272799/expmap_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/272799/ltcube_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.fits
.....................!
real 191.99
user 186.23
sys 5.22

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

Setting source of interest to:
4FGL J1357.1+1921 @ 209.29 19.3608

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/272799/ft1_filtered_4FGL_J1357.1+1921_daily_bin1768.fits scfile=/scratch/kocevski/272799/ft2_4FGL_J1357.1+1921_daily_bin1768.fits outfile=/scratch/kocevski/272799/cmap_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=209.29 yref=19.3608 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272799/ft1_filtered_4FGL_J1357.1+1921_daily_bin1768.fits scfile=/scratch/kocevski/272799/ft2_4FGL_J1357.1+1921_daily_bin1768.fits outfile=/scratch/kocevski/272799/cmap_HighResolution_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=209.29 yref=19.3608 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/272799/ft1_filtered_4FGL_J1357.1+1921_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/272799/ft2_4FGL_J1357.1+1921_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/272799/Model_4FGL_J1357.1+1921_daily_bin1768.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/272799/ft1_filtered_4FGL_J1357.1+1921_daily_bin1768.fits....................!
real 53.11
user 51.77
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/272799/ft1_filtered_4FGL_J1357.1+1921_daily_bin1768.fits', '/scratch/kocevski/272799/ft2_4FGL_J1357.1+1921_daily_bin1768.fits', expMap='/scratch/kocevski/272799/expmap_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.fits', expCube='/scratch/kocevski/272799/ltcube_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/272799/Model_4FGL_J1357.1+1921_daily_bin1768.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1357.1+1921'

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  2.782e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/272799/ft1_filtered_4FGL_J1357.1+1921_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/272799/ft2_4FGL_J1357.1+1921_daily_bin1768.fits
Exposure map: /scratch/kocevski/272799/expmap_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.fits
Exposure cube: /scratch/kocevski/272799/ltcube_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/272799/Model_4FGL_J1357.1+1921_daily_bin1768.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.507       1.0000          .0000       .10000E+07
     2 'norm      '    48.109       1.0000          .0000       .10000E+07
     3 'Prefactor '    .44120E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .15061E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49405E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .35634E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    35.741       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11531E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37686       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12752E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.2284       1.0000          .0000       .10000E+07
    12 'Prefactor '    39.717       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10813E-05   1.0000          .0000       .10000E+07
    14 'norm      '    1.5260       1.0000          .0000       .10000E+07
    15 'norm      '    1.1148       1.0000          .0000       .10000E+07
    16 'Prefactor '    .45719E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2354       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92104       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6675.250     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1089 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.342        9.9005       -.29192E-07    .70123E-01
   2  norm          48.143        10.968        .83630E-07   -.20970E-01
   3  Prefactor     .49960E-08    6.2935       -.18589E-06** at limit **
   4  norm          .12768E-08    4.8358       -.14841E-06** at limit **
   5  Prefactor     .41228E-06    5.0299       -.24004E-06** at limit **
   6  Prefactor     .38858E-09    20.336       -.80336E-06** at limit **
   7  Prefactor     38.948        44.882       -.10241E-06   -.15157E-02
   8  Prefactor     .27262E-06    6.2846       -.51378E-07** at limit **
   9  Prefactor     .36969        5.8268       -.10109E-07   -.38269E-04
  10  Prefactor     .27200E-08    24.336       -.45853E-08** at limit **
  11  Prefactor     5.3366        9.6941       -.17769E-06   -.10283E-02
  12  Prefactor     39.607        6.0038        .20536E-07   -.12867    
  13  Prefactor     .22204E-09    1.7596        .94547E-07** at limit **
  14  norm          1.5260        1.3319       -.24448E-07   -.36915E-03
  15  norm          1.1189        2.2985       -.10345E-06   -.12243E-02
  16  Prefactor     .87652E-07    7.8268       -.26170E-06** at limit **
  17  Normalizat    1.2348        .22045       -.47095E-05   -.18077E-04
  18  Prefactor     .92040        .18662        .48493E-05    .42436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 24.3423
  norm       = 48.1433
  Prefactor  = 4.996e-09
  norm       = 1.27676e-09
  Prefactor  = 4.12281e-07
  Prefactor  = 3.88578e-10
  Prefactor  = 38.9484
  Prefactor  = 2.72615e-07
  Prefactor  = 0.369692
  Prefactor  = 2.72005e-09
  Prefactor  = 5.33658
  Prefactor  = 39.6073
  Prefactor  = 2.22045e-10
  norm       = 1.52603
  norm       = 1.11888
  Prefactor  = 8.76521e-08
  Normalizat = 1.23477
  Prefactor  = 0.920402
 **********
 **   18 **HESSE 
 **********

 FCN=   6675.250     FROM HESSE     STATUS=OK           282 CALLS     1371 TOTAL
                     EDM=   .67E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.342        18.229        .20205E-03   -1.5609    
   2  norm          48.143        11.050        .14419E-03   -1.5569    
   3  Prefactor     .49960E-08    10.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .12768E-08    10.088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .41228E-06    6.5013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .38858E-09    19.713        .16167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.948        44.782        .16729E-03   -1.5583    
   8  Prefactor     .27262E-06    7.1985        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .36969        5.6703        .92218E-03   -1.5696    
  10  Prefactor     .27200E-08    24.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3366        9.6985        .43937E-03   -1.5662    
  12  Prefactor     39.607        27.520        .15869E-03   -1.5582    
  13  Prefactor     .22204E-09    1.7607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5260        1.3240        .86410E-03   -1.5683    
  15  norm          1.1189        2.3278        .11154E-02   -1.5687    
  16  Prefactor     .87652E-07    8.3015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2348        .18399        .56110E-01   -.85535    
  18  Prefactor     .92040        .15584        .45273E-01   -.95432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.7026e-06
Minuit parameter uncertainties:
  1  18.2293
  2  11.0498
  3  0.000451007
  4  0.00022568
  5  0.00327447
  6  0.000172212
  7  44.782
  8  0.00280168
  9  2.8957
  10  0.000514041
  11  9.69856
  12  27.5201
  13  4.19122e-05
  14  1.32396
  15  2.32781
  16  0.00170621
  17  0.184082
  18  0.155914
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  5.337e+00  9.699e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.204e-01  1.559e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.235e+00  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.37
Ra Dec: 209.290 19.361
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/272799/likelihoodResults_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6675.21209756
delta logL = 0.0374219231717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6675.20747684
delta logL = 0.0420426422424

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6675.207     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      273 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5066        10.670        .94746E-04   -.15959E-03
   2  Index         3.1842        1.7806        .15228E-01    .22174E-03
   3  Normalizat    1.2262        .21865        .24887E-03   -.30150E-04
   4  Prefactor     .92505        .18483        .24045E-03   -.36880E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.50656
  Index      = 3.18415
  Normalizat = 1.22623
  Prefactor  = 0.925046
 **********
 **   18 **HESSE 
 **********

 FCN=   6675.207     FROM HESSE     STATUS=OK            27 CALLS      300 TOTAL
                     EDM=   .53E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5066        9.3414        .37898E-05   -1.5666    
   2  Index         3.1842        1.5684        .30457E-02   -.37167    
   3  Normalizat    1.2262        .21895        .99547E-05   -.85796    
   4  Prefactor     .92505        .18489        .96178E-05   -.95271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32846e-12
Minuit parameter uncertainties:
  1  9.34145
  2  1.59968
  3  0.219113
  4  0.185015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272799': 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) = 6675.20747528
delta logL = 0.0420441940396

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  4.507e+00  9.341e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  3.184e+00  1.600e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.250e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.226e+00  2.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.37
Ra Dec: 209.290 19.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/272799/cmap_HighResolution_697593601_697852801_4FGL_J1357.1+1921_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.60e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2023-02-12 01:13:15.498099', job_id='272799', GAL2='0.93', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1676193195.5', return_code2='0', ts='0.37', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='4.20e-02', ts2='0.45', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1768' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:13:15 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 272799: <4FGL_J1357.1+1921_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin1768> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Feb 12 01:00:16 2023
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:00:39 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:00:39 2023
Terminated at Sun Feb 12 01:13:16 2023
Results reported at Sun Feb 12 01:13:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin1768 209.29 19.3608 697593601 697852801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1357.1+1921 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   523.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             286.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            780 sec.

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

