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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1670
RA = 315.366, Dec = -29.5926
tmin = 672192001, tmax = 672451201
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='875785', job_status='RUN', time_executed='2022-04-24 00:47:56.278063', time_epoch_executed='1650786476.28' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875785

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875785/ft1_4FGL_J2101.4-2935_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875785/ft2_4FGL_J2101.4-2935_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875785/ft1_4FGL_J2101.4-2935_daily_bin1670.fits outfile=/scratch/kocevski/875785/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1670.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.08
user 4.86
sys 0.20

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

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

Number of photons that the gtmktime cut: 1034

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875785/ft1_filtered_4FGL_J2101.4-2935_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/875785/ft2_4FGL_J2101.4-2935_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/875785/ltcube_672192001_672451201_4FGL_J2101.4-2935_daily_bin1670.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/875785/ft2_4FGL_J2101.4-2935_daily_bin1670.fits
.....................!
real 12.49
user 12.08
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875785/ft1_filtered_4FGL_J2101.4-2935_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/875785/ft2_4FGL_J2101.4-2935_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/875785/ltcube_672192001_672451201_4FGL_J2101.4-2935_daily_bin1670.fits outfile=/scratch/kocevski/875785/expmap_672192001_672451201_4FGL_J2101.4-2935_daily_bin1670.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/875785/ltcube_672192001_672451201_4FGL_J2101.4-2935_daily_bin1670.fits
.....................!
real 192.47
user 186.20
sys 5.84

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/875785/ft1_filtered_4FGL_J2101.4-2935_daily_bin1670.fits scfile=/scratch/kocevski/875785/ft2_4FGL_J2101.4-2935_daily_bin1670.fits outfile=/scratch/kocevski/875785/cmap_672192001_672451201_4FGL_J2101.4-2935_daily_bin1670.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875785/ft1_filtered_4FGL_J2101.4-2935_daily_bin1670.fits scfile=/scratch/kocevski/875785/ft2_4FGL_J2101.4-2935_daily_bin1670.fits outfile=/scratch/kocevski/875785/cmap_HighResolution_672192001_672451201_4FGL_J2101.4-2935_daily_bin1670.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875785/ft1_filtered_4FGL_J2101.4-2935_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/875785/ft2_4FGL_J2101.4-2935_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875785/Model_4FGL_J2101.4-2935_daily_bin1670.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/875785/ft1_filtered_4FGL_J2101.4-2935_daily_bin1670.fits.....................!
real 89.19
user 87.71
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    74.050       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    99.979       1.0000         .10000E-03   10000.    
     5 'norm      '    21.495       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0617       1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.832       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .32930       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .32039       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11317E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .81465       1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1699       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .88365       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=   10845.77     FROM MIGRAD    STATUS=CONVERGED    381 CALLS     1823 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6409        .48624E-06** at limit **
   2  Prefactor     73.965        44.434        .18503E-06   -.31139E-03
   3  Prefactor     .10002E-03    5.0829       -.25005E-05** at limit **
   4  Prefactor     99.959        73.674        .66440E-06   -.10666E-03
   5  norm          21.498        17.118        .76875E-07   -.89866E-04
   6  Prefactor     5.0619        13.839        .17329E-07   -.10617E-03
   7  Prefactor     30.833        18.899        .11874E-05    .19060E-06
   8  Prefactor     .10000E-03    2.2083        .84939E-07** at limit **
   9  norm          .10000E-03    2.0631       -.31092E-07** at limit **
  10  Prefactor     .32895        2.4094        .79809E-06    .17854E-03
  11  Prefactor     .31130        4.0623        .18456E-05   -.10401E-03
  12  Prefactor     .10000E-03    4.8275       -.12023E-06** at limit **
  13  norm          .10000E-03    1.4419        .36714E-08** at limit **
  14  Prefactor     .10000E-03    16.782        .25907E-06** at limit **
  15  Prefactor     .71939        81.107        .14629E-04   -.39741E-03
  16  norm          .10000E-03    1.7625       -.33957E-07** at limit **
  17  Normalizat    1.1700        .17485       -.24230E-05   -.10224E-02
  18  Prefactor     .88364        .82057E-01   -.54236E-06   -.16331E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 73.9649
  Prefactor  = 0.000100015
  Prefactor  = 99.9593
  norm       = 21.4981
  Prefactor  = 5.06186
  Prefactor  = 30.8335
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.328946
  Prefactor  = 0.3113
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.71939
  norm       = 0.0001
  Normalizat = 1.16996
  Prefactor  = 0.883635
 **********
 **   18 **HESSE 
 **********

 FCN=   10845.77     FROM HESSE     STATUS=OK           252 CALLS     2075 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.7138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     73.965        44.536        .23329E-03   -1.3986    
   3  Prefactor     .10002E-03    5.8717        .30791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     99.959        73.818        .40206E-04   -1.3705    
   5  norm          21.498        17.122        .86394E-04   -1.4780    
   6  Prefactor     5.0619        13.855        .17872E-03   -1.5258    
   7  Prefactor     30.833        18.854        .72158E-04   -1.4597    
   8  Prefactor     .10000E-03    2.2443        .15114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.0672        .14607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32895        5.8397        .30818E-02   -1.5593    
  11  Prefactor     .31130        16.389        .36861E-02   -1.5596    
  12  Prefactor     .10000E-03    4.8414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.4461        .12212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .71939        24.564        .15948       -1.5538    
  16  norm          .10000E-03    1.7928        .13475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1700        .20717        .31069E-03   -.87536    
  18  Prefactor     .88364        .98524E-01    .17274E-03   -.96715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.25171e-08
