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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1766
RA = 322.296, Dec = -2.6829
tmin = 697075201, tmax = 697334401
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='859617', job_status='RUN', time_executed='2023-02-06 01:28:33.650939', time_epoch_executed='1675675713.65' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/859617

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/859617/ft1_4FGL_J2129.1-0240_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/859617/ft2_4FGL_J2129.1-0240_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/859617/ft1_4FGL_J2129.1-0240_daily_bin1766.fits outfile=/scratch/kocevski/859617/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1766.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=697075201.0 tmax=697334401.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.70
user 3.47
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/859617/ft2_4FGL_J2129.1-0240_daily_bin1766.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/859617/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/859617/ft1_filtered_4FGL_J2129.1-0240_daily_bin1766.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 537

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/859617/ft1_filtered_4FGL_J2129.1-0240_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/859617/ft2_4FGL_J2129.1-0240_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/859617/ltcube_697075201_697334401_4FGL_J2129.1-0240_daily_bin1766.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/859617/ft2_4FGL_J2129.1-0240_daily_bin1766.fits
.....................!
real 13.52
user 13.18
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/859617/ft1_filtered_4FGL_J2129.1-0240_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/859617/ft2_4FGL_J2129.1-0240_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/859617/ltcube_697075201_697334401_4FGL_J2129.1-0240_daily_bin1766.fits outfile=/scratch/kocevski/859617/expmap_697075201_697334401_4FGL_J2129.1-0240_daily_bin1766.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/859617/ltcube_697075201_697334401_4FGL_J2129.1-0240_daily_bin1766.fits
.....................!
real 191.66
user 186.72
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/859617/ft1_filtered_4FGL_J2129.1-0240_daily_bin1766.fits scfile=/scratch/kocevski/859617/ft2_4FGL_J2129.1-0240_daily_bin1766.fits outfile=/scratch/kocevski/859617/cmap_697075201_697334401_4FGL_J2129.1-0240_daily_bin1766.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.56
user 0.39
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/859617/ft1_filtered_4FGL_J2129.1-0240_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/859617/ft2_4FGL_J2129.1-0240_daily_bin1766.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/859617/Model_4FGL_J2129.1-0240_daily_bin1766.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/859617/ft1_filtered_4FGL_J2129.1-0240_daily_bin1766.fits.....................!
real 61.25
user 59.63
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99806E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10444E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .17674E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    18.897       1.0000          .0000       .10000E+07
     5 'Prefactor '    .39075E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .55984E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .66143E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .58208       1.0000          .0000       .10000E+07
     9 'Prefactor '    .28197E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .31511E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .28555E-03   1.0000          .0000       .10000E+07
    12 'norm      '    10.711       1.0000          .0000       .10000E+07
    13 'Prefactor '    80.897       1.0000          .0000       .10000E+07
    14 'norm      '    10.442       1.0000          .0000       .10000E+07
    15 'Prefactor '    .26418E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.8439       1.0000          .0000       .10000E+07
    17 'Prefactor '    .51246E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .30054E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    55.120       1.0000          .0000       .10000E+07
    20 'Normalizat'    .77633       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0188       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=   5921.642     FROM MIGRAD    STATUS=CONVERGED    197 CALLS     1670 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    5.1015       -.40095E-06** at limit **
   2  Prefactor     .16653E-09    21.127       -.10329E-05** at limit **
   3  Prefactor      .0000        10.870       -.18906E-06** at limit **
   4  Prefactor     27.574        55.950        .44279E-05   -.19882E-02
   5  Prefactor     .49960E-09    8.3906       -.16003E-06** at limit **
   6  Prefactor     .48850E-08    11.282        .28843E-06** at limit **
   7  Prefactor     .22204E-09    68.414        .18191E-06** at limit **
   8  Prefactor     .19212E-04    913.15       -.34266E-04** at limit **
   9  Prefactor      .0000        2.8346       -.22074E-06** at limit **
  10  Prefactor     .33307E-09    7.5400       -.56072E-06** at limit **
  11  Prefactor     .94424E-07    32.345       -.25998E-05** at limit **
  12  norm          10.701        11.561        .78053E-06    .45783E-01
  13  Prefactor     84.181        52.844       -.83928E-06   -.13558E-01
  14  norm          10.255        6.8605       -.28921E-06   -.11955    
  15  Prefactor      .0000        4.9373       -.43903E-06** at limit **
  16  Prefactor     5.8454        8.5795        .57773E-06   -.65384E-02
  17  Prefactor     .22904E-06    30.949       -.35376E-06** at limit **
  18  Prefactor     .61062E-09    6.5502       -.34110E-06** at limit **
  19  Prefactor     55.468        2.5602        .11867E-06    .24136E-02
  20  Normalizat    .76939        .28127        .22724E-04    .16897E-03
  21  Prefactor     1.0192        .14179       -.11322E-04    .25095E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 27.5736
  Prefactor  = 4.996e-10
  Prefactor  = 4.88498e-09
  Prefactor  = 2.22045e-10
  Prefactor  = 1.92125e-05
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 9.44245e-08
  norm       = 10.7012
  Prefactor  = 84.1812
  norm       = 10.2545
  Prefactor  = 0
  Prefactor  = 5.84538
  Prefactor  = 2.29039e-07
  Prefactor  = 6.10623e-10
  Prefactor  = 55.4683
  Normalizat = 0.769393
  Prefactor  = 1.01918
 **********
 **   18 **HESSE 
 **********

 FCN=   5921.642     FROM HESSE     STATUS=OK           369 CALLS     2039 TOTAL
                     EDM=   .62E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    5.0723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    21.089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        10.882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.574        56.147        .23012E-03   -1.5603    
   5  Prefactor     .49960E-09    8.3711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .48850E-08    11.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    15.614        .11010E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19212E-04    71.616        .11382E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .33307E-09    1.9734        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .94424E-07    32.538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.701        11.811        .30589E-03   -1.5643    
  13  Prefactor     84.181        53.544        .11119E-03   -1.5524    
  14  norm          10.255        20.845        .30982E-03   -1.5644    
  15  Prefactor      .0000        4.9320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.8454        8.6186        .41520E-03   -1.5660    
  17  Prefactor     .22904E-06    31.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .61062E-09    6.5545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     55.468        25.850        .13470E-03   -1.5559    
  20  Normalizat    .76939        .24757        .82159E-01   -1.0121    
  21  Prefactor     1.0192        .11931        .42263E-01   -.92093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.17673e-07
