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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1731
RA = 323.641, Dec = -21.5029
tmin = 688003201, tmax = 688262401
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='551067', job_status='RUN', time_executed='2022-10-24 00:42:34.603772', time_epoch_executed='1666597354.6' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551067

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551067/ft1_4FGL_J2134.5-2130_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551067/ft2_4FGL_J2134.5-2130_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551067/ft1_4FGL_J2134.5-2130_daily_bin1731.fits outfile=/scratch/kocevski/551067/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1731.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=688003201.0 tmax=688262401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.57
user 3.34
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551067/ft2_4FGL_J2134.5-2130_daily_bin1731.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/551067/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1731.fits evtable="EVENTS" outfile="/scratch/kocevski/551067/ft1_filtered_4FGL_J2134.5-2130_daily_bin1731.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 447

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551067/ft1_filtered_4FGL_J2134.5-2130_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551067/ft2_4FGL_J2134.5-2130_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551067/ltcube_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.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/551067/ft2_4FGL_J2134.5-2130_daily_bin1731.fits
.....................!
real 12.29
user 11.90
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551067/ft1_filtered_4FGL_J2134.5-2130_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551067/ft2_4FGL_J2134.5-2130_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551067/ltcube_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.fits outfile=/scratch/kocevski/551067/expmap_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.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/551067/ltcube_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.fits
.....................!
real 191.18
user 185.82
sys 4.82

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/551067/ft1_filtered_4FGL_J2134.5-2130_daily_bin1731.fits scfile=/scratch/kocevski/551067/ft2_4FGL_J2134.5-2130_daily_bin1731.fits outfile=/scratch/kocevski/551067/cmap_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.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.68
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551067/ft1_filtered_4FGL_J2134.5-2130_daily_bin1731.fits scfile=/scratch/kocevski/551067/ft2_4FGL_J2134.5-2130_daily_bin1731.fits outfile=/scratch/kocevski/551067/cmap_HighResolution_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551067/ft1_filtered_4FGL_J2134.5-2130_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551067/ft2_4FGL_J2134.5-2130_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551067/Model_4FGL_J2134.5-2130_daily_bin1731.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/551067/ft1_filtered_4FGL_J2134.5-2130_daily_bin1731.fits.....................!
real 48.70
user 46.95
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551067/ft1_filtered_4FGL_J2134.5-2130_daily_bin1731.fits', '/scratch/kocevski/551067/ft2_4FGL_J2134.5-2130_daily_bin1731.fits', expMap='/scratch/kocevski/551067/expmap_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.fits', expCube='/scratch/kocevski/551067/ltcube_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551067/Model_4FGL_J2134.5-2130_daily_bin1731.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/551067/ft1_filtered_4FGL_J2134.5-2130_daily_bin1731.fits
Spacecraft file(s): /scratch/kocevski/551067/ft2_4FGL_J2134.5-2130_daily_bin1731.fits
Exposure map: /scratch/kocevski/551067/expmap_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.fits
Exposure cube: /scratch/kocevski/551067/ltcube_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551067/Model_4FGL_J2134.5-2130_daily_bin1731.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) = 5125.35519106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3823       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18931E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.1056       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.2385       1.0000          .0000       .10000E+07
     5 'Prefactor '    21.968       1.0000          .0000       .10000E+07
     6 'norm      '    10.619       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55566E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    24.594       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.487       1.0000          .0000       .10000E+07
    10 'norm      '    .19793E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    12.267       1.0000          .0000       .10000E+07
    12 'Prefactor '    .50351       1.0000          .0000       .10000E+07
    13 'norm      '    .15045E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    10.845       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.7504       1.0000          .0000       .10000E+07
    16 'norm      '    .44278       1.0000          .0000       .10000E+07
    17 'Prefactor '    20.975       1.0000          .0000       .10000E+07
    18 'Prefactor '    .98145E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    13.901       1.0000          .0000       .10000E+07
    20 'Normalizat'    .92537       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99678       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=   5125.266     FROM MIGRAD    STATUS=CONVERGED     92 CALLS     1580 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7449        12.287        .71466E-05   -.37667E-01
   2  Prefactor     .71965E-06    9.6592       -.11131E-05** at limit **
   3  Prefactor     4.0938        5.7110       -.11811E-05   -.51213E-01
   4  Prefactor     4.1377        2.7745       -.11478E-05   -.74063E-02
   5  Prefactor     21.831        4.0533       -.88258E-06   -.21007E-01
   6  norm          10.531        10.169       -.13555E-06    .21591E-02
   7  Prefactor     .22188E-06    11.420        .59390E-05** at limit **
   8  Prefactor     25.532        21.780        .53682E-05   -.38573E-02
   9  Prefactor     13.377        7.4196        .32914E-05    .54640E-01
  10  norm          .55511E-10    2.2477       -.16776E-06** at limit **
  11  Prefactor     12.179        4.4352       -.21533E-05   -.67862E-02
  12  Prefactor     .47037E-05    34.952        .70615E-05** at limit **
  13  norm          .55511E-10    2.0518       -.40294E-06** at limit **
  14  Prefactor     10.877        6.4804       -.10482E-06    .69807E-01
  15  Prefactor     3.3858        7.5532        .55116E-05    .17176E-01
  16  norm          .44282        .25916        .17385E-07   -.29242E-03
  17  Prefactor     20.580        7.2504       -.21931E-05    .37758E-02
  18  Prefactor     .57104E-06    7.2249       -.21596E-05** at limit **
  19  Prefactor     14.205        5.5977        .15418E-05   -.53650E-02
  20  Normalizat    .92629        .28100        .82338E-05   -.12615E-04
  21  Prefactor     .99633        .16798       -.87217E-05    .18317E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.74486
  Prefactor  = 7.19647e-07
  Prefactor  = 4.09385
  Prefactor  = 4.13775
  Prefactor  = 21.8305
  norm       = 10.5315
  Prefactor  = 2.21878e-07
  Prefactor  = 25.5324
  Prefactor  = 13.3766
  norm       = 5.55112e-11
  Prefactor  = 12.1787
  Prefactor  = 4.70368e-06
  norm       = 5.55112e-11
  Prefactor  = 10.877
  Prefactor  = 3.38579
  norm       = 0.442818
  Prefactor  = 20.5805
  Prefactor  = 5.71043e-07
  Prefactor  = 14.2048
  Normalizat = 0.926289
  Prefactor  = 0.996328
 **********
 **   18 **HESSE 
 **********

 FCN=   5125.266     FROM HESSE     STATUS=OK           365 CALLS     1945 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7449        29.509        .36890E-03   -1.5652    
   2  Prefactor     .71965E-06    13.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.0938        8.4084        .49729E-03   -1.5667    
   4  Prefactor     4.1377        23.897        .48920E-03   -1.5667    
   5  Prefactor     21.831        17.292        .21341E-03   -1.5615    
   6  norm          10.531        10.227        .30722E-03   -1.5643    
   7  Prefactor     .22188E-06    19.995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.532        25.963        .20169E-03   -1.5607    
   9  Prefactor     13.377        16.030        .27249E-03   -1.5635    
  10  norm          .55511E-10    2.2463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.179        18.910        .28576E-03   -1.5638    
  12  Prefactor     .47037E-05    71.798        .78357E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    2.0529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.877        8.4272        .30398E-03   -1.5642    
  15  Prefactor     3.3858        18.689        .52111E-03   -1.5671    
  16  norm          .44282        .25338        .61454E-03   -1.5695    
  17  Prefactor     20.580        16.792        .21841E-03   -1.5617    
  18  Prefactor     .57104E-06    13.981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.205        23.877        .26839E-03   -1.5633    
  20  Normalizat    .92629        .25103        .74136E-01   -.95542    
  21  Prefactor     .99633        .14371        .46227E-01   -.92852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61982e-07
