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 14 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1701
RA = 322.296, Dec = -2.6829
tmin = 680227201, tmax = 680486401
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='191963', job_status='RUN', time_executed='2022-07-26 02:11:30.201768', time_epoch_executed='1658826690.2' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191963

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191963/ft1_4FGL_J2129.1-0240_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191963/ft2_4FGL_J2129.1-0240_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191963/ft1_4FGL_J2129.1-0240_daily_bin1701.fits outfile=/scratch/kocevski/191963/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1701.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=680227201.0 tmax=680486401.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 2.85
user 2.66
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/191963/ft1_filtered_4FGL_J2129.1-0240_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/191963/ft2_4FGL_J2129.1-0240_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/191963/ltcube_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.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/191963/ft2_4FGL_J2129.1-0240_daily_bin1701.fits
.....................!
real 14.08
user 13.64
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191963/ft1_filtered_4FGL_J2129.1-0240_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/191963/ft2_4FGL_J2129.1-0240_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/191963/ltcube_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.fits outfile=/scratch/kocevski/191963/expmap_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.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/191963/ltcube_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.fits
.....................!
real 191.89
user 186.29
sys 5.04

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/191963/ft1_filtered_4FGL_J2129.1-0240_daily_bin1701.fits scfile=/scratch/kocevski/191963/ft2_4FGL_J2129.1-0240_daily_bin1701.fits outfile=/scratch/kocevski/191963/cmap_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191963/ft1_filtered_4FGL_J2129.1-0240_daily_bin1701.fits scfile=/scratch/kocevski/191963/ft2_4FGL_J2129.1-0240_daily_bin1701.fits outfile=/scratch/kocevski/191963/cmap_HighResolution_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/191963/ft1_filtered_4FGL_J2129.1-0240_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/191963/ft2_4FGL_J2129.1-0240_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/191963/Model_4FGL_J2129.1-0240_daily_bin1701.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/191963/ft1_filtered_4FGL_J2129.1-0240_daily_bin1701.fits......................!
real 29.69
user 28.39
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/191963/ft1_filtered_4FGL_J2129.1-0240_daily_bin1701.fits', '/scratch/kocevski/191963/ft2_4FGL_J2129.1-0240_daily_bin1701.fits', expMap='/scratch/kocevski/191963/expmap_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.fits', expCube='/scratch/kocevski/191963/ltcube_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/191963/Model_4FGL_J2129.1-0240_daily_bin1701.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  1.000e-04  1.000e+04 ( 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/191963/ft1_filtered_4FGL_J2129.1-0240_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/191963/ft2_4FGL_J2129.1-0240_daily_bin1701.fits
Exposure map: /scratch/kocevski/191963/expmap_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.fits
Exposure cube: /scratch/kocevski/191963/ltcube_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/191963/Model_4FGL_J2129.1-0240_daily_bin1701.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) = 1873.52556966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10509E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    135.89       1.0000         .10000E-03   10000.    
     4 'Prefactor '    73.190       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11111E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    63.805       1.0000         .10000E-03   10000.    
    10 'Prefactor '    48.504       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    109.84       1.0000         .10000E-03   10000.    
    17 'norm      '    19.441       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .55330E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    36.308       1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.595       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0273       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1873.516     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2874 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.992       -.38343E-07** at limit **
   2  Prefactor     .10000E-03    119.25        .14011E-05** at limit **
   3  Prefactor     135.99        133.64       -.11617E-05   -.44279E-04
   4  Prefactor     73.216        44.715       -.11359E-05   -.10608E-03
   5  Prefactor     .10000E-03    11.773        .12552E-06** at limit **
   6  Prefactor     .10000E-03    170.11        .37056E-05** at limit **
   7  Prefactor     .10000E-03    97.783       -.33467E-05** at limit **
   8  Prefactor     .10000E-03    237.19       -.78234E-06** at limit **
   9  Prefactor     63.869        51.694       -.11167E-05   -.78141E-04
  10  Prefactor     48.508        94.912       -.21667E-05   -.36673E-04
  11  Prefactor     .10000E-03    26.568        .60404E-06** at limit **
  12  Prefactor     .10000E-03    1.9610        .50214E-07** at limit **
  13  Prefactor     .10000E-03    65.923       -.80418E-06** at limit **
  14  Prefactor     .10000E-03    128.43        .24748E-05** at limit **
  15  norm          .10000E-03    62.939        .11557E-05** at limit **
  16  Prefactor     109.58        114.25       -.97502E-06   -.77920E-05
  17  norm          19.482        36.719        .23593E-06    .30977E-04
  18  Prefactor     .10000E-03    127.89       -.10656E-04** at limit **
  19  Prefactor     .10000E-03    24.834       -.85237E-06** at limit **
  20  Prefactor     .10000E-03    20.024        .19795E-06** at limit **
  21  Prefactor     36.325        46.029        .44895E-06    .35114E-04
  22  Prefactor     26.616        30.701       -.84630E-06   -.60181E-04
  23  Prefactor     .10000E-03    22.333        .39030E-06** at limit **
  24  Normalizat    .10000E-01    .29230       -.26962E-04** at limit **
  25  Prefactor     1.0273        .13949       -.11035E-05    .18028E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 135.994
  Prefactor  = 73.216
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 63.8694
  Prefactor  = 48.5082
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 109.58
  norm       = 19.4823
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.3251
  Prefactor  = 26.616
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.02733
 **********
 **   18 **HESSE 
 **********

 FCN=   1873.516     FROM HESSE     STATUS=OK           413 CALLS     3287 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.076        .15809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    119.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     135.99        134.59        .17275E-03   -1.3370    
   4  Prefactor     73.216        44.982        .46929E-04   -1.3995    
   5  Prefactor     .10000E-03    11.776        .14509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    170.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    98.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    237.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     63.869        52.148        .50239E-04   -1.4108    
  10  Prefactor     48.508        95.432        .57577E-04   -1.4314    
  11  Prefactor     .10000E-03    26.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.9628        .59205E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    66.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    129.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    63.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     109.58        115.01        .19189E-03   -1.3611    
  17  norm          19.482        36.710        .90839E-04   -1.4825    
  18  Prefactor     .10000E-03    126.55        .37155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    24.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     36.325        46.025        .66510E-04   -1.4502    
  22  Prefactor     26.616        30.816        .77681E-04   -1.4676    
  23  Prefactor     .10000E-03    22.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .29415        .11572E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.0273        .14306        .15529E-03   -.91824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14371e-10
