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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1718
RA = 322.296, Dec = -2.6829
tmin = 684633601, tmax = 684892801
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='233139', job_status='RUN', time_executed='2022-09-16 23:18:42.737965', time_epoch_executed='1663395522.74' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233139

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233139/ft1_4FGL_J2129.1-0240_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233139/ft2_4FGL_J2129.1-0240_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233139/ft1_4FGL_J2129.1-0240_daily_bin1718.fits outfile=/scratch/kocevski/233139/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1718.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=684633601.0 tmax=684892801.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.21
user 2.98
sys 0.20

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

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

Number of photons that the gtmktime cut: 268

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233139/ft1_filtered_4FGL_J2129.1-0240_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/233139/ft2_4FGL_J2129.1-0240_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/233139/ltcube_684633601_684892801_4FGL_J2129.1-0240_daily_bin1718.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/233139/ft2_4FGL_J2129.1-0240_daily_bin1718.fits
.....................!
real 14.83
user 14.26
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233139/ft1_filtered_4FGL_J2129.1-0240_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/233139/ft2_4FGL_J2129.1-0240_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/233139/ltcube_684633601_684892801_4FGL_J2129.1-0240_daily_bin1718.fits outfile=/scratch/kocevski/233139/expmap_684633601_684892801_4FGL_J2129.1-0240_daily_bin1718.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/233139/ltcube_684633601_684892801_4FGL_J2129.1-0240_daily_bin1718.fits
.....................!
real 191.17
user 185.64
sys 4.95

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/233139/ft1_filtered_4FGL_J2129.1-0240_daily_bin1718.fits scfile=/scratch/kocevski/233139/ft2_4FGL_J2129.1-0240_daily_bin1718.fits outfile=/scratch/kocevski/233139/cmap_684633601_684892801_4FGL_J2129.1-0240_daily_bin1718.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233139/ft1_filtered_4FGL_J2129.1-0240_daily_bin1718.fits scfile=/scratch/kocevski/233139/ft2_4FGL_J2129.1-0240_daily_bin1718.fits outfile=/scratch/kocevski/233139/cmap_HighResolution_684633601_684892801_4FGL_J2129.1-0240_daily_bin1718.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/233139/ft1_filtered_4FGL_J2129.1-0240_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/233139/ft2_4FGL_J2129.1-0240_daily_bin1718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/233139/Model_4FGL_J2129.1-0240_daily_bin1718.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/233139/ft1_filtered_4FGL_J2129.1-0240_daily_bin1718.fits.....................!
real 39.78
user 38.52
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.601       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58801E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.1102       1.0000          .0000       .10000E+07
     4 'Prefactor '    .26534E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    29.619       1.0000          .0000       .10000E+07
     6 'Prefactor '    43.670       1.0000          .0000       .10000E+07
     7 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
     8 'Prefactor '    15.865       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6855       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.2934       1.0000          .0000       .10000E+07
    11 'Prefactor '    .86042E-08   1.0000          .0000       .10000E+07
    12 'norm      '    .45797E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    15.038       1.0000          .0000       .10000E+07
    14 'norm      '    18.119       1.0000          .0000       .10000E+07
    15 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28533E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .36082E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    41.282       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10925E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    .10097E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0581       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=   3250.925     FROM MIGRAD    STATUS=CONVERGED    229 CALLS     2372 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.599        9.1503        .53988E-07   -.13983E-02
   2  Prefactor     .47029E-06    222.04        .19461E-05** at limit **
   3  Prefactor     5.1249        9.1013       -.28607E-06   -.55878E-02
   4  Prefactor     .24425E-08    80.290        .15769E-05** at limit **
   5  Prefactor     29.619        2.0337        .18844E-07    .10698E-01
   6  Prefactor     43.673        1.9521        .12534E-07    .79809E-02
   7  Prefactor      .0000        5.7157        .16198E-06** at limit **
   8  Prefactor     15.878        1.1627       -.13963E-07    .74266E-02
   9  Prefactor     2.6808        21.313        .40874E-06    .98519E-03
  10  Prefactor     3.2925        3.3749       -.67091E-07   -.86871E-03
  11  Prefactor     .29476E-07    26.990       -.48873E-07** at limit **
  12  norm          .18502E-06    10.997        .64205E-08** at limit **
  13  Prefactor     15.027        2.1417       -.49793E-07    .14023E-02
  14  norm          18.103        5.7410        .61730E-08   -.11387    
  15  Prefactor      .0000        5.4390       -.10780E-06** at limit **
  16  Prefactor     .30170E-06    10.445       -.17978E-07** at limit **
  17  Prefactor     .65503E-08    13.780        .47035E-07** at limit **
  18  Prefactor     41.305        3.7365       -.59347E-07    .64742E-01
  19  Prefactor     .44409E-09    47.241       -.26079E-06** at limit **
  20  Normalizat    .10000E-01    6.4011        .66103E-04** at limit **
  21  Prefactor     1.0581        .84394E-01   -.27813E-05   -.45579E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.5991
  Prefactor  = 4.7029e-07
  Prefactor  = 5.12486
  Prefactor  = 2.44249e-09
  Prefactor  = 29.6185
  Prefactor  = 43.673
  Prefactor  = 0
  Prefactor  = 15.8777
  Prefactor  = 2.68077
  Prefactor  = 3.29252
  Prefactor  = 2.94764e-08
  norm       = 1.85019e-07
  Prefactor  = 15.0266
  norm       = 18.1032
  Prefactor  = 0
  Prefactor  = 3.01703e-07
  Prefactor  = 6.55032e-09
  Prefactor  = 41.3052
  Prefactor  = 4.44089e-10
  Normalizat = 0.01
  Prefactor  = 1.05808
 **********
 **   18 **HESSE 
 **********

 FCN=   3250.925     FROM HESSE     STATUS=OK           359 CALLS     2731 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.599        9.2957        .25331E-03   -1.5629    
   2  Prefactor     .47029E-06    232.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.1249        17.175        .44452E-03   -1.5663    
   4  Prefactor     .24425E-08    83.307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.619        75.161        .18377E-03   -1.5599    
   6  Prefactor     43.673        44.688        .15134E-03   -1.5576    
   7  Prefactor      .0000        5.6830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.878        50.113        .25118E-03   -1.5628    
   9  Prefactor     2.6808        28.086        .62150E-03   -1.5675    
  10  Prefactor     3.2925        3.5931        .55766E-03   -1.5672    
  11  Prefactor     .29476E-07    27.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .18502E-06    12.240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.027        59.010        .25801E-03   -1.5630    
  14  norm          18.103        23.149        .23502E-03   -1.5623    
  15  Prefactor      .0000        5.4440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .30170E-06    12.428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .65503E-08    13.840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     41.305        50.153        .15565E-03   -1.5579    
  19  Prefactor     .44409E-09    47.000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .10000E-01    .30073        .32096       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.0581        .12421        .39457E-01   -.90818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.03874e-07
