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


Performing analysis on: 4FGL_J2141.7-6410_daily_bin1677
RA = 325.431, Dec = -64.1792
tmin = 674006401, tmax = 674265601
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='170528', job_status='RUN', time_executed='2022-05-15 01:10:48.955515', time_epoch_executed='1652602248.96' WHERE source_name='4FGL J2141.7-6410' and cadence='daily' and bin_id='1677'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170528

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170528/ft1_4FGL_J2141.7-6410_daily_bin1677.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170528/ft2_4FGL_J2141.7-6410_daily_bin1677.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170528/ft1_4FGL_J2141.7-6410_daily_bin1677.fits outfile=/scratch/kocevski/170528/ft1_filteredMKT_4FGL_J2141.7-6410_daily_bin1677.fits ra=325.431 dec=-64.1792 rad=12.0 tmin=674006401.0 tmax=674265601.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.65
user 4.44
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/170528/ft2_4FGL_J2141.7-6410_daily_bin1677.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170528/ft2_4FGL_J2141.7-6410_daily_bin1677.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/170528/ft1_filteredMKT_4FGL_J2141.7-6410_daily_bin1677.fits evtable="EVENTS" outfile="/scratch/kocevski/170528/ft1_filtered_4FGL_J2141.7-6410_daily_bin1677.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.56
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 667

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170528/ft1_filtered_4FGL_J2141.7-6410_daily_bin1677.fits" evtable="EVENTS" scfile=/scratch/kocevski/170528/ft2_4FGL_J2141.7-6410_daily_bin1677.fits sctable="SC_DATA" outfile=/scratch/kocevski/170528/ltcube_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.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/170528/ft2_4FGL_J2141.7-6410_daily_bin1677.fits
.....................!
real 13.63
user 13.22
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170528/ft1_filtered_4FGL_J2141.7-6410_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/170528/ft2_4FGL_J2141.7-6410_daily_bin1677.fits sctable="SC_DATA" expcube=/scratch/kocevski/170528/ltcube_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.fits outfile=/scratch/kocevski/170528/expmap_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.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/170528/ltcube_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.fits
.....................!
real 192.93
user 187.07
sys 5.52

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
Extended source SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Added 176 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2141.7-6410 @ 325.431 -64.1792

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/170528/ft1_filtered_4FGL_J2141.7-6410_daily_bin1677.fits scfile=/scratch/kocevski/170528/ft2_4FGL_J2141.7-6410_daily_bin1677.fits outfile=/scratch/kocevski/170528/cmap_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.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=325.431 yref=-64.1792 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/170528/ft1_filtered_4FGL_J2141.7-6410_daily_bin1677.fits scfile=/scratch/kocevski/170528/ft2_4FGL_J2141.7-6410_daily_bin1677.fits outfile=/scratch/kocevski/170528/cmap_HighResolution_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.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=325.431 yref=-64.1792 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/170528/ft1_filtered_4FGL_J2141.7-6410_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/170528/ft2_4FGL_J2141.7-6410_daily_bin1677.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/170528/Model_4FGL_J2141.7-6410_daily_bin1677.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
adding source SMC-Galaxy
Working on...
/scratch/kocevski/170528/ft1_filtered_4FGL_J2141.7-6410_daily_bin1677.fits.....................!
real 1806.33
user 1801.25
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/170528/ft1_filtered_4FGL_J2141.7-6410_daily_bin1677.fits', '/scratch/kocevski/170528/ft2_4FGL_J2141.7-6410_daily_bin1677.fits', expMap='/scratch/kocevski/170528/expmap_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.fits', expCube='/scratch/kocevski/170528/ltcube_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/170528/Model_4FGL_J2141.7-6410_daily_bin1677.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2141.7-6410'

4FGL J2141.7-6410
   Spectrum: LogParabola
