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


Performing analysis on: 4FGL_J1357.1+1921_daily_bin1767
RA = 209.29, Dec = 19.3608
tmin = 697334401, tmax = 697593601
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='80330', job_status='RUN', time_executed='2023-02-09 01:21:24.301007', time_epoch_executed='1675934484.3' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/80330

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/80330/ft1_4FGL_J1357.1+1921_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/80330/ft2_4FGL_J1357.1+1921_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/80330/ft1_4FGL_J1357.1+1921_daily_bin1767.fits outfile=/scratch/kocevski/80330/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1767.fits ra=209.29 dec=19.3608 rad=12.0 tmin=697334401.0 tmax=697593601.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.60
user 3.36
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/80330/ft2_4FGL_J1357.1+1921_daily_bin1767.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/80330/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/80330/ft1_filtered_4FGL_J1357.1+1921_daily_bin1767.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 621

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/80330/ft1_filtered_4FGL_J1357.1+1921_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/80330/ft2_4FGL_J1357.1+1921_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/80330/ltcube_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.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/80330/ft2_4FGL_J1357.1+1921_daily_bin1767.fits
.....................!
real 16.29
user 14.88
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/80330/ft1_filtered_4FGL_J1357.1+1921_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/80330/ft2_4FGL_J1357.1+1921_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/80330/ltcube_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.fits outfile=/scratch/kocevski/80330/expmap_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.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/80330/ltcube_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.fits
.....................!
real 193.10
user 186.98
sys 5.34

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/80330/ft1_filtered_4FGL_J1357.1+1921_daily_bin1767.fits scfile=/scratch/kocevski/80330/ft2_4FGL_J1357.1+1921_daily_bin1767.fits outfile=/scratch/kocevski/80330/cmap_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/80330/ft1_filtered_4FGL_J1357.1+1921_daily_bin1767.fits scfile=/scratch/kocevski/80330/ft2_4FGL_J1357.1+1921_daily_bin1767.fits outfile=/scratch/kocevski/80330/cmap_HighResolution_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/80330/ft1_filtered_4FGL_J1357.1+1921_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/80330/ft2_4FGL_J1357.1+1921_daily_bin1767.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/80330/Model_4FGL_J1357.1+1921_daily_bin1767.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/80330/ft1_filtered_4FGL_J1357.1+1921_daily_bin1767.fits.....................!
real 52.89
user 51.50
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/80330/ft1_filtered_4FGL_J1357.1+1921_daily_bin1767.fits', '/scratch/kocevski/80330/ft2_4FGL_J1357.1+1921_daily_bin1767.fits', expMap='/scratch/kocevski/80330/expmap_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.fits', expCube='/scratch/kocevski/80330/ltcube_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/80330/Model_4FGL_J1357.1+1921_daily_bin1767.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/80330/ft1_filtered_4FGL_J1357.1+1921_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/80330/ft2_4FGL_J1357.1+1921_daily_bin1767.fits
Exposure map: /scratch/kocevski/80330/expmap_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.fits
Exposure cube: /scratch/kocevski/80330/ltcube_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/80330/Model_4FGL_J1357.1+1921_daily_bin1767.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) = 6665.22868676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97099E-02   1.0000          .0000       .10000E+07
     2 'norm      '    49.354       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.7510       1.0000          .0000       .10000E+07
     4 'norm      '    .98704E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .56370E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.2985       1.0000          .0000       .10000E+07
     7 'Prefactor '    .52584E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    8.2403       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46009E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    16.303       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.0626       1.0000          .0000       .10000E+07
    12 'Prefactor '    68.812       1.0000          .0000       .10000E+07
    13 'Prefactor '    .71472E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .32602E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .90421E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    18.963       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4620       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .59088       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=   6665.220     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1318 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12212E-08    8.0859        .13656E-06** at limit **
   2  norm          49.322        10.048       -.66405E-08   -.13651    
   3  Prefactor     3.1309        3.6147        .17832E-06    .26322E-02
   4  norm          .66613E-09    4.3951       -.16318E-06** at limit **
   5  Prefactor     .90206E-07    28.048        .91373E-06** at limit **
   6  Prefactor     4.3117        11.478       -.23896E-06   -.82986E-01
   7  Prefactor     .55511E-10    21.716        .16853E-06** at limit **
   8  Prefactor     8.2206        4.5432        .36502E-07    .17594E-02
   9  Prefactor     .55511E-10    1.8676       -.97544E-07** at limit **
  10  Prefactor     16.325        1.0680       -.26345E-09    .49808E-02
  11  Prefactor     4.0480        7.6131        .15831E-07   -.14766E-01
  12  Prefactor     68.597        19.933       -.96065E-07    .16642    
  13  Prefactor     .12212E-08    3.1844        .92988E-07** at limit **
  14  norm          .55511E-10    .56917        .14836E-06** at limit **
  15  norm          .55511E-10    2.8974        .19501E-06** at limit **
  16  Prefactor     18.883        8.2802       -.78837E-07    .38444E-01
  17  Normalizat    1.4623        .20985        .13596E-05    .84761E-04
  18  Prefactor     .59116        .16935       -.70492E-06    .48027E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.22125e-09
  norm       = 49.3218
  Prefactor  = 3.13094
  norm       = 6.66134e-10
  Prefactor  = 9.02056e-08
  Prefactor  = 4.31169
  Prefactor  = 5.55112e-11
  Prefactor  = 8.22058
  Prefactor  = 5.55112e-11
  Prefactor  = 16.325
  Prefactor  = 4.04803
  Prefactor  = 68.5974
  Prefactor  = 1.22125e-09
  norm       = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 18.8831
  Normalizat = 1.46231
  Prefactor  = 0.591161
 **********
 **   18 **HESSE 
 **********

 FCN=   6665.220     FROM HESSE     STATUS=OK           278 CALLS     1596 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12212E-08    8.1112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          49.322        10.230        .14235E-03   -1.5568    
   3  Prefactor     3.1309        44.311        .52107E-03   -1.5673    
   4  norm          .66613E-09    4.4026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .90206E-07    28.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3117        14.733        .48567E-03   -1.5666    
   7  Prefactor     .55511E-10    21.699        .15439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.2206        4.5470        .34901E-03   -1.5651    
   9  Prefactor     .55511E-10    1.8616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.325        11.387        .24778E-03   -1.5627    
  11  Prefactor     4.0480        7.6499        .50000E-03   -1.5668    
  12  Prefactor     68.597        31.069        .12056E-03   -1.5542    
  13  Prefactor     .12212E-08    3.1865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    .56989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    2.8477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.883        30.723        .22972E-03   -1.5621    
  17  Normalizat    1.4623        .17653        .50452E-01   -.78843    
  18  Prefactor     .59116        .14462        .62255E-01   -1.0796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.22057e-07
