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

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

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

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

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

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


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

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='66521', job_status='RUN', time_executed='2023-03-20 01:08:09.632281', time_epoch_executed='1679299689.63' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/66521

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/66521/ft1_4FGL_J1357.1+1921_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/66521/ft2_4FGL_J1357.1+1921_daily_bin1780.fits


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

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

Done.
real 4.06
user 3.84
sys 0.20

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

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

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

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

Number of photons that the gtmktime cut: 546

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

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

Working on file /scratch/kocevski/66521/ft2_4FGL_J1357.1+1921_daily_bin1780.fits
.....................!
real 11.97
user 11.63
sys 0.32

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/66521/ltcube_700704001_700963201_4FGL_J1357.1+1921_daily_bin1780.fits
.....................!
real 192.09
user 185.67
sys 6.09

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/66521/ft1_filtered_4FGL_J1357.1+1921_daily_bin1780.fits scfile=/scratch/kocevski/66521/ft2_4FGL_J1357.1+1921_daily_bin1780.fits outfile=/scratch/kocevski/66521/cmap_700704001_700963201_4FGL_J1357.1+1921_daily_bin1780.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=209.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/66521/ft1_filtered_4FGL_J1357.1+1921_daily_bin1780.fits scfile=/scratch/kocevski/66521/ft2_4FGL_J1357.1+1921_daily_bin1780.fits outfile=/scratch/kocevski/66521/cmap_HighResolution_700704001_700963201_4FGL_J1357.1+1921_daily_bin1780.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=209.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.55
user 0.39
sys 0.16

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

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/66521/ft1_filtered_4FGL_J1357.1+1921_daily_bin1780.fits.....................!
real 48.69
user 47.37
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/66521/ft1_filtered_4FGL_J1357.1+1921_daily_bin1780.fits', '/scratch/kocevski/66521/ft2_4FGL_J1357.1+1921_daily_bin1780.fits', expMap='/scratch/kocevski/66521/expmap_700704001_700963201_4FGL_J1357.1+1921_daily_bin1780.fits', expCube='/scratch/kocevski/66521/ltcube_700704001_700963201_4FGL_J1357.1+1921_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/66521/Model_4FGL_J1357.1+1921_daily_bin1780.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/66521/ft1_filtered_4FGL_J1357.1+1921_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/66521/ft2_4FGL_J1357.1+1921_daily_bin1780.fits
Exposure map: /scratch/kocevski/66521/expmap_700704001_700963201_4FGL_J1357.1+1921_daily_bin1780.fits
Exposure cube: /scratch/kocevski/66521/ltcube_700704001_700963201_4FGL_J1357.1+1921_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/66521/Model_4FGL_J1357.1+1921_daily_bin1780.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40498E-04   1.0000          .0000       .10000E+07
     2 'norm      '    31.933       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38503E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .42966E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .82025E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    16.789       1.0000          .0000       .10000E+07
     7 'Prefactor '    .37982E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5036       1.0000          .0000       .10000E+07
     9 'Prefactor '    .22058E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20643E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8767       1.0000          .0000       .10000E+07
    12 'Prefactor '    66.346       1.0000          .0000       .10000E+07
    13 'Prefactor '    .96913E-04   1.0000          .0000       .10000E+07
    14 'norm      '    3.0897       1.0000          .0000       .10000E+07
    15 'norm      '    3.6939       1.0000          .0000       .10000E+07
    16 'Prefactor '    41.262       1.0000          .0000       .10000E+07
    17 'Normalizat'    .69640       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.4449       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=   6322.339     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1338 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        6.7510        .57990E-06** at limit **
   2  norm          31.928        10.320       -.16014E-06   -.25964E-03
   3  Prefactor     .28549E-06    57.106       -.31291E-05** at limit **
   4  norm          .16653E-09    19.416       -.17652E-05** at limit **
   5  Prefactor     .11130E-06    66.646        .30155E-05** at limit **
   6  Prefactor     17.790        5.3338        .33836E-06    .77473E-02
   7  Prefactor     .99920E-09    30.507       -.27959E-05** at limit **
   8  Prefactor     3.5111        4.0499        .30054E-06   -.34461E-03
   9  Prefactor      .0000        3.3797       -.73496E-06** at limit **
  10  Prefactor      .0000        6.3450       -.18096E-06** at limit **
  11  Prefactor     2.8429        14.327        .82649E-06    .86746E-04
  12  Prefactor     67.905        11.832        .18890E-06    .91795E-02
  13  Prefactor     .55511E-10    19.925       -.19040E-05** at limit **
  14  norm          3.0943        2.3299       -.30043E-06    .80390E-03
  15  norm          3.6758        3.5331        .86169E-06   -.90658E-03
  16  Prefactor     42.829        22.021        .94745E-06   -.20969E-01
  17  Normalizat    .69371        .24095        .95924E-06   -.58065E-05
  18  Prefactor     1.4450        .21088       -.14762E-05   -.15267E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 31.9275
  Prefactor  = 2.85494e-07
  norm       = 1.66533e-10
  Prefactor  = 1.113e-07
  Prefactor  = 17.79
  Prefactor  = 9.99201e-10
  Prefactor  = 3.51113
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.84288
  Prefactor  = 67.9048
  Prefactor  = 5.55112e-11
  norm       = 3.09425
  norm       = 3.67575
  Prefactor  = 42.8291
  Normalizat = 0.693705
  Prefactor  = 1.44504
 **********
 **   18 **HESSE 
 **********

 FCN=   6322.339     FROM HESSE     STATUS=OK           282 CALLS     1620 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        6.7703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          31.928        10.336        .17699E-03   -1.5595    
   3  Prefactor     .28549E-06    79.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .16653E-09    19.129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11130E-06    69.384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.790        24.979        .24417E-03   -1.5624    
   7  Prefactor     .99920E-09    31.678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5111        4.0449        .53989E-03   -1.5670    
   9  Prefactor      .0000        3.3733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        6.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8429        14.495        .59900E-03   -1.5674    
  12  Prefactor     67.905        41.419        .12278E-03   -1.5543    
  13  Prefactor     .55511E-10    19.760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.0943        2.3330        .57673E-03   -1.5673    
  15  norm          3.6758        3.5653        .52523E-03   -1.5670    
  16  Prefactor     42.829        44.911        .15569E-03   -1.5577    
  17  Normalizat    .69371        .20939        .77731E-01   -1.0414    
  18  Prefactor     1.4450        .17873        .48848E-01   -.79091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02187e-08
