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 129 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7474
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2132.0-5418_daily_bin1700
RA = 323.023, Dec = -54.3125
tmin = 679968001, tmax = 680227201
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='83291', job_status='RUN', time_executed='2022-07-23 00:37:55.208959', time_epoch_executed='1658561875.21' WHERE source_name='4FGL J2132.0-5418' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83291

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83291/ft1_4FGL_J2132.0-5418_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83291/ft2_4FGL_J2132.0-5418_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83291/ft1_4FGL_J2132.0-5418_daily_bin1700.fits outfile=/scratch/kocevski/83291/ft1_filteredMKT_4FGL_J2132.0-5418_daily_bin1700.fits ra=323.023 dec=-54.3125 rad=12.0 tmin=679968001.0 tmax=680227201.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.59
user 4.32
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/83291/ft2_4FGL_J2132.0-5418_daily_bin1700.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/83291/ft2_4FGL_J2132.0-5418_daily_bin1700.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/83291/ft1_filteredMKT_4FGL_J2132.0-5418_daily_bin1700.fits evtable="EVENTS" outfile="/scratch/kocevski/83291/ft1_filtered_4FGL_J2132.0-5418_daily_bin1700.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 603

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83291/ft1_filtered_4FGL_J2132.0-5418_daily_bin1700.fits" evtable="EVENTS" scfile=/scratch/kocevski/83291/ft2_4FGL_J2132.0-5418_daily_bin1700.fits sctable="SC_DATA" outfile=/scratch/kocevski/83291/ltcube_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.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/83291/ft2_4FGL_J2132.0-5418_daily_bin1700.fits
.....................!
real 12.57
user 12.17
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83291/ft1_filtered_4FGL_J2132.0-5418_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83291/ft2_4FGL_J2132.0-5418_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/83291/ltcube_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.fits outfile=/scratch/kocevski/83291/expmap_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.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/83291/ltcube_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.fits
.....................!
real 191.20
user 185.58
sys 5.10

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

Setting source of interest to:
4FGL J2132.0-5418 @ 323.023 -54.3125

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/83291/ft1_filtered_4FGL_J2132.0-5418_daily_bin1700.fits scfile=/scratch/kocevski/83291/ft2_4FGL_J2132.0-5418_daily_bin1700.fits outfile=/scratch/kocevski/83291/cmap_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.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.023 yref=-54.3125 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 1.19
user 0.39
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83291/ft1_filtered_4FGL_J2132.0-5418_daily_bin1700.fits scfile=/scratch/kocevski/83291/ft2_4FGL_J2132.0-5418_daily_bin1700.fits outfile=/scratch/kocevski/83291/cmap_HighResolution_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.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.023 yref=-54.3125 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.97
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/83291/ft1_filtered_4FGL_J2132.0-5418_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83291/ft2_4FGL_J2132.0-5418_daily_bin1700.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/83291/Model_4FGL_J2132.0-5418_daily_bin1700.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/83291/ft1_filtered_4FGL_J2132.0-5418_daily_bin1700.fits.....................!
real 54.07
user 48.30
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83291/ft1_filtered_4FGL_J2132.0-5418_daily_bin1700.fits', '/scratch/kocevski/83291/ft2_4FGL_J2132.0-5418_daily_bin1700.fits', expMap='/scratch/kocevski/83291/expmap_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.fits', expCube='/scratch/kocevski/83291/ltcube_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83291/Model_4FGL_J2132.0-5418_daily_bin1700.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2132.0-5418'

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  6.328e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.416e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/83291/ft1_filtered_4FGL_J2132.0-5418_daily_bin1700.fits
Spacecraft file(s): /scratch/kocevski/83291/ft2_4FGL_J2132.0-5418_daily_bin1700.fits
Exposure map: /scratch/kocevski/83291/expmap_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.fits
Exposure cube: /scratch/kocevski/83291/ltcube_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83291/Model_4FGL_J2132.0-5418_daily_bin1700.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) = 6467.64907495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1171       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.740       1.0000         .10000E-03   10000.    
     3 'norm      '    .88167       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2625       1.0000         .10000E-03   10000.    
     6 'Prefactor '    96.913       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14758E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3846       1.0000         .10000E-03   10000.    
    11 'norm      '    3.2692       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0912       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.022       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .13883E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .83526       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0688       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6467.636     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     3002 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1172        2.5573       -.14599E-06   -.99050E-03
   2  Prefactor     18.738        19.646       -.11296E-05   -.45727E-03
   3  norm          .88196        1.3699        .87693E-06    .21817E-02
   4  norm          .10000E-03    1.0933        .31137E-06** at limit **
   5  Prefactor     3.3106        131.75        .18554E-05   -.52043E-04
   6  Prefactor     96.914        82.196        .89121E-07   -.11354E-04
   7  Prefactor     .10002E-03    58.732        .16891E-04** at limit **
   8  Prefactor     .10000E-03    15.266        .11641E-06** at limit **
   9  Prefactor     .10001E-03    29.118       -.22516E-05** at limit **
  10  Prefactor     1.3846        2.6937        .35673E-07   -.62561E-03
  11  norm          3.2694        3.9609        .68405E-07   -.15821E-03
  12  norm          1.0912        .80364        .12052E-07   -.12522E-03
  13  Prefactor     .10000E-03    24.223        .53602E-07** at limit **
  14  Prefactor     20.020        10.141        .11133E-06    .10041E-03
  15  Prefactor     .10000E-03    1.6550        .52181E-07** at limit **
  16  Prefactor     .10000E-03    82.165       -.57180E-06** at limit **
  17  norm          .10000E-03    13.126        .53732E-05** at limit **
  18  Prefactor     .10000E-03    5.7128        .17854E-06** at limit **
  19  Prefactor     .10000E-03    34.253        .26535E-06** at limit **
  20  Prefactor     .10000E-03    12.124        .11444E-06** at limit **
  21  Prefactor     .10000E-03    34.030       -.33635E-07** at limit **
  22  Normalizat    .83523        .19603        .82573E-06   -.38259E-03
  23  Prefactor     1.0689        .12668       -.57117E-06   -.78474E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.11718
  Prefactor  = 18.7377
  norm       = 0.881963
  norm       = 0.0001
  Prefactor  = 3.31056
  Prefactor  = 96.9139
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 1.38458
  norm       = 3.26936
  norm       = 1.0912
  Prefactor  = 0.0001
  Prefactor  = 20.0199
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.835232
  Prefactor  = 1.06886
 **********
 **   18 **HESSE 
 **********

 FCN=   6467.636     FROM HESSE     STATUS=OK           372 CALLS     3374 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1172        2.5457        .13462E-03   -1.5417    
   2  Prefactor     18.738        19.770        .92520E-04   -1.4842    
   3  norm          .88196        1.3629        .12079E-02   -1.5520    
   4  norm          .10000E-03    1.7289        .16311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3106        131.94        .22421E-03   -1.5344    
   6  Prefactor     96.914        81.849        .40831E-04   -1.3736    
   7  Prefactor     .10002E-03    57.397        .36826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    29.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.3846        2.6630        .17840E-03   -1.5473    
  11  norm          3.2694        3.9502        .17113E-03   -1.5346    
  12  norm          1.0912        .78366        .59367E-04   -1.5499    
  13  Prefactor     .10000E-03    24.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.020        10.204        .89511E-04   -1.4813    
  15  Prefactor     .10000E-03    1.6854        .10096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    82.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.135        .33418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.7849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    34.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    34.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .83523        .22335        .30168E-03   -.98775    
  23  Prefactor     1.0689        .14798        .18305E-03   -.90468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38328e-09
