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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1748
RA = 322.296, Dec = -2.6829
tmin = 692409601, tmax = 692668801
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='896899', job_status='RUN', time_executed='2022-12-14 01:18:47.480799', time_epoch_executed='1671009527.48' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/896899

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/896899/ft1_4FGL_J2129.1-0240_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/896899/ft2_4FGL_J2129.1-0240_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/896899/ft1_4FGL_J2129.1-0240_daily_bin1748.fits outfile=/scratch/kocevski/896899/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1748.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.33
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 504

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/896899/ft1_filtered_4FGL_J2129.1-0240_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/896899/ft2_4FGL_J2129.1-0240_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/896899/ltcube_692409601_692668801_4FGL_J2129.1-0240_daily_bin1748.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/896899/ft2_4FGL_J2129.1-0240_daily_bin1748.fits
.....................!
real 12.17
user 11.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/896899/ft1_filtered_4FGL_J2129.1-0240_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/896899/ft2_4FGL_J2129.1-0240_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/896899/ltcube_692409601_692668801_4FGL_J2129.1-0240_daily_bin1748.fits outfile=/scratch/kocevski/896899/expmap_692409601_692668801_4FGL_J2129.1-0240_daily_bin1748.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/896899/ltcube_692409601_692668801_4FGL_J2129.1-0240_daily_bin1748.fits
.....................!
real 190.99
user 185.47
sys 5.20

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

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/896899/ft1_filtered_4FGL_J2129.1-0240_daily_bin1748.fits scfile=/scratch/kocevski/896899/ft2_4FGL_J2129.1-0240_daily_bin1748.fits outfile=/scratch/kocevski/896899/cmap_HighResolution_692409601_692668801_4FGL_J2129.1-0240_daily_bin1748.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/896899/ft1_filtered_4FGL_J2129.1-0240_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/896899/ft2_4FGL_J2129.1-0240_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/896899/Model_4FGL_J2129.1-0240_daily_bin1748.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/896899/ft1_filtered_4FGL_J2129.1-0240_daily_bin1748.fits.....................!
real 57.62
user 56.29
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89373E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    .78215E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18135E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    26.316       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33595E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6979       1.0000          .0000       .10000E+07
     7 'Prefactor '    .73053E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    10.542       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7358       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.5194       1.0000          .0000       .10000E+07
    11 'Prefactor '    50.719       1.0000          .0000       .10000E+07
    12 'norm      '    .11935E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.860       1.0000          .0000       .10000E+07
    14 'norm      '    13.736       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14988E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    .14416E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .11383E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.3300       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.6692       1.0000          .0000       .10000E+07
    20 'Normalizat'    .79990       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89411       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=   5568.234     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     2263 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    2.4733        .44909E-07** at limit **
   2  Prefactor     .12823E-07    6.8780        .78879E-07** at limit **
   3  Prefactor     .17764E-08    5.9179        .15865E-06** at limit **
   4  Prefactor     26.320        2.8326       -.28043E-06    .36084E-01
   5  Prefactor     .16659E-06    7.6323        .12322E-05** at limit **
   6  Prefactor     3.6994        3.5275        .10009E-05    .10692E-01
   7  Prefactor     .12768E-08    24.910       -.81708E-06** at limit **
   8  Prefactor     10.585        1.9971       -.29428E-06    .16623E-01
   9  Prefactor     7.7388        6.3639        .66596E-06    .43528E-01
  10  Prefactor     7.5186        3.5341        .33171E-07   -.33097E-02
  11  Prefactor     50.726        2.4123       -.16530E-06    .38191E-01
  12  norm          .88818E-09    3.4129        .16726E-06** at limit **
  13  Prefactor     11.833        2.4596        .36601E-06   -.25447E-01
  14  norm          13.738        1.3903       -.78629E-07    .15484E-02
  15  Prefactor     .11102E-08    2.8479        .11628E-06** at limit **
  16  Prefactor     .18019E-06    7.6146       -.21412E-05** at limit **
  17  Prefactor     .18485E-07    18.919        .60903E-06** at limit **
  18  Prefactor     1.3321        6.6504        .78660E-06    .26366E-03
  19  Prefactor     1.6687        8.7540       -.26803E-05   -.20310E-01
  20  Normalizat    .79970        .27369       -.44813E-05   -.49096E-03
  21  Prefactor     .89420        .13702        .42976E-06   -.61541E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 1.28231e-08
  Prefactor  = 1.77636e-09
  Prefactor  = 26.32
  Prefactor  = 1.66589e-07
  Prefactor  = 3.69936
  Prefactor  = 1.27676e-09
  Prefactor  = 10.5847
  Prefactor  = 7.73883
  Prefactor  = 7.51861
  Prefactor  = 50.7256
  norm       = 8.88178e-10
  Prefactor  = 11.8334
  norm       = 13.7376
  Prefactor  = 1.11022e-09
  Prefactor  = 1.80189e-07
  Prefactor  = 1.84852e-08
  Prefactor  = 1.33209
  Prefactor  = 1.66872
  Normalizat = 0.7997
  Prefactor  = 0.894201
 **********
 **   18 **HESSE 
 **********

 FCN=   5568.234     FROM HESSE     STATUS=OK           359 CALLS     2622 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    2.4673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12823E-07    6.9973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .17764E-08    5.9946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.320        42.845        .19497E-03   -1.5605    
   5  Prefactor     .16659E-06    9.7351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6994        10.880        .52494E-03   -1.5669    
   7  Prefactor     .12768E-08    25.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.585        112.44        .30833E-03   -1.5643    
   9  Prefactor     7.7388        8.9866        .36030E-03   -1.5652    
  10  Prefactor     7.5186        4.3365        .36549E-03   -1.5653    
  11  Prefactor     50.726        38.399        .14043E-03   -1.5566    
  12  norm          .88818E-09    3.4161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.833        58.868        .29063E-03   -1.5639    
  14  norm          13.738        24.155        .27000E-03   -1.5634    
  15  Prefactor     .11102E-08    2.8547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .18019E-06    11.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .18485E-07    19.144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.3321        20.790        .95197E-03   -1.5685    
  19  Prefactor     1.6687        14.316        .81574E-03   -1.5682    
  20  Normalizat    .79970        .24070        .76606E-01   -1.0008    
  21  Prefactor     .89420        .11418        .44930E-01   -.96344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.72422e-07
