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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1751
RA = 322.296, Dec = -2.6829
tmin = 693187201, tmax = 693446401
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='86600', job_status='RUN', time_executed='2022-12-23 01:16:45.651334', time_epoch_executed='1671787005.65' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86600

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86600/ft1_4FGL_J2129.1-0240_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86600/ft2_4FGL_J2129.1-0240_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86600/ft1_4FGL_J2129.1-0240_daily_bin1751.fits outfile=/scratch/kocevski/86600/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1751.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=693187201.0 tmax=693446401.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.63
user 3.39
sys 0.23

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

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

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

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

Number of photons that the gtmktime cut: 594

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86600/ft1_filtered_4FGL_J2129.1-0240_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/86600/ft2_4FGL_J2129.1-0240_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/86600/ltcube_693187201_693446401_4FGL_J2129.1-0240_daily_bin1751.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/86600/ft2_4FGL_J2129.1-0240_daily_bin1751.fits
.....................!
real 11.86
user 11.51
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86600/ft1_filtered_4FGL_J2129.1-0240_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/86600/ft2_4FGL_J2129.1-0240_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/86600/ltcube_693187201_693446401_4FGL_J2129.1-0240_daily_bin1751.fits outfile=/scratch/kocevski/86600/expmap_693187201_693446401_4FGL_J2129.1-0240_daily_bin1751.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/86600/ltcube_693187201_693446401_4FGL_J2129.1-0240_daily_bin1751.fits
.....................!
real 192.06
user 187.07
sys 4.65

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/86600/ft1_filtered_4FGL_J2129.1-0240_daily_bin1751.fits scfile=/scratch/kocevski/86600/ft2_4FGL_J2129.1-0240_daily_bin1751.fits outfile=/scratch/kocevski/86600/cmap_693187201_693446401_4FGL_J2129.1-0240_daily_bin1751.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86600/ft1_filtered_4FGL_J2129.1-0240_daily_bin1751.fits scfile=/scratch/kocevski/86600/ft2_4FGL_J2129.1-0240_daily_bin1751.fits outfile=/scratch/kocevski/86600/cmap_HighResolution_693187201_693446401_4FGL_J2129.1-0240_daily_bin1751.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/86600/ft1_filtered_4FGL_J2129.1-0240_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/86600/ft2_4FGL_J2129.1-0240_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/86600/Model_4FGL_J2129.1-0240_daily_bin1751.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/86600/ft1_filtered_4FGL_J2129.1-0240_daily_bin1751.fits.....................!
real 65.35
user 63.82
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98254E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .16882E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19711       1.0000          .0000       .10000E+07
     4 'Prefactor '    .22270E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30856E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11786E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.9368       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14773E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .46572       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32806E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    23.962       1.0000          .0000       .10000E+07
    12 'norm      '    .81812E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .48517E-07   1.0000          .0000       .10000E+07
    14 'norm      '    11.741       1.0000          .0000       .10000E+07
    15 'Prefactor '    .85015E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.726       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84028E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    29.390       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.7374       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2644       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79128       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=   6696.712     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1634 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    1.3316       -.30704E-06** at limit **
   2  Prefactor     .22204E-09    25.120        .51210E-06** at limit **
   3  Prefactor     .27915E-03    4.8228        .25850E-06** at limit **
   4  Prefactor     .87108E-06    23.730        .64734E-06** at limit **
   5  Prefactor     .74940E-08    7.8476       -.34685E-07** at limit **
   6  Prefactor     .55511E-10    4.3537       -.14444E-06** at limit **
   7  Prefactor     5.9560        1.0928       -.19127E-07   -.69780E-02
   8  Prefactor     .16076E-06    19.868       -.14024E-05** at limit **
   9  Prefactor     .44510        10.023        .20414E-06    .16560E-01
  10  Prefactor     .11102E-09    2.9454        .33941E-06** at limit **
  11  Prefactor     25.001        5.7432       -.32903E-07    .23757    
  12  norm          .55511E-10    2.6795       -.21402E-07** at limit **
  13  Prefactor     .78166E-05    23.568        .65834E-06** at limit **
  14  norm          11.847        1.3987       -.16734E-07    .33223E-01
  15  Prefactor     .71165E-07    11.410       -.18771E-07** at limit **
  16  Prefactor     10.856        7.3305       -.80512E-07   -.19345E-02
  17  Prefactor     .12768E-08    5.3972       -.12559E-07** at limit **
  18  Prefactor     29.479        1.1585        .48867E-08    .38749E-01
  19  Prefactor     7.6420        1.0989       -.21984E-07   -.47427E-02
  20  Normalizat    1.2622        .26567        .42667E-05   -.13755E-04
  21  Prefactor     .79180        .13010       -.30119E-05   -.87689E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 0.000279152
  Prefactor  = 8.71081e-07
  Prefactor  = 7.49401e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 5.95603
  Prefactor  = 1.6076e-07
  Prefactor  = 0.4451
  Prefactor  = 1.11022e-10
  Prefactor  = 25.0006
  norm       = 5.55112e-11
  Prefactor  = 7.81664e-06
  norm       = 11.8473
  Prefactor  = 7.11653e-08
  Prefactor  = 10.856
  Prefactor  = 1.27676e-09
  Prefactor  = 29.4791
  Prefactor  = 7.64204
  Normalizat = 1.26217
  Prefactor  = 0.791799
 **********
 **   18 **HESSE 
 **********

 FCN=   6696.712     FROM HESSE     STATUS=OK           357 CALLS     1991 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    1.3309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22204E-09    25.028        .17251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27915E-03    16.875        .11827E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .87108E-06    48.578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .74940E-08    7.8511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    4.3562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.9560        22.471        .41189E-03   -1.5659    
   8  Prefactor     .16076E-06    19.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44510        9.7642        .82236E-03   -1.5695    
  10  Prefactor     .11102E-09    2.8827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.001        29.391        .20433E-03   -1.5608    
  12  norm          .55511E-10    2.6775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .78166E-05    49.533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.847        22.766        .29211E-03   -1.5639    
  15  Prefactor     .71165E-07    11.382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.856        7.3320        .30567E-03   -1.5642    
  17  Prefactor     .12768E-08    5.3919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     29.479        23.020        .18449E-03   -1.5599    
  19  Prefactor     7.6420        19.688        .36026E-03   -1.5653    
  20  Normalizat    1.2622        .22553        .68197E-01   -.84703    
  21  Prefactor     .79180        .10763        .43604E-01   -1.0003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29845e-06
