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


Performing analysis on: 4FGL_J2129.9+1208_daily_bin1748
RA = 322.482, Dec = 12.1439
tmin = 692409601, tmax = 692668801
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='896901', job_status='RUN', time_executed='2022-12-14 01:17:07.463343', time_epoch_executed='1671009427.46' WHERE source_name='4FGL J2129.9+1208' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/896901

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/896901/ft1_4FGL_J2129.9+1208_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/896901/ft2_4FGL_J2129.9+1208_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/896901/ft1_4FGL_J2129.9+1208_daily_bin1748.fits outfile=/scratch/kocevski/896901/ft1_filteredMKT_4FGL_J2129.9+1208_daily_bin1748.fits ra=322.482 dec=12.1439 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.34
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/896901/ft2_4FGL_J2129.9+1208_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/896901/ft2_4FGL_J2129.9+1208_daily_bin1748.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/896901/ft1_filteredMKT_4FGL_J2129.9+1208_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/896901/ft1_filtered_4FGL_J2129.9+1208_daily_bin1748.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: 744

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/896901/ft1_filtered_4FGL_J2129.9+1208_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/896901/ft2_4FGL_J2129.9+1208_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/896901/ltcube_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.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/896901/ft2_4FGL_J2129.9+1208_daily_bin1748.fits
.....................!
real 12.23
user 11.86
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/896901/ft1_filtered_4FGL_J2129.9+1208_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/896901/ft2_4FGL_J2129.9+1208_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/896901/ltcube_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.fits outfile=/scratch/kocevski/896901/expmap_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.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/896901/ltcube_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.fits
.....................!
real 190.70
user 185.42
sys 4.95

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
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 176 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2129.9+1208 @ 322.482 12.1439

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/896901/ft1_filtered_4FGL_J2129.9+1208_daily_bin1748.fits scfile=/scratch/kocevski/896901/ft2_4FGL_J2129.9+1208_daily_bin1748.fits outfile=/scratch/kocevski/896901/cmap_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.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.482 yref=12.1439 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/896901/ft1_filtered_4FGL_J2129.9+1208_daily_bin1748.fits scfile=/scratch/kocevski/896901/ft2_4FGL_J2129.9+1208_daily_bin1748.fits outfile=/scratch/kocevski/896901/cmap_HighResolution_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.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.482 yref=12.1439 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/896901/ft1_filtered_4FGL_J2129.9+1208_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/896901/ft2_4FGL_J2129.9+1208_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/896901/Model_4FGL_J2129.9+1208_daily_bin1748.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/896901/ft1_filtered_4FGL_J2129.9+1208_daily_bin1748.fits.....................!
real 111.04
user 109.61
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/896901/ft1_filtered_4FGL_J2129.9+1208_daily_bin1748.fits', '/scratch/kocevski/896901/ft2_4FGL_J2129.9+1208_daily_bin1748.fits', expMap='/scratch/kocevski/896901/expmap_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.fits', expCube='/scratch/kocevski/896901/ltcube_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/896901/Model_4FGL_J2129.9+1208_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2129.9+1208'

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  1.210e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
302        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  6.533e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/896901/ft1_filtered_4FGL_J2129.9+1208_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/896901/ft2_4FGL_J2129.9+1208_daily_bin1748.fits
Exposure map: /scratch/kocevski/896901/expmap_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.fits
Exposure cube: /scratch/kocevski/896901/ltcube_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/896901/Model_4FGL_J2129.9+1208_daily_bin1748.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) = 7790.22778962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.023       1.0000          .0000       .10000E+07
     2 'norm      '    .11183E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.0651       1.0000          .0000       .10000E+07
     4 'Prefactor '    26.991       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12396E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .61406E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    31.774       1.0000          .0000       .10000E+07
     8 'norm      '    .45899E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .18984E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .23396E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    38.538       1.0000          .0000       .10000E+07
    12 'Prefactor '    .29444E-01   1.0000          .0000       .10000E+07
    13 'norm      '    2.3155       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.8758       1.0000          .0000       .10000E+07
    15 'norm      '    2.4730       1.0000          .0000       .10000E+07
    16 'norm      '    1.8861       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10901E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .99158E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    10.484       1.0000          .0000       .10000E+07
    20 'norm      '    .29734       1.0000          .0000       .10000E+07
    21 'Normalizat'    .91043       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97715       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7790.136     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1747 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.788        14.130       -.12231E-07    .29952E-01
   2  norm          .49960E-09    8.5491       -.46277E-07** at limit **
   3  Prefactor     7.4903        14.501       -.35186E-08    .15367E-01
   4  Prefactor     26.646        6.8677       -.18092E-08    .65674E-02
   5  Prefactor      .0000        5.4457       -.58392E-08** at limit **
   6  Prefactor     .55511E-10    5.7214       -.36357E-07** at limit **
   7  Prefactor     32.217        13.290        .16165E-07   -.13352E-01
   8  norm           .0000        4.5562       -.23894E-07** at limit **
   9  Prefactor     .37581E-07    13.802       -.10788E-06** at limit **
  10  Prefactor      .0000        2.5342       -.16932E-08** at limit **
  11  Prefactor     39.167        30.244        .53695E-07   -.40529E-01
  12  Prefactor     .16529E-04    33.214        .12057E-06** at limit **
  13  norm          2.3197        2.0175        .25878E-07    .12929E-02
  14  Prefactor     8.8923        59.041       -.16783E-06   -.14852E-01
  15  norm          2.4705        1.9389        .44772E-08   -.13651E-02
  16  norm          1.8808        13.192        .80924E-07    .60431E-02
  17  Prefactor      .0000        2.8568       -.33586E-07** at limit **
  18  Prefactor     .19706E-07    12.145       -.51558E-07** at limit **
  19  Prefactor     12.209        30.458        .11929E-07    .24986E-01
  20  norm          .29747        .69973        .25941E-07    .16079E-02
  21  Normalizat    .90746        .27425       -.49974E-05   -.22626E-03
  22  Prefactor     .97798        .11949        .11549E-05   -.32870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.7882
  norm       = 4.996e-10
  Prefactor  = 7.49027
  Prefactor  = 26.6463
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 32.2167
  norm       = 0
  Prefactor  = 3.7581e-08
  Prefactor  = 0
  Prefactor  = 39.1675
  Prefactor  = 1.65286e-05
  norm       = 2.31973
  Prefactor  = 8.89228
  norm       = 2.47045
  norm       = 1.88083
  Prefactor  = 0
  Prefactor  = 1.97065e-08
  Prefactor  = 12.2091
  norm       = 0.297475
  Normalizat = 0.907457
  Prefactor  = 0.977978
 **********
 **   18 **HESSE 
 **********

 FCN=   7790.136     FROM HESSE     STATUS=OK           388 CALLS     2135 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.788        43.944        .15247E-03   -1.5576    
   2  norm          .49960E-09    8.4786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.4903        18.486        .35281E-03   -1.5653    
   4  Prefactor     26.646        18.352        .19252E-03   -1.5605    
   5  Prefactor      .0000        5.4405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    5.7170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.217        37.531        .17743E-03   -1.5594    
   8  norm           .0000        4.5266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .37581E-07    14.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.5292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.167        38.372        .16110E-03   -1.5583    
  12  Prefactor     .16529E-04    144.81        .16480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.3197        2.0296        .67390E-03   -1.5678    
  14  Prefactor     8.8923        80.688        .38238E-03   -1.5648    
  15  norm          2.4705        1.9789        .64993E-03   -1.5677    
  16  norm          1.8808        62.516        .75752E-03   -1.5681    
  17  Prefactor      .0000        2.8379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .19706E-07    12.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.209        44.948        .30920E-03   -1.5638    
  20  norm          .29747        .71752        .10250E-02   -1.5697    
  21  Normalizat    .90746        .23839        .83867E-01   -.96199    
  22  Prefactor     .97798        .10023        .45981E-01   -.93467    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37963e-07
