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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1752
RA = 322.296, Dec = -2.6829
tmin = 693446401, tmax = 693705601
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='292773', job_status='RUN', time_executed='2022-12-26 02:34:28.199737', time_epoch_executed='1672050868.2' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/292773

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/292773/ft1_4FGL_J2129.1-0240_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/292773/ft2_4FGL_J2129.1-0240_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/292773/ft1_4FGL_J2129.1-0240_daily_bin1752.fits outfile=/scratch/kocevski/292773/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1752.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=693446401.0 tmax=693705601.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.47
user 3.23
sys 0.20

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

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

Number of photons that the gtmktime cut: 612

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/292773/ft1_filtered_4FGL_J2129.1-0240_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/292773/ft2_4FGL_J2129.1-0240_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/292773/ltcube_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.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/292773/ft2_4FGL_J2129.1-0240_daily_bin1752.fits
.....................!
real 13.84
user 13.46
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/292773/ft1_filtered_4FGL_J2129.1-0240_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/292773/ft2_4FGL_J2129.1-0240_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/292773/ltcube_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.fits outfile=/scratch/kocevski/292773/expmap_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.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/292773/ltcube_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.fits
.....................!
real 193.95
user 187.99
sys 5.60

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/292773/ft1_filtered_4FGL_J2129.1-0240_daily_bin1752.fits scfile=/scratch/kocevski/292773/ft2_4FGL_J2129.1-0240_daily_bin1752.fits outfile=/scratch/kocevski/292773/cmap_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/292773/ft1_filtered_4FGL_J2129.1-0240_daily_bin1752.fits scfile=/scratch/kocevski/292773/ft2_4FGL_J2129.1-0240_daily_bin1752.fits outfile=/scratch/kocevski/292773/cmap_HighResolution_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/292773/ft1_filtered_4FGL_J2129.1-0240_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/292773/ft2_4FGL_J2129.1-0240_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/292773/Model_4FGL_J2129.1-0240_daily_bin1752.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/292773/ft1_filtered_4FGL_J2129.1-0240_daily_bin1752.fits.....................!
real 67.91
user 66.59
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/292773/ft1_filtered_4FGL_J2129.1-0240_daily_bin1752.fits', '/scratch/kocevski/292773/ft2_4FGL_J2129.1-0240_daily_bin1752.fits', expMap='/scratch/kocevski/292773/expmap_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.fits', expCube='/scratch/kocevski/292773/ltcube_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/292773/Model_4FGL_J2129.1-0240_daily_bin1752.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/292773/ft1_filtered_4FGL_J2129.1-0240_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/292773/ft2_4FGL_J2129.1-0240_daily_bin1752.fits
Exposure map: /scratch/kocevski/292773/expmap_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.fits
Exposure cube: /scratch/kocevski/292773/ltcube_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/292773/Model_4FGL_J2129.1-0240_daily_bin1752.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) = 6941.99509819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36759E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .72039E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .68944E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .40880E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16506E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87763E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .26022E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.5784       1.0000          .0000       .10000E+07
     9 'Prefactor '    .96058E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.1229       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.0270       1.0000          .0000       .10000E+07
    12 'norm      '    .24568E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .29851E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .71390E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .98388E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85740E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .88179E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    13.629       1.0000          .0000       .10000E+07
    19 'Prefactor '    .54565E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    .90772       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0029       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=   6941.902     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1299 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76827E-07    3.1154        .80240E-06** at limit **
   2  Prefactor     .10120E-03    88.027       -.53812E-05** at limit **
   3  Prefactor     .16522E-05    5.5345        .59930E-05** at limit **
   4  Prefactor     .55511E-06    12.062       -.77274E-05** at limit **
   5  Prefactor     .24425E-08    16.081        .10727E-04** at limit **
   6  Prefactor     .10395E-05    8.3521       -.10163E-05** at limit **
   7  Prefactor     .15440E-05    30.006        .93058E-05** at limit **
   8  Prefactor     10.379        29.426       -.89552E-05    .92787E-01
   9  Prefactor     .57176E-08    3.5734       -.36596E-05** at limit **
  10  Prefactor     4.0776        2.5642        .88164E-07   -.41294E-02
  11  Prefactor     .28825E-05    14.373       -.52174E-06** at limit **
  12  norm          .73275E-08    8.1129        .21078E-05** at limit **
  13  Prefactor     .29443E-06    9.1034       -.33845E-05** at limit **
  14  norm          .27423E-06    10.849       -.74784E-05** at limit **
  15  Prefactor     .23437E-06    2.0136        .22313E-05** at limit **
  16  Prefactor     .33307E-09    5.6822        .10397E-06** at limit **
  17  Prefactor     .13878E-08    7.1184       -.20896E-06** at limit **
  18  Prefactor     13.564        1.1351        .65950E-07    .37826E-02
  19  Prefactor     .11219E-05    6.0324       -.49351E-05** at limit **
  20  Normalizat    .90641        .26386        .12505E-04   -.15876E-03
  21  Prefactor     1.0032        .13462       -.33773E-05   -.27045E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.68274e-08
  Prefactor  = 0.000101196
  Prefactor  = 1.65218e-06
  Prefactor  = 5.55112e-07
  Prefactor  = 2.44249e-09
  Prefactor  = 1.0395e-06
  Prefactor  = 1.54404e-06
  Prefactor  = 10.3793
  Prefactor  = 5.71765e-09
  Prefactor  = 4.07759
  Prefactor  = 2.88247e-06
  norm       = 7.32747e-09
  Prefactor  = 2.94431e-07
  norm       = 2.74225e-07
  Prefactor  = 2.34368e-07
  Prefactor  = 3.33067e-10
  Prefactor  = 1.38778e-09
  Prefactor  = 13.5643
  Prefactor  = 1.12188e-06
  Normalizat = 0.906412
  Prefactor  = 1.00323
 **********
 **   18 **HESSE 
 **********

 FCN=   6941.902     FROM HESSE     STATUS=OK           355 CALLS     1654 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76827E-07    9.9384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10120E-03    117.74        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16522E-05    9.8867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-06    25.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .24425E-08    18.724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10395E-05    11.462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .15440E-05    33.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.379        63.747        .36405E-03   -1.5644    
   9  Prefactor     .57176E-08    14.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.0776        2.7501        .49621E-03   -1.5668    
  11  Prefactor     .28825E-05    28.634        .14489E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .73275E-08    8.2159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .29443E-06    14.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .27423E-06    25.762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .23437E-06    18.845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .33307E-09    5.6968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .13878E-08    7.1764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.564        17.764        .27105E-03   -1.5634    
  19  Prefactor     .11219E-05    9.2298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .90641        .22108        .78021E-01   -.96235    
  21  Prefactor     1.0032        .11037        .44706E-01   -.92622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56119e-06
