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

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

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

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

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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1771
RA = 322.296, Dec = -2.6829
tmin = 698371201, tmax = 698630401
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='568533', job_status='RUN', time_executed='2023-02-21 02:12:18.143943', time_epoch_executed='1676974338.14' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/568533

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/568533/ft1_4FGL_J2129.1-0240_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/568533/ft2_4FGL_J2129.1-0240_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/568533/ft1_4FGL_J2129.1-0240_daily_bin1771.fits outfile=/scratch/kocevski/568533/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1771.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=698371201.0 tmax=698630401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.10
user 2.88
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/568533/ft2_4FGL_J2129.1-0240_daily_bin1771.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/568533/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/568533/ft1_filtered_4FGL_J2129.1-0240_daily_bin1771.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.34
sys 0.15

Number of photons that the gtmktime cut: 346

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/568533/ft1_filtered_4FGL_J2129.1-0240_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/568533/ft2_4FGL_J2129.1-0240_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/568533/ltcube_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.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/568533/ft2_4FGL_J2129.1-0240_daily_bin1771.fits
.....................!
real 12.87
user 12.52
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/568533/ft1_filtered_4FGL_J2129.1-0240_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/568533/ft2_4FGL_J2129.1-0240_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/568533/ltcube_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.fits outfile=/scratch/kocevski/568533/expmap_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.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/568533/ltcube_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.fits
.....................!
real 189.49
user 184.92
sys 4.26

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/568533/ft1_filtered_4FGL_J2129.1-0240_daily_bin1771.fits scfile=/scratch/kocevski/568533/ft2_4FGL_J2129.1-0240_daily_bin1771.fits outfile=/scratch/kocevski/568533/cmap_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/568533/ft1_filtered_4FGL_J2129.1-0240_daily_bin1771.fits scfile=/scratch/kocevski/568533/ft2_4FGL_J2129.1-0240_daily_bin1771.fits outfile=/scratch/kocevski/568533/cmap_HighResolution_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/568533/ft1_filtered_4FGL_J2129.1-0240_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/568533/ft2_4FGL_J2129.1-0240_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/568533/Model_4FGL_J2129.1-0240_daily_bin1771.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/568533/ft1_filtered_4FGL_J2129.1-0240_daily_bin1771.fits.....................!
real 51.78
user 50.53
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/568533/ft1_filtered_4FGL_J2129.1-0240_daily_bin1771.fits', '/scratch/kocevski/568533/ft2_4FGL_J2129.1-0240_daily_bin1771.fits', expMap='/scratch/kocevski/568533/expmap_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.fits', expCube='/scratch/kocevski/568533/ltcube_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/568533/Model_4FGL_J2129.1-0240_daily_bin1771.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  0.000e+00  1.000e+06 ( 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/568533/ft1_filtered_4FGL_J2129.1-0240_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/568533/ft2_4FGL_J2129.1-0240_daily_bin1771.fits
Exposure map: /scratch/kocevski/568533/expmap_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.fits
Exposure cube: /scratch/kocevski/568533/ltcube_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/568533/Model_4FGL_J2129.1-0240_daily_bin1771.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) = 4132.90613251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38069E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .16630E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .27416E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .19002E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .55320E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19826       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.1234       1.0000          .0000       .10000E+07
     8 'Prefactor '    .55160E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19015E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.6628       1.0000          .0000       .10000E+07
    11 'Prefactor '    .94222E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .64183E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17928E-04   1.0000          .0000       .10000E+07
    14 'norm      '    3.6455       1.0000          .0000       .10000E+07
    15 'Prefactor '    .16657E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    288.71       1.0000          .0000       .10000E+07
    17 'Prefactor '    .31449E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14858E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    4.9505       1.0000          .0000       .10000E+07
    20 'Normalizat'    .91725       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98890       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4132.877     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     1647 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    9.6223        .47586E-06** at limit **
   2  Prefactor     .55511E-09    41.086        .21254E-05** at limit **
   3  Prefactor     .55511E-10    9.2271        .96594E-06** at limit **
   4  Prefactor     .55511E-10    36.984        .65109E-06** at limit **
   5  Prefactor     .11435E-07    19.048       -.91899E-06** at limit **
   6  Prefactor      .0000        65.585       -.17963E-06** at limit **
   7  Prefactor     6.1198        17.480        .34261E-05    .28762E-01
   8  Prefactor     .12046E-07    148.41        .13491E-05** at limit **
   9  Prefactor      .0000        5.8424       -.18290E-06** at limit **
  10  Prefactor     4.6594        4.9128       -.42247E-06   -.23879E-02
  11  Prefactor     .11824E-07    30.156       -.16985E-05** at limit **
  12  norm          .11102E-09    41.278        .82378E-06** at limit **
  13  Prefactor     .22149E-07    55.915       -.27865E-05** at limit **
  14  norm          3.3667        16.151       -.50875E-05   -.33733E-01
  15  Prefactor      .0000        3.5913       -.23927E-06** at limit **
  16  Prefactor     292.03        128.92        .23006E-06   -.16205E-02
  17  Prefactor      .0000        7.2538        .29688E-06** at limit **
  18  Prefactor     .27645E-07    20.681        .12285E-05** at limit **
  19  Prefactor     5.5451        40.604       -.15962E-04    .17337E-01
  20  Normalizat    .91659        .40214        .12714E-04   -.23066E-04
  21  Prefactor     .98897        .17825       -.39894E-06   -.29717E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 1.14353e-08
  Prefactor  = 0
  Prefactor  = 6.11982
  Prefactor  = 1.20459e-08
  Prefactor  = 0
  Prefactor  = 4.65936
  Prefactor  = 1.18239e-08
  norm       = 1.11022e-10
  Prefactor  = 2.21489e-08
  norm       = 3.36669
  Prefactor  = 0
  Prefactor  = 292.029
  Prefactor  = 0
  Prefactor  = 2.76446e-08
  Prefactor  = 5.54511
  Normalizat = 0.91659
  Prefactor  = 0.988967
 **********
 **   18 **HESSE 
 **********

 FCN=   4132.877     FROM HESSE     STATUS=OK           349 CALLS     1996 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    9.5492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-09    39.633        .17269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    9.2302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    36.920        .17103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11435E-07    19.090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        65.013        .11807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.1198        19.090        .40548E-03   -1.5658    
   8  Prefactor     .12046E-07    148.11        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.8362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6594        4.9113        .46582E-03   -1.5665    
  11  Prefactor     .11824E-07    30.216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11102E-09    41.229        .15015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .22149E-07    56.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.3667        43.166        .52885E-03   -1.5671    
  15  Prefactor      .0000        3.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     292.03        128.94        .58861E-04   -1.5366    
  17  Prefactor      .0000        7.2501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .27645E-07    20.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.5451        50.013        .45178E-03   -1.5661    
  20  Normalizat    .91659        .33226        .87843E-01   -.95880    
  21  Prefactor     .98897        .14569        .46128E-01   -.93098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19155e-07
