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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1757
RA = 323.641, Dec = -21.5029
tmin = 694742401, tmax = 695001601
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='223532', job_status='RUN', time_executed='2023-01-10 02:29:21.554278', time_epoch_executed='1673346561.55' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/223532

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/223532/ft1_4FGL_J2134.5-2130_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/223532/ft2_4FGL_J2134.5-2130_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/223532/ft1_4FGL_J2134.5-2130_daily_bin1757.fits outfile=/scratch/kocevski/223532/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1757.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=694742401.0 tmax=695001601.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 2.96
user 2.74
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/223532/ft2_4FGL_J2134.5-2130_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/223532/ft2_4FGL_J2134.5-2130_daily_bin1757.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/223532/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/223532/ft1_filtered_4FGL_J2134.5-2130_daily_bin1757.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.36
sys 0.16

Number of photons that the gtmktime cut: 385

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/223532/ft1_filtered_4FGL_J2134.5-2130_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/223532/ft2_4FGL_J2134.5-2130_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/223532/ltcube_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.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/223532/ft2_4FGL_J2134.5-2130_daily_bin1757.fits
.....................!
real 15.48
user 14.93
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/223532/ft1_filtered_4FGL_J2134.5-2130_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/223532/ft2_4FGL_J2134.5-2130_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/223532/ltcube_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.fits outfile=/scratch/kocevski/223532/expmap_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.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/223532/ltcube_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.fits
.....................!
real 196.30
user 188.48
sys 6.60

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2134.5-2130 @ 323.641 -21.5029

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/223532/ft1_filtered_4FGL_J2134.5-2130_daily_bin1757.fits scfile=/scratch/kocevski/223532/ft2_4FGL_J2134.5-2130_daily_bin1757.fits outfile=/scratch/kocevski/223532/cmap_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.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=323.641 yref=-21.5029 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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/223532/ft1_filtered_4FGL_J2134.5-2130_daily_bin1757.fits scfile=/scratch/kocevski/223532/ft2_4FGL_J2134.5-2130_daily_bin1757.fits outfile=/scratch/kocevski/223532/cmap_HighResolution_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.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=323.641 yref=-21.5029 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.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/223532/ft1_filtered_4FGL_J2134.5-2130_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/223532/ft2_4FGL_J2134.5-2130_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/223532/Model_4FGL_J2134.5-2130_daily_bin1757.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/223532/ft1_filtered_4FGL_J2134.5-2130_daily_bin1757.fits.....................!
real 43.89
user 42.19
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/223532/ft1_filtered_4FGL_J2134.5-2130_daily_bin1757.fits', '/scratch/kocevski/223532/ft2_4FGL_J2134.5-2130_daily_bin1757.fits', expMap='/scratch/kocevski/223532/expmap_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.fits', expCube='/scratch/kocevski/223532/ltcube_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/223532/Model_4FGL_J2134.5-2130_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2134.5-2130'

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.845e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
276        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
277        Scale:  2.061e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/223532/ft1_filtered_4FGL_J2134.5-2130_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/223532/ft2_4FGL_J2134.5-2130_daily_bin1757.fits
Exposure map: /scratch/kocevski/223532/expmap_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.fits
Exposure cube: /scratch/kocevski/223532/ltcube_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/223532/Model_4FGL_J2134.5-2130_daily_bin1757.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) = 4332.44273962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.670       1.0000          .0000       .10000E+07
     2 'Prefactor '    67.730       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58941       1.0000          .0000       .10000E+07
     4 'Prefactor '    .97707E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .39325E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .20140E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11675E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.6734       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14298E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .29216E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .47502E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    34.058       1.0000          .0000       .10000E+07
    13 'norm      '    .14402E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.8423       1.0000          .0000       .10000E+07
    15 'Prefactor '    .47618E-02   1.0000          .0000       .10000E+07
    16 'norm      '    1.3530       1.0000          .0000       .10000E+07
    17 'Prefactor '    .83378E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14791E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .76329E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0350       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4332.437     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1733 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          52.270        32.886        .23057E-05   -.13028    
   2  Prefactor     68.595        13.908        .40943E-06    .18887E-01
   3  Prefactor     .53276        31.039       -.41568E-05   -.56298E-01
   4  Prefactor     .36471E-07    14.385        .33690E-06** at limit **
   5  Prefactor     .55511E-10    4.7371        .84879E-06** at limit **
   6  norm          .27930E-04    73.267       -.90083E-05** at limit **
   7  Prefactor      .0000        2.2972       -.22060E-06** at limit **
   8  Prefactor     1.6605        20.908        .12525E-05   -.14646E-02
   9  Prefactor     .33307E-09    6.9449        .13603E-06** at limit **
  10  norm           .0000        2.2107        .30109E-07** at limit **
  11  Prefactor     .98366E-07    9.1122       -.67654E-07** at limit **
  12  Prefactor     35.034        24.698       -.68308E-07   -.22219E-01
  13  norm          .30888E-04    50.703       -.87063E-05** at limit **
  14  Prefactor     5.8380        6.8843       -.30038E-06   -.20474E-02
  15  Prefactor     .46796E-07    21.805        .39880E-06** at limit **
  16  norm          1.3523        .44816       -.42544E-07    .18532E-01
  17  Prefactor     .20539E-08    8.4552        .19554E-06** at limit **
  18  Prefactor     .17304E-05    51.997       -.20255E-05** at limit **
  19  Prefactor     .36193E-07    9.6334        .10180E-05** at limit **
  20  Normalizat    1.0344        .26760        .14771E-04    .11093E-03
  21  Prefactor     .91822        .16937        .50527E-05    .14711E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 52.2701
  Prefactor  = 68.5949
  Prefactor  = 0.532761
  Prefactor  = 3.64708e-08
  Prefactor  = 5.55112e-11
  norm       = 2.79295e-05
  Prefactor  = 0
  Prefactor  = 1.66051
  Prefactor  = 3.33067e-10
  norm       = 0
  Prefactor  = 9.83658e-08
  Prefactor  = 35.0342
  norm       = 3.08881e-05
  Prefactor  = 5.83802
  Prefactor  = 4.67959e-08
  norm       = 1.35226
  Prefactor  = 2.05391e-09
  Prefactor  = 1.73045e-06
  Prefactor  = 3.61933e-08
  Normalizat = 1.03443
  Prefactor  = 0.918225
 **********
 **   18 **HESSE 
 **********

 FCN=   4332.437     FROM HESSE     STATUS=OK           359 CALLS     2092 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          52.270        72.161        .13913E-03   -1.5563    
   2  Prefactor     68.595        46.808        .12152E-03   -1.5542    
   3  Prefactor     .53276        72.598        .70182E-03   -1.5693    
   4  Prefactor     .36471E-07    14.467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    4.7418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .27930E-04    109.45        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.2976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6605        21.280        .81443E-03   -1.5682    
   9  Prefactor     .33307E-09    6.9650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.2170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .98366E-07    9.1876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.034        39.505        .17137E-03   -1.5590    
  13  norm          .30888E-04    5.8134        .48463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.8380        6.9014        .41526E-03   -1.5660    
  15  Prefactor     .46796E-07    21.836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3523        .46315        .55635E-03   -1.5685    
  17  Prefactor     .20539E-08    8.4525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .17304E-05    52.513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .36193E-07    9.6603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0344        .23025        .64181E-01   -.91886    
  21  Prefactor     .91822        .14501        .45239E-01   -.95507    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98839e-06
