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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1730
RA = 315.366, Dec = -29.5926
tmin = 687744001, tmax = 688003201
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='468978', job_status='RUN', time_executed='2022-10-21 00:38:46.670155', time_epoch_executed='1666337926.67' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/468978

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/468978/ft1_4FGL_J2101.4-2935_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/468978/ft2_4FGL_J2101.4-2935_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/468978/ft1_4FGL_J2101.4-2935_daily_bin1730.fits outfile=/scratch/kocevski/468978/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1730.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=687744001.0 tmax=688003201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.02
user 3.76
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/468978/ft2_4FGL_J2101.4-2935_daily_bin1730.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/468978/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1730.fits evtable="EVENTS" outfile="/scratch/kocevski/468978/ft1_filtered_4FGL_J2101.4-2935_daily_bin1730.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.44
user 0.28
sys 0.14

Number of photons that the gtmktime cut: 473

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/468978/ft1_filtered_4FGL_J2101.4-2935_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/468978/ft2_4FGL_J2101.4-2935_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/468978/ltcube_687744001_688003201_4FGL_J2101.4-2935_daily_bin1730.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/468978/ft2_4FGL_J2101.4-2935_daily_bin1730.fits
.....................!
real 9.70
user 9.40
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/468978/ft1_filtered_4FGL_J2101.4-2935_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/468978/ft2_4FGL_J2101.4-2935_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/468978/ltcube_687744001_688003201_4FGL_J2101.4-2935_daily_bin1730.fits outfile=/scratch/kocevski/468978/expmap_687744001_688003201_4FGL_J2101.4-2935_daily_bin1730.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/468978/ltcube_687744001_688003201_4FGL_J2101.4-2935_daily_bin1730.fits
.....................!
real 154.38
user 149.40
sys 4.67

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/468978/ft1_filtered_4FGL_J2101.4-2935_daily_bin1730.fits scfile=/scratch/kocevski/468978/ft2_4FGL_J2101.4-2935_daily_bin1730.fits outfile=/scratch/kocevski/468978/cmap_687744001_688003201_4FGL_J2101.4-2935_daily_bin1730.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.46
user 0.30
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/468978/ft1_filtered_4FGL_J2101.4-2935_daily_bin1730.fits scfile=/scratch/kocevski/468978/ft2_4FGL_J2101.4-2935_daily_bin1730.fits outfile=/scratch/kocevski/468978/cmap_HighResolution_687744001_688003201_4FGL_J2101.4-2935_daily_bin1730.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.48
user 0.32
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/468978/ft1_filtered_4FGL_J2101.4-2935_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/468978/ft2_4FGL_J2101.4-2935_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/468978/Model_4FGL_J2101.4-2935_daily_bin1730.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/468978/ft1_filtered_4FGL_J2101.4-2935_daily_bin1730.fits.....................!
real 40.79
user 39.69
sys 0.98

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.5771       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58845E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .35906E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .41689E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    44.488       1.0000          .0000       .10000E+07
     6 'Prefactor '    70.333       1.0000          .0000       .10000E+07
     7 'Prefactor '    .95757E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .63650E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12733E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.6244       1.0000          .0000       .10000E+07
    11 'Prefactor '    .54858E-03   1.0000          .0000       .10000E+07
    12 'norm      '    5.8302       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12142       1.0000          .0000       .10000E+07
    14 'Prefactor '    158.44       1.0000          .0000       .10000E+07
    15 'norm      '    14.174       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0187       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0761       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=   5367.841     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1291 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5936        2.5340       -.13775E-07   -.17148E-01
   2  Prefactor      .0000        54.413       -.44387E-06** at limit **
   3  Prefactor      .0000        3.9618       -.20114E-07** at limit **
   4  norm           .0000        46.456       -.22582E-07** at limit **
   5  Prefactor     44.574        1.9139        .84720E-08    .56913E-01
   6  Prefactor     69.171        49.582        .12755E-07   -.81449E-03
   7  Prefactor     .10547E-08    10.724        .67057E-07** at limit **
   8  norm          .66613E-09    9.8283        .20664E-06** at limit **
   9  Prefactor     .55511E-10    9.5331       -.13423E-06** at limit **
  10  Prefactor     9.6345        13.508        .31158E-06   -.38029E-03
  11  Prefactor     .11102E-09    13.150        .39454E-06** at limit **
  12  norm          5.8323        6.4950        .10435E-07   -.20855E-04
  13  Prefactor     .22204E-09    110.77        .60418E-06** at limit **
  14  Prefactor     167.34        117.55        .59463E-06   -.96194E-03
  15  norm          13.977        9.3768        .71565E-07    .26186E-04
  16  Normalizat    1.0160        .36576       -.82655E-06    .36675E-06
  17  Prefactor     1.0771        .16487        .68569E-06   -.19130E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 9.59362
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 44.5742
  Prefactor  = 69.1708
  Prefactor  = 1.05471e-09
  norm       = 6.66134e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 9.63448
  Prefactor  = 1.11022e-10
  norm       = 5.83231
  Prefactor  = 2.22045e-10
  Prefactor  = 167.343
  norm       = 13.977
  Normalizat = 1.01595
  Prefactor  = 1.07713
 **********
 **   18 **HESSE 
 **********

 FCN=   5367.841     FROM HESSE     STATUS=OK           257 CALLS     1548 TOTAL
                     EDM=   .99E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5936        16.056        .32358E-03   -1.5646    
   2  Prefactor      .0000        54.473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.9691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        45.599        .15888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     44.574        35.327        .14994E-03   -1.5574    
   6  Prefactor     69.171        49.397        .11925E-03   -1.5542    
   7  Prefactor     .10547E-08    10.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .66613E-09    9.8622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    9.4619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.6345        13.514        .32278E-03   -1.5646    
  11  Prefactor     .11102E-09    13.117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.8323        6.4921        .41569E-03   -1.5660    
  13  Prefactor     .22204E-09    110.14        .13386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     167.34        118.89        .79452E-04   -1.5449    
  15  norm          13.977        9.3715        .26579E-03   -1.5633    
  16  Normalizat    1.0160        .31667        .91354E-01   -.92498    
  17  Prefactor     1.0771        .14136        .38576E-01   -.90201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90931e-08