Minuit parameter uncertainties:
  1  9.29571
  2  0.0208934
  3  17.1751
  4  0.000898222
  5  75.1635
  6  44.6888
  7  1.54785e-05
  8  50.1148
  9  17.3543
  10  3.59312
  11  0.00178784
  12  0.00300956
  13  59.0125
  14  23.1489
  15  1.92206e-05
  16  0.00387252
  17  0.000603269
  18  50.154
  19  0.000288287
  20  5.13481e-06
  21  0.124246
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.588e+01  5.011e+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.058e+00  1.242e-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:  1.000e-02  5.135e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/233139/likelihoodResults_684633601_684892801_4FGL_J2129.1-0240_daily_bin1718.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) = 3250.63741429
delta logL = 0.287477102824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3250.53209147
delta logL = 0.392799924335

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.938       1.0000          .0000       .10000E+07
     2 'Index     '    1.7005       1.0000          .0000       10.000    
     3 'Normalizat'    .14766E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0543       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=   3250.532     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      261 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.951        56.608        .58153E-06   -.32463E-03
   2  Index         1.7011        .79723        .25779E-04    .29716E-05
   3  Normalizat    .10000E-01    .27844       -.41499E-05** at limit **
   4  Prefactor     1.0564        .12446        .20787E-06    .52152E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.9508
  Index      = 1.70112
  Normalizat = 0.01
  Prefactor  = 1.05643
 **********
 **   18 **HESSE 
 **********

 FCN=   3250.532     FROM HESSE     STATUS=OK            37 CALLS      298 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.951        55.797        .64949E-05   -1.5585    
   2  Index         1.7011        .77972        .92233E-02   -.72052    
   3  Normalizat    .10000E-01    1.2762        .18049       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0564        .15718        .14049E-03   -.90871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12694e-09
Minuit parameter uncertainties:
  1  55.7981
  2  0.785432
  3  9.01485e-06
  4  0.157253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233139': 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) = 3250.53191871
delta logL = 0.392972677182

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  3.795e+01  5.580e+01  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  1.701e+00  7.854e-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.056e+00  1.573e-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:  1.000e-02  9.015e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/233139/cmap_HighResolution_684633601_684892801_4FGL_J2129.1-0240_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.56e-02', job_status='DONE', photon_flux_upper_limit='1.99e-07', time_completed='2022-09-16 23:26:38.071344', job_id='233139', GAL2='1.06', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1663395998.07', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.93e-01', ts2='0.93', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1718' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:26:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 233139: <4FGL_J2129.1-0240_daily_bin1718> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1718> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 23:15:18 2022
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:16:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:16:04 2022
Terminated at Fri Sep 16 23:26:38 2022
Results reported at Fri Sep 16 23:26:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1718 322.296 -2.6829 684633601 684892801 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 :                                   477.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             245.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            680 sec.

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