Minuit parameter uncertainties:
  1  2.24934e-05
  2  0.000143102
  3  0.137271
  4  0.0130102
  5  0.000485745
  6  3.26456e-05
  7  22.4713
  8  0.00358081
  9  4.16945
  10  3.90766e-05
  11  29.3915
  12  2.80513e-05
  13  0.039354
  14  22.7659
  15  0.00180035
  16  7.33201
  17  0.000166318
  18  23.0196
  19  19.6878
  20  0.225707
  21  0.107659
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.608e-07  3.581e-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:  7.918e-01  1.077e-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.262e+00  2.257e-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.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/86600/likelihoodResults_693187201_693446401_4FGL_J2129.1-0240_daily_bin1751.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) = 6696.73647358
delta logL = -0.0240449942785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6696.71242933
delta logL = -7.4187937571e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83071E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.0913       1.0000          .0000       10.000    
     3 'Normalizat'    1.2622       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79180       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=   6696.712     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      204 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97145E-08    20.743        .74461E-05** at limit **
   2  Index         2.2780        6.0106        .86830E-04   -.14884E-09
   3  Normalizat    1.2622        .25960       -.44422E-04   -.39893E-03
   4  Prefactor     .79180        .12902        .33929E-04   -.59515E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.71445e-09
  Index      = 2.27797
  Normalizat = 1.26217
  Prefactor  = 0.791799
 **********
 **   18 **HESSE 
 **********

 FCN=   6696.712     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      239 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97145E-08    4.1372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2780        5.3996        .37928       -.57568    
   3  Normalizat    1.2622        .24870E-02    .68198E-01   -.84703    
   4  Prefactor     .79180        .12301E-02    .43610E-01   -1.0003    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30519e-11
Minuit parameter uncertainties:
  1  0.000401491
  2  14758.2
  3  0.00248703
  4  0.00123013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86600': 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) = 6696.71242859
delta logL = 3.68891051039e-09

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  9.714e-09  4.015e-04  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.278e+00  1.476e+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:  7.918e-01  1.230e-03  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.262e+00  2.487e-03  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/86600/cmap_HighResolution_693187201_693446401_4FGL_J2129.1-0240_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.45e-03', job_status='DONE', photon_flux_upper_limit='9.49e-08', time_completed='2022-12-23 01:26:10.024045', job_id='86600', GAL2='0.79', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1671787570.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='3.69e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1751' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:26:10 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 86600: <4FGL_J2129.1-0240_daily_bin1751> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1751 322.296 -2.6829 693187201 693446401 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 :                                   566.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             306.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   643 sec.
    Turnaround time :                            644 sec.

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

