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


Performing analysis on: 4FGL_J2132.0-5418_weekly_bin725
RA = 323.023, Dec = -54.3125
tmin = 677462401, tmax = 678067201
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='73503', job_status='RUN', time_executed='2022-06-28 01:28:43.623962', time_epoch_executed='1656404923.62' WHERE source_name='4FGL J2132.0-5418' and cadence='weekly' and bin_id='725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73503

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73503/ft1_4FGL_J2132.0-5418_weekly_bin725.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73503/ft2_4FGL_J2132.0-5418_weekly_bin725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73503/ft1_4FGL_J2132.0-5418_weekly_bin725.fits outfile=/scratch/kocevski/73503/ft1_filteredMKT_4FGL_J2132.0-5418_weekly_bin725.fits ra=323.023 dec=-54.3125 rad=12.0 tmin=677462401.0 tmax=678067201.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 6.09
user 5.79
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/73503/ft2_4FGL_J2132.0-5418_weekly_bin725.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/73503/ft1_filteredMKT_4FGL_J2132.0-5418_weekly_bin725.fits evtable="EVENTS" outfile="/scratch/kocevski/73503/ft1_filtered_4FGL_J2132.0-5418_weekly_bin725.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.16

Number of photons that the gtmktime cut: 772

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73503/ft1_filtered_4FGL_J2132.0-5418_weekly_bin725.fits" evtable="EVENTS" scfile=/scratch/kocevski/73503/ft2_4FGL_J2132.0-5418_weekly_bin725.fits sctable="SC_DATA" outfile=/scratch/kocevski/73503/ltcube_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.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/73503/ft2_4FGL_J2132.0-5418_weekly_bin725.fits
.....................!
real 35.02
user 33.72
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73503/ft1_filtered_4FGL_J2132.0-5418_weekly_bin725.fits evtable="EVENTS" scfile=/scratch/kocevski/73503/ft2_4FGL_J2132.0-5418_weekly_bin725.fits sctable="SC_DATA" expcube=/scratch/kocevski/73503/ltcube_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.fits outfile=/scratch/kocevski/73503/expmap_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.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/73503/ltcube_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.fits
.....................!
real 192.91
user 186.72
sys 5.31

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/73503/ft1_filtered_4FGL_J2132.0-5418_weekly_bin725.fits scfile=/scratch/kocevski/73503/ft2_4FGL_J2132.0-5418_weekly_bin725.fits outfile=/scratch/kocevski/73503/cmap_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.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 0.59
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73503/ft1_filtered_4FGL_J2132.0-5418_weekly_bin725.fits scfile=/scratch/kocevski/73503/ft2_4FGL_J2132.0-5418_weekly_bin725.fits outfile=/scratch/kocevski/73503/cmap_HighResolution_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.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.60
user 0.45
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/73503/ft1_filtered_4FGL_J2132.0-5418_weekly_bin725.fits evtable="EVENTS" scfile=/scratch/kocevski/73503/ft2_4FGL_J2132.0-5418_weekly_bin725.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/73503/Model_4FGL_J2132.0-5418_weekly_bin725.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/73503/ft1_filtered_4FGL_J2132.0-5418_weekly_bin725.fits.....................!
real 65.00
user 63.35
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/73503/ft1_filtered_4FGL_J2132.0-5418_weekly_bin725.fits', '/scratch/kocevski/73503/ft2_4FGL_J2132.0-5418_weekly_bin725.fits', expMap='/scratch/kocevski/73503/expmap_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.fits', expCube='/scratch/kocevski/73503/ltcube_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/73503/Model_4FGL_J2132.0-5418_weekly_bin725.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/73503/ft1_filtered_4FGL_J2132.0-5418_weekly_bin725.fits
Spacecraft file(s): /scratch/kocevski/73503/ft2_4FGL_J2132.0-5418_weekly_bin725.fits
Exposure map: /scratch/kocevski/73503/expmap_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.fits
Exposure cube: /scratch/kocevski/73503/ltcube_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/73503/Model_4FGL_J2132.0-5418_weekly_bin725.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) = 8516.88550376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6812       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .31892       1.0000         .10000E-03   10000.    
     4 'norm      '    .46381       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.7166       1.0000         .10000E-03   10000.    
    12 'norm      '    .75815E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.232       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3256       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0700       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=   8516.811     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2229 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6820        4.0746        .25366E-06   -.10794E-03
   2  Prefactor     .10000E-03    20.238        .72685E-06** at limit **
   3  norm          .31906        1.8380        .19205E-05   -.26431E-03
   4  norm          .46414        1.7430        .49862E-06   -.39624E-03
   5  Prefactor     .10000E-03    27.001       -.20110E-05** at limit **
   6  Prefactor     .10000E-03    36.978       -.95477E-06** at limit **
   7  Prefactor     .10000E-03    4.5071        .29239E-08** at limit **
   8  Prefactor     .10000E-03    21.373        .78373E-06** at limit **
   9  Prefactor     .10000E-03    15.718       -.14639E-05** at limit **
  10  Prefactor     .10000E-03    2.1047        .63418E-07** at limit **
  11  norm          8.7169        5.6869        .51310E-07   -.21119E-04
  12  norm          .75553E-01    .34232        .96443E-07   -.40694E-03
  13  Prefactor     .10000E-03    39.947        .21616E-05** at limit **
  14  Prefactor     19.200        10.564        .20633E-06   -.40516E-04
  15  Prefactor     .10000E-03    .93806        .14028E-07** at limit **
  16  Prefactor     .10000E-03    165.46       -.12325E-05** at limit **
  17  norm          .10000E-03    2.9136        .98610E-07** at limit **
  18  Prefactor     .10000E-03    2.2658        .24487E-07** at limit **
  19  Prefactor     .10000E-03    13.674        .57781E-06** at limit **
  20  Prefactor     .10000E-03    7.9490        .53298E-07** at limit **
  21  Prefactor     .10000E-03    20.001        .68467E-06** at limit **
  22  Normalizat    1.3255        .19395       -.42886E-06   -.20075E-03
  23  Prefactor     1.0701        .12984       -.53024E-06   -.25409E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.68204
  Prefactor  = 0.0001
  norm       = 0.319058
  norm       = 0.464137
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 8.71691
  norm       = 0.0755529
  Prefactor  = 0.000100002
  Prefactor  = 19.2004
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.32547
  Prefactor  = 1.07007
 **********
 **   18 **HESSE 
 **********

 FCN=   8516.811     FROM HESSE     STATUS=OK           368 CALLS     2597 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6820        4.0754        .16361E-03   -1.5275    
   2  Prefactor     .10000E-03    20.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .31906        1.8974        .24435E-03   -1.5595    
   4  norm          .46414        2.9102        .22173E-02   -1.5572    
   5  Prefactor     .10000E-03    27.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    37.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.5346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.4714        .25887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.7169        5.6865        .13577E-03   -1.5117    
  12  norm          .75553E-01    1.2976        .10198E-02   -1.5653    
  13  Prefactor     .10000E-03    40.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.200        10.606        .91329E-04   -1.4831    
  15  Prefactor     .10000E-03    .94152        .87270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    166.71        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.8392        .30712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.2804        .13565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.1232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    20.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3255        .22948        .29221E-03   -.82809    
  23  Prefactor     1.0701        .15377        .21378E-03   -.90429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60906e-08