Minuit parameter uncertainties:
  1  5.18278e-08
  2  10.3363
  3  0.00950225
  4  0.000115901
  5  0.00555776
  6  24.9794
  7  0.000351942
  8  4.04493
  9  1.40609e-06
  10  2.28403e-06
  11  12.8387
  12  41.419
  13  7.40114e-05
  14  2.333
  15  3.5653
  16  44.9109
  17  0.209627
  18  0.178808
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  2.843e+00  1.284e+01  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:  1.445e+00  1.788e-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:  6.937e-01  2.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 209.290 19.361
Photon Flux Upper Limit: 1.31e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/66521/likelihoodResults_700704001_700963201_4FGL_J1357.1+1921_daily_bin1780.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6322.11019723
delta logL = 0.228974020058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6322.10835837
delta logL = 0.230812878754

Fit tolerance = 1e-08

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

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

 FCN=   6322.108     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      275 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6770        38.278        .32118E-03    .14883E-02
   2  Index         2.0844        1.3476        .25327       -.13021E-03
   3  Normalizat    .70431        .20083        .77183E-01   -.33815E-03
   4  Prefactor     1.4268        .18524        .49094E-01   -.12004E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.67697
  Index      = 2.08437
  Normalizat = 0.704315
  Prefactor  = 1.4268
 **********
 **   18 **HESSE 
 **********

 FCN=   6322.108     FROM HESSE     STATUS=OK            31 CALLS      306 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6770        15.384        .12847E-04   -1.5646    
   2  Index         2.0844        .71299        .10472E-01   -.62257    
   3  Normalizat    .70431        .23332        .34171E-03   -1.0372    
   4  Prefactor     1.4268        .20635        .21702E-03   -.79611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06253e-09
Minuit parameter uncertainties:
  1  15.3838
  2  0.716708
  3  0.23365
  4  0.206467
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/66521': 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) = 6322.10835392
delta logL = 0.230817335376

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  9.677e+00  1.538e+01  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.084e+00  7.167e-01  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:  1.427e+00  2.065e-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:  7.043e-01  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/66521/cmap_HighResolution_700704001_700963201_4FGL_J1357.1+1921_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2023-03-20 01:16:16.474951', job_id='66521', GAL2='1.43', fit_tolerance='1e-08', EG2='0.70', EG='0.69', time_epoch_completed='1679300176.48', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.45', dlogl='2.31e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1780' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:16:16 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 66521: <4FGL_J1357.1+1921_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:05:13 2023
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:05:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:05:15 2023
Terminated at Mon Mar 20 01:16:17 2023
Results reported at Mon Mar 20 01:16:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin1780 209.29 19.3608 700704001 700963201 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 :                                   489.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            664 sec.

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

