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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1762
RA = 322.296, Dec = -2.6829
tmin = 696038401, tmax = 696297601
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='120515', job_status='RUN', time_executed='2023-01-25 01:40:48.183290', time_epoch_executed='1674639648.18' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/120515

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/120515/ft1_4FGL_J2129.1-0240_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/120515/ft2_4FGL_J2129.1-0240_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/120515/ft1_4FGL_J2129.1-0240_daily_bin1762.fits outfile=/scratch/kocevski/120515/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1762.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=696038401.0 tmax=696297601.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.68
user 3.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/120515/ft2_4FGL_J2129.1-0240_daily_bin1762.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/120515/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/120515/ft1_filtered_4FGL_J2129.1-0240_daily_bin1762.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 561

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/120515/ft1_filtered_4FGL_J2129.1-0240_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/120515/ft2_4FGL_J2129.1-0240_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/120515/ltcube_696038401_696297601_4FGL_J2129.1-0240_daily_bin1762.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/120515/ft2_4FGL_J2129.1-0240_daily_bin1762.fits
.....................!
real 14.14
user 13.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/120515/ft1_filtered_4FGL_J2129.1-0240_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/120515/ft2_4FGL_J2129.1-0240_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/120515/ltcube_696038401_696297601_4FGL_J2129.1-0240_daily_bin1762.fits outfile=/scratch/kocevski/120515/expmap_696038401_696297601_4FGL_J2129.1-0240_daily_bin1762.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/120515/ltcube_696038401_696297601_4FGL_J2129.1-0240_daily_bin1762.fits
.....................!
real 191.88
user 185.94
sys 5.48

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/120515/ft1_filtered_4FGL_J2129.1-0240_daily_bin1762.fits scfile=/scratch/kocevski/120515/ft2_4FGL_J2129.1-0240_daily_bin1762.fits outfile=/scratch/kocevski/120515/cmap_696038401_696297601_4FGL_J2129.1-0240_daily_bin1762.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/120515/ft1_filtered_4FGL_J2129.1-0240_daily_bin1762.fits scfile=/scratch/kocevski/120515/ft2_4FGL_J2129.1-0240_daily_bin1762.fits outfile=/scratch/kocevski/120515/cmap_HighResolution_696038401_696297601_4FGL_J2129.1-0240_daily_bin1762.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=322.296 yref=-2.6829 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/120515/ft1_filtered_4FGL_J2129.1-0240_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/120515/ft2_4FGL_J2129.1-0240_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/120515/Model_4FGL_J2129.1-0240_daily_bin1762.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/120515/ft1_filtered_4FGL_J2129.1-0240_daily_bin1762.fits.....................!
real 65.01
user 63.54
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0482       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20182E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .51268E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    66.944       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34323E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    28.902       1.0000          .0000       .10000E+07
     7 'Prefactor '    .25331E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    24.708       1.0000          .0000       .10000E+07
     9 'Prefactor '    .83466E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.7794       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16795E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .58344E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18277E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .14014E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .38877       1.0000          .0000       .10000E+07
    16 'Prefactor '    .67797E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    11.233       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.1858       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16094E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .75895       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0866       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=   6253.408     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1618 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0676        6.9529       -.77553E-07   -.45314E-03
   2  Prefactor     .16709E-07    10.026        .10980E-06** at limit **
   3  Prefactor     .72087E-06    4.3251        .73245E-07** at limit **
   4  Prefactor     67.009        3.5993        .13889E-08   -.39227E-01
   5  Prefactor     .21472E-06    13.581       -.71868E-07** at limit **
   6  Prefactor     28.880        1.9616        .68558E-08    .41803E-02
   7  Prefactor     .47573E-07    41.191        .28840E-06** at limit **
   8  Prefactor     24.101        43.735        .30209E-07    .99848E-02
   9  Prefactor     .26434E-06    18.730       -.26238E-07** at limit **
  10  Prefactor     1.7887        2.0651        .62656E-07    .63609E-02
  11  Prefactor     .78271E-08    8.6246       -.57089E-07** at limit **
  12  norm          .55511E-09    3.3117        .56312E-07** at limit **
  13  Prefactor     .75107E-07    7.5646        .11948E-06** at limit **
  14  norm          .84932E-08    10.767       -.71907E-07** at limit **
  15  Prefactor     .38449        5.2622        .22264E-06    .22354E-02
  16  Prefactor     .73846E-06    4.4331        .76363E-07** at limit **
  17  Prefactor     11.208        11.264       -.68473E-07    .78735E-03
  18  Prefactor     7.1679        2.6491       -.81503E-08   -.33330E-03
  19  Prefactor     .22160E-06    6.7437        .10712E-06** at limit **
  20  Normalizat    .75869        .27952        .69838E-07    .65390E-04
  21  Prefactor     1.0868        .14234        .35292E-06    .18159E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.06757
  Prefactor  = 1.67089e-08
  Prefactor  = 7.20868e-07
  Prefactor  = 67.0092
  Prefactor  = 2.14717e-07
  Prefactor  = 28.8796
  Prefactor  = 4.75731e-08
  Prefactor  = 24.1012
  Prefactor  = 2.64344e-07
  Prefactor  = 1.78871
  Prefactor  = 7.82707e-09
  norm       = 5.55112e-10
  Prefactor  = 7.51066e-08
  norm       = 8.49321e-09
  Prefactor  = 0.384493
  Prefactor  = 7.38465e-07
  Prefactor  = 11.2078
  Prefactor  = 7.16793
  Prefactor  = 2.21601e-07
  Normalizat = 0.758687
  Prefactor  = 1.0868
 **********
 **   18 **HESSE 
 **********

 FCN=   6253.408     FROM HESSE     STATUS=OK           355 CALLS     1973 TOTAL
                     EDM=   .91E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0676        7.0340        .72208E-03   -1.5679    
   2  Prefactor     .16709E-07    10.135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .72087E-06    7.6881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     67.009        59.835        .12223E-03   -1.5544    
   5  Prefactor     .21472E-06    24.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     28.880        20.937        .18604E-03   -1.5600    
   7  Prefactor     .47573E-07    41.317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.101        45.028        .20122E-03   -1.5610    
   9  Prefactor     .26434E-06    20.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7887        2.1001        .78432E-03   -1.5681    
  11  Prefactor     .78271E-08    8.6749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-09    3.3164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .75107E-07    13.810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .84932E-08    24.180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38449        5.2049        .90799E-03   -1.5696    
  16  Prefactor     .73846E-06    7.8812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.208        11.971        .29867E-03   -1.5641    
  18  Prefactor     7.1679        22.297        .37396E-03   -1.5654    
  19  Prefactor     .22160E-06    14.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .75869        .24827        .86328E-01   -1.0162    
  21  Prefactor     1.0868        .12286        .38120E-01   -.89890    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.10609e-07
