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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1778
RA = 322.296, Dec = -2.6829
tmin = 700185601, tmax = 700444801
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='978746', job_status='RUN', time_executed='2023-03-14 02:05:26.945826', time_epoch_executed='1678784726.95' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/978746

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/978746/ft1_4FGL_J2129.1-0240_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/978746/ft2_4FGL_J2129.1-0240_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/978746/ft1_4FGL_J2129.1-0240_daily_bin1778.fits outfile=/scratch/kocevski/978746/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1778.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=700185601.0 tmax=700444801.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.94
user 3.71
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/978746/ft1_filtered_4FGL_J2129.1-0240_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/978746/ft2_4FGL_J2129.1-0240_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/978746/ltcube_700185601_700444801_4FGL_J2129.1-0240_daily_bin1778.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/978746/ft2_4FGL_J2129.1-0240_daily_bin1778.fits
.....................!
real 12.26
user 11.93
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/978746/ft1_filtered_4FGL_J2129.1-0240_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/978746/ft2_4FGL_J2129.1-0240_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/978746/ltcube_700185601_700444801_4FGL_J2129.1-0240_daily_bin1778.fits outfile=/scratch/kocevski/978746/expmap_700185601_700444801_4FGL_J2129.1-0240_daily_bin1778.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/978746/ltcube_700185601_700444801_4FGL_J2129.1-0240_daily_bin1778.fits
.....................!
real 191.54
user 185.85
sys 5.37

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/978746/ft1_filtered_4FGL_J2129.1-0240_daily_bin1778.fits scfile=/scratch/kocevski/978746/ft2_4FGL_J2129.1-0240_daily_bin1778.fits outfile=/scratch/kocevski/978746/cmap_700185601_700444801_4FGL_J2129.1-0240_daily_bin1778.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/978746/ft1_filtered_4FGL_J2129.1-0240_daily_bin1778.fits scfile=/scratch/kocevski/978746/ft2_4FGL_J2129.1-0240_daily_bin1778.fits outfile=/scratch/kocevski/978746/cmap_HighResolution_700185601_700444801_4FGL_J2129.1-0240_daily_bin1778.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/978746/ft1_filtered_4FGL_J2129.1-0240_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/978746/ft2_4FGL_J2129.1-0240_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/978746/Model_4FGL_J2129.1-0240_daily_bin1778.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/978746/ft1_filtered_4FGL_J2129.1-0240_daily_bin1778.fits.....................!
real 74.39
user 73.03
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4959       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19024E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19756E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .23779E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16084E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14892E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .84897E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    31.048       1.0000          .0000       .10000E+07
     9 'Prefactor '    .65594       1.0000          .0000       .10000E+07
    10 'Prefactor '    .81012       1.0000          .0000       .10000E+07
    11 'Prefactor '    .61547E-03   1.0000          .0000       .10000E+07
    12 'norm      '    4.7115       1.0000          .0000       .10000E+07
    13 'Prefactor '    .80256E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .87302E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .47806E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22236E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    8.7879       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7358       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23592E-07   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3189       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84387       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=   7483.148     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1602 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5006        4.5710        .44289E-08   -.34420E-03
   2  Prefactor     .63971E-06    4.6554        .34646E-06** at limit **
   3  Prefactor     .20706E-07    5.6654        .31869E-06** at limit **
   4  Prefactor     .63616E-06    13.013        .66791E-07** at limit **
   5  Prefactor     .29421E-08    6.7704        .73462E-07** at limit **
   6  Prefactor     .57154E-06    6.3722        .43267E-07** at limit **
   7  Prefactor     .67335E-07    8.4496        .38489E-06** at limit **
   8  Prefactor     30.868        2.2003       -.14350E-08    .53430E-01
   9  Prefactor     .63711        4.4880       -.31069E-06   -.17097E-02
  10  Prefactor     .82242        2.0643        .68257E-07    .16383E-03
  11  Prefactor     .38278E-04    24.011        .97952E-07** at limit **
  12  norm          4.6964        6.3293       -.14217E-06   -.15637E-02
  13  Prefactor     .14370E-05    6.6881        .31395E-07** at limit **
  14  norm          .61062E-09    1.2183        .20823E-07** at limit **
  15  Prefactor     .55511E-10    3.2583       -.97616E-07** at limit **
  16  Prefactor     .24336E-05    8.1519        .11348E-06** at limit **
  17  Prefactor     8.7410        9.8843       -.51637E-07   -.42837E-02
  18  Prefactor     8.7094        5.8835       -.19035E-07   -.17983E-02
  19  Prefactor     .39611E-04    26.899        .52839E-07** at limit **
  20  Normalizat    1.3191        .25845       -.80093E-05   -.24093E-03
  21  Prefactor     .84394        .12658        .30339E-05   -.23292E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.5006
  Prefactor  = 6.39711e-07
  Prefactor  = 2.07057e-08
  Prefactor  = 6.36158e-07
  Prefactor  = 2.94209e-09
  Prefactor  = 5.71543e-07
  Prefactor  = 6.7335e-08
  Prefactor  = 30.8678
  Prefactor  = 0.637112
  Prefactor  = 0.822424
  Prefactor  = 3.82777e-05
  norm       = 4.69643
  Prefactor  = 1.43696e-06
  norm       = 6.10623e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 2.43361e-06
  Prefactor  = 8.74099
  Prefactor  = 8.70942
  Prefactor  = 3.96113e-05
  Normalizat = 1.3191
  Prefactor  = 0.843944
 **********
 **   18 **HESSE 
 **********

 FCN=   7483.148     FROM HESSE     STATUS=OK           357 CALLS     1959 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5006        4.5656        .54051E-03   -1.5671    
   2  Prefactor     .63971E-06    9.9494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .20706E-07    10.460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .63616E-06    20.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .29421E-08    6.7660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .57154E-06    16.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .67335E-07    8.6408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.868        37.920        .17949E-03   -1.5597    
   9  Prefactor     .63711        4.5048        .64359E-03   -1.5692    
  10  Prefactor     .82242        2.2300        .52183E-03   -1.5690    
  11  Prefactor     .38278E-04    48.416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.6964        6.3209        .46335E-03   -1.5665    
  13  Prefactor     .14370E-05    18.675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    10.327        .14284E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    3.2577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .24336E-05    14.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.7410        10.046        .33788E-03   -1.5649    
  18  Prefactor     8.7094        19.111        .33890E-03   -1.5649    
  19  Prefactor     .39611E-04    51.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3191        .21654        .69100E-01   -.82998    
  21  Prefactor     .84394        .10456        .44285E-01   -.98128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00153e-06
