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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1777
RA = 322.296, Dec = -2.6829
tmin = 699926401, tmax = 700185601
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='924378', job_status='RUN', time_executed='2023-03-11 01:23:15.549534', time_epoch_executed='1678526595.55' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/924378

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/924378/ft1_4FGL_J2129.1-0240_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/924378/ft2_4FGL_J2129.1-0240_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/924378/ft1_4FGL_J2129.1-0240_daily_bin1777.fits outfile=/scratch/kocevski/924378/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1777.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=699926401.0 tmax=700185601.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.62
user 3.42
sys 0.19

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

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

Number of photons that the gtmktime cut: 638

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/924378/ft1_filtered_4FGL_J2129.1-0240_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/924378/ft2_4FGL_J2129.1-0240_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/924378/ltcube_699926401_700185601_4FGL_J2129.1-0240_daily_bin1777.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/924378/ft2_4FGL_J2129.1-0240_daily_bin1777.fits
.....................!
real 11.94
user 11.61
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/924378/ft1_filtered_4FGL_J2129.1-0240_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/924378/ft2_4FGL_J2129.1-0240_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/924378/ltcube_699926401_700185601_4FGL_J2129.1-0240_daily_bin1777.fits outfile=/scratch/kocevski/924378/expmap_699926401_700185601_4FGL_J2129.1-0240_daily_bin1777.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/924378/ltcube_699926401_700185601_4FGL_J2129.1-0240_daily_bin1777.fits
.....................!
real 190.56
user 185.74
sys 4.49

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/924378/ft1_filtered_4FGL_J2129.1-0240_daily_bin1777.fits scfile=/scratch/kocevski/924378/ft2_4FGL_J2129.1-0240_daily_bin1777.fits outfile=/scratch/kocevski/924378/cmap_699926401_700185601_4FGL_J2129.1-0240_daily_bin1777.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/924378/ft1_filtered_4FGL_J2129.1-0240_daily_bin1777.fits scfile=/scratch/kocevski/924378/ft2_4FGL_J2129.1-0240_daily_bin1777.fits outfile=/scratch/kocevski/924378/cmap_HighResolution_699926401_700185601_4FGL_J2129.1-0240_daily_bin1777.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/924378/ft1_filtered_4FGL_J2129.1-0240_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/924378/ft2_4FGL_J2129.1-0240_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/924378/Model_4FGL_J2129.1-0240_daily_bin1777.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/924378/ft1_filtered_4FGL_J2129.1-0240_daily_bin1777.fits.....................!
real 71.04
user 69.70
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25058E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .46333E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    16.588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10931E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .39651       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.055       1.0000          .0000       .10000E+07
     7 'Prefactor '    .96251E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82416E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9718       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.2390       1.0000          .0000       .10000E+07
    11 'Prefactor '    31.783       1.0000          .0000       .10000E+07
    12 'norm      '    .13395E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .47272E-01   1.0000          .0000       .10000E+07
    14 'norm      '    15.179       1.0000          .0000       .10000E+07
    15 'Prefactor '    .18547E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .44313       1.0000          .0000       .10000E+07
    17 'Prefactor '    .88292       1.0000          .0000       .10000E+07
    18 'Prefactor '    .30032E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .16493E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0166       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .74400       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=   7174.863     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1624 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5486        .11716E-07** at limit **
   2  Prefactor     .38858E-09    17.164       -.24356E-06** at limit **
   3  Prefactor     16.526        11.986       -.15516E-06    .19990E-01
   4  Prefactor     .31297E-06    42.967        .23285E-05** at limit **
   5  Prefactor     .48483        3.7594       -.22386E-06   -.76065E-03
   6  Prefactor     10.108        12.028       -.26407E-06   -.16398E-01
   7  Prefactor     .14660E-06    7.2460       -.21669E-06** at limit **
   8  Prefactor      .0000        19.767        .96777E-06** at limit **
   9  Prefactor     5.0098        4.5034       -.20621E-07    .51569E-04
  10  Prefactor     1.2435        1.6975       -.38779E-06   -.51696E-03
  11  Prefactor     31.567        1.6679        .27556E-07    .10066E-01
  12  norm           .0000        2.6321       -.15190E-06** at limit **
  13  Prefactor     .14211E-07    64.052        .89518E-06** at limit **
  14  norm          15.137        1.7993       -.82274E-08    .94138E-02
  15  Prefactor     .20894E-06    7.7065       -.15470E-06** at limit **
  16  Prefactor     .44574        15.524        .11826E-05    .48743E-02
  17  Prefactor     .73276        3.6367        .40300E-06    .37012E-01
  18  Prefactor     .72164E-09    4.9164       -.54234E-06** at limit **
  19  Prefactor     .62544E-06    71.320       -.21027E-05** at limit **
  20  Normalizat    1.0170        .22504       -.68441E-06    .13628E-04
  21  Prefactor     .74397        .10979        .32761E-05    .35720E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 16.5264
  Prefactor  = 3.12972e-07
  Prefactor  = 0.484834
  Prefactor  = 10.1078
  Prefactor  = 1.46605e-07
  Prefactor  = 0
  Prefactor  = 5.00976
  Prefactor  = 1.24348
  Prefactor  = 31.5667
  norm       = 0
  Prefactor  = 1.42109e-08
  norm       = 15.1375
  Prefactor  = 2.08944e-07
  Prefactor  = 0.445742
  Prefactor  = 0.73276
  Prefactor  = 7.21645e-10
  Prefactor  = 6.25444e-07
  Normalizat = 1.01699
  Prefactor  = 0.743967
 **********
 **   18 **HESSE 
 **********

 FCN=   7174.863     FROM HESSE     STATUS=OK           363 CALLS     1987 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .38858E-09    17.348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.526        17.107        .24564E-03   -1.5627    
   4  Prefactor     .31297E-06    44.067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .48483        11.905        .89893E-02   -1.5694    
   6  Prefactor     10.108        14.116        .31576E-03   -1.5644    
   7  Prefactor     .14660E-06    9.2973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        19.727        .14428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0098        4.5144        .45079E-03   -1.5663    
  10  Prefactor     1.2435        1.7633        .10075E-02   -1.5686    
  11  Prefactor     31.567        31.030        .17741E-03   -1.5596    
  12  norm           .0000        2.6388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14211E-07    63.296        .15651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.137        18.665        .25681E-03   -1.5630    
  15  Prefactor     .20894E-06    10.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .44574        4.0638        .60642E-02   -1.5695    
  17  Prefactor     .73276        46.430        .46948E-03   -1.5691    
  18  Prefactor     .72164E-09    4.9409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .62544E-06    72.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0170        .19465        .66031E-01   -.92463    
  21  Prefactor     .74397        .91426E-01    .42984E-01   -1.0183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31687e-07
