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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1691
RA = 323.641, Dec = -21.5029
tmin = 677635201, tmax = 677894401
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='310969', job_status='RUN', time_executed='2022-06-26 01:16:40.624581', time_epoch_executed='1656231400.62' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1691'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/310969

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/310969/ft1_4FGL_J2134.5-2130_daily_bin1691.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/310969/ft2_4FGL_J2134.5-2130_daily_bin1691.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/310969/ft1_4FGL_J2134.5-2130_daily_bin1691.fits outfile=/scratch/kocevski/310969/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1691.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=677635201.0 tmax=677894401.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.35
user 2.14
sys 0.20

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

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

Number of photons that the gtmktime cut: 402

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/310969/ft1_filtered_4FGL_J2134.5-2130_daily_bin1691.fits" evtable="EVENTS" scfile=/scratch/kocevski/310969/ft2_4FGL_J2134.5-2130_daily_bin1691.fits sctable="SC_DATA" outfile=/scratch/kocevski/310969/ltcube_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.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/310969/ft2_4FGL_J2134.5-2130_daily_bin1691.fits
.....................!
real 15.37
user 15.01
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/310969/ft1_filtered_4FGL_J2134.5-2130_daily_bin1691.fits evtable="EVENTS" scfile=/scratch/kocevski/310969/ft2_4FGL_J2134.5-2130_daily_bin1691.fits sctable="SC_DATA" expcube=/scratch/kocevski/310969/ltcube_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.fits outfile=/scratch/kocevski/310969/expmap_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.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/310969/ltcube_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.fits
.....................!
real 192.41
user 186.90
sys 5.08

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/310969/ft1_filtered_4FGL_J2134.5-2130_daily_bin1691.fits scfile=/scratch/kocevski/310969/ft2_4FGL_J2134.5-2130_daily_bin1691.fits outfile=/scratch/kocevski/310969/cmap_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.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.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/310969/ft1_filtered_4FGL_J2134.5-2130_daily_bin1691.fits scfile=/scratch/kocevski/310969/ft2_4FGL_J2134.5-2130_daily_bin1691.fits outfile=/scratch/kocevski/310969/cmap_HighResolution_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/310969/ft1_filtered_4FGL_J2134.5-2130_daily_bin1691.fits evtable="EVENTS" scfile=/scratch/kocevski/310969/ft2_4FGL_J2134.5-2130_daily_bin1691.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/310969/Model_4FGL_J2134.5-2130_daily_bin1691.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/310969/ft1_filtered_4FGL_J2134.5-2130_daily_bin1691.fits.....................!
real 47.58
user 45.24
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/310969/ft1_filtered_4FGL_J2134.5-2130_daily_bin1691.fits', '/scratch/kocevski/310969/ft2_4FGL_J2134.5-2130_daily_bin1691.fits', expMap='/scratch/kocevski/310969/expmap_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.fits', expCube='/scratch/kocevski/310969/ltcube_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/310969/Model_4FGL_J2134.5-2130_daily_bin1691.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  1.000e-04  1.000e+04 ( 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/310969/ft1_filtered_4FGL_J2134.5-2130_daily_bin1691.fits
Spacecraft file(s): /scratch/kocevski/310969/ft2_4FGL_J2134.5-2130_daily_bin1691.fits
Exposure map: /scratch/kocevski/310969/expmap_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.fits
Exposure cube: /scratch/kocevski/310969/ltcube_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/310969/Model_4FGL_J2134.5-2130_daily_bin1691.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) = 4653.06385476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    75.487       1.0000         .10000E-03   10000.    
     2 'norm      '    .11917E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.445       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5434       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8300       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.326       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11494E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    131.84       1.0000         .10000E-03   10000.    
    14 'norm      '    5.3155       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.343       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.338       1.0000         .10000E-03   10000.    
    17 'norm      '    .47827       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19875E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.766       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79920       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0534       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4652.882     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2374 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.415        170.80       -.26203E-05   -.23869E-04
   2  norm          .10000E-03    53.646        .22898E-05** at limit **
   3  Prefactor     .10000E-03    34.410       -.33343E-05** at limit **
   4  Prefactor     .10000E-03    11.109       -.82441E-06** at limit **
   5  Prefactor     18.453        15.697        .83527E-06   -.43315E-05
   6  Prefactor     .10000E-03    4.6596       -.11642E-06** at limit **
   7  norm          .10000E-03    3.6190       -.19396E-06** at limit **
   8  Prefactor     7.5508        10.260       -.15449E-06   -.12448E-03
   9  Prefactor     1.7022        93.013        .27203E-04    .59128E-04
  10  Prefactor     11.311        21.527        .27280E-05   -.43909E-04
  11  norm          .10000E-03    2.6013       -.17204E-07** at limit **
  12  Prefactor     .10000E-03    14.930        .52822E-05** at limit **
  13  Prefactor     132.30        136.65        .45349E-05    .32622E-04
  14  norm          5.3054        9.7126        .82913E-06   -.16132E-03
  15  Prefactor     17.344        8.6507        .51194E-06   -.48455E-05
  16  Prefactor     16.374        23.149        .16037E-05    .66557E-05
  17  norm          .47816        .32721        .76727E-07   -.51983E-04
  18  Prefactor     .10001E-03    22.907        .95361E-05** at limit **
  19  Prefactor     25.766        20.312        .13128E-05   -.65148E-04
  20  Prefactor     .10000E-03    7.3205        .72810E-06** at limit **
  21  Normalizat    .79942        .31714       -.24479E-04   -.20650E-03
  22  Prefactor     1.0534        .17451        .83966E-05   -.10672E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.4151
  norm       = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 18.453
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.55085
  Prefactor  = 1.70215
  Prefactor  = 11.3115
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 132.302
  norm       = 5.30545
  Prefactor  = 17.3442
  Prefactor  = 16.3738
  norm       = 0.478159
  Prefactor  = 0.000100007
  Prefactor  = 25.7656
  Prefactor  = 0.0001
  Normalizat = 0.799418
  Prefactor  = 1.0534
 **********
 **   18 **HESSE 
 **********

 FCN=   4652.882     FROM HESSE     STATUS=OK           346 CALLS     2720 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.415        170.95        .23107E-03   -1.3969    
   2  norm          .10000E-03    53.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    34.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.453        15.702        .93256E-04   -1.4849    
   6  Prefactor     .10000E-03    4.6638        .14378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.6201        .12674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.5508        10.254        .14602E-03   -1.5158    
   9  Prefactor     1.7022        96.145        .30852E-03   -1.5447    
  10  Prefactor     11.311        21.503        .11904E-03   -1.5035    
  11  norm          .10000E-03    2.6053        .10744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     132.30        136.79        .17535E-03   -1.3402    
  14  norm          5.3054        9.6979        .17432E-03   -1.5247    
  15  Prefactor     17.344        8.6461        .96173E-04   -1.4875    
  16  Prefactor     16.374        23.101        .99088E-04   -1.4898    
  17  norm          .47816        .33577        .30919E-03   -1.5570    
  18  Prefactor     .10001E-03    23.928        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.766        20.317        .78919E-04   -1.4692    
  20  Prefactor     .10000E-03    7.3293        .18032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .79942        .33132        .35128E-03   -1.0009    
  22  Prefactor     1.0534        .18573        .18862E-03   -.90970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66495e-09
