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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1756
RA = 322.296, Dec = -2.6829
tmin = 694483201, tmax = 694742401
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='25649', job_status='RUN', time_executed='2023-01-07 01:36:03.964705', time_epoch_executed='1673084163.96' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25649

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25649/ft1_4FGL_J2129.1-0240_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25649/ft2_4FGL_J2129.1-0240_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25649/ft1_4FGL_J2129.1-0240_daily_bin1756.fits outfile=/scratch/kocevski/25649/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1756.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=694483201.0 tmax=694742401.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.16
user 2.79
sys 0.24

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

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

Number of photons that the gtmktime cut: 513

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25649/ft1_filtered_4FGL_J2129.1-0240_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/25649/ft2_4FGL_J2129.1-0240_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/25649/ltcube_694483201_694742401_4FGL_J2129.1-0240_daily_bin1756.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/25649/ft2_4FGL_J2129.1-0240_daily_bin1756.fits
.....................!
real 16.42
user 15.81
sys 0.45

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25649/ft1_filtered_4FGL_J2129.1-0240_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/25649/ft2_4FGL_J2129.1-0240_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/25649/ltcube_694483201_694742401_4FGL_J2129.1-0240_daily_bin1756.fits outfile=/scratch/kocevski/25649/expmap_694483201_694742401_4FGL_J2129.1-0240_daily_bin1756.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/25649/ltcube_694483201_694742401_4FGL_J2129.1-0240_daily_bin1756.fits
.....................!
real 196.07
user 188.35
sys 6.51

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/25649/ft1_filtered_4FGL_J2129.1-0240_daily_bin1756.fits scfile=/scratch/kocevski/25649/ft2_4FGL_J2129.1-0240_daily_bin1756.fits outfile=/scratch/kocevski/25649/cmap_694483201_694742401_4FGL_J2129.1-0240_daily_bin1756.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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25649/ft1_filtered_4FGL_J2129.1-0240_daily_bin1756.fits scfile=/scratch/kocevski/25649/ft2_4FGL_J2129.1-0240_daily_bin1756.fits outfile=/scratch/kocevski/25649/cmap_HighResolution_694483201_694742401_4FGL_J2129.1-0240_daily_bin1756.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.58
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/25649/ft1_filtered_4FGL_J2129.1-0240_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/25649/ft2_4FGL_J2129.1-0240_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/25649/Model_4FGL_J2129.1-0240_daily_bin1756.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/25649/ft1_filtered_4FGL_J2129.1-0240_daily_bin1756.fits.....................!
real 62.03
user 60.22
sys 1.51

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36421E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    47.347       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17439E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .14386       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16082E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.413       1.0000          .0000       .10000E+07
     7 'Prefactor '    34.912       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.9508       1.0000          .0000       .10000E+07
     9 'Prefactor '    .42545E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16265E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.9746       1.0000          .0000       .10000E+07
    12 'norm      '    .86538E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .24873       1.0000          .0000       .10000E+07
    14 'norm      '    9.9311       1.0000          .0000       .10000E+07
    15 'Prefactor '    .80263E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.7397       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11258E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .37235E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .12130E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3253       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .73897       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=   5782.213     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1679 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1194       -.15658E-06** at limit **
   2  Prefactor     47.634        22.000        .18838E-06    .16962E-01
   3  Prefactor      .0000        41.333       -.19458E-06** at limit **
   4  Prefactor     .36853E-05    8.8455       -.53769E-06** at limit **
   5  Prefactor     .30043E-06    7.0779       -.36294E-06** at limit **
   6  Prefactor     13.416        1.0553        .13006E-08   -.11519E-02
   7  Prefactor     34.862        17.652       -.13672E-06   -.97528E-01
   8  Prefactor     4.7060        44.690       -.84859E-06    .28288E-01
   9  Prefactor      .0000        2.2006       -.50911E-07** at limit **
  10  Prefactor      .0000        .89852        .18662E-06** at limit **
  11  Prefactor     7.9610        12.376        .25903E-06   -.22714E-02
  12  norm           .0000        5.1239       -.20748E-07** at limit **
  13  Prefactor     .15047E-05    58.968       -.23322E-06** at limit **
  14  norm          9.9570        1.7012       -.64541E-08   -.26134E-02
  15  Prefactor     .44409E-08    7.5544       -.47734E-06** at limit **
  16  Prefactor     1.7694        6.3620        .79535E-06    .31030E-03
  17  Prefactor     .19429E-08    23.268        .61408E-06** at limit **
  18  Prefactor     .33662E-06    8.3645       -.35455E-06** at limit **
  19  Prefactor     .67724E-08    9.2367       -.89432E-06** at limit **
  20  Normalizat    1.3258        .27701       -.63455E-05   -.30013E-05
  21  Prefactor     .73889        .13660        .38116E-05    .90045E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 47.6336
  Prefactor  = 0
  Prefactor  = 3.68527e-06
  Prefactor  = 3.00426e-07
  Prefactor  = 13.4158
  Prefactor  = 34.8624
  Prefactor  = 4.70597
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 7.96097
  norm       = 0
  Prefactor  = 1.50469e-06
  norm       = 9.95705
  Prefactor  = 4.44089e-09
  Prefactor  = 1.76941
  Prefactor  = 1.94289e-09
  Prefactor  = 3.3662e-07
  Prefactor  = 6.77236e-09
  Normalizat = 1.32583
  Prefactor  = 0.738887
 **********
 **   18 **HESSE 
 **********

 FCN=   5782.213     FROM HESSE     STATUS=OK           355 CALLS     2034 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1194        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     47.634        39.307        .14534E-03   -1.5570    
   3  Prefactor      .0000        40.836        .17211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .36853E-05    70.838        .12875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .30043E-06    10.713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.416        14.204        .27324E-03   -1.5635    
   7  Prefactor     34.862        30.049        .16926E-03   -1.5590    
   8  Prefactor     4.7060        120.90        .45177E-03   -1.5665    
   9  Prefactor      .0000        2.2011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        .89911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.9610        41.723        .35482E-03   -1.5652    
  12  norm           .0000        5.1278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .15047E-05    103.98        .10966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.9570        16.807        .31773E-03   -1.5645    
  15  Prefactor     .44409E-08    7.5512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.7694        6.3824        .79516E-03   -1.5681    
  17  Prefactor     .19429E-08    23.247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .33662E-06    11.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .67724E-08    9.6730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3258        .24282        .65601E-01   -.82799    
  21  Prefactor     .73889        .11435        .42918E-01   -1.0202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.62393e-07
