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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1707
RA = 322.296, Dec = -2.6829
tmin = 681782401, tmax = 682041601
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='550188', job_status='RUN', time_executed='2022-08-13 00:32:35.726531', time_epoch_executed='1660375955.73' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550188

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550188/ft1_4FGL_J2129.1-0240_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550188/ft2_4FGL_J2129.1-0240_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550188/ft1_4FGL_J2129.1-0240_daily_bin1707.fits outfile=/scratch/kocevski/550188/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1707.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=681782401.0 tmax=682041601.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 5.42
user 5.16
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/550188/ft2_4FGL_J2129.1-0240_daily_bin1707.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/550188/ft2_4FGL_J2129.1-0240_daily_bin1707.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/550188/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/550188/ft1_filtered_4FGL_J2129.1-0240_daily_bin1707.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 513

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550188/ft1_filtered_4FGL_J2129.1-0240_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/550188/ft2_4FGL_J2129.1-0240_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/550188/ltcube_681782401_682041601_4FGL_J2129.1-0240_daily_bin1707.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/550188/ft2_4FGL_J2129.1-0240_daily_bin1707.fits
.....................!
real 11.88
user 11.54
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550188/ft1_filtered_4FGL_J2129.1-0240_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/550188/ft2_4FGL_J2129.1-0240_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/550188/ltcube_681782401_682041601_4FGL_J2129.1-0240_daily_bin1707.fits outfile=/scratch/kocevski/550188/expmap_681782401_682041601_4FGL_J2129.1-0240_daily_bin1707.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/550188/ltcube_681782401_682041601_4FGL_J2129.1-0240_daily_bin1707.fits
.....................!
real 190.29
user 185.42
sys 4.53

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

