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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1733
RA = 322.296, Dec = -2.6829
tmin = 688521601, tmax = 688780801
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='708451', job_status='RUN', time_executed='2022-10-30 00:36:58.728907', time_epoch_executed='1667115418.73' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708451

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708451/ft1_4FGL_J2129.1-0240_daily_bin1733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708451/ft2_4FGL_J2129.1-0240_daily_bin1733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708451/ft1_4FGL_J2129.1-0240_daily_bin1733.fits outfile=/scratch/kocevski/708451/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1733.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=688521601.0 tmax=688780801.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.52
user 3.32
sys 0.19

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

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

Number of photons that the gtmktime cut: 564

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/708451/ft1_filtered_4FGL_J2129.1-0240_daily_bin1733.fits" evtable="EVENTS" scfile=/scratch/kocevski/708451/ft2_4FGL_J2129.1-0240_daily_bin1733.fits sctable="SC_DATA" outfile=/scratch/kocevski/708451/ltcube_688521601_688780801_4FGL_J2129.1-0240_daily_bin1733.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/708451/ft2_4FGL_J2129.1-0240_daily_bin1733.fits
.....................!
real 11.90
user 11.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708451/ft1_filtered_4FGL_J2129.1-0240_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/708451/ft2_4FGL_J2129.1-0240_daily_bin1733.fits sctable="SC_DATA" expcube=/scratch/kocevski/708451/ltcube_688521601_688780801_4FGL_J2129.1-0240_daily_bin1733.fits outfile=/scratch/kocevski/708451/expmap_688521601_688780801_4FGL_J2129.1-0240_daily_bin1733.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/708451/ltcube_688521601_688780801_4FGL_J2129.1-0240_daily_bin1733.fits
.....................!
real 189.89
user 185.18
sys 4.30

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/708451/ft1_filtered_4FGL_J2129.1-0240_daily_bin1733.fits scfile=/scratch/kocevski/708451/ft2_4FGL_J2129.1-0240_daily_bin1733.fits outfile=/scratch/kocevski/708451/cmap_688521601_688780801_4FGL_J2129.1-0240_daily_bin1733.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=322.296 yref=-2.6829 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3433       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16939E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .48387E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .34072E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5973       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .35677E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .47197E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .28106       1.0000          .0000       .10000E+07
    10 'Prefactor '    .57254       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.6456       1.0000          .0000       .10000E+07
    12 'norm      '    13.678       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.483       1.0000          .0000       .10000E+07
    14 'norm      '    .16093E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6340       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1131       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56951E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    8.5994       1.0000          .0000       .10000E+07
    19 'Prefactor '    .35444E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0713       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88310       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=   6343.386     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     2417 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2433        6.3436        .20892E-06   -.50876E-03
   2  Prefactor     .14433E-08    10.199       -.25598E-07** at limit **
   3  Prefactor     .27472E-06    12.435       -.25697E-06** at limit **
   4  Prefactor     .55511E-10    34.839        .23093E-05** at limit **
   5  Prefactor     2.6286        2.2855        .24245E-06    .23232E-02
   6  Prefactor     17.074        2.4807        .40611E-07    .20704E-01
   7  Prefactor      .0000        36.425        .11905E-05** at limit **
   8  Prefactor     .10386E-05    7.8125       -.90846E-06** at limit **
   9  Prefactor     .27133        29.073        .19469E-05   -.90745E-03
  10  Prefactor     .56959        2.0753       -.57420E-06   -.42447E-03
  11  Prefactor     2.7980        13.195        .10251E-05    .12174E-01
  12  norm          13.439        8.9499       -.40986E-06   -.31635E-04
  13  Prefactor     25.779        38.819        .11781E-05   -.27882E-01
  14  norm          .44409E-09    8.3336        .11851E-05** at limit **
  15  Prefactor     6.6294        7.1803       -.57134E-06    .36729E-03
  16  Prefactor     1.1130        3.6384       -.12474E-06    .49152E-03
  17  Prefactor     .97977E-07    29.545        .31660E-06** at limit **
  18  Prefactor     8.6975        7.5057       -.15073E-06   -.46853E-01
  19  Prefactor     .35616E-06    10.149       -.59254E-06** at limit **
  20  Normalizat    1.0709        .26738       -.28495E-05   -.14389E-04
  21  Prefactor     .88341        .13158       -.43209E-05   -.49067E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.24327
  Prefactor  = 1.44329e-09
  Prefactor  = 2.74725e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 2.62859
  Prefactor  = 17.0736
  Prefactor  = 0
  Prefactor  = 1.03861e-06
  Prefactor  = 0.271332
  Prefactor  = 0.569586
  Prefactor  = 2.798
  norm       = 13.4393
  Prefactor  = 25.7789
  norm       = 4.44089e-10
  Prefactor  = 6.62944
  Prefactor  = 1.113
  Prefactor  = 9.79772e-08
  Prefactor  = 8.69752
  Prefactor  = 3.5616e-07
  Normalizat = 1.07094
  Prefactor  = 0.883414
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.386     FROM HESSE     STATUS=OK           367 CALLS     2784 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2433        6.3703        .36989E-03   -1.5654    
   2  Prefactor     .14433E-08    10.274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27472E-06    13.842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    34.644        .16243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6286        65.995        .63282E-03   -1.5676    
   6  Prefactor     17.074        18.117        .24228E-03   -1.5625    
   7  Prefactor      .0000        35.441        .16165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10386E-05    16.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27133        5.9052        .58401E-02   -1.5698    
  10  Prefactor     .56959        2.1563        .71725E-03   -1.5693    
  11  Prefactor     2.7980        127.25        .62654E-03   -1.5675    
  12  norm          13.439        8.9495        .27057E-03   -1.5635    
  13  Prefactor     25.779        43.954        .19814E-03   -1.5606    
  14  norm          .44409E-09    8.3574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6294        7.2339        .38937E-03   -1.5656    
  16  Prefactor     1.1130        3.7073        .11174E-02   -1.5687    
  17  Prefactor     .97977E-07    30.042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.6975        20.176        .34159E-03   -1.5649    
  19  Prefactor     .35616E-06    17.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0709        .23263        .72211E-01   -.90690    
  21  Prefactor     .88341        .10974        .44789E-01   -.96723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66935e-07
