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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1715
RA = 322.296, Dec = -2.6829
tmin = 683856001, tmax = 684115201
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='233135', job_status='RUN', time_executed='2022-09-16 23:17:23.141354', time_epoch_executed='1663395443.14' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233135

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233135/ft1_4FGL_J2129.1-0240_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233135/ft2_4FGL_J2129.1-0240_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233135/ft1_4FGL_J2129.1-0240_daily_bin1715.fits outfile=/scratch/kocevski/233135/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1715.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=683856001.0 tmax=684115201.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.51
user 3.25
sys 0.22

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

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

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

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

Number of photons that the gtmktime cut: 546

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233135/ft1_filtered_4FGL_J2129.1-0240_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/233135/ft2_4FGL_J2129.1-0240_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/233135/ltcube_683856001_684115201_4FGL_J2129.1-0240_daily_bin1715.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/233135/ft2_4FGL_J2129.1-0240_daily_bin1715.fits
.....................!
real 15.45
user 15.02
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233135/ft1_filtered_4FGL_J2129.1-0240_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/233135/ft2_4FGL_J2129.1-0240_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/233135/ltcube_683856001_684115201_4FGL_J2129.1-0240_daily_bin1715.fits outfile=/scratch/kocevski/233135/expmap_683856001_684115201_4FGL_J2129.1-0240_daily_bin1715.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/233135/ltcube_683856001_684115201_4FGL_J2129.1-0240_daily_bin1715.fits
.....................!
real 192.86
user 187.64
sys 4.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/233135/ft1_filtered_4FGL_J2129.1-0240_daily_bin1715.fits scfile=/scratch/kocevski/233135/ft2_4FGL_J2129.1-0240_daily_bin1715.fits outfile=/scratch/kocevski/233135/cmap_683856001_684115201_4FGL_J2129.1-0240_daily_bin1715.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233135/ft1_filtered_4FGL_J2129.1-0240_daily_bin1715.fits scfile=/scratch/kocevski/233135/ft2_4FGL_J2129.1-0240_daily_bin1715.fits outfile=/scratch/kocevski/233135/cmap_HighResolution_683856001_684115201_4FGL_J2129.1-0240_daily_bin1715.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/233135/ft1_filtered_4FGL_J2129.1-0240_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/233135/ft2_4FGL_J2129.1-0240_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/233135/Model_4FGL_J2129.1-0240_daily_bin1715.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/233135/ft1_filtered_4FGL_J2129.1-0240_daily_bin1715.fits.....................!
real 60.49
user 58.94
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15585E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10973E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .52542E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    18.542       1.0000          .0000       .10000E+07
     5 'Prefactor '    .27740E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.688       1.0000          .0000       .10000E+07
     7 'Prefactor '    33.949       1.0000          .0000       .10000E+07
     8 'Prefactor '    .37861E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.5503       1.0000          .0000       .10000E+07
    10 'Prefactor '    .85931E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.6098       1.0000          .0000       .10000E+07
    12 'norm      '    .22755E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .47891E-02   1.0000          .0000       .10000E+07
    14 'norm      '    21.025       1.0000          .0000       .10000E+07
    15 'Prefactor '    .85603E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    14.375       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.282       1.0000          .0000       .10000E+07
    18 'Prefactor '    18.902       1.0000          .0000       .10000E+07
    19 'Prefactor '    .31957E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .70618       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0713       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=   6147.443     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1261 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    6.6121        .85213E-05** at limit **
   2  Prefactor     .44620E-06    5.0505        .38497E-05** at limit **
   3  Prefactor     .12768E-08    9.3721       -.11154E-05** at limit **
   4  Prefactor     19.818        50.257        .14648E-04   -.12356E-01
   5  Prefactor     .91094E-07    12.429        .74829E-05** at limit **
   6  Prefactor     12.649        1.6016        .56256E-06   -.26067E-01
   7  Prefactor     34.096        1.2058       -.24751E-06   -.34996E-01
   8  Prefactor     .15522E-05    27.253        .29649E-04** at limit **
   9  Prefactor     4.4988        5.0413       -.92158E-06    .38769E-02
  10  Prefactor      .0000        1.0282       -.68543E-06** at limit **
  11  Prefactor     7.5796        1.7388       -.84317E-06   -.15730E-01
  12  norm           .0000        3.4374       -.20248E-05** at limit **
  13  Prefactor     .21923E-05    6.0159        .44893E-05** at limit **
  14  norm          20.039        6.6204        .32154E-05   -.17572    
  15  Prefactor     .11102E-09    3.0097       -.30477E-05** at limit **
  16  Prefactor     14.350        10.169       -.21943E-05   -.11609E-01
  17  Prefactor     17.292        1.3661        .46346E-06    .28670E-01
  18  Prefactor     18.933        1.2562        .23201E-06    .18384E-01
  19  Prefactor     .13726E-05    4.8033        .37221E-05** at limit **
  20  Normalizat    .70770        .29069       -.19248E-04   -.26289E-03
  21  Prefactor     1.0708        .14695        .13468E-04   -.43828E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 4.46199e-07
  Prefactor  = 1.27676e-09
  Prefactor  = 19.8177
  Prefactor  = 9.10938e-08
  Prefactor  = 12.6485
  Prefactor  = 34.0963
  Prefactor  = 1.5522e-06
  Prefactor  = 4.49881
  Prefactor  = 0
  Prefactor  = 7.57963
  norm       = 0
  Prefactor  = 2.1923e-06
  norm       = 20.0394
  Prefactor  = 1.11022e-10
  Prefactor  = 14.3498
  Prefactor  = 17.2925
  Prefactor  = 18.9329
  Prefactor  = 1.37257e-06
  Normalizat = 0.707698
  Prefactor  = 1.07076
 **********
 **   18 **HESSE 
 **********

 FCN=   6147.443     FROM HESSE     STATUS=OK           357 CALLS     1618 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    6.5672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44620E-06    15.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12768E-08    9.3781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.818        50.536        .23232E-03   -1.5619    
   5  Prefactor     .91094E-07    12.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.649        18.141        .28096E-03   -1.5637    
   7  Prefactor     34.096        23.279        .17165E-03   -1.5591    
   8  Prefactor     .15522E-05    28.676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4988        5.0524        .47169E-03   -1.5666    
  10  Prefactor      .0000        1.0249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5796        25.459        .36330E-03   -1.5653    
  12  norm           .0000        3.4388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .21923E-05    15.889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          20.039        26.301        .21815E-03   -1.5618    
  15  Prefactor     .11102E-09    3.0106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.350        10.266        .26392E-03   -1.5632    
  17  Prefactor     17.292        12.673        .24065E-03   -1.5625    
  18  Prefactor     18.933        15.944        .23009E-03   -1.5621    
  19  Prefactor     .13726E-05    15.367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .70770        .26306        .89773E-01   -1.0359    
  21  Prefactor     1.0708        .12675        .38796E-01   -.90407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49426e-06