Minuit parameter uncertainties:
  1  43.944
  2  0.000129734
  3  18.4864
  4  18.3521
  5  2.65462e-06
  6  2.5514e-05
  7  37.5309
  8  9.05727e-06
  9  0.00145949
  10  7.59622e-07
  11  38.3723
  12  0.0978499
  13  2.02959
  14  53.5735
  15  1.97885
  16  21.6873
  17  9.50699e-06
  18  0.000986588
  19  44.9493
  20  0.717524
  21  0.238669
  22  0.100249
Done.

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

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  7.596e-07  0.000e+00  1.000e+06 ( 1.000e-12)
302        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  6.533e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  9.780e-01  1.002e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  9.075e-01  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 322.482 12.144
Photon Flux Upper Limit: 7.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/896901/likelihoodResults_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.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) = 7790.13669853
delta logL = -0.00101456544689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7790.135684
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72720E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.5202       1.0000          .0000       10.000    
     3 'Normalizat'    .90749       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97795       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7790.136     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      240 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.0215        .42118E-03** at limit **
   2  Index         2.8467        1.3155        .18271E-03     .0000    
   3  Normalizat    .90746        1.2425        .12208E-05   -.47284E-03
   4  Prefactor     .97797        1.3185       -.19130E-04   -.17661E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.84666
  Normalizat = 0.907464
  Prefactor  = 0.977974
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7790.136     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.0215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .91776        2.0224        .18271E-03   -.44523    
   3  Normalizat    .90746        1.2425        .12208E-05   -.96198    
   4  Prefactor     .97797        1.3185       -.19130E-04   -.93467    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.03916e-09
Minuit parameter uncertainties:
  1  9.666e-06
  2  1.33491
  3  1.2854
  4  1.36612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/896901': 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): 101
logL (Free Index) = 7790.13568396
delta logL = -6.65750121698e-10

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  9.666e-06  0.000e+00  1.000e+06 ( 1.000e-12)
302        Index:  2.847e+00  1.335e+00  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  6.533e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  9.780e-01  1.366e+00  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  9.075e-01  1.285e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 322.482 12.144

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/896901/cmap_HighResolution_692409601_692668801_4FGL_J2129.9+1208_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-03', job_status='DONE', photon_flux_upper_limit='7.39e-08', time_completed='2022-12-14 01:28:44.112396', job_id='896901', GAL2='0.98', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1671010124.11', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-6.66e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1748' AND source_name='4FGL J2129.9+1208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:28:44 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 896901: <4FGL_J2129.9+1208_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2129.9+1208_daily_bin1748> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Dec 14 01:15:22 2022
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:15:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:15:24 2022
Terminated at Wed Dec 14 01:28:44 2022
Results reported at Wed Dec 14 01:28:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.9+1208_daily_bin1748 322.482 12.1439 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2129.9+1208 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   699.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            802 sec.

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

