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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1745
RA = 322.296, Dec = -2.6829
tmin = 691632001, tmax = 691891201
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='656390', job_status='RUN', time_executed='2022-12-05 01:23:03.139988', time_epoch_executed='1670232183.14' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656390

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656390/ft1_4FGL_J2129.1-0240_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656390/ft2_4FGL_J2129.1-0240_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656390/ft1_4FGL_J2129.1-0240_daily_bin1745.fits outfile=/scratch/kocevski/656390/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1745.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=691632001.0 tmax=691891201.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.36
user 2.14
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656390/ft1_filtered_4FGL_J2129.1-0240_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/656390/ft2_4FGL_J2129.1-0240_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/656390/ltcube_691632001_691891201_4FGL_J2129.1-0240_daily_bin1745.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/656390/ft2_4FGL_J2129.1-0240_daily_bin1745.fits
.....................!
real 13.28
user 12.90
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656390/ft1_filtered_4FGL_J2129.1-0240_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/656390/ft2_4FGL_J2129.1-0240_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/656390/ltcube_691632001_691891201_4FGL_J2129.1-0240_daily_bin1745.fits outfile=/scratch/kocevski/656390/expmap_691632001_691891201_4FGL_J2129.1-0240_daily_bin1745.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/656390/ltcube_691632001_691891201_4FGL_J2129.1-0240_daily_bin1745.fits
.....................!
real 192.07
user 186.41
sys 5.21

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/656390/ft1_filtered_4FGL_J2129.1-0240_daily_bin1745.fits scfile=/scratch/kocevski/656390/ft2_4FGL_J2129.1-0240_daily_bin1745.fits outfile=/scratch/kocevski/656390/cmap_691632001_691891201_4FGL_J2129.1-0240_daily_bin1745.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.54
user 0.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/656390/ft1_filtered_4FGL_J2129.1-0240_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/656390/ft2_4FGL_J2129.1-0240_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/656390/Model_4FGL_J2129.1-0240_daily_bin1745.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/656390/ft1_filtered_4FGL_J2129.1-0240_daily_bin1745.fits.....................!
real 85.57
user 84.06
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72210       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45563E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .27654E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.0560       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.6272       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64651E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.2527       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.904       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9017       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.8941       1.0000          .0000       .10000E+07
    11 'Prefactor '    .40549E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .21138E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .40916E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .39284E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.1417       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.3668       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9177       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15045E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .68482E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    .89248       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90936       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=   9374.453     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1594 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71176        3.7844       -.66612E-06    .10049E-03
   2  Prefactor     .52941E-06    2.2670       -.14135E-06** at limit **
   3  Prefactor     .29754E-07    6.5080       -.24065E-05** at limit **
   4  Prefactor     13.264        46.219        .26000E-05    .12706E-01
   5  Prefactor     3.8395        5.1827        .14634E-05   -.36725E-01
   6  Prefactor     .51126E-07    10.647       -.16208E-05** at limit **
   7  Prefactor     4.2526        1.3138        .13252E-06   -.50535E-02
   8  Prefactor     13.525        5.8648       -.73099E-06    .10621    
   9  Prefactor     4.9579        5.4054        .12570E-05    .81650E-03
  10  Prefactor     5.8936        2.2142        .99753E-07   -.60346E-02
  11  Prefactor     .12879E-07    8.8175        .21782E-05** at limit **
  12  norm           .0000        2.5109       -.21717E-06** at limit **
  13  Prefactor     .45464E-07    40.667        .27251E-05** at limit **
  14  norm          .80269E-07    4.5788        .12178E-06** at limit **
  15  Prefactor     9.1832        6.4740       -.11470E-05    .33670E-02
  16  Prefactor     7.3607        4.9099       -.31561E-07    .61528E-04
  17  Prefactor     1.9782        7.6069        .66147E-05    .16252E-02
  18  Prefactor     .55456E-07    5.5051        .79097E-06** at limit **
  19  Prefactor     .32335E-06    3.0838        .13616E-05** at limit **
  20  Normalizat    .88857        .21541       -.10964E-04    .13578E-03
  21  Prefactor     .90964        .10826        .26314E-05    .30954E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.711762
  Prefactor  = 5.2941e-07
  Prefactor  = 2.9754e-08
  Prefactor  = 13.2644
  Prefactor  = 3.83955
  Prefactor  = 5.11258e-08
  Prefactor  = 4.2526
  Prefactor  = 13.5252
  Prefactor  = 4.9579
  Prefactor  = 5.89359
  Prefactor  = 1.28786e-08
  norm       = 0
  Prefactor  = 4.54636e-08
  norm       = 8.02691e-08
  Prefactor  = 9.18324
  Prefactor  = 7.36066
  Prefactor  = 1.97817
  Prefactor  = 5.54556e-08
  Prefactor  = 3.23352e-07
  Normalizat = 0.88857
  Prefactor  = 0.909643
 **********
 **   18 **HESSE 
 **********

 FCN=   9374.453     FROM HESSE     STATUS=OK           359 CALLS     1953 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71176        3.7963        .58932E-03   -1.5691    
   2  Prefactor     .52941E-06    4.3839        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .29754E-07    6.8366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.264        45.866        .35301E-03   -1.5635    
   5  Prefactor     3.8395        19.630        .53023E-03   -1.5669    
   6  Prefactor     .51126E-07    11.214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.2526        14.088        .48836E-03   -1.5667    
   8  Prefactor     13.525        36.412        .26836E-03   -1.5634    
   9  Prefactor     4.9579        5.4724        .45407E-03   -1.5663    
  10  Prefactor     5.8936        2.3858        .41340E-03   -1.5659    
  11  Prefactor     .12879E-07    9.2499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.5132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .45464E-07    40.803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .80269E-07    4.9451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.1832        6.4877        .33124E-03   -1.5647    
  16  Prefactor     7.3607        4.9081        .36929E-03   -1.5654    
  17  Prefactor     1.9782        7.6252        .75016E-03   -1.5680    
  18  Prefactor     .55456E-07    5.9445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32335E-06    4.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .88857        .18417        .73423E-01   -.96863    
  21  Prefactor     .90964        .89633E-01    .45124E-01   -.95805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42623e-06
