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


Performing analysis on: 4FGL_J2101.4-2935_weekly_bin755
RA = 315.366, Dec = -29.5926
tmin = 695606401, tmax = 696211201
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='745212', job_status='RUN', time_executed='2023-01-24 02:52:48.989160', time_epoch_executed='1674557568.99' WHERE source_name='4FGL J2101.4-2935' and cadence='weekly' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/745212

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/745212/ft1_4FGL_J2101.4-2935_weekly_bin755.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/745212/ft2_4FGL_J2101.4-2935_weekly_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/745212/ft1_4FGL_J2101.4-2935_weekly_bin755.fits outfile=/scratch/kocevski/745212/ft1_filteredMKT_4FGL_J2101.4-2935_weekly_bin755.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=695606401.0 tmax=696211201.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 8.56
user 8.22
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/745212/ft2_4FGL_J2101.4-2935_weekly_bin755.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/745212/ft1_filteredMKT_4FGL_J2101.4-2935_weekly_bin755.fits evtable="EVENTS" outfile="/scratch/kocevski/745212/ft1_filtered_4FGL_J2101.4-2935_weekly_bin755.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.57
user 0.39
sys 0.17

Number of photons that the gtmktime cut: 1186

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/745212/ft1_filtered_4FGL_J2101.4-2935_weekly_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/745212/ft2_4FGL_J2101.4-2935_weekly_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/745212/ltcube_695606401_696211201_4FGL_J2101.4-2935_weekly_bin755.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/745212/ft2_4FGL_J2101.4-2935_weekly_bin755.fits
.....................!
real 32.31
user 31.88
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/745212/ft1_filtered_4FGL_J2101.4-2935_weekly_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/745212/ft2_4FGL_J2101.4-2935_weekly_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/745212/ltcube_695606401_696211201_4FGL_J2101.4-2935_weekly_bin755.fits outfile=/scratch/kocevski/745212/expmap_695606401_696211201_4FGL_J2101.4-2935_weekly_bin755.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/745212/ltcube_695606401_696211201_4FGL_J2101.4-2935_weekly_bin755.fits
.....................!
real 192.18
user 186.47
sys 5.22

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/745212/ft1_filtered_4FGL_J2101.4-2935_weekly_bin755.fits scfile=/scratch/kocevski/745212/ft2_4FGL_J2101.4-2935_weekly_bin755.fits outfile=/scratch/kocevski/745212/cmap_695606401_696211201_4FGL_J2101.4-2935_weekly_bin755.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.62
user 0.42
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/745212/ft1_filtered_4FGL_J2101.4-2935_weekly_bin755.fits scfile=/scratch/kocevski/745212/ft2_4FGL_J2101.4-2935_weekly_bin755.fits outfile=/scratch/kocevski/745212/cmap_HighResolution_695606401_696211201_4FGL_J2101.4-2935_weekly_bin755.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.60
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/745212/ft1_filtered_4FGL_J2101.4-2935_weekly_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/745212/ft2_4FGL_J2101.4-2935_weekly_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/745212/Model_4FGL_J2101.4-2935_weekly_bin755.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/745212/ft1_filtered_4FGL_J2101.4-2935_weekly_bin755.fits.....................!
real 105.36
user 103.85
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22415E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.291       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.4824       1.0000          .0000       .10000E+07
     4 'norm      '    .68279E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .20756E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.3508       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.0945       1.0000          .0000       .10000E+07
     8 'norm      '    5.4688       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.0966       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.4123       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7588       1.0000          .0000       .10000E+07
    12 'norm      '    3.1270       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16598E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.3734       1.0000          .0000       .10000E+07
    15 'norm      '     .0000       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2995       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98992       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=   13118.07     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1423 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19373E-07    10.670       -.28208E-06** at limit **
   2  Prefactor     46.303        1.0125       -.10288E-08    .10808E-02
   3  Prefactor     8.4801        5.4106        .39331E-07    .94149E-03
   4  norm          .94369E-09    5.7284        .12072E-06** at limit **
   5  Prefactor     .29421E-07    28.854        .14318E-06** at limit **
   6  Prefactor     7.3477        4.2601        .22859E-06   -.12146E-01
   7  Prefactor     7.0893        6.1571        .28019E-06   -.96950E-02
   8  norm          5.4695        5.4204        .15034E-06    .15814E-01
   9  Prefactor     4.0982        6.2902        .31284E-06    .13549E-01
  10  Prefactor     1.4116        5.1914       -.18061E-07   -.50134E-04
  11  Prefactor     5.7568        9.9388       -.61262E-06   -.87309E-01
  12  norm          3.1286        4.6389        .64899E-06    .87648E-03
  13  Prefactor     .10270E-07    7.6455       -.29450E-06** at limit **
  14  Prefactor     2.3262        12.111        .10820E-05   -.51399E-01
  15  norm          .55511E-10    1.6363        .20185E-06** at limit **
  16  Normalizat    1.2995        .20991        .10781E-05    .30888E-04
  17  Prefactor     .98984        .98089E-01   -.15815E-05    .31975E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.93734e-08
  Prefactor  = 46.3027
  Prefactor  = 8.48009
  norm       = 9.4369e-10
  Prefactor  = 2.94209e-08
  Prefactor  = 7.34768
  Prefactor  = 7.08933
  norm       = 5.46948
  Prefactor  = 4.09825
  Prefactor  = 1.41162
  Prefactor  = 5.75679
  norm       = 3.12858
  Prefactor  = 1.02696e-08
  Prefactor  = 2.32622
  norm       = 5.55112e-11
  Normalizat = 1.29948
  Prefactor  = 0.989844
 **********
 **   18 **HESSE 
 **********

 FCN=   13118.07     FROM HESSE     STATUS=OK           261 CALLS     1684 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19373E-07    10.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.303        46.572        .14699E-03   -1.5572    
   3  Prefactor     8.4801        5.5582        .34395E-03   -1.5650    
   4  norm          .94369E-09    5.7502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .29421E-07    28.801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.3477        18.586        .36970E-03   -1.5654    
   7  Prefactor     7.0893        6.1797        .37638E-03   -1.5655    
   8  norm          5.4695        5.4260        .42943E-03   -1.5661    
   9  Prefactor     4.0982        6.3020        .49785E-03   -1.5667    
  10  Prefactor     1.4116        5.2216        .91105E-03   -1.5684    
  11  Prefactor     5.7568        10.416        .41830E-03   -1.5660    
  12  norm          3.1286        4.6627        .57308E-03   -1.5673    
  13  Prefactor     .10270E-07    7.6621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.3262        150.24        .66476E-03   -1.5677    
  15  norm          .55511E-10    1.6344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2995        .18072        .77748E-01   -.83582    
  17  Prefactor     .98984        .82686E-01    .46141E-01   -.93069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19172e-06