382         norm:  1.176e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
383        alpha:  2.234e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
384         beta:  1.027e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
385           Eb:  6.347e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/170528/ft1_filtered_4FGL_J2141.7-6410_daily_bin1677.fits
Spacecraft file(s): /scratch/kocevski/170528/ft2_4FGL_J2141.7-6410_daily_bin1677.fits
Exposure map: /scratch/kocevski/170528/expmap_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.fits
Exposure cube: /scratch/kocevski/170528/ltcube_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/170528/Model_4FGL_J2141.7-6410_daily_bin1677.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) = 7155.37094051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.703       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.6575       1.0000         .10000E-03   10000.    
     4 'Prefactor '    87.338       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16345E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.9126       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .85256       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    246.43       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.1439       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7155.370     FROM MIGRAD    STATUS=CONVERGED    252 CALLS     1203 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.704        15.124       -.53453E-05   -.22073E-04
   2  Prefactor     .10000E-03    1.1308       -.85930E-07** at limit **
   3  norm          1.6567        2.4030       -.22602E-06   -.76937E-03
   4  Prefactor     87.338        65.571        .15794E-05   -.10248E-04
   5  Prefactor     .10000E-03    192.00       -.46436E-05** at limit **
   6  Prefactor     6.9006        27.014        .14994E-04   -.20225E-04
   7  norm          .10000E-03    5.6108        .40953E-08** at limit **
   8  norm          .10000E-03    .26893        .43681E-08** at limit **
   9  norm          .85268        1.5226       -.37298E-06   -.13977E-02
  10  Prefactor     .10000E-03    2.4207       -.42966E-07** at limit **
  11  Prefactor     246.44        324.16        .43493E-05    .10158E-07
  12  Prefactor     .10000E-03    4.0687        .51476E-08** at limit **
  13  Normalizat    1.1439        .19957       -.71627E-06    .44723E-04
  14  Prefactor     1.1071        .13123        .44744E-06   -.25716E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7041
  Prefactor  = 0.0001
  norm       = 1.65669
  Prefactor  = 87.3384
  Prefactor  = 0.0001
  Prefactor  = 6.90056
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.852678
  Prefactor  = 0.0001
  Prefactor  = 246.441
  Prefactor  = 0.0001
  Normalizat = 1.14393
  Prefactor  = 1.1071
 **********
 **   18 **HESSE 
 **********

 FCN=   7155.370     FROM HESSE     STATUS=OK           164 CALLS     1367 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.704        15.129        .11710E-03   -1.5024    
   2  Prefactor     .10000E-03    1.8083        .17507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6567        2.4019        .15339E-03   -1.5451    
   4  Prefactor     87.338        65.444        .42990E-04   -1.3836    
   5  Prefactor     .10000E-03    193.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9006        26.507        .15259E-03   -1.5183    
   7  norm          .10000E-03    5.6214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .28203        .85582E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .85268        1.5337        .13594E-03   -1.5523    
  10  Prefactor     .10000E-03    2.4570        .12850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     246.44        324.07        .12900E-03   -1.2555    
  12  Prefactor     .10000E-03    4.0853        .16662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.1439        .23492        .29599E-03   -.88353    
  14  Prefactor     1.1071        .15504        .19523E-03   -.89240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89817e-10
Minuit parameter uncertainties:
  1  15.1344
  2  1.14625e-05
  3  2.402
  4  65.4981
  5  6.94355e-05
  6  26.5525
  7  1.28267e-06
  8  2.14539e-07
  9  1.5338
  10  6.70638e-06
  11  326.473
  12  7.85302e-07
  13  0.235141
  14  0.155099
Done.

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

Extracting fit parameters...

4FGL J2141.7-6410
   Spectrum: LogParabola
382         norm:  1.000e-04  2.145e-07  1.000e-04  1.000e+04 ( 1.000e-11)
383        alpha:  2.234e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
384         beta:  1.027e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
385           Eb:  6.347e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.107e+00  1.551e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.144e+00  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 325.431 -64.179
Photon Flux Upper Limit: 5.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/170528/likelihoodResults_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.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): 102
logL (Free Index) = 7155.36965966
delta logL = -9.12215164135e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7155.36956947
delta logL = -1.03324691736e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2155       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7155.370     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      209 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.0386        .90712E-02** at limit **
   2  alpha         1.9834        3.9356        .41493       -.58688E-07
   3  Normalizat    1.1439        .23930E-01    .66906E-01    .15330E-04
   4  Prefactor     1.1071        .15628E-01    .37318E-01    .45537E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.98338
  Normalizat = 1.14393
  Prefactor  = 1.1071
 **********
 **   18 **HESSE 
 **********

 FCN=   7155.370     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .29819        .88089E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9834        3.7860        .16597       -.20815    
   3  Normalizat    1.1439        .23357        .29599E-03   -.88353    
   4  Prefactor     1.1071        .15279        .19523E-03   -.89240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03726e-11
Minuit parameter uncertainties:
  1  6.43941e-07
  2  58.6057
  3  0.233785
  4  0.152853
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170528': 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) = 7155.36955996
delta logL = 8.48244144436e-06

Extracting fit parameters...

4FGL J2141.7-6410
   Spectrum: LogParabola
382         norm:  1.000e-04  6.439e-07  1.000e-04  1.000e+04 ( 1.000e-11)
383        alpha:  1.983e+00  5.861e+01  0.000e+00  5.000e+00 ( 1.000e+00)
384         beta:  1.027e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
385           Eb:  6.347e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.107e+00  1.529e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.144e+00  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 325.431 -64.179

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/170528/cmap_HighResolution_674006401_674265601_4FGL_J2141.7-6410_daily_bin1677.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-05', job_status='DONE', photon_flux_upper_limit='5.24e-08', time_completed='2022-05-15 01:49:07.878846', job_id='170528', GAL2='1.11', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1652604547.88', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='8.48e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1677' AND source_name='4FGL J2141.7-6410' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 15 01:49:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0157>
Subject: Job 170528: <4FGL_J2141.7-6410_daily_bin1677> in cluster <slac> Done

Job <4FGL_J2141.7-6410_daily_bin1677> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun May 15 01:05:27 2022
Job was executed on host(s) <bullet0157>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun May 15 01:09:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun May 15 01:09:22 2022
Terminated at Sun May 15 01:49:08 2022
Results reported at Sun May 15 01:49:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2141.7-6410_daily_bin1677 325.431 -64.1792 674006401 674265601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2141.7-6410 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2298.75 sec.
    Max Memory :                                 632 MB
    Average Memory :                             526.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2933 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   2386 sec.
    Turnaround time :                            2621 sec.

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