Setting source of interest to:
4FGL J2129.1-0240 @ 322.296 -2.6829

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/550188/ft1_filtered_4FGL_J2129.1-0240_daily_bin1707.fits scfile=/scratch/kocevski/550188/ft2_4FGL_J2129.1-0240_daily_bin1707.fits outfile=/scratch/kocevski/550188/cmap_681782401_682041601_4FGL_J2129.1-0240_daily_bin1707.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=322.296 yref=-2.6829 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550188/ft1_filtered_4FGL_J2129.1-0240_daily_bin1707.fits scfile=/scratch/kocevski/550188/ft2_4FGL_J2129.1-0240_daily_bin1707.fits outfile=/scratch/kocevski/550188/cmap_HighResolution_681782401_682041601_4FGL_J2129.1-0240_daily_bin1707.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=322.296 yref=-2.6829 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550188/ft1_filtered_4FGL_J2129.1-0240_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/550188/ft2_4FGL_J2129.1-0240_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550188/Model_4FGL_J2129.1-0240_daily_bin1707.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/550188/ft1_filtered_4FGL_J2129.1-0240_daily_bin1707.fits.....................!
real 59.26
user 57.89
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/550188/ft1_filtered_4FGL_J2129.1-0240_daily_bin1707.fits', '/scratch/kocevski/550188/ft2_4FGL_J2129.1-0240_daily_bin1707.fits', expMap='/scratch/kocevski/550188/expmap_681782401_682041601_4FGL_J2129.1-0240_daily_bin1707.fits', expCube='/scratch/kocevski/550188/ltcube_681782401_682041601_4FGL_J2129.1-0240_daily_bin1707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/550188/Model_4FGL_J2129.1-0240_daily_bin1707.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2129.1-0240'

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  5.059e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.637e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/550188/ft1_filtered_4FGL_J2129.1-0240_daily_bin1707.fits
Spacecraft file(s): /scratch/kocevski/550188/ft2_4FGL_J2129.1-0240_daily_bin1707.fits
Exposure map: /scratch/kocevski/550188/expmap_681782401_682041601_4FGL_J2129.1-0240_daily_bin1707.fits
Exposure cube: /scratch/kocevski/550188/ltcube_681782401_682041601_4FGL_J2129.1-0240_daily_bin1707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/550188/Model_4FGL_J2129.1-0240_daily_bin1707.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) = 5856.72195774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13344E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.7352       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .28025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.826       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.493       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.257       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.612       1.0000         .10000E-03   10000.    
    10 'Prefactor '    93.166       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7181       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5138       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.598       1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .22179E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.0020       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    27.252       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .36385       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2020       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5856.706     FROM MIGRAD    STATUS=CONVERGED    591 CALLS     2983 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2680       -.73689E-06** at limit **
   2  Prefactor     9.7444        17.910       -.15097E-05   -.11195E-04
   3  Prefactor     .10000E-03    23.532        .71668E-06** at limit **
   4  Prefactor     .10000E-03    50.010       -.11407E-06** at limit **
   5  Prefactor     10.810        27.675       -.17833E-06   -.44756E-05
   6  Prefactor     23.501        74.342       -.20558E-05   -.75198E-05
   7  Prefactor     .10000E-03    7.3957       -.12059E-06** at limit **
   8  Prefactor     12.263        14.429       -.99027E-06   -.24987E-04
   9  Prefactor     15.630        35.564       -.13072E-05   -.23561E-04
  10  Prefactor     93.236        66.521        .13656E-05   -.68742E-04
  11  Prefactor     2.7189        4.8862       -.19068E-07   -.13372E-03
  12  Prefactor     2.5131        4.0915       -.20153E-06   -.42529E-03
  13  Prefactor     .10000E-03    46.638       -.30895E-06** at limit **
  14  Prefactor     27.599        47.369       -.18489E-05    .28060E-05
  15  norm          .10000E-03    4.3820        .70041E-08** at limit **
  16  Prefactor     .10000E-03    22.645       -.73320E-06** at limit **
  17  norm          .10002E-03    22.809       -.11010E-05** at limit **
  18  Prefactor     .10000E-03    3.0600       -.10027E-06** at limit **
  19  Prefactor     7.0081        9.0979       -.65117E-06   -.81383E-04
  20  Prefactor     .10000E-03    30.433       -.12122E-05** at limit **
  21  Prefactor     .10000E-03    7.1352       -.48235E-07** at limit **
  22  Prefactor     .10000E-03    5.4541       -.79803E-07** at limit **
  23  Prefactor     27.262        19.863       -.63897E-06    .12019E-04
  24  Normalizat    .36314        .30680        .12478E-04    .32669E-04
  25  Prefactor     1.2023        .14961       -.26707E-05    .18035E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.74443
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8102
  Prefactor  = 23.5009
  Prefactor  = 0.0001
  Prefactor  = 12.2625
  Prefactor  = 15.6303
  Prefactor  = 93.2365
  Prefactor  = 2.71889
  Prefactor  = 2.51308
  Prefactor  = 0.0001
  Prefactor  = 27.5994
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 7.00815
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.2616
  Normalizat = 0.363141
  Prefactor  = 1.2023
 **********
 **   18 **HESSE 
 **********

 FCN=   5856.706     FROM HESSE     STATUS=OK           431 CALLS     3414 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.839        .30049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.7444        18.030        .12843E-03   -1.5084    
   3  Prefactor     .10000E-03    23.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    50.063        .21418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.810        27.577        .12177E-03   -1.5050    
   6  Prefactor     23.501        74.528        .82642E-04   -1.4738    
   7  Prefactor     .10000E-03    7.4057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.263        14.460        .11442E-03   -1.5007    
   9  Prefactor     15.630        35.670        .10137E-03   -1.4917    
  10  Prefactor     93.236        66.976        .20818E-03   -1.3774    
  11  Prefactor     2.7189        4.8674        .21896E-03   -1.5378    
  12  Prefactor     2.5131        4.0790        .15934E-03   -1.5391    
  13  Prefactor     .10000E-03    46.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.599        47.332        .76260E-04   -1.4657    
  15  norm          .10000E-03    4.3853        .15646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    22.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10002E-03    184.42        .69646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.0667        .13075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.0081        9.0930        .15161E-03   -1.5178    
  20  Prefactor     .10000E-03    31.368        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.1372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.4570        .17455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     27.262        19.887        .76741E-04   -1.4663    
  24  Normalizat    .36314        .30955        .53382E-03   -1.1925    
  25  Prefactor     1.2023        .15053        .15798E-03   -.86261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34411e-10