Minuit parameter uncertainties:
  1  1.91528e-05
  2  0.000761746
  3  134.895
  4  45.0034
  5  2.75481e-05
  6  0.00126785
  7  0.000905289
  8  0.000321628
  9  52.1849
  10  95.7351
  11  0.000106967
  12  6.68722e-06
  13  4.52819e-05
  14  0.00100577
  15  0.000253346
  16  115.249
  17  36.753
  18  0.000411726
  19  9.78777e-05
  20  9.94689e-05
  21  46.0696
  22  30.8339
  23  5.90071e-05
  24  3.03471e-06
  25  0.143111
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  4.851e+01  9.574e+01  1.000e-04  1.000e+04 ( 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.027e+00  1.431e-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.000e-02  3.035e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/191963/likelihoodResults_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.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) = 1872.72977853
delta logL = 0.78609621401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1872.60891953
delta logL = 0.906955213559

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1872.609     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      221 TOTAL
                     EDM=   .92E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     102.21        131.08       -.85156E-05    .52047E-05
   2  Index         1.4660        .66214        .16806E-05   -.37120E-05
   3  Normalizat    .10000E-01    .25563        .20143E-05** at limit **
   4  Prefactor     1.0225        .12947        .14702E-06   -.10798E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 102.208
  Index      = 1.46603
  Normalizat = 0.01
  Prefactor  = 1.02254
 **********
 **   18 **HESSE 
 **********

 FCN=   1872.609     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     102.21        129.25        .19920E-03   -1.3683    
   2  Index         1.4660        .65288        .63791E-02   -.78496    
   3  Normalizat    .10000E-01    .31374        .11723E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0225        .11173        .15524E-03   -.91982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3006e-11
Minuit parameter uncertainties:
  1  129.608
  2  0.656643
  3  1.61685e-06
  4  0.11176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191963': 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) = 1872.60891448
delta logL = 0.906960267817

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.022e+02  1.296e+02  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  1.466e+00  6.566e-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:  1.023e+00  1.118e-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.000e-02  1.617e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.18
Ra Dec: 322.296 -2.683
Photon Index (Free Index): 1.47 +/- 0.66
Photon Flux (Free Index): 4.09e-08 +/- 5.41e-08
Energy Flux (Free Index): 1.45e-04 +/- 2.72e-04

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/191963/cmap_HighResolution_680227201_680486401_4FGL_J2129.1-0240_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.52e-02', comment='SUCCESS', energy_flux2='1.45e-04', dlogl='9.07e-01', photon_flux2='4.09e-08', job_status='DONE', time_completed='2022-07-26 02:18:31.257844', photon_index_error2='0.66', photon_index2='1.47', ts='0.37', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='4.49e-07', energy_flux_error2='2.72e-04', EG='0.01', time_epoch_completed='1658827111.26', return_code='0', job_id='191963', GAL2='1.02', EG2='0.01', return_code2='0', photon_flux_error2='5.41e-08', ts2='2.18', photon_index='2.64' WHERE bin_id='1701' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:18:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 191963: <4FGL_J2129.1-0240_daily_bin1701> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 02:10:18 2022
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:11:08 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:11:08 2022
Terminated at Tue Jul 26 02:18:32 2022
Results reported at Tue Jul 26 02:18:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1701 322.296 -2.6829 680227201 680486401 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 :                                   423.46 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   443 sec.
    Turnaround time :                            494 sec.

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

