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


Performing analysis on: 4FGL_J2129.1-0240_daily_bin1734
RA = 322.296, Dec = -2.6829
tmin = 688780801, tmax = 689040001
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='776356', job_status='RUN', time_executed='2022-11-02 00:38:38.403216', time_epoch_executed='1667374718.4' WHERE source_name='4FGL J2129.1-0240' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776356

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776356/ft1_4FGL_J2129.1-0240_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776356/ft2_4FGL_J2129.1-0240_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776356/ft1_4FGL_J2129.1-0240_daily_bin1734.fits outfile=/scratch/kocevski/776356/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1734.fits ra=322.296 dec=-2.6829 rad=12.0 tmin=688780801.0 tmax=689040001.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.54
user 3.31
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776356/ft2_4FGL_J2129.1-0240_daily_bin1734.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/776356/ft1_filteredMKT_4FGL_J2129.1-0240_daily_bin1734.fits evtable="EVENTS" outfile="/scratch/kocevski/776356/ft1_filtered_4FGL_J2129.1-0240_daily_bin1734.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.50
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 688

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776356/ft1_filtered_4FGL_J2129.1-0240_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776356/ft2_4FGL_J2129.1-0240_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776356/ltcube_688780801_689040001_4FGL_J2129.1-0240_daily_bin1734.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/776356/ft2_4FGL_J2129.1-0240_daily_bin1734.fits
.....................!
real 12.14
user 11.76
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776356/ft1_filtered_4FGL_J2129.1-0240_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776356/ft2_4FGL_J2129.1-0240_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776356/ltcube_688780801_689040001_4FGL_J2129.1-0240_daily_bin1734.fits outfile=/scratch/kocevski/776356/expmap_688780801_689040001_4FGL_J2129.1-0240_daily_bin1734.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/776356/ltcube_688780801_689040001_4FGL_J2129.1-0240_daily_bin1734.fits
.....................!
real 190.97
user 185.03
sys 5.59

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/776356/ft1_filtered_4FGL_J2129.1-0240_daily_bin1734.fits scfile=/scratch/kocevski/776356/ft2_4FGL_J2129.1-0240_daily_bin1734.fits outfile=/scratch/kocevski/776356/cmap_688780801_689040001_4FGL_J2129.1-0240_daily_bin1734.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.34
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776356/ft1_filtered_4FGL_J2129.1-0240_daily_bin1734.fits scfile=/scratch/kocevski/776356/ft2_4FGL_J2129.1-0240_daily_bin1734.fits outfile=/scratch/kocevski/776356/cmap_HighResolution_688780801_689040001_4FGL_J2129.1-0240_daily_bin1734.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.35
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776356/ft1_filtered_4FGL_J2129.1-0240_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776356/ft2_4FGL_J2129.1-0240_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776356/Model_4FGL_J2129.1-0240_daily_bin1734.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/776356/ft1_filtered_4FGL_J2129.1-0240_daily_bin1734.fits.....................!
real 76.89
user 75.52
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96718E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18585E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .27411E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .31391E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    15.238       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41467E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.848       1.0000          .0000       .10000E+07
     8 'Prefactor '    .46233E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .62207E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.3958       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10707E-02   1.0000          .0000       .10000E+07
    12 'norm      '    2.5550       1.0000          .0000       .10000E+07
    13 'Prefactor '    46.354       1.0000          .0000       .10000E+07
    14 'norm      '    15.941       1.0000          .0000       .10000E+07
    15 'Prefactor '    .64999E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2290       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9368       1.0000          .0000       .10000E+07
    18 'Prefactor '    13.364       1.0000          .0000       .10000E+07
    19 'Prefactor '    .99407E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0185       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1111       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=   7704.202     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1734 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5449       -.13582E-07** at limit **
   2  Prefactor      .0000        20.947        .10532E-06** at limit **
   3  Prefactor     .16653E-09    52.848       -.66265E-06** at limit **
   4  Prefactor     .77716E-09    12.940       -.11525E-07** at limit **
   5  Prefactor     14.212        6.3631       -.67550E-07   -.18145E-01
   6  Prefactor     .22204E-09    26.274       -.53786E-06** at limit **
   7  Prefactor     14.909        28.232       -.69336E-07    .14639E-02
   8  Prefactor     .43854E-08    106.28        .69070E-06** at limit **
   9  Prefactor      .0000        1.9042       -.24856E-07** at limit **
  10  Prefactor     2.3923        1.9510        .10869E-07    .19780E-03
  11  Prefactor      .0000        8.5983        .30923E-07** at limit **
  12  norm          2.5792        4.8643        .42842E-07   -.38101E-04
  13  Prefactor     41.741        58.655        .32346E-06    .34361E-02
  14  norm          16.839        16.716        .32007E-07    .10378E-01
  15  Prefactor      .0000        9.2774       -.11364E-06** at limit **
  16  Prefactor     3.1831        5.4219       -.71908E-07   -.91872E-04
  17  Prefactor     1.9340        10.834       -.11524E-06   -.28892E-05
  18  Prefactor     13.118        15.312        .53115E-07    .75558E-02
  19  Prefactor     .49897        117.37        .14060E-05   -.19388E-02
  20  Normalizat    1.0236        .27870        .18869E-05   -.16980E-04
  21  Prefactor     1.1106        .13875       -.24722E-07   -.20762E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 7.77156e-10
  Prefactor  = 14.2118
  Prefactor  = 2.22045e-10
  Prefactor  = 14.9092
  Prefactor  = 4.38538e-09
  Prefactor  = 0
  Prefactor  = 2.39234
  Prefactor  = 0
  norm       = 2.57919
  Prefactor  = 41.741
  norm       = 16.8395
  Prefactor  = 0
  Prefactor  = 3.18313
  Prefactor  = 1.93395
  Prefactor  = 13.1179
  Prefactor  = 0.498974
  Normalizat = 1.02357
  Prefactor  = 1.11063
 **********
 **   18 **HESSE 
 **********

 FCN=   7704.202     FROM HESSE     STATUS=OK           361 CALLS     2095 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        20.771        .17132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    52.549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .77716E-09    13.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.212        25.751        .25631E-03   -1.5633    
   6  Prefactor     .22204E-09    26.460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.909        28.405        .25132E-03   -1.5631    
   8  Prefactor     .43854E-08    106.02        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.9057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.3923        1.9548        .66134E-03   -1.5677    
  11  Prefactor      .0000        8.6142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.5792        4.8935        .63848E-03   -1.5676    
  13  Prefactor     41.741        58.877        .14689E-03   -1.5579    
  14  norm          16.839        24.377        .25059E-03   -1.5626    
  15  Prefactor      .0000        9.2391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.1831        5.4191        .56347E-03   -1.5672    
  17  Prefactor     1.9340        10.977        .74583E-03   -1.5680    
  18  Prefactor     13.118        17.702        .27374E-03   -1.5636    
  19  Prefactor     .49897        12.082        .13945E-01   -1.5694    
  20  Normalizat    1.0236        .24402        .82864E-01   -.92245    
  21  Prefactor     1.1106        .11809        .37178E-01   -.89128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17958e-07
