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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1671
RA = 315.366, Dec = -29.5926
tmin = 672451201, tmax = 672710401
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='43612', job_status='RUN', time_executed='2022-04-27 01:07:51.359694', time_epoch_executed='1651046871.36' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43612

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43612/ft1_4FGL_J2101.4-2935_daily_bin1671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43612/ft2_4FGL_J2101.4-2935_daily_bin1671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43612/ft1_4FGL_J2101.4-2935_daily_bin1671.fits outfile=/scratch/kocevski/43612/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1671.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=672451201.0 tmax=672710401.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.01
user 2.74
sys 0.22

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

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

Number of photons that the gtmktime cut: 1265

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43612/ft1_filtered_4FGL_J2101.4-2935_daily_bin1671.fits" evtable="EVENTS" scfile=/scratch/kocevski/43612/ft2_4FGL_J2101.4-2935_daily_bin1671.fits sctable="SC_DATA" outfile=/scratch/kocevski/43612/ltcube_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.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/43612/ft2_4FGL_J2101.4-2935_daily_bin1671.fits
.....................!
real 14.80
user 14.39
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43612/ft1_filtered_4FGL_J2101.4-2935_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43612/ft2_4FGL_J2101.4-2935_daily_bin1671.fits sctable="SC_DATA" expcube=/scratch/kocevski/43612/ltcube_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.fits outfile=/scratch/kocevski/43612/expmap_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.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/43612/ltcube_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.fits
.....................!
real 190.65
user 185.71
sys 4.42

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/43612/ft1_filtered_4FGL_J2101.4-2935_daily_bin1671.fits scfile=/scratch/kocevski/43612/ft2_4FGL_J2101.4-2935_daily_bin1671.fits outfile=/scratch/kocevski/43612/cmap_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43612/ft1_filtered_4FGL_J2101.4-2935_daily_bin1671.fits scfile=/scratch/kocevski/43612/ft2_4FGL_J2101.4-2935_daily_bin1671.fits outfile=/scratch/kocevski/43612/cmap_HighResolution_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/43612/ft1_filtered_4FGL_J2101.4-2935_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43612/ft2_4FGL_J2101.4-2935_daily_bin1671.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/43612/Model_4FGL_J2101.4-2935_daily_bin1671.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/43612/ft1_filtered_4FGL_J2101.4-2935_daily_bin1671.fits.....................!
real 100.78
user 98.31
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/43612/ft1_filtered_4FGL_J2101.4-2935_daily_bin1671.fits', '/scratch/kocevski/43612/ft2_4FGL_J2101.4-2935_daily_bin1671.fits', expMap='/scratch/kocevski/43612/expmap_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.fits', expCube='/scratch/kocevski/43612/ltcube_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/43612/Model_4FGL_J2101.4-2935_daily_bin1671.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  1.000e-04  1.000e+04 ( 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/43612/ft1_filtered_4FGL_J2101.4-2935_daily_bin1671.fits
Spacecraft file(s): /scratch/kocevski/43612/ft2_4FGL_J2101.4-2935_daily_bin1671.fits
Exposure map: /scratch/kocevski/43612/expmap_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.fits
Exposure cube: /scratch/kocevski/43612/ltcube_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/43612/Model_4FGL_J2101.4-2935_daily_bin1671.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) = 13269.5213088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7597       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.3200       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6760       1.0000         .10000E-03   10000.    
     5 'norm      '    7.9549       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.9205       1.0000         .10000E-03   10000.    
     7 'Prefactor '    41.134       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4133       1.0000         .10000E-03   10000.    
     9 'norm      '    .10404E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .30072E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.7385       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.400       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.2317       1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2216       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13269.43     FROM MIGRAD    STATUS=CONVERGED    357 CALLS     1540 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7603        6.8640        .11318E-04   -.54742E-03
   2  Prefactor     .10000E-03    11.100       -.15569E-07** at limit **
   3  Prefactor     4.3203        5.0405        .40912E-06    .22765E-03
   4  Prefactor     3.7222        186.46       -.27712E-04   -.42711E-04
   5  norm          7.9570        9.6893        .77924E-06    .17166E-03
   6  Prefactor     3.9193        13.815        .39848E-05   -.32822E-04
   7  Prefactor     41.141        19.042       -.39370E-06    .14400E-04
   8  Prefactor     7.4131        5.3895        .11760E-05    .54130E-04
   9  norm          .10008E-03    1.8116        .64248E-06** at limit **
  10  Prefactor     .10000E-03    2.2659       -.25317E-06** at limit **
  11  Prefactor     5.7381        7.0796        .15436E-05   -.19495E-03
  12  Prefactor     .10000E-03    7.8333       -.73852E-06** at limit **
  13  norm          .10000E-03    1.7615       -.87278E-07** at limit **
  14  Prefactor     12.429        18.620       -.58616E-05   -.49527E-03
  15  Prefactor     5.2129        126.85        .27194E-04    .95103E-04
  16  norm          .10000E-03    1.5545       -.43716E-06** at limit **
  17  Normalizat    1.2216        .16692       -.29177E-06    .35578E-03
  18  Prefactor     .98713        .79600E-01   -.63610E-06    .34933E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7603
  Prefactor  = 0.0001
  Prefactor  = 4.32034
  Prefactor  = 3.72218
  norm       = 7.95698
  Prefactor  = 3.91934
  Prefactor  = 41.141
  Prefactor  = 7.41312
  norm       = 0.000100079
  Prefactor  = 0.0001
  Prefactor  = 5.73805
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.4288
  Prefactor  = 5.21293
  norm       = 0.0001
  Normalizat = 1.22157
  Prefactor  = 0.987133
 **********
 **   18 **HESSE 
 **********

 FCN=   13269.43     FROM HESSE     STATUS=OK           258 CALLS     1798 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7603        6.9296        .15795E-02   -1.5443    
   2  Prefactor     .10000E-03    11.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.3203        5.0318        .19381E-03   -1.5292    
   4  Prefactor     3.7222        182.41        .21066E-03   -1.5322    
   5  norm          7.9570        9.6892        .14216E-03   -1.5144    
   6  Prefactor     3.9193        13.818        .10188E-02   -1.5312    
   7  Prefactor     41.141        19.044        .62501E-04   -1.4424    
   8  Prefactor     7.4131        5.4058        .73652E-03   -1.5163    
   9  norm          .10008E-03    1.7649        .60310E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.5228        .33675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7381        7.1218        .83835E-03   -1.5229    
  12  Prefactor     .10000E-03    8.0610        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.7702        .14929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.429        18.470        .11376E-03   -1.5003    
  15  Prefactor     5.2129        125.75        .17574E-03   -1.5251    
  16  norm          .10000E-03    1.6192        .28047E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2216        .19746        .32557E-03   -.85939    
  18  Prefactor     .98713        .94033E-01    .17814E-03   -.93160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40205e-09