Minuit parameter uncertainties:
  1  3.84119e-05
  2  0.000108838
  3  2.55305e-05
  4  56.1482
  5  0.000127687
  6  0.000468936
  7  0.000121654
  8  0.0741877
  9  6.44804e-06
  10  5.22059e-05
  11  0.00350611
  12  11.8114
  13  53.5443
  14  20.8456
  15  7.83645e-06
  16  8.6186
  17  0.00533091
  18  0.00012914
  19  25.8503
  20  0.247933
  21  0.119346
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.921e-05  7.419e-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.019e+00  1.193e-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.694e-01  2.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/859617/likelihoodResults_697075201_697334401_4FGL_J2129.1-0240_daily_bin1766.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) = 5921.64285878
delta logL = -0.000766659666624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5921.64211282
delta logL = -2.06968552448e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28319E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.7840       1.0000          .0000       10.000    
     3 'Normalizat'    .76823       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0194       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=   5921.642     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      234 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .52236E-07    1154.8       -.26676E-05** at limit **
   2  Index         2.6951        6.0000        .21892E-04   -.27539E-09
   3  Normalizat    .76939        .27031       -.25918E-05    .78035E-04
   4  Prefactor     1.0192        .14001       -.39887E-05    .12436E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.2236e-08
  Index      = 2.69505
  Normalizat = 0.769392
  Prefactor  = 1.01918
 **********
 **   18 **HESSE 
 **********

 FCN=   5921.642     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      273 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .52236E-07    25.229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6951        6.6813        .50000       -.47911    
   3  Normalizat    .76939        .86107E-03    .82159E-01   -1.0121    
   4  Prefactor     1.0192        .44470E-03    .42202E-01   -.92093    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21302e-12
Minuit parameter uncertainties:
  1  0.00229601
  2  1753.28
  3  0.000861067
  4  0.0004447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/859617': 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) = 5921.64209211
delta logL = 1.01990735857e-08

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  5.224e-08  2.296e-03  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.695e+00  1.753e+03  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.019e+00  4.447e-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.694e-01  8.611e-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/859617/cmap_HighResolution_697075201_697334401_4FGL_J2129.1-0240_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2023-02-06 01:38:14.071691', job_id='859617', GAL2='1.02', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1675676294.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.02e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1766' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:38:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 859617: <4FGL_J2129.1-0240_daily_bin1766> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1766> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Mon Feb  6 01:25:19 2023
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 01:26:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 01:26:21 2023
Terminated at Mon Feb  6 01:38:15 2023
Results reported at Mon Feb  6 01:38:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1766 322.296 -2.6829 697075201 697334401 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 :                                   581.48 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             257.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            776 sec.

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