Minuit parameter uncertainties:
  1  4.40236e-05
  2  0.000599204
  3  0.000205315
  4  42.8451
  5  0.00254701
  6  10.8804
  7  0.000357426
  8  68.9999
  9  8.98664
  10  4.33652
  11  38.3992
  12  0.000109309
  13  52.7876
  14  24.1557
  15  0.000111895
  16  0.00284348
  17  0.00119024
  18  10.5251
  19  9.77523
  20  0.241025
  21  0.114207
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  8.942e-01  1.142e-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.997e-01  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/896899/likelihoodResults_692409601_692668801_4FGL_J2129.1-0240_daily_bin1748.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) = 5568.13656433
delta logL = 0.0974254790535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5567.99294358
delta logL = 0.241046224476

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89973E-01   1.0000          .0000       .10000E+07
     2 'Index     '    6.3211       1.0000          .0000       10.000    
     3 'Normalizat'    .73683       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91741       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=   5567.993     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      283 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89185E-01    1.7160        .67236E-03** at limit **
   2  Index         6.3261        3.1771        .15491        .10856E-03
   3  Normalizat    .73707        .37762E-01    .79462E-01    .43172E-04
   4  Prefactor     .91727        .19306E-01    .45227E-01    .33220E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0891845
  Index      = 6.32612
  Normalizat = 0.73707
  Prefactor  = 0.917266
 **********
 **   18 **HESSE 
 **********

 FCN=   5567.993     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      314 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89185E-01    8.3912        .29697E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.3261        8.0503        .81564E-02    .26844    
   3  Normalizat    .73707        .20513        .35181E-03   -1.0245    
   4  Prefactor     .91727        .10239        .16178E-03   -.95540    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.40267e-07
Minuit parameter uncertainties:
  1  1.73017
  2  10.3204
  3  0.205346
  4  0.102414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/896899': 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) = 5567.9929425
delta logL = 0.241047304907

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  8.918e-02  1.730e+00  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  6.326e+00  1.032e+01  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:  9.173e-01  1.024e-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.371e-01  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/896899/cmap_HighResolution_692409601_692668801_4FGL_J2129.1-0240_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-02', job_status='DONE', photon_flux_upper_limit='1.70e-07', time_completed='2022-12-14 01:28:37.870703', job_id='896899', GAL2='0.92', fit_tolerance='1e-08', EG2='0.74', EG='0.80', time_epoch_completed='1671010117.87', return_code2='102', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.41e-01', ts2='0.59', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1748' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:28:37 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 896899: <4FGL_J2129.1-0240_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1748> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Dec 14 01:15:22 2022
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:15:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:15:24 2022
Terminated at Wed Dec 14 01:28:38 2022
Results reported at Wed Dec 14 01:28:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1748 322.296 -2.6829 692409601 692668801 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 :                                   592.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            796 sec.

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