Minuit parameter uncertainties:
  1  3.28761
  2  0.00304684
  3  0.000901882
  4  45.8671
  5  17.3631
  6  0.00151407
  7  14.0886
  8  36.4125
  9  5.47242
  10  2.3858
  11  0.000689911
  12  1.48822e-05
  13  0.00272483
  14  0.00125992
  15  6.48772
  16  4.90808
  17  7.62526
  18  0.00114835
  19  0.00237983
  20  0.184298
  21  0.0896471
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  1.353e+01  3.641e+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:  9.096e-01  8.965e-02  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:  8.886e-01  1.843e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.18
Ra Dec: 322.296 -2.683
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656390/likelihoodResults_691632001_691891201_4FGL_J2129.1-0240_daily_bin1745.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) = 9374.14862591
delta logL = 0.304641452518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9374.13297477
delta logL = 0.320292599636

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0320       1.0000          .0000       .10000E+07
     2 'Index     '    3.9869       1.0000          .0000       10.000    
     3 'Normalizat'    .85238       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92213       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9374.133     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      303 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9781        266.47        .10039E-03   -.11245E-01
   2  Index         3.9954        6.6790        .77813E-02   -.18093E-03
   3  Normalizat    .85212        .16072        .33101E-03   -.10050E-03
   4  Prefactor     .92224        .83071E-01    .16517E-03   -.11946E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.97809
  Index      = 3.9954
  Normalizat = 0.852116
  Prefactor  = 0.922242
 **********
 **   18 **HESSE 
 **********

 FCN=   9374.133     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9781        16.724        .40156E-05   -1.5668    
   2  Index         3.9954        2.2199        .31125E-03   -.20230    
   3  Normalizat    .85212        .21499        .13240E-04   -.98164    
   4  Prefactor     .92224        .10931        .33033E-04   -.95368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.34992e-10
Minuit parameter uncertainties:
  1  16.313
  2  2.3039
  3  0.215203
  4  0.109334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656390': 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) = 9374.13296642
delta logL = 0.320300942278

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  9.222e-01  1.093e-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:  8.521e-01  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
Ra Dec: 322.296 -2.683

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/656390/cmap_HighResolution_691632001_691891201_4FGL_J2129.1-0240_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.51e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2022-12-05 01:34:57.501500', job_id='656390', GAL2='0.92', fit_tolerance='1e-08', EG2='0.85', EG='0.89', time_epoch_completed='1670232897.5', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.20e-01', ts2='0.87', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1745' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:34:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 656390: <4FGL_J2129.1-0240_daily_bin1745> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 01:20:15 2022
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:20:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 01:20:16 2022
Terminated at Mon Dec  5 01:34:58 2022
Results reported at Mon Dec  5 01:34:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1745 322.296 -2.6829 691632001 691891201 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 :                                   716.41 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            883 sec.

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

