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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1726
RA = 322.296, Dec = -2.6829
tmin = 686707201, tmax = 686966401
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='88225', job_status='RUN', time_executed='2022-10-09 00:36:22.343798', time_epoch_executed='1665300982.34' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88225

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88225/ft1_4FGL_J2129.1-0240_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88225/ft2_4FGL_J2129.1-0240_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88225/ft1_4FGL_J2129.1-0240_daily_bin1726.fits outfile=/scratch/kocevski/88225/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1726.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=686707201.0 tmax=686966401.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.10
user 2.87
sys 0.21

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

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

Number of photons that the gtmktime cut: 603

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88225/ft1_filtered_4FGL_J2129.1-0240_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/88225/ft2_4FGL_J2129.1-0240_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/88225/ltcube_686707201_686966401_4FGL_J2129.1-0240_daily_bin1726.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/88225/ft2_4FGL_J2129.1-0240_daily_bin1726.fits
.....................!
real 12.42
user 12.01
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88225/ft1_filtered_4FGL_J2129.1-0240_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88225/ft2_4FGL_J2129.1-0240_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/88225/ltcube_686707201_686966401_4FGL_J2129.1-0240_daily_bin1726.fits outfile=/scratch/kocevski/88225/expmap_686707201_686966401_4FGL_J2129.1-0240_daily_bin1726.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/88225/ltcube_686707201_686966401_4FGL_J2129.1-0240_daily_bin1726.fits
.....................!
real 190.57
user 184.62
sys 5.57

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/88225/ft1_filtered_4FGL_J2129.1-0240_daily_bin1726.fits scfile=/scratch/kocevski/88225/ft2_4FGL_J2129.1-0240_daily_bin1726.fits outfile=/scratch/kocevski/88225/cmap_686707201_686966401_4FGL_J2129.1-0240_daily_bin1726.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.53
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88225/ft1_filtered_4FGL_J2129.1-0240_daily_bin1726.fits scfile=/scratch/kocevski/88225/ft2_4FGL_J2129.1-0240_daily_bin1726.fits outfile=/scratch/kocevski/88225/cmap_HighResolution_686707201_686966401_4FGL_J2129.1-0240_daily_bin1726.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88225/ft1_filtered_4FGL_J2129.1-0240_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88225/ft2_4FGL_J2129.1-0240_daily_bin1726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88225/Model_4FGL_J2129.1-0240_daily_bin1726.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/88225/ft1_filtered_4FGL_J2129.1-0240_daily_bin1726.fits.....................!
real 65.95
user 64.58
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16542E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10876E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    16.517       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54144E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.718       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     7 'Prefactor '    .32752E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .35773E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8298       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.8847       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10607E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .17764E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    .22421E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45519E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.4769       1.0000          .0000       .10000E+07
    17 'Prefactor '    11.120       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.5458       1.0000          .0000       .10000E+07
    19 'Prefactor '    .13767E-07   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0914       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80211       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=   6769.022     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1946 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3959       -.87797E-07** at limit **
   2  Prefactor     .38435E-05    49.394       -.13957E-05** at limit **
   3  Prefactor     16.522        22.173       -.84307E-07    .26392E-02
   4  Prefactor     .42781E-05    48.398       -.18912E-05** at limit **
   5  Prefactor     12.720        13.501       -.13069E-05   -.10890E-02
   6  Prefactor     11.271        11.736        .59401E-06    .12713E-02
   7  Prefactor     .49960E-09    14.769       -.44172E-06** at limit **
   8  Prefactor     .76494E-07    179.27       -.13404E-04** at limit **
   9  Prefactor     1.8308        5.1881        .12183E-06   -.93336E-03
  10  Prefactor     2.8768        2.3969       -.14938E-07    .59508E-02
  11  Prefactor     .10965E-05    25.598        .71045E-06** at limit **
  12  norm           .0000        2.1177        .25172E-06** at limit **
  13  Prefactor     .10910E-05    24.174        .56011E-06** at limit **
  14  norm          .22204E-09    10.652        .39291E-06** at limit **
  15  Prefactor      .0000        7.7980        .12618E-06** at limit **
  16  Prefactor     5.4781        6.2545       -.93234E-07    .91090E-03
  17  Prefactor     11.123        7.9070        .30091E-06    .78826E-02
  18  Prefactor     4.5469        11.231       -.72594E-06   -.20241E-02
  19  Prefactor     .49960E-09    13.893        .84312E-06** at limit **
  20  Normalizat    1.0909        .27090        .66371E-05    .68908E-04
  21  Prefactor     .80224        .13064       -.18064E-05    .32827E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.84354e-06
  Prefactor  = 16.5219
  Prefactor  = 4.27808e-06
  Prefactor  = 12.7201
  Prefactor  = 11.271
  Prefactor  = 4.996e-10
  Prefactor  = 7.64944e-08
  Prefactor  = 1.8308
  Prefactor  = 2.87683
  Prefactor  = 1.09646e-06
  norm       = 0
  Prefactor  = 1.09096e-06
  norm       = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 5.4781
  Prefactor  = 11.123
  Prefactor  = 4.54689
  Prefactor  = 4.996e-10
  Normalizat = 1.09087
  Prefactor  = 0.802236
 **********
 **   18 **HESSE 
 **********

 FCN=   6769.022     FROM HESSE     STATUS=OK           355 CALLS     2301 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .38435E-05    95.777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.522        22.236        .24617E-03   -1.5627    
   4  Prefactor     .42781E-05    99.094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.720        14.268        .28063E-03   -1.5637    
   6  Prefactor     11.271        11.872        .29820E-03   -1.5641    
   7  Prefactor     .49960E-09    14.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .76494E-07    178.95        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8308        5.2045        .77126E-03   -1.5681    
  10  Prefactor     2.8768        2.3956        .59812E-03   -1.5674    
  11  Prefactor     .10965E-05    49.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.1230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10910E-05    49.300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .22204E-09    10.660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        7.7827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.4781        6.2333        .42911E-03   -1.5661    
  17  Prefactor     11.123        13.951        .30018E-03   -1.5641    
  18  Prefactor     4.5469        13.400        .47192E-03   -1.5665    
  19  Prefactor     .49960E-09    13.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0909        .21861        .69301E-01   -.90045    
  21  Prefactor     .80224        .10516        .43745E-01   -.99646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90063e-07