Minuit parameter uncertainties:
  1  4.56557
  2  0.00504568
  3  0.000930452
  4  0.00723316
  5  0.000281381
  6  0.00622042
  7  0.00152546
  8  37.9203
  9  3.38825
  10  2.23005
  11  0.0860996
  12  6.32093
  13  0.0103607
  14  0.000160979
  15  1.93152e-05
  16  0.0119738
  17  10.0462
  18  19.1108
  19  0.0907443
  20  0.216693
  21  0.104584
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  3.087e+01  3.792e+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.439e-01  1.046e-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.319e+00  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.26
Ra Dec: 322.296 -2.683
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 3.92e-08 +/- 4.81e-08
Energy Flux (Fixed Index): 9.94e-06 +/- 1.22e-05

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

Saving results to:
/scratch/kocevski/978746/likelihoodResults_700185601_700444801_4FGL_J2129.1-0240_daily_bin1778.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) = 7483.10673578
delta logL = 0.040821568472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7483.10305127
delta logL = 0.0445060765978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.758       1.0000          .0000       .10000E+07
     2 'Index     '    2.3664       1.0000          .0000       10.000    
     3 'Normalizat'    1.3303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84014       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7483.103     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      286 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.764        42.586        .66900E-05   -.88465E-02
   2  Index         2.3665        .87704        .12235E-01   -.42384E-03
   3  Normalizat    1.3298        .25918        .30467E-03    .42691E-03
   4  Prefactor     .84040        .12695        .18377E-03    .80388E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.7644
  Index      = 2.36647
  Normalizat = 1.32976
  Prefactor  = 0.8404
 **********
 **   18 **HESSE 
 **********

 FCN=   7483.103     FROM HESSE     STATUS=OK            23 CALLS      309 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.764        42.079        .13380E-05   -1.5588    
   2  Index         2.3665        .86614        .48940E-03   -.55472    
   3  Normalizat    1.3298        .25931        .60935E-04   -.82682    
   4  Prefactor     .84040        .12702        .36755E-04   -.98256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03465e-08
Minuit parameter uncertainties:
  1  42.0792
  2  0.872252
  3  0.259561
  4  0.127069
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/978746': 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): 0
logL (Free Index) = 7483.10304885
delta logL = 0.0445084973071

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  3.576e+01  4.208e+01  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.366e+00  8.723e-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:  8.404e-01  1.271e-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.330e+00  2.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.34
Ra Dec: 322.296 -2.683
Photon Index (Free Index): 2.37 +/- 0.87
Photon Flux (Free Index): 3.15e-08 +/- 4.61e-08
Energy Flux (Free Index): 1.08e-05 +/- 1.29e-05

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/978746/cmap_HighResolution_700185601_700444801_4FGL_J2129.1-0240_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', comment='SUCCESS', photon_flux='3.92e-08', energy_flux2='1.08e-05', photon_flux_error='4.81e-08', dlogl='4.45e-02', energy_flux='9.94e-06', photon_flux2='3.15e-08', job_status='DONE', time_completed='2023-03-14 02:15:59.772759', photon_index_error2='0.87', photon_index2='2.37', ts='1.26', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='1.29e-05', EG='1.32', time_epoch_completed='1678785359.77', return_code='0', job_id='978746', GAL2='0.84', EG2='1.33', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='4.61e-08', ts2='1.34', photon_index='2.64' WHERE bin_id='1778' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 02:15:59 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 978746: <4FGL_J2129.1-0240_daily_bin1778> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1778> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 02:05:16 2023
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 02:05:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 02:05:17 2023
Terminated at Tue Mar 14 02:16:00 2023
Results reported at Tue Mar 14 02:16:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1778 322.296 -2.6829 700185601 700444801 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 :                                   635.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             334.09 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.