Minuit parameter uncertainties:
  1  7.034
  2  0.000823082
  3  0.00470828
  4  59.8359
  5  0.00460442
  6  20.9373
  7  0.00280478
  8  45.0286
  9  0.00461875
  10  2.10011
  11  0.000520862
  12  8.55679e-05
  13  0.00203679
  14  0.000906938
  15  2.8293
  16  0.00482501
  17  11.9709
  18  22.2976
  19  0.00353046
  20  0.248636
  21  0.122888
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  2.410e+01  4.503e+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.087e+00  1.229e-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.587e-01  2.486e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/120515/likelihoodResults_696038401_696297601_4FGL_J2129.1-0240_daily_bin1762.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) = 6253.40610244
delta logL = 0.00193288819719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6253.40526888
delta logL = 0.00276645037411

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.106       1.0000          .0000       .10000E+07
     2 'Index     '    2.5600       1.0000          .0000       10.000    
     3 'Normalizat'    .76039       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0860       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=   6253.405     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      225 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.106        2068.1        .19576E-03   -.25283E-02
   2  Index         2.5600        5.9611        .23330       -.91432E-04
   3  Normalizat    .76009        .72976E-01    .86253E-01   -.10774E-05
   4  Prefactor     1.0862        .37461E-01    .38143E-01   -.15962E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.1056
  Index      = 2.55995
  Normalizat = 0.760089
  Prefactor  = 1.08618
 **********
 **   18 **HESSE 
 **********

 FCN=   6253.405     FROM HESSE     STATUS=OK            31 CALLS      256 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.106        54.649        .78303E-05   -1.5606    
   2  Index         2.5600        1.0622        .11615E-01   -.50981    
   3  Normalizat    .76009        .27617        .38200E-03   -1.0157    
   4  Prefactor     1.0862        .14217        .16714E-03   -.89910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.36825e-10
Minuit parameter uncertainties:
  1  54.6502
  2  1.073
  3  0.276678
  4  0.142215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/120515': 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) = 6253.40526824
delta logL = 0.00276709183436

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  2.611e+01  5.465e+01  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.560e+00  1.073e+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.086e+00  1.422e-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.601e-01  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
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/120515/cmap_HighResolution_696038401_696297601_4FGL_J2129.1-0240_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', job_status='DONE', photon_flux_upper_limit='1.54e-07', time_completed='2023-01-25 01:50:34.019612', job_id='120515', GAL2='1.09', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1674640234.02', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.77e-03', ts2='0.39', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1762' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:50:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 120515: <4FGL_J2129.1-0240_daily_bin1762> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 25 01:35:23 2023
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:40:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:40:16 2023
Terminated at Wed Jan 25 01:50:35 2023
Results reported at Wed Jan 25 01:50:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1762 322.296 -2.6829 696038401 696297601 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 :                                   587.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             318.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            912 sec.

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