Minuit parameter uncertainties:
  1  29.5094
  2  0.00617626
  3  8.40842
  4  19.8879
  5  17.2917
  6  10.2272
  7  0.00421234
  8  25.9631
  9  16.0303
  10  1.93575e-05
  11  18.9101
  12  0.0367545
  13  2.01521e-05
  14  8.42721
  15  15.9096
  16  0.253376
  17  16.7924
  18  0.00565115
  19  23.8774
  20  0.251346
  21  0.143769
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  2.219e-07  4.212e-03  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.963e-01  1.438e-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:  9.263e-01  2.513e-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: 8.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551067/likelihoodResults_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.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) = 5125.29564014
delta logL = -0.0295038339536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5125.26615253
delta logL = -1.62154838108e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19113E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.2535       1.0000          .0000       10.000    
     3 'Normalizat'    .92621       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99634       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.

 FCN=   5125.266     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      267 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .86748E-01    2.3336        .42118E-02** at limit **
   2  Index         2.6328        .43072        .50000       -.29440E-05
   3  Normalizat    .92514        .60590E-02    .74178E-01    .86410E-04
   4  Prefactor     .99640        .36386E-02    .46221E-01   -.47303E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.086748
  Index      = 2.63278
  Normalizat = 0.925135
  Prefactor  = 0.996398
 **********
 **   18 **HESSE 
 **********

 FCN=   5125.266     FROM HESSE     STATUS=OK            33 CALLS      300 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .86748E-01    101.07        .21337E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6328        6.1140        .68412E-02   -.49320    
   3  Normalizat    .92514        .28317        .32826E-03   -.95582    
   4  Prefactor     .99640        .16650        .18966E-03   -.92850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14282e-09
Minuit parameter uncertainties:
  1  5.9222
  2  11.5413
  3  0.283625
  4  0.166585
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551067': 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) = 5125.26566543
delta logL = 0.0004708844981

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  8.675e-02  5.922e+00  0.000e+00  1.000e+06 ( 1.000e-13)
276        Index:  2.633e+00  1.154e+01  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.964e-01  1.666e-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:  9.251e-01  2.836e-01  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/551067/cmap_HighResolution_688003201_688262401_4FGL_J2134.5-2130_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.65e-03', job_status='DONE', photon_flux_upper_limit='8.87e-08', time_completed='2022-10-24 00:50:45.528185', job_id='551067', GAL2='1.00', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1666597845.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='4.71e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1731' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:50:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 551067: <4FGL_J2134.5-2130_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:17 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:17 2022
Terminated at Mon Oct 24 00:50:46 2022
Results reported at Mon Oct 24 00:50:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1731 323.641 -21.5029 688003201 688262401 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 :                                   492.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   628 sec.
    Turnaround time :                            629 sec.

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