Minuit parameter uncertainties:
  1  172.085
  2  0.000477154
  3  0.000380907
  4  3.24303e-05
  5  15.7059
  6  9.4535e-06
  7  1.00077e-05
  8  10.2564
  9  25.6281
  10  21.5178
  11  1.71379e-06
  12  0.000234145
  13  137.118
  14  9.7008
  15  8.64677
  16  23.1137
  17  0.335776
  18  0.000800018
  19  20.3222
  20  4.64919e-05
  21  0.332156
  22  0.185843
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  7.551e+00  1.026e+01  1.000e-04  1.000e+04 ( 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:  1.053e+00  1.858e-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:  7.994e-01  3.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.71
Ra Dec: 323.641 -21.503
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.00e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/310969/likelihoodResults_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.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) = 4652.51771636
delta logL = 0.364331554395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4652.50382545
delta logL = 0.37822246252

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2277       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6096       1.0000          .0000       10.000    
     3 'Normalizat'    .76540       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0615       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=   4652.504     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      246 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2258        116.04        .48994E-02    .79367E-03
   2  Index         2.6099        3.3743        .10378        .24611E-03
   3  Normalizat    .76547        .98039E-01    .80917E-01    .97124E-04
   4  Prefactor     1.0614        .54708E-01    .39277E-01   -.78881E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.22581
  Index      = 2.6099
  Normalizat = 0.765472
  Prefactor  = 1.06145
 **********
 **   18 **HESSE 
 **********

 FCN=   4652.504     FROM HESSE     STATUS=OK            31 CALLS      277 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2258        8.5341        .12738E-03   -1.5297    
   2  Index         2.6099        .87538        .51538E-02   -.49840    
   3  Normalizat    .76547        .29734        .35827E-03   -1.0136    
   4  Prefactor     1.0614        .18049        .18789E-03   -.90708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20004e-10
Minuit parameter uncertainties:
  1  8.5365
  2  0.881279
  3  0.297969
  4  0.180593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/310969': 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) = 4652.50382518
delta logL = 0.37822272514

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  4.226e+00  8.537e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.610e+00  8.813e-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:  1.061e+00  1.806e-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:  7.655e-01  2.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.48
Ra Dec: 323.641 -21.503
Photon Index (Free Index): 2.61 +/- 0.88
Photon Flux (Free Index): 7.07e-08 +/- 7.21e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.96e-05

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/310969/cmap_HighResolution_677635201_677894401_4FGL_J2134.5-2130_daily_bin1691.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', comment='SUCCESS', energy_flux2='1.84e-05', dlogl='3.78e-01', photon_flux2='7.07e-08', job_status='DONE', time_completed='2022-06-26 01:25:32.962200', photon_index_error2='0.88', photon_index2='2.61', ts='0.71', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='1.96e-05', EG='0.80', time_epoch_completed='1656231932.96', return_code='0', job_id='310969', GAL2='1.06', EG2='0.77', return_code2='0', photon_flux_error2='7.21e-08', ts2='1.48', photon_index='2.00' WHERE bin_id='1691' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun 26 01:25:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 310969: <4FGL_J2134.5-2130_daily_bin1691> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1691> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jun 26 01:10:31 2022
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun 26 01:13:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun 26 01:13:02 2022
Terminated at Sun Jun 26 01:25:33 2022
Results reported at Sun Jun 26 01:25:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1691 323.641 -21.5029 677635201 677894401 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 :                                   534.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            902 sec.

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