Minuit parameter uncertainties:
  1  16.0561
  2  4.90611e-05
  3  7.64097e-07
  4  4.17236e-06
  5  35.3269
  6  49.3972
  7  0.00021051
  8  0.000163831
  9  5.35366e-05
  10  13.5142
  11  8.08681e-05
  12  6.49215
  13  0.000328887
  14  118.888
  15  9.37151
  16  0.317263
  17  0.141413
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  4.457e+01  3.533e+01  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.077e+00  1.414e-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:  1.016e+00  3.173e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.09
Ra Dec: 315.366 -29.593
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 9.99e-08
Energy Flux (Fixed Index): 2.81e-05 +/- 2.23e-05

TS (Fixed Index): 2.09
Ra Dec: 315.366 -29.593
Photon Flux Upper Limit: 3.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.56e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/468978/likelihoodResults_687744001_688003201_4FGL_J2101.4-2935_daily_bin1730.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) = 5367.81579747
delta logL = 0.0252746835949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5367.8098641
delta logL = 0.0312080511867

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.645       1.0000          .0000       .10000E+07
     2 'Index     '    2.9853       1.0000          .0000       10.000    
     3 'Normalizat'    1.0057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0812       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5367.810     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      268 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.647        38.527        .62748E-05   -.29895E-02
   2  Index         2.9852        .76425        .83458E-02   -.14675E-03
   3  Normalizat    1.0056        .35366        .40645E-03    .10106E-03
   4  Prefactor     1.0812        .16315        .18202E-03    .25588E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.6472
  Index      = 2.98524
  Normalizat = 1.00561
  Prefactor  = 1.08122
 **********
 **   18 **HESSE 
 **********

 FCN=   5367.810     FROM HESSE     STATUS=OK            23 CALLS      291 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.647        37.395        .12550E-05   -1.5580    
   2  Index         2.9852        .74168        .33383E-03   -.41474    
   3  Normalizat    1.0056        .35397        .16258E-04   -.92843    
   4  Prefactor     1.0812        .16321        .36404E-04   -.90069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61932e-10
Minuit parameter uncertainties:
  1  37.395
  2  0.744968
  3  0.354804
  4  0.163286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/468978': 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) = 5367.80986384
delta logL = 0.0312083120552

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  4.065e+01  3.740e+01  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.985e+00  7.450e-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.081e+00  1.633e-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:  1.006e+00  3.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.15
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 2.99 +/- 0.74
Photon Flux (Free Index): 1.35e-07 +/- 1.08e-07
Energy Flux (Free Index): 2.71e-05 +/- 2.18e-05

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/468978/cmap_HighResolution_687744001_688003201_4FGL_J2101.4-2935_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.56e-02', comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='2.71e-05', photon_flux_error='9.99e-08', dlogl='3.12e-02', energy_flux='2.81e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2022-10-21 00:45:13.204245', photon_index_error2='0.74', photon_index2='2.99', ts='2.09', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='3.24e-07', energy_flux_error2='2.18e-05', EG='1.02', time_epoch_completed='1666338313.2', return_code='0', job_id='468978', GAL2='1.08', EG2='1.01', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='1.08e-07', ts2='2.15', photon_index='2.81' WHERE bin_id='1730' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:45:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 468978: <4FGL_J2101.4-2935_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:12 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:13 2022
Terminated at Fri Oct 21 00:45:13 2022
Results reported at Fri Oct 21 00:45:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1730 315.366 -29.5926 687744001 688003201 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 :                                   387.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             201.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            601 sec.

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