Minuit parameter uncertainties:
  1  0.000908936
  2  46.5728
  3  5.55816
  4  0.000145337
  5  0.00184105
  6  18.5857
  7  6.1797
  8  5.42599
  9  6.30198
  10  5.2216
  11  10.4164
  12  4.66274
  13  0.00056077
  14  37.3905
  15  1.68415e-05
  16  0.18081
  17  0.0826962
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  2.942e-08  1.841e-03  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:  9.898e-01  8.270e-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.299e+00  1.808e-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: 9.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/745212/likelihoodResults_695606401_696211201_4FGL_J2101.4-2935_weekly_bin755.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) = 13118.0717756
delta logL = 0.000100253695564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13118.025072
delta logL = 0.0468038599374

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0002       1.0000          .0000       .10000E+07
     2 'Index     '    4.5720       1.0000          .0000       10.000    
     3 'Normalizat'    1.2837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99347       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   13118.03     FROM MIGRAD    STATUS=FAILED        88 CALLS      338 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99982        545.41        .17508E-04   -.50479E-02
   2  Index         4.5718        6.7181        .18695E-01   -.10353E-03
   3  Normalizat    1.2836        .18969        .34593E-03   -.50058E-03
   4  Prefactor     .99348        .87862E-01    .18388E-03   -.58690E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13118.03     FROM SIMPLEX   STATUS=UNCHANGED     93 CALLS      431 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99982        545.41        .17797E-04   -.50479E-02
   2  Index         4.5718        6.7181        .21953E-02   -.10353E-03
   3  Normalizat    1.2836        .18969        .25100E-03   -.50058E-03
   4  Prefactor     .99348        .87862E-01    .69261E-04   -.58690E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13118.03     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      461 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99937        10.744        .70033E-06   -.10894E-01
   2  Index         4.5721        4.1724        .74780E-03   -.70237E-04
   3  Normalizat    1.2837        .21105        .69186E-04   -.54554E-03
   4  Prefactor     .99348        .98632E-01    .36776E-04   -.63409E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.999372
  Index      = 4.57215
  Normalizat = 1.28365
  Prefactor  = 0.993477
 **********
 **   18 **HESSE 
 **********

 FCN=   13118.03     FROM HESSE     STATUS=OK            23 CALLS      484 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99937        10.362        .37403E-06   -1.5688    
   2  Index         4.5721        4.1238        .29912E-04   -.85675E-01
   3  Normalizat    1.2837        .21110        .13837E-04   -.84056    
   4  Prefactor     .99348        .98652E-01    .73553E-05   -.92947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37552e-09
Minuit parameter uncertainties:
  1  6.43597
  2  4.85791
  3  0.211237
  4  0.0986695
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/745212': 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) = 13118.025072
delta logL = 0.0468038721174

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  9.994e-01  6.436e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  4.572e+00  4.858e+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:  9.935e-01  9.867e-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.284e+00  2.112e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/745212/cmap_HighResolution_695606401_696211201_4FGL_J2101.4-2935_weekly_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.89e-03', job_status='DONE', photon_flux_upper_limit='9.96e-08', time_completed='2023-01-24 03:06:34.283743', job_id='745212', GAL2='0.99', fit_tolerance='1e-08', EG2='1.28', EG='1.30', time_epoch_completed='1674558394.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.68e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='755' AND source_name='4FGL J2101.4-2935' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 24 03:06:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 745212: <4FGL_J2101.4-2935_weekly_bin755> in cluster <slac> Done

Job <4FGL_J2101.4-2935_weekly_bin755> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jan 24 02:50:23 2023
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 24 02:51:11 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 24 02:51:11 2023
Terminated at Tue Jan 24 03:06:34 2023
Results reported at Tue Jan 24 03:06:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_weekly_bin755 315.366 -29.5926 695606401 696211201 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 :                                   825.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            971 sec.

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