Minuit parameter uncertainties:
  1  3.3752e-05
  2  44.5557
  3  0.00059485
  4  73.8859
  5  17.126
  6  13.8636
  7  18.8576
  8  1.80107e-05
  9  3.55019e-06
  10  2.77185
  11  4.51801
  12  9.90334e-06
  13  3.3229e-06
  14  6.10077e-05
  15  8.41056
  16  5.82944e-06
  17  0.207318
  18  0.0985438
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  5.062e+00  1.386e+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:  8.836e-01  9.854e-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.170e+00  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 315.366 -29.593
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875785/likelihoodResults_672192001_672451201_4FGL_J2101.4-2935_daily_bin1670.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) = 10845.6394814
delta logL = 0.127208371556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10845.6355089
delta logL = 0.1311808151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7899       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6033       1.0000          .0000       10.000    
     3 'Normalizat'    1.1538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88773       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=   10845.64     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      259 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7781        136.10        .45957E-02    .25776E-03
   2  Index         3.6119        3.4759        .44269        .39551E-04
   3  Normalizat    1.1537        .31210E-01    .70638E-01    .20631E-04
   4  Prefactor     .88767        .15395E-01    .44848E-01    .99145E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.77813
  Index      = 3.61186
  Normalizat = 1.15366
  Prefactor  = 0.887668
 **********
 **   18 **HESSE 
 **********

 FCN=   10845.64     FROM HESSE     STATUS=OK            33 CALLS      292 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7781        12.019        .18383E-03   -1.5271    
   2  Index         3.6119        1.8978        .12158E-01   -.28132    
   3  Normalizat    1.1537        .20192        .31256E-03   -.88047    
   4  Prefactor     .88767        .97795E-01    .17237E-03   -.96573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5254e-12
Minuit parameter uncertainties:
  1  12.0254
  2  1.95099
  3  0.20206
  4  0.0978142
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875785': 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) = 10845.635491
delta logL = 0.131198771189

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  4.778e+00  1.203e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.612e+00  1.951e+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:  8.877e-01  9.781e-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.154e+00  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/875785/cmap_HighResolution_672192001_672451201_4FGL_J2101.4-2935_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.08e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2022-04-24 01:00:19.644590', job_id='875785', GAL2='0.89', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1650787219.64', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.31e-01', ts2='0.42', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1670' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 01:00:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 875785: <4FGL_J2101.4-2935_daily_bin1670> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1670> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Apr 24 00:45:38 2022
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:46:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:46:29 2022
Terminated at Sun Apr 24 01:00:30 2022
Results reported at Sun Apr 24 01:00:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1670 315.366 -29.5926 672192001 672451201 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 :                                   745.00 sec.
    Max Memory :                                 1168 MB
    Average Memory :                             317.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            892 sec.

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