Minuit parameter uncertainties:
  1  4.07562
  2  0.000153967
  3  1.55595
  4  2.32433
  5  0.000496459
  6  0.00026735
  7  9.41445e-08
  8  0.000169949
  9  0.00026559
  10  5.91309e-06
  11  5.68686
  12  0.625829
  13  0.000631665
  14  10.6071
  15  7.03648e-07
  16  0.000749916
  17  2.85848e-06
  18  1.44065e-06
  19  9.87336e-05
  20  5.74945e-06
  21  0.000145477
  22  0.229652
  23  0.153829
Done.

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

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  1.000e-04  2.656e-04  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.070e+00  1.538e-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:  1.325e+00  2.297e-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: 7.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/73503/likelihoodResults_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.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) = 8516.81157374
delta logL = -0.000294985693472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8516.81127882
delta logL = -6.43976818537e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4343       1.0000          .0000       10.000    
     3 'Normalizat'    1.3255       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0701       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=   8516.811     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      199 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.175        .90712E-02** at limit **
   2  Index         2.4603        6.2258        .50000       -.14304E-04
   3  Normalizat    1.3255        .18837        .66056E-01    .65825E-04
   4  Prefactor     1.0701        .12616        .38854E-01    .65373E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Index      = 2.46031
  Normalizat = 1.32547
  Prefactor  = 1.07007
 **********
 **   18 **HESSE 
 **********

 FCN=   8516.811     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4603        6.2254        .50000       -.53279    
   3  Normalizat    1.3255        .22159        .29221E-03   -.82809    
   4  Prefactor     1.0701        .14855        .21378E-03   -.90429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44945e-10
Minuit parameter uncertainties:
  1  0.000619485
  2  4.73712
  3  0.221744
  4  0.148611
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73503': 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) = 8516.81127861
delta logL = 1.44451405504e-07

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  1.000e-04  6.195e-04  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.460e+00  4.737e+00  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.070e+00  1.486e-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:  1.325e+00  2.217e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/73503/cmap_HighResolution_677462401_678067201_4FGL_J2132.0-5418_weekly_bin725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.31e-08', time_completed='2022-06-28 01:41:41.611622', job_id='73503', GAL2='1.07', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1656405701.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.44e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='725' AND source_name='4FGL J2132.0-5418' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun 28 01:41:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 73503: <4FGL_J2132.0-5418_weekly_bin725> in cluster <slac> Done

Job <4FGL_J2132.0-5418_weekly_bin725> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jun 28 01:25:24 2022
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 28 01:26:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 28 01:26:33 2022
Terminated at Tue Jun 28 01:41:42 2022
Results reported at Tue Jun 28 01:41:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2132.0-5418_weekly_bin725 323.023 -54.3125 677462401 678067201 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 :                                   777.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            978 sec.

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