Minuit parameter uncertainties:
  1  6.37035
  2  0.000242472
  3  0.00390027
  4  7.83492e-05
  5  26.3423
  6  18.1171
  7  1.61946e-05
  8  0.00824469
  9  2.53162
  10  2.15633
  11  37.7385
  12  8.94949
  13  43.9541
  14  0.000118953
  15  7.23388
  16  3.70732
  17  0.00343091
  18  20.176
  19  0.00502917
  20  0.232856
  21  0.109767
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.039e-06  8.245e-03  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.637e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  8.834e-01  1.098e-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.071e+00  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 322.296 -2.683
Photon Flux Upper Limit: 9.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/708451/likelihoodResults_688521601_688780801_4FGL_J2129.1-0240_daily_bin1733.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): 102
logL (Free Index) = 6343.38622566
delta logL = -0.000275255158158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6343.27294647
delta logL = 0.113003927243

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10988E-01   1.0000          .0000       .10000E+07
     2 'Index     '    7.2497       1.0000          .0000       10.000    
     3 'Normalizat'    1.0206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89980       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=   6343.273     FROM MIGRAD    STATUS=CONVERGED    170 CALLS      425 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10650E-01    .23808E-01    .36904E-03** at limit **
   2  Index         7.2686        .85508        .22744        .90862E-04
   3  Normalizat    1.0212        .23661        .73779E-01    .84868E-05
   4  Prefactor     .89959        .11215        .45003E-01    .93959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0106497
  Index      = 7.26857
  Normalizat = 1.02125
  Prefactor  = 0.89959
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.273     FROM HESSE     STATUS=OK            33 CALLS      458 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10650E-01    .14281        .15157E-04   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.2686        3.3576        .11652E-01    .47093    
   3  Normalizat    1.0212        .27914        .32648E-03   -.92322    
   4  Prefactor     .89959        .13558        .17338E-03   -.96155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.55349e-11
Minuit parameter uncertainties:
  1  0.0779979
  2  3.80267
  3  0.279537
  4  0.135632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708451': 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) = 6343.27293507
delta logL = 0.113015329756

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.065e-02  7.800e-02  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  7.269e+00  3.803e+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:  8.996e-01  1.356e-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.021e+00  2.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/708451/cmap_HighResolution_688521601_688780801_4FGL_J2129.1-0240_daily_bin1733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.24e-03', job_status='DONE', photon_flux_upper_limit='9.24e-08', time_completed='2022-10-30 00:47:25.340280', job_id='708451', GAL2='0.90', fit_tolerance='1e-08', EG2='1.02', EG='1.07', time_epoch_completed='1667116045.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.13e-01', ts2='0.26', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1733' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 30 00:47:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 708451: <4FGL_J2129.1-0240_daily_bin1733> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1733> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Oct 30 00:35:28 2022
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 00:35:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 00:35:28 2022
Terminated at Sun Oct 30 00:47:26 2022
Results reported at Sun Oct 30 00:47:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1733 322.296 -2.6829 688521601 688780801 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 :                                   628.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             319.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            718 sec.

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