Minuit parameter uncertainties:
  1  2.54584
  2  19.7765
  3  1.36291
  4  2.87089e-05
  5  41.8988
  6  81.9447
  7  0.001991
  8  7.62961e-05
  9  0.00111653
  10  2.66323
  11  3.95055
  12  0.783672
  13  1.62631e-05
  14  10.2049
  15  7.19731e-06
  16  0.000770796
  17  0.000423016
  18  4.79171e-05
  19  0.000146357
  20  5.91706e-05
  21  1.9084e-05
  22  0.223596
  23  0.148038
Done.

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

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  1.000e-04  1.117e-03  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.416e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
563    Prefactor:  1.069e+00  1.480e-01  0.000e+00  1.000e+01 ( 1.000e+00)
564        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
565        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  8.352e-01  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 323.023 -54.312
Photon Flux Upper Limit: 8.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/83291/likelihoodResults_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.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) = 6467.6364129
delta logL = -0.000159804803843

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6467.63625281
delta logL = 2.91705873678e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7477       1.0000          .0000       10.000    
     3 'Normalizat'    .83523       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0689       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6467.636     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      249 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.540        .90712E-02** at limit **
   2  Index         2.7514        5.4633        .50000       -.80831E-06
   3  Normalizat    .83523        .40973E-02    .68187E-01    .29159E-04
   4  Prefactor     1.0689        .27930E-02    .38912E-01    .87075E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.75141
  Normalizat = 0.835231
  Prefactor  = 1.06886
 **********
 **   18 **HESSE 
 **********

 FCN=   6467.636     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      280 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    921.66        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7514        6.3632        .50000       -.46645    
   3  Normalizat    .83523        .24825E-01    .30168E-03   -.98775    
   4  Prefactor     1.0689        .16949E-01    .18305E-03   -.90468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.62323e-08
Minuit parameter uncertainties:
  1  0.000606203
  2  657.749
  3  0.0248257
  4  0.0169492
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83291': 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): 102
logL (Free Index) = 6467.6362528
delta logL = 2.96243342746e-07

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  1.000e-04  6.062e-04  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.751e+00  6.577e+02  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
563    Prefactor:  1.069e+00  1.695e-02  0.000e+00  1.000e+01 ( 1.000e+00)
564        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
565        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  8.352e-01  2.483e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 323.023 -54.312

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/83291/cmap_HighResolution_679968001_680227201_4FGL_J2132.0-5418_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-03', job_status='DONE', photon_flux_upper_limit='8.02e-08', time_completed='2022-07-23 00:49:55.262261', job_id='83291', GAL2='1.07', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1658562595.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.96e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1700' AND source_name='4FGL J2132.0-5418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 00:49:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 83291: <4FGL_J2132.0-5418_daily_bin1700> in cluster <slac> Done

Job <4FGL_J2132.0-5418_daily_bin1700> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:35:37 2022
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:35:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:35:38 2022
Terminated at Sat Jul 23 00:49:56 2022
Results reported at Sat Jul 23 00:49:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2132.0-5418_daily_bin1700 323.023 -54.3125 679968001 680227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2132.0-5418 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   702.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             286.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            859 sec.

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