Minuit parameter uncertainties:
  1  0.00174755
  2  0.218311
  3  0.00808327
  4  0.00747421
  5  0.000429138
  6  0.00690358
  7  0.0143083
  8  51.446
  9  0.000570525
  10  2.7501
  11  0.0181699
  12  0.000490574
  13  0.004076
  14  0.00531592
  15  0.00420324
  16  8.55397e-05
  17  0.000201431
  18  17.7641
  19  0.00643571
  20  0.221297
  21  0.110392
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.038e+01  5.145e+01  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:  1.003e+00  1.104e-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.064e-01  2.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/292773/likelihoodResults_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.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) = 6941.89227846
delta logL = 0.00959421392963

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6941.88990608
delta logL = 0.0119665945658

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8457       1.0000          .0000       .10000E+07
     2 'Index     '    3.0849       1.0000          .0000       10.000    
     3 'Normalizat'    .89825       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0060       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6941.890     FROM MIGRAD    STATUS=FAILED        86 CALLS      338 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8526        64.089        .14310E-04    .23262E-02
   2  Index         3.0837        2.9486        .60632E-02    .32723E-03
   3  Normalizat    .89822        .27179        .34675E-03    .17311E-02
   4  Prefactor     1.0060        .13594        .16837E-03    .24647E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6941.890     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      412 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8526        64.089        .67587E-04   -1.5652    
   2  Index         3.0837        2.9486        .21737E-02   -.39332    
   3  Normalizat    .89822        .27179        .52881E-03   -.96523    
   4  Prefactor     1.0060        .13594        .19104E-03   -.92530    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6941.890     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      439 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8582        52.803        .57239E-06    .19571E-02
   2  Index         3.0832        2.7113        .24253E-03    .27563E-04
   3  Normalizat    .89821        .27215        .69351E-04    .32324E-03
   4  Prefactor     1.0060        .13600        .33674E-04    .45355E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.85818
  Index      = 3.08319
  Normalizat = 0.898215
  Prefactor  = 1.00599
 **********
 **   18 **HESSE 
 **********

 FCN=   6941.890     FROM HESSE     STATUS=OK            23 CALLS      462 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8582        52.548        .37317E-06   -1.5652    
   2  Index         3.0832        2.7055        .48505E-04   -.39343    
   3  Normalizat    .89821        .27220        .13870E-04   -.96523    
   4  Prefactor     1.0060        .13602        .67348E-05   -.92530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62051e-10
Minuit parameter uncertainties:
  1  40.6419
  2  2.8906
  3  0.272619
  4  0.136066
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/292773': 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) = 6941.88990587
delta logL = 0.0119668075968

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  7.858e+00  4.064e+01  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  3.083e+00  2.891e+00  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.006e+00  1.361e-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:  8.982e-01  2.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 322.296 -2.683

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/292773/cmap_HighResolution_693446401_693705601_4FGL_J2129.1-0240_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.44e-07', time_completed='2022-12-26 02:44:33.483020', job_id='292773', GAL2='1.01', fit_tolerance='1e-08', EG2='0.90', EG='0.91', time_epoch_completed='1672051473.48', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.20e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1752' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 02:44:33 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 292773: <4FGL_J2129.1-0240_daily_bin1752> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1752> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec 26 02:30:14 2022
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 02:31:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 02:31:05 2022
Terminated at Mon Dec 26 02:44:33 2022
Results reported at Mon Dec 26 02:44:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1752 322.296 -2.6829 693446401 693705601 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 :                                   598.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            859 sec.

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