Minuit parameter uncertainties:
  1  4.93379e-05
  2  0.000301134
  3  5.20575e-05
  4  9.51179e-05
  5  0.000935299
  6  7.9772e-05
  7  19.0903
  8  0.00266871
  9  5.9704e-06
  10  4.91134
  11  0.00119492
  12  0.000136133
  13  0.00222907
  14  24.1104
  15  7.906e-06
  16  128.942
  17  2.58618e-05
  18  0.00151608
  19  33.3067
  20  0.333007
  21  0.14575
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.205e-08  2.669e-03  0.000e+00  1.000e+06 ( 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:  9.890e-01  1.458e-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:  9.166e-01  3.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 322.296 -2.683
Photon Flux Upper Limit: 2.50e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/568533/likelihoodResults_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.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) = 4132.88058535
delta logL = -0.00326489066356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4131.6445298
delta logL = 1.23279065729

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32755E-03   1.0000          .0000       .10000E+07
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    .73239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0497       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.

 FCN=   4131.645     FROM MIGRAD    STATUS=CONVERGED    294 CALLS      604 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32712E-03    .29584E-03    .23267E-04** at limit **
   2  Index        10.0000        .67272        .50000    ** at limit **
   3  Normalizat    .73380        .58467        .96977E-01   -.19201E-03
   4  Prefactor     1.0492        .26010        .39926E-01    .10166E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000327119
  Index      = 10
  Normalizat = 0.733804
  Prefactor  = 1.0492
 **********
 **   18 **HESSE 
 **********

 FCN=   4131.645     FROM HESSE     STATUS=OK            37 CALLS      641 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32712E-03    .28231E-03    .92924E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .65748        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .73380        .41226        .42974E-03   -1.0257    
   4  Prefactor     1.0492        .18585        .16667E-03   -2.2305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36251e-09
Minuit parameter uncertainties:
  1  0.000282309
  2  8.74138e-05
  3  0.41402
  4  0.185964
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/568533': 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) = 4131.64451606
delta logL = 1.23280440191

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  3.271e-04  2.823e-04  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  1.000e+01  8.741e-05  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.049e+00  1.860e-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:  7.338e-01  4.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.67
Ra Dec: 322.296 -2.683
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 2.30e-07 +/- 1.93e-07
Energy Flux (Free Index): 2.57e-05 +/- 2.17e-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/568533/cmap_HighResolution_698371201_698630401_4FGL_J2129.1-0240_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-02', comment='SUCCESS', energy_flux2='2.57e-05', dlogl='1.23e+00', photon_flux2='2.30e-07', job_status='DONE', time_completed='2023-02-21 02:20:35.090552', photon_index_error2='0.00', photon_index2='10.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='2.50e-07', energy_flux_error2='2.17e-05', EG='0.92', time_epoch_completed='1676974835.09', return_code='0', job_id='568533', GAL2='1.05', EG2='0.73', return_code2='0', photon_flux_error2='1.93e-07', ts2='2.67', photon_index='2.64' WHERE bin_id='1771' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 02:20:35 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 568533: <4FGL_J2129.1-0240_daily_bin1771> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 02:10:20 2023
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 02:10:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 02:10:21 2023
Terminated at Tue Feb 21 02:20:35 2023
Results reported at Tue Feb 21 02:20:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1771 322.296 -2.6829 698371201 698630401 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 :                                   499.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             302.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            615 sec.

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