Minuit parameter uncertainties:
  1  6.86359e-05
  2  0.00525123
  3  0.000219603
  4  50.5374
  5  0.00213988
  6  18.1415
  7  23.2786
  8  0.0133433
  9  5.05237
  10  7.33866e-06
  11  25.4597
  12  1.21108e-05
  13  0.0118038
  14  26.3016
  15  3.52488e-05
  16  10.2664
  17  12.6733
  18  15.9438
  19  0.00918526
  20  0.263529
  21  0.126786
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.552e-06  1.334e-02  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.071e+00  1.268e-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.077e-01  2.635e-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.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/233135/likelihoodResults_683856001_684115201_4FGL_J2129.1-0240_daily_bin1715.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) = 6147.45959748
delta logL = -0.0170205049626

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6147.44257885
delta logL = -1.87572368304e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35334E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.4140       1.0000          .0000       10.000    
     3 'Normalizat'    .70746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0709       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=   6147.443     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      242 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    35.064       -.14324E-05** at limit **
   2  Index         2.2591        6.0302        .32351E-05    .91013E-12
   3  Normalizat    .70770        .28233        .36538E-05    .46447E-04
   4  Prefactor     1.0708        .14550       -.24097E-05    .13039E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21645e-10
  Index      = 2.25913
  Normalizat = 0.707701
  Prefactor  = 1.07076
 **********
 **   18 **HESSE 
 **********

 FCN=   6147.443     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      277 TOTAL
                     EDM=   .78E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    .71171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2591        5.1367        .50000       -.58018    
   3  Normalizat    .70770        .84287E-03    .89773E-01   -1.0359    
   4  Prefactor     1.0708        .43188E-03    .38814E-01   -.90407    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.83258e-14
Minuit parameter uncertainties:
  1  4.60615e-05
  2  12962.2
  3  0.000842866
  4  0.000431877
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233135': 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) = 6147.44257694
delta logL = 2.71256794804e-08

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  7.216e-10  4.606e-05  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.259e+00  1.296e+04  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.071e+00  4.319e-04  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.077e-01  8.429e-04  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/233135/cmap_HighResolution_683856001_684115201_4FGL_J2129.1-0240_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.13e-03', job_status='DONE', photon_flux_upper_limit='9.09e-08', time_completed='2022-09-16 23:26:17.653271', job_id='233135', GAL2='1.07', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1663395977.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.71e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1715' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:26:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 233135: <4FGL_J2129.1-0240_daily_bin1715> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1715 322.296 -2.6829 683856001 684115201 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 :                                   535.62 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            660 sec.

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