Minuit parameter uncertainties:
  1  3.90836e-06
  2  0.0383737
  3  22.2363
  4  0.0411801
  5  14.2678
  6  11.8718
  7  0.000169006
  8  0.00740063
  9  5.20452
  10  2.39559
  11  0.0146923
  12  6.43357e-06
  13  0.0146676
  14  9.50055e-05
  15  1.79337e-05
  16  6.2333
  17  13.951
  18  13.4
  19  0.000170111
  20  0.21879
  21  0.105186
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  7.649e-08  7.401e-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.022e-01  1.052e-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.091e+00  2.188e-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: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88225/likelihoodResults_686707201_686966401_4FGL_J2129.1-0240_daily_bin1726.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) = 6769.02507414
delta logL = -0.00297747236345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6769.02215936
delta logL = -6.26979262961e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98590E-04   1.0000          .0000       .10000E+07
     2 'Index     '    3.1453       1.0000          .0000       10.000    
     3 'Normalizat'    1.0887       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80278       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=   6769.022     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      250 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    831.09       -.25008E-05** at limit **
   2  Index         2.9455        6.4701        .16665E-05   -.38883E-11
   3  Normalizat    1.0909        .26117        .33349E-05    .20608E-04
   4  Prefactor     .80224        .12969       -.23286E-05    .40056E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 2.94545
  Normalizat = 1.09087
  Prefactor  = 0.802236
 **********
 **   18 **HESSE 
 **********

 FCN=   6769.022     FROM HESSE     STATUS=NOT POSDEF    45 CALLS      295 TOTAL
                     EDM=   .28E-18    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .18668E-02    .85721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9455        7.8094        .50000       -.42345    
   3  Normalizat    1.0909        .35867E-04    .69302E-01   -.90045    
   4  Prefactor     .80224        .17751E-04    .43753E-01   -.99646    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.77753e-19
Minuit parameter uncertainties:
  1  1.46472e-06
  2  996.893
  3  3.58672e-05
  4  1.77505e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88225': 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): 102
logL (Free Index) = 6769.02209666
delta logL = 2.22826201934e-10

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  2.776e-10  1.465e-06  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.945e+00  9.969e+02  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.022e-01  1.775e-05  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.091e+00  3.587e-05  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/88225/cmap_HighResolution_686707201_686966401_4FGL_J2129.1-0240_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.21e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2022-10-09 00:46:11.568923', job_id='88225', GAL2='0.80', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1665301571.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.23e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1726' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:46:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 88225: <4FGL_J2129.1-0240_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1726> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Oct  9 00:35:41 2022
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:35:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:35:47 2022
Terminated at Sun Oct  9 00:46:12 2022
Results reported at Sun Oct  9 00:46:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1726 322.296 -2.6829 686707201 686966401 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 :                                   591.33 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            631 sec.

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

