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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1720
RA = 315.366, Dec = -29.5926
tmin = 685152001, tmax = 685411201
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='848627', job_status='RUN', time_executed='2022-09-21 00:55:32.608287', time_epoch_executed='1663746932.61' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848627

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848627/ft1_4FGL_J2101.4-2935_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848627/ft2_4FGL_J2101.4-2935_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848627/ft1_4FGL_J2101.4-2935_daily_bin1720.fits outfile=/scratch/kocevski/848627/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1720.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=685152001.0 tmax=685411201.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.77
user 3.50
sys 0.21

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

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

Number of photons that the gtmktime cut: 569

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/848627/ft1_filtered_4FGL_J2101.4-2935_daily_bin1720.fits" evtable="EVENTS" scfile=/scratch/kocevski/848627/ft2_4FGL_J2101.4-2935_daily_bin1720.fits sctable="SC_DATA" outfile=/scratch/kocevski/848627/ltcube_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.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/848627/ft2_4FGL_J2101.4-2935_daily_bin1720.fits
.....................!
real 14.35
user 13.80
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848627/ft1_filtered_4FGL_J2101.4-2935_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/848627/ft2_4FGL_J2101.4-2935_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/848627/ltcube_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.fits outfile=/scratch/kocevski/848627/expmap_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.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/848627/ltcube_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.fits
.....................!
real 192.65
user 186.87
sys 5.06

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/848627/ft1_filtered_4FGL_J2101.4-2935_daily_bin1720.fits scfile=/scratch/kocevski/848627/ft2_4FGL_J2101.4-2935_daily_bin1720.fits outfile=/scratch/kocevski/848627/cmap_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/848627/ft1_filtered_4FGL_J2101.4-2935_daily_bin1720.fits scfile=/scratch/kocevski/848627/ft2_4FGL_J2101.4-2935_daily_bin1720.fits outfile=/scratch/kocevski/848627/cmap_HighResolution_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.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.58
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/848627/ft1_filtered_4FGL_J2101.4-2935_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/848627/ft2_4FGL_J2101.4-2935_daily_bin1720.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/848627/Model_4FGL_J2101.4-2935_daily_bin1720.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/848627/ft1_filtered_4FGL_J2101.4-2935_daily_bin1720.fits.....................!
real 54.86
user 53.40
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/848627/ft1_filtered_4FGL_J2101.4-2935_daily_bin1720.fits', '/scratch/kocevski/848627/ft2_4FGL_J2101.4-2935_daily_bin1720.fits', expMap='/scratch/kocevski/848627/expmap_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.fits', expCube='/scratch/kocevski/848627/ltcube_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/848627/Model_4FGL_J2101.4-2935_daily_bin1720.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/848627/ft1_filtered_4FGL_J2101.4-2935_daily_bin1720.fits
Spacecraft file(s): /scratch/kocevski/848627/ft2_4FGL_J2101.4-2935_daily_bin1720.fits
Exposure map: /scratch/kocevski/848627/expmap_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.fits
Exposure cube: /scratch/kocevski/848627/ltcube_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/848627/Model_4FGL_J2101.4-2935_daily_bin1720.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) = 6221.49611124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.227       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46439E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70123E-01   1.0000          .0000       .10000E+07
     4 'norm      '    9.8855       1.0000          .0000       .10000E+07
     5 'Prefactor '    .50473E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .69528E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.4954       1.0000          .0000       .10000E+07
     8 'norm      '    .16235E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .70166E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16355E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .32047E-06   1.0000          .0000       .10000E+07
    12 'norm      '    1.9283       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29940E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .55675E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.6333       1.0000          .0000       .10000E+07
    16 'Normalizat'    .72432       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1068       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=   6220.507     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      942 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.093        3.5568       -.37712E-07   -.91124E-01
   2  Prefactor     .39357E-05    22.256       -.13038E-05** at limit **
   3  Prefactor     .61434E-01    5.4767        .50631E-06** at limit **
   4  norm          9.2787        5.0620       -.20909E-06    .47175E-01
   5  Prefactor     .33307E-09    7.8956       -.31002E-06** at limit **
   6  Prefactor     .14877E-07    13.993        .71567E-06** at limit **
   7  Prefactor     1.4741        6.1274        .21021E-06   -.11707E-02
   8  norm          .55511E-10    3.6722       -.50129E-06** at limit **
   9  Prefactor     .55511E-10    3.6911       -.43762E-06** at limit **
  10  Prefactor     .74940E-08    7.3170       -.54996E-06** at limit **
  11  Prefactor      .0000        5.6063        .30714E-07** at limit **
  12  norm          1.8837        6.4209        .56286E-07   -.52633E-03
  13  Prefactor     .65720E-06    21.431        .43530E-06** at limit **
  14  Prefactor     .85839E-05    12.700       -.81877E-06** at limit **
  15  norm          3.6252        6.2535        .19233E-06   -.12806E-02
  16  Normalizat    .72477        .27893        .32607E-05   -.43048E-04
  17  Prefactor     1.1071        .13364        .25308E-05   -.10712E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.0933
  Prefactor  = 3.93574e-06
  Prefactor  = 0.0614343
  norm       = 9.27872
  Prefactor  = 3.33067e-10
  Prefactor  = 1.4877e-08
  Prefactor  = 1.47408
  norm       = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 7.49401e-09
  Prefactor  = 0
  norm       = 1.88368
  Prefactor  = 6.57197e-07
  Prefactor  = 8.58391e-06
  norm       = 3.62524
  Normalizat = 0.724768
  Prefactor  = 1.10713
 **********
 **   18 **HESSE 
 **********

 FCN=   6220.507     FROM HESSE     STATUS=OK           259 CALLS     1201 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.093        11.166        .27516E-03   -1.5636    
   2  Prefactor     .39357E-05    34.939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .61434E-01    2.9337        .10921E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.2787        29.165        .31846E-03   -1.5647    
   5  Prefactor     .33307E-09    8.1673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .14877E-07    14.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.4741        6.1873        .87584E-03   -1.5684    
   8  norm          .55511E-10    3.6751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.6964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .74940E-08    7.7385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        5.6210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.8837        6.4714        .74775E-03   -1.5681    
  13  Prefactor     .65720E-06    23.213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .85839E-05    31.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.6252        6.2566        .52977E-03   -1.5670    
  16  Normalizat    .72477        .24673        .88607E-01   -1.0292    
  17  Prefactor     1.1071        .11610        .37334E-01   -.89239    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29279e-06