Minuit parameter uncertainties:
  1  72.1623
  2  46.808
  3  12.4384
  4  0.00145223
  5  3.88563e-05
  6  0.110579
  7  6.69063e-06
  8  11.8887
  9  9.58843e-05
  10  3.49876e-06
  11  0.00190128
  12  39.5052
  13  0.0268005
  14  6.9014
  15  0.00202116
  16  0.463149
  17  0.000262542
  18  0.0190656
  19  0.00118216
  20  0.230473
  21  0.145068
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  0.000e+00  6.691e-06  0.000e+00  1.000e+06 ( 1.000e-13)
276        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
277        Scale:  2.061e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.182e-01  1.451e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.034e+00  2.305e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 323.641 -21.503
Photon Flux Upper Limit: 5.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/223532/likelihoodResults_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.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) = 4332.43812203
delta logL = -0.000773731766458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4332.43734908
delta logL = -7.89082150732e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32760E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.2431       1.0000          .0000       10.000    
     3 'Normalizat'    1.0343       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91832       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4332.437     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      237 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9359        .42118E-03** at limit **
   2  Index         2.1223        1.3513       -.28864E-04     .0000    
   3  Normalizat    1.0344        1.2292        .51829E-04   -.90969E-04
   4  Prefactor     .91823        1.2623       -.17249E-04   -.12106E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.1223
  Normalizat = 1.03443
  Prefactor  = 0.918226
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4332.437     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .49241        1.7916       -.28864E-04   -.61326    
   3  Normalizat    1.0344        1.2292        .51829E-04   -.91886    
   4  Prefactor     .91823        1.2623       -.17249E-04   -.95507    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.72723e-11
Minuit parameter uncertainties:
  1  2.44519e-06
  2  1.37723
  3  1.26569
  4  1.30637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/223532': 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): 101
logL (Free Index) = 4332.43734829
delta logL = -1.45519152284e-11

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  0.000e+00  2.445e-06  0.000e+00  1.000e+06 ( 1.000e-13)
276        Index:  2.122e+00  1.377e+00  0.000e+00  1.000e+01 (-1.000e+00)
277        Scale:  2.061e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.182e-01  1.306e+00  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.034e+00  1.266e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 323.641 -21.503

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/223532/cmap_HighResolution_694742401_695001601_4FGL_J2134.5-2130_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-03', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2023-01-10 02:37:39.856108', job_id='223532', GAL2='0.92', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1673347059.86', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1757' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:37:39 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 223532: <4FGL_J2134.5-2130_daily_bin1757> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1757> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 10 02:25:16 2023
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:25:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:25:38 2023
Terminated at Tue Jan 10 02:37:40 2023
Results reported at Tue Jan 10 02:37:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1757 323.641 -21.5029 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2134.5-2130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   499.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            744 sec.

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

