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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1737
RA = 315.366, Dec = -29.5926
tmin = 689558401, tmax = 689817601
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='163040', job_status='RUN', time_executed='2022-11-11 00:58:03.445228', time_epoch_executed='1668157083.45' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163040

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163040/ft1_4FGL_J2101.4-2935_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163040/ft2_4FGL_J2101.4-2935_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163040/ft1_4FGL_J2101.4-2935_daily_bin1737.fits outfile=/scratch/kocevski/163040/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1737.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=689558401.0 tmax=689817601.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.72
user 3.47
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/163040/ft2_4FGL_J2101.4-2935_daily_bin1737.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/163040/ft2_4FGL_J2101.4-2935_daily_bin1737.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/163040/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1737.fits evtable="EVENTS" outfile="/scratch/kocevski/163040/ft1_filtered_4FGL_J2101.4-2935_daily_bin1737.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.36
sys 0.15

Number of photons that the gtmktime cut: 930

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/163040/ft1_filtered_4FGL_J2101.4-2935_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/163040/ft2_4FGL_J2101.4-2935_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/163040/ltcube_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.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/163040/ft2_4FGL_J2101.4-2935_daily_bin1737.fits
.....................!
real 15.43
user 14.99
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163040/ft1_filtered_4FGL_J2101.4-2935_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/163040/ft2_4FGL_J2101.4-2935_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/163040/ltcube_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.fits outfile=/scratch/kocevski/163040/expmap_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.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/163040/ltcube_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.fits
.....................!
real 191.95
user 186.08
sys 5.48

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 J2101.4-2935 @ 315.366 -29.5926

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/163040/ft1_filtered_4FGL_J2101.4-2935_daily_bin1737.fits scfile=/scratch/kocevski/163040/ft2_4FGL_J2101.4-2935_daily_bin1737.fits outfile=/scratch/kocevski/163040/cmap_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.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=315.366 yref=-29.5926 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163040/ft1_filtered_4FGL_J2101.4-2935_daily_bin1737.fits scfile=/scratch/kocevski/163040/ft2_4FGL_J2101.4-2935_daily_bin1737.fits outfile=/scratch/kocevski/163040/cmap_HighResolution_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.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=315.366 yref=-29.5926 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/163040/ft1_filtered_4FGL_J2101.4-2935_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/163040/ft2_4FGL_J2101.4-2935_daily_bin1737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/163040/Model_4FGL_J2101.4-2935_daily_bin1737.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/163040/ft1_filtered_4FGL_J2101.4-2935_daily_bin1737.fits.....................!
real 78.89
user 77.45
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/163040/ft1_filtered_4FGL_J2101.4-2935_daily_bin1737.fits', '/scratch/kocevski/163040/ft2_4FGL_J2101.4-2935_daily_bin1737.fits', expMap='/scratch/kocevski/163040/expmap_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.fits', expCube='/scratch/kocevski/163040/ltcube_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/163040/Model_4FGL_J2101.4-2935_daily_bin1737.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2101.4-2935'

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  4.572e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.807e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  4.062e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/163040/ft1_filtered_4FGL_J2101.4-2935_daily_bin1737.fits
Spacecraft file(s): /scratch/kocevski/163040/ft2_4FGL_J2101.4-2935_daily_bin1737.fits
Exposure map: /scratch/kocevski/163040/expmap_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.fits
Exposure cube: /scratch/kocevski/163040/ltcube_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/163040/Model_4FGL_J2101.4-2935_daily_bin1737.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) = 9906.08492836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8712       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.7065       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25587E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .46761E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12756E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.6221       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1711       1.0000          .0000       .10000E+07
     8 'norm      '    .84932E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.8387       1.0000          .0000       .10000E+07
    10 'Prefactor '    .98890E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16988       1.0000          .0000       .10000E+07
    12 'norm      '    .53291E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    .47198E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    34.037       1.0000          .0000       .10000E+07
    15 'norm      '    1.5130       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0389       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .81774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9905.930     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      982 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6453        7.2829       -.11927E-06   -.13972E-01
   2  Prefactor     8.6402        3.2283       -.44196E-07    .28251E-01
   3  Prefactor      .0000        2.1392        .24403E-06** at limit **
   4  norm          .82934E-07    7.0668       -.14806E-06** at limit **
   5  Prefactor     .25535E-08    4.2412        .65241E-07** at limit **
   6  Prefactor     2.6733        2.6333        .83842E-07    .48818E-02
   7  Prefactor     3.1595        3.1189        .16943E-06    .82421E-03
   8  norm          .11102E-09    2.7196        .16204E-06** at limit **
   9  Prefactor     3.8257        3.6298       -.84217E-07   -.25653E-03
  10  Prefactor     .13178E-06    7.0886       -.43686E-06** at limit **
  11  Prefactor     .45626E-01    160.57        .19600E-05** at limit **
  12  norm           .0000        1.7295        .80279E-07** at limit **
  13  Prefactor     .71609E-08    4.3697        .38737E-06** at limit **
  14  Prefactor     33.648        25.395        .20661E-06    .81656E-01
  15  norm          1.5130        2.1217        .36258E-07    .28488E-03
  16  Normalizat    1.0400        .18918       -.17351E-05    .68911E-04
  17  Prefactor     .81761        .93090E-01    .24978E-05    .12995E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.64526
  Prefactor  = 8.64016
  Prefactor  = 0
  norm       = 8.29337e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 2.67332
  Prefactor  = 3.15948
  norm       = 1.11022e-10
  Prefactor  = 3.82568
  Prefactor  = 1.31783e-07
  Prefactor  = 0.0456259
  norm       = 0
  Prefactor  = 7.16094e-09
  Prefactor  = 33.6479
  norm       = 1.51304
  Normalizat = 1.04001
  Prefactor  = 0.817609
 **********
 **   18 **HESSE 
 **********

 FCN=   9905.930     FROM HESSE     STATUS=OK           261 CALLS     1243 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6453        7.3252        .45552E-03   -1.5665    
   2  Prefactor     8.6402        36.976        .33947E-03   -1.5649    
   3  Prefactor      .0000        2.1353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .82934E-07    7.2631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .25535E-08    4.2491        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.6733        15.813        .62956E-03   -1.5675    
   7  Prefactor     3.1595        3.1285        .56886E-03   -1.5672    
   8  norm          .11102E-09    2.7220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.8257        3.6444        .51486E-03   -1.5669    
  10  Prefactor     .13178E-06    7.3166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .45626E-01    6.8937        .92916E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.7292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .71609E-08    4.3820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.648        31.915        .17143E-03   -1.5592    
  15  norm          1.5130        2.1488        .86899E-03   -1.5683    
  16  Normalizat    1.0400        .15896        .66100E-01   -.91702    
  17  Prefactor     .81761        .77871E-01    .43948E-01   -.99082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75991e-07