Minuit parameter uncertainties:
  1  0.000199222
  2  10.2303
  3  23.5575
  4  0.000108106
  5  0.00321708
  6  14.733
  7  8.11458e-05
  8  4.54701
  9  1.89835e-05
  10  11.3874
  11  7.64995
  12  31.069
  13  0.000125081
  14  1.08856e-05
  15  2.26938e-05
  16  30.7236
  17  0.176606
  18  0.144708
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  4.048e+00  7.650e+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:  5.912e-01  1.447e-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.462e+00  1.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 209.290 19.361
Photon Flux Upper Limit: 9.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/80330/likelihoodResults_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.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) = 6665.17972339
delta logL = 0.040220130797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6665.17861864
delta logL = 0.0413248841342

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2810       1.0000          .0000       .10000E+07
     2 'Index     '    2.3449       1.0000          .0000       10.000    
     3 'Normalizat'    1.4681       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58799       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6665.179     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      267 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2812        7.7580        .19468E-04   -.86137E-03
   2  Index         2.3452        1.3116        .13185E-01   -.46419E-04
   3  Normalizat    1.4680        .20539        .22267E-03    .14398E-04
   4  Prefactor     .58800        .16911        .27610E-03    .17788E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.28117
  Index      = 2.34516
  Normalizat = 1.46804
  Prefactor  = 0.588002
 **********
 **   18 **HESSE 
 **********

 FCN=   6665.179     FROM HESSE     STATUS=OK            23 CALLS      290 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2812        7.8142        .77870E-06   -1.5667    
   2  Index         2.3452        1.3212        .52739E-03   -.55974    
   3  Normalizat    1.4680        .20558        .89067E-05   -.78680    
   4  Prefactor     .58800        .16925        .11044E-04   -1.0809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27116e-10
Minuit parameter uncertainties:
  1  7.81425
  2  1.34361
  3  0.205693
  4  0.1694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/80330': 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) = 6665.17861862
delta logL = 0.0413249004605

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  4.281e+00  7.814e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.345e+00  1.344e+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:  5.880e-01  1.694e-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.468e+00  2.057e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
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/80330/cmap_HighResolution_697334401_697593601_4FGL_J1357.1+1921_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.76e-03', job_status='DONE', photon_flux_upper_limit='9.82e-08', time_completed='2023-02-09 01:30:20.048442', job_id='80330', GAL2='0.59', fit_tolerance='1e-08', EG2='1.47', EG='1.46', time_epoch_completed='1675935020.05', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='4.13e-02', ts2='0.48', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1767' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 01:30:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 80330: <4FGL_J1357.1+1921_daily_bin1767> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin1767> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Feb  9 01:20:25 2023
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:20:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:20:38 2023
Terminated at Thu Feb  9 01:30:20 2023
Results reported at Thu Feb  9 01:30:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin1767 209.29 19.3608 697334401 697593601 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 :                                   537.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   582 sec.
    Turnaround time :                            595 sec.

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