Minuit parameter uncertainties:
  1  3.40777e-07
  2  1.33637e-05
  3  0.000179577
  4  0.000202351
  5  25.7515
  6  0.000158585
  7  28.4055
  8  0.00136014
  9  5.48144e-08
  10  1.95481
  11  1.90441e-05
  12  4.89347
  13  58.8777
  14  24.3774
  15  1.67103e-05
  16  5.41911
  17  9.21511
  18  17.7023
  19  4.91069
  20  0.24429
  21  0.118116
Done.

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

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  4.385e-09  1.360e-03  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.637e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.111e+00  1.181e-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.024e+00  2.443e-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.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776356/likelihoodResults_688780801_689040001_4FGL_J2129.1-0240_daily_bin1734.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): 102
logL (Free Index) = 7704.20658649
delta logL = -0.00489676960296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7704.0028774
delta logL = 0.198812323649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99574E-04   1.0000          .0000       .10000E+07
     2 'Index     '    9.6843       1.0000          .0000       10.000    
     3 'Normalizat'    .97602       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1272       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.

 FCN=   7704.202     FROM MIGRAD    STATUS=CONVERGED    162 CALLS      477 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41078E-08    5.7425        .42118E-03** at limit **
   2  Index         2.1448        8.8226        .37021       -.36850E-09
   3  Normalizat    1.0236        .23030E-02    .82870E-01    .23972E-03
   4  Prefactor     1.1106        .11771E-02    .36635E-01    .54613E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.10783e-09
  Index      = 2.14479
  Normalizat = 1.02357
  Prefactor  = 1.11063
 **********
 **   18 **HESSE 
 **********

 FCN=   7704.202     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      508 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41078E-08    16.639        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1448        8.3342        .50000       -157.69    
   3  Normalizat    1.0236        .39110E-02    .36684E-03   -2.2191    
   4  Prefactor     1.1106        .20032E-02    .18000E-03    4.0329    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.34848e-11
Minuit parameter uncertainties:
  1  0.000523582
  2  40922.7
  3  0.00391096
  4  0.00200323
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776356': 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) = 7704.20168972
delta logL = -1.04591890704e-10

Extracting fit parameters...

4FGL J2129.1-0240
   Spectrum: PowerLaw
294    Prefactor:  4.108e-09  5.236e-04  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.145e+00  4.092e+04  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  7.565e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.111e+00  2.003e-03  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.024e+00  3.911e-03  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/776356/cmap_HighResolution_688780801_689040001_4FGL_J2129.1-0240_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2022-11-02 00:49:21.008119', job_id='776356', GAL2='1.11', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1667375361.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-1.05e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1734' AND source_name='4FGL J2129.1-0240' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:49:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 776356: <4FGL_J2129.1-0240_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2129.1-0240_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:19 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:20 2022
Terminated at Wed Nov  2 00:49:21 2022
Results reported at Wed Nov  2 00:49:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.1-0240_daily_bin1734 322.296 -2.6829 688780801 689040001 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 :                                   645.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             257.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            842 sec.

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