Minuit parameter uncertainties:
  1  7.32524
  2  35.7482
  3  9.88032e-06
  4  0.00155238
  5  0.000208311
  6  13.0035
  7  3.12852
  8  3.5063e-05
  9  3.64444
  10  0.00196388
  11  1.12166
  12  4.89063e-06
  13  0.000354528
  14  31.9156
  15  2.14881
  16  0.159037
  17  0.0778811
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  2.554e-09  2.083e-04  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.807e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  4.062e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.176e-01  7.788e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.040e+00  1.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 315.366 -29.593
Photon Flux Upper Limit: 4.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/163040/likelihoodResults_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.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) = 9905.9310521
delta logL = -0.00125659904188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9905.92979672
delta logL = -1.21939046949e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31297E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.5082       1.0000          .0000       10.000    
     3 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81767       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9905.930     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      286 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46629E-08    .47256        .42118E-03** at limit **
   2  Index         2.6672        6.2396        .50000        .24556E-08
   3  Normalizat    1.0400        .12565E-02    .66100E-01    .63651E-03
   4  Prefactor     .81761        .62850E-03    .43947E-01    .15866E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66294e-09
  Index      = 2.66718
  Normalizat = 1.04001
  Prefactor  = 0.817611
 **********
 **   18 **HESSE 
 **********

 FCN=   9905.930     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      315 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46629E-08    2.3708        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6672        5.6317        .50000       -.48540    
   3  Normalizat    1.0400        .28088E-02    .29240E-03   -.91702    
   4  Prefactor     .81761        .14063E-02    .16216E-03   -.99082    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59433e-10
Minuit parameter uncertainties:
  1  0.000210723
  2  15293.6
  3  0.0028088
  4  0.0014063
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163040': 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): 102
logL (Free Index) = 9905.9297955
delta logL = -5.52972778678e-10

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  4.663e-09  2.107e-04  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.667e+00  1.529e+04  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  4.062e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.176e-01  1.406e-03  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.040e+00  2.809e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 315.366 -29.593

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/163040/cmap_HighResolution_689558401_689817601_4FGL_J2101.4-2935_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.76e-03', job_status='DONE', photon_flux_upper_limit='4.74e-08', time_completed='2022-11-11 01:08:14.882881', job_id='163040', GAL2='0.82', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1668157694.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='-5.53e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1737' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 01:08:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 163040: <4FGL_J2101.4-2935_daily_bin1737> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1737> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Nov 11 00:55:35 2022
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 00:57:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 00:57:18 2022
Terminated at Fri Nov 11 01:08:16 2022
Results reported at Fri Nov 11 01:08:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1737 315.366 -29.5926 689558401 689817601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2101.4-2935 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   612.37 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             339.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            761 sec.

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