Minuit parameter uncertainties:
  1  1.85648e-05
  2  0.000159939
  3  17.1073
  4  0.00742726
  5  4.80497
  6  14.116
  7  0.00233485
  8  7.02063e-06
  9  4.51436
  10  1.76334
  11  31.0299
  12  7.89755e-06
  13  0.00189514
  14  18.6654
  15  0.00290845
  16  2.69178
  17  11.6657
  18  0.000120271
  19  0.0134639
  20  0.19479
  21  0.0914445
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  7.440e-01  9.144e-02  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.017e+00  1.948e-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: 8.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/924378/likelihoodResults_699926401_700185601_4FGL_J2129.1-0240_daily_bin1777.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) = 7174.88753266
delta logL = -0.0242988055952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7174.86323884
delta logL = -4.98977806274e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28715E-02   1.0000          .0000       .10000E+07
     2 'Index     '    3.7672       1.0000          .0000       10.000    
     3 'Normalizat'    1.0172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74388       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7174.292     FROM MIGRAD    STATUS=CONVERGED    239 CALLS      416 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12311E-03    .15499E-03     .0000    ** at limit **
   2  Index         9.8226        1.3766         .0000       -.17636E-03
   3  Normalizat    .94263        .19227         .0000        .80152E-04
   4  Prefactor     .76890        .92919E-01     .0000        .64258E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000123113
  Index      = 9.82264
  Normalizat = 0.942628
  Prefactor  = 0.768897
 **********
 **   18 **HESSE 
 **********

 FCN=   7174.292     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      451 TOTAL
                     EDM=   .41E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12311E-03    .66541E-02    .98437E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.8226        5.0300        .57527E-01    1.3036    
   3  Normalizat    .94263        .16640        .30208E-03   -.94978    
   4  Prefactor     .76890        .78782E-01    .16481E-03   -1.0089    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.05201e-05
Minuit parameter uncertainties:
  1  0.0018102
  2  7.53224
  3  0.166487
  4  0.0787933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/924378': 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) = 7174.29239391
delta logL = 0.570839938962

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  7.689e-01  7.879e-02  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:  9.426e-01  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.25
Ra Dec: 322.296 -2.683
Photon Index (Free Index): 9.82 +/- 7.53
Photon Flux (Free Index): 6.17e-08 +/- 6.09e-08
Energy Flux (Free Index): 6.91e-06 +/- 7.11e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/924378/cmap_HighResolution_699926401_700185601_4FGL_J2129.1-0240_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-03', comment='SUCCESS', energy_flux2='6.91e-06', dlogl='5.71e-01', photon_flux2='6.17e-08', job_status='DONE', time_completed='2023-03-11 01:33:50.698014', photon_index_error2='7.53', photon_index2='9.82', ts='0.00', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='8.41e-08', energy_flux_error2='7.11e-06', EG='1.02', time_epoch_completed='1678527230.7', return_code='0', job_id='924378', GAL2='0.77', EG2='0.94', return_code2='102', photon_flux_error2='6.09e-08', ts2='1.25', photon_index='2.64' WHERE bin_id='1777' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:33:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 924378: <4FGL_J2129.1-0240_daily_bin1777> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1777> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Mar 11 01:20:22 2023
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 01:20:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 01:20:23 2023
Terminated at Sat Mar 11 01:33:51 2023
Results reported at Sat Mar 11 01:33:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1777 322.296 -2.6829 699926401 700185601 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 :                                   637.27 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             274.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            809 sec.

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