Minuit parameter uncertainties:
  1  11.1657
  2  0.0234533
  3  0.84907
  4  29.1651
  5  0.000105707
  6  0.000916511
  7  6.04009
  8  2.52075e-05
  9  2.35258e-05
  10  0.000481442
  11  2.31792e-06
  12  6.47139
  13  0.00781164
  14  0.0329464
  15  6.25666
  16  0.24711
  17  0.116129
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  3.331e-10  1.057e-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:  1.107e+00  1.161e-01  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:  7.248e-01  2.471e-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: 8.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/848627/likelihoodResults_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.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) = 6220.56593701
delta logL = -0.0593979712421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6220.50180193
delta logL = 0.00473710828282

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74469       1.0000          .0000       .10000E+07
     2 'Index     '    1.6999       1.0000          .0000       10.000    
     3 'Normalizat'    .72623       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1060       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=   6220.502     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      224 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72531        101.98        .57152E-03    .37264E-02
   2  Index         1.6879        1.8697        .50000        .79317E-05
   3  Normalizat    .72618        .23637        .88529E-01   -.21651E-04
   4  Prefactor     1.1060        .11662        .37364E-01    .10483E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.725313
  Index      = 1.68793
  Normalizat = 0.726183
  Prefactor  = 1.106
 **********
 **   18 **HESSE 
 **********

 FCN=   6220.502     FROM HESSE     STATUS=OK            31 CALLS      255 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72531        20.398        .22861E-04   -1.5691    
   2  Index         1.6879        2.0241        .17870E-01   -.72404    
   3  Normalizat    .72618        .27065        .39214E-03   -1.0287    
   4  Prefactor     1.1060        .13269        .15694E-03   -.89275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.67848e-10
Minuit parameter uncertainties:
  1  7.69277
  2  2.13832
  3  0.271149
  4  0.132726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848627': 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) = 6220.50178596
delta logL = 0.0047530846532

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  7.253e-01  7.693e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  1.688e+00  2.138e+00  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.106e+00  1.327e-01  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:  7.262e-01  2.711e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/848627/cmap_HighResolution_685152001_685411201_4FGL_J2101.4-2935_daily_bin1720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.77e-03', job_status='DONE', photon_flux_upper_limit='8.55e-08', time_completed='2022-09-21 01:03:43.537743', job_id='848627', GAL2='1.11', fit_tolerance='1e-08', EG2='0.73', EG='0.72', time_epoch_completed='1663747423.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.75e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1720' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:03:43 PDT 2022


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

Job <4FGL_J2101.4-2935_daily_bin1720> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep 21 00:50:46 2022
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:53:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:53:48 2022
Terminated at Wed Sep 21 01:03:44 2022
Results reported at Wed Sep 21 01:03:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1720 315.366 -29.5926 685152001 685411201 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 :                                   492.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   595 sec.
    Turnaround time :                            778 sec.

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