Minuit parameter uncertainties:
  1  0.000137357
  2  18.04
  3  5.09458e-05
  4  3.64173e-05
  5  27.6096
  6  74.825
  7  8.97104e-07
  8  14.4643
  9  35.7185
  10  67.03
  11  4.86812
  12  4.07944
  13  0.000122256
  14  47.3968
  15  8.31456e-07
  16  2.58066e-05
  17  0.00391973
  18  2.26647e-07
  19  9.09478
  20  6.13405e-05
  21  9.57249e-08
  22  2.08717e-06
  23  19.8918
  24  0.311022
  25  0.150584
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  9.324e+01  6.703e+01  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.637e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.202e+00  1.506e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  3.631e-01  3.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.23
Ra Dec: 322.296 -2.683
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 1.18e-07 +/- 8.51e-08
Energy Flux (Fixed Index): 3.00e-05 +/- 2.16e-05

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) = 5856.65467181
delta logL = 0.0509863172474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5856.64873389
delta logL = 0.0569242342453

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5856.649     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      303 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     105.76        72.179        .19557E-03   -.15695E-05
   2  Index         2.3545        .85970        .94457E-02    .10820E-04
   3  Normalizat    .39668        .30762        .51182E-03   -.10440E-05
   4  Prefactor     1.1914        .15168        .15865E-03    .16482E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 105.764
  Index      = 2.35448
  Normalizat = 0.396683
  Prefactor  = 1.19139
 **********
 **   18 **HESSE 
 **********

 FCN=   5856.649     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .83E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     105.76        71.308        .78228E-05   -1.3647    
   2  Index         2.3545        .84567        .37783E-03   -.55754    
   3  Normalizat    .39668        .30739        .20473E-04   -1.1747    
   4  Prefactor     1.1914        .15151        .63459E-05   -.86597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.32681e-14
Minuit parameter uncertainties:
  1  71.3664
  2  0.851373
  3  0.308713
  4  0.151566
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550188': 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) = 5856.64873202
delta logL = 0.0569261031587

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.058e+02  7.137e+01  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.354e+00  8.514e-01  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.191e+00  1.516e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  3.967e-01  3.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.30
Ra Dec: 322.296 -2.683
Photon Index (Free Index): 2.35 +/- 0.85
Photon Flux (Free Index): 9.16e-08 +/- 1.13e-07
Energy Flux (Free Index): 3.20e-05 +/- 2.23e-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/550188/cmap_HighResolution_681782401_682041601_4FGL_J2129.1-0240_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.18e-07', energy_flux2='3.20e-05', photon_flux_error='8.51e-08', dlogl='5.69e-02', energy_flux='3.00e-05', photon_flux2='9.16e-08', job_status='DONE', time_completed='2022-08-13 00:42:49.075189', photon_index_error2='0.85', photon_index2='2.35', ts='4.23', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='2.23e-05', EG='0.36', time_epoch_completed='1660376569.08', return_code='0', job_id='550188', GAL2='1.19', EG2='0.40', return_code2='0', energy_flux_error='2.16e-05', photon_flux_error2='1.13e-07', ts2='4.30', photon_index='2.64' WHERE bin_id='1707' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:42:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 550188: <4FGL_J2129.1-0240_daily_bin1707> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1707> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 13 00:30:31 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:30:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:30:32 2022
Terminated at Sat Aug 13 00:42:49 2022
Results reported at Sat Aug 13 00:42:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1707 322.296 -2.6829 681782401 682041601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2129.1-0240 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   616.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            738 sec.

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