Minuit parameter uncertainties:
  1  6.93271
  2  1.41202e-05
  3  5.03234
  4  52.283
  5  9.69106
  6  13.8294
  7  19.0469
  8  5.40613
  9  0.000747901
  10  8.41722e-05
  11  7.12283
  12  0.000108455
  13  6.61571e-06
  14  18.4788
  15  51.3277
  16  2.95517e-05
  17  0.197578
  18  0.0940482
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  3.919e+00  1.383e+01  1.000e-04  1.000e+04 ( 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:  9.871e-01  9.405e-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.222e+00  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/43612/likelihoodResults_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.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) = 13268.9283756
delta logL = 0.504419043102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13268.9191326
delta logL = 0.513661968223

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15451       1.0000         .10000E-03   10000.    
     2 'Index     '    6.9348       1.0000          .0000       10.000    
     3 'Normalizat'    1.1795       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0005       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=   13268.92     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      324 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15467        1.3464        .97680E-02    .60651E-02
   2  Index         6.9350        2.7991        .35390        .11236E-03
   3  Normalizat    1.1794        .25192E-01    .74667E-01    .26246E-04
   4  Prefactor     1.0005        .12605E-01    .45676E-01   -.44333E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.154672
  Index      = 6.935
  Normalizat = 1.1794
  Prefactor  = 1.00052
 **********
 **   18 **HESSE 
 **********

 FCN=   13268.92     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      359 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15467        7.7853        .45357E-03   -1.5629    
   2  Index         6.9350        8.2332        .12752E-01    .39738    
   3  Normalizat    1.1794        .12342        .33045E-03   -.87242    
   4  Prefactor     1.0005        .60974E-01    .17705E-03   -.92712    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.30511e-06
Minuit parameter uncertainties:
  1  2.19429
  2  11.086
  3  0.123454
  4  0.0609782
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43612': 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) = 13268.9191318
delta logL = 0.513662797857

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.547e-01  2.194e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  6.935e+00  1.109e+01  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:  1.001e+00  6.098e-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.179e+00  1.235e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.18
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 6.93 +/- 11.09
Photon Flux (Free Index): 4.40e-08 +/- 4.54e-08
Energy Flux (Free Index): 5.27e-06 +/- 6.61e-06

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/43612/cmap_HighResolution_672451201_672710401_4FGL_J2101.4-2935_daily_bin1671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.58e-03', comment='SUCCESS', energy_flux2='5.27e-06', dlogl='5.14e-01', photon_flux2='4.40e-08', job_status='DONE', time_completed='2022-04-27 01:21:01.157502', photon_index_error2='11.09', photon_index2='6.93', ts='0.09', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='9.57e-08', energy_flux_error2='6.61e-06', EG='1.22', time_epoch_completed='1651047661.16', return_code='0', job_id='43612', GAL2='1.00', EG2='1.18', return_code2='102', photon_flux_error2='4.54e-08', ts2='1.18', photon_index='2.81' WHERE bin_id='1671' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr 27 01:21:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 43612: <4FGL_J2101.4-2935_daily_bin1671> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1671> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr 27 01:05:24 2022
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr 27 01:05:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr 27 01:05:25 2022
Terminated at Wed Apr 27 01:21:01 2022
Results reported at Wed Apr 27 01:21:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1671 315.366 -29.5926 672451201 672710401 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 :                                   789.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            937 sec.

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