Minuit parameter uncertainties:
  1  5.68323e-06
  2  39.307
  3  2.21525e-05
  4  0.0323149
  5  0.00358803
  6  14.2039
  7  30.0496
  8  47.7067
  9  4.19696e-06
  10  1.22274e-06
  11  36.4507
  12  9.69334e-06
  13  0.025017
  14  16.8066
  15  0.000366717
  16  6.38246
  17  0.000424885
  18  0.00396589
  19  0.000511771
  20  0.243027
  21  0.114382
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  4.706e+00  4.771e+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:  7.389e-01  1.144e-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.326e+00  2.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/25649/likelihoodResults_694483201_694742401_4FGL_J2129.1-0240_daily_bin1756.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) = 5782.1007499
delta logL = 0.111894261813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5782.08842058
delta logL = 0.124223587088

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7114       1.0000          .0000       .10000E+07
     2 'Index     '    3.8483       1.0000          .0000       10.000    
     3 'Normalizat'    1.2874       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74988       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=   5782.088     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      250 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7005        426.15        .18534E-04    .81581E-04
   2  Index         3.8492        6.1803        .10090E-01    .14563E-04
   3  Normalizat    1.2870        .28774        .29394E-03   -.55114E-04
   4  Prefactor     .75011        .13841        .18583E-03    .96113E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.70046
  Index      = 3.84915
  Normalizat = 1.28698
  Prefactor  = 0.750108
 **********
 **   18 **HESSE 
 **********

 FCN=   5782.088     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7005        20.197        .74137E-06   -1.5665    
   2  Index         3.8492        2.1725        .40361E-03   -.23225    
   3  Normalizat    1.2870        .28619        .11758E-04   -.83956    
   4  Prefactor     .75011        .13850        .74330E-05   -1.0159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.2083e-11
Minuit parameter uncertainties:
  1  19.4868
  2  2.252
  3  0.286546
  4  0.138566
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25649': 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) = 5782.08841871
delta logL = 0.12422545215

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  4.700e+00  1.949e+01  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  3.849e+00  2.252e+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:  7.501e-01  1.386e-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.287e+00  2.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/25649/cmap_HighResolution_694483201_694742401_4FGL_J2129.1-0240_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2023-01-07 01:45:23.256595', job_id='25649', GAL2='0.75', fit_tolerance='1e-08', EG2='1.29', EG='1.33', time_epoch_completed='1673084723.26', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.24e-01', ts2='0.28', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1756' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:45:23 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 25649: <4FGL_J2129.1-0240_daily_bin1756> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1756> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jan  7 01:35:19 2023
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 01:35:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 01:35:33 2023
Terminated at Sat Jan  7 01:45:24 2023
Results reported at Sat Jan  7 01:45:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1756 322.296 -2.6829 694483201 694742401 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 :                                   559.52 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            605 sec.

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

