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


Performing analysis on: 4FGL_J2129.9+1208_daily_bin1715
RA = 322.482, Dec = 12.1439
tmin = 683856001, tmax = 684115201
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='233153', job_status='RUN', time_executed='2022-09-16 23:18:10.518447', time_epoch_executed='1663395490.52' WHERE source_name='4FGL J2129.9+1208' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233153

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233153/ft1_4FGL_J2129.9+1208_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233153/ft2_4FGL_J2129.9+1208_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233153/ft1_4FGL_J2129.9+1208_daily_bin1715.fits outfile=/scratch/kocevski/233153/ft1_filteredMKT_4FGL_J2129.9+1208_daily_bin1715.fits ra=322.482 dec=12.1439 rad=12.0 tmin=683856001.0 tmax=684115201.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.45
user 3.26
sys 0.18

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

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

Number of photons that the gtmktime cut: 712

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233153/ft1_filtered_4FGL_J2129.9+1208_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/233153/ft2_4FGL_J2129.9+1208_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/233153/ltcube_683856001_684115201_4FGL_J2129.9+1208_daily_bin1715.fits outfile=/scratch/kocevski/233153/expmap_683856001_684115201_4FGL_J2129.9+1208_daily_bin1715.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/233153/ltcube_683856001_684115201_4FGL_J2129.9+1208_daily_bin1715.fits
.....................!
real 191.57
user 186.72
sys 4.43

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/233153/ft1_filtered_4FGL_J2129.9+1208_daily_bin1715.fits scfile=/scratch/kocevski/233153/ft2_4FGL_J2129.9+1208_daily_bin1715.fits outfile=/scratch/kocevski/233153/cmap_683856001_684115201_4FGL_J2129.9+1208_daily_bin1715.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233153/ft1_filtered_4FGL_J2129.9+1208_daily_bin1715.fits scfile=/scratch/kocevski/233153/ft2_4FGL_J2129.9+1208_daily_bin1715.fits outfile=/scratch/kocevski/233153/cmap_HighResolution_683856001_684115201_4FGL_J2129.9+1208_daily_bin1715.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.57
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/233153/ft1_filtered_4FGL_J2129.9+1208_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/233153/ft2_4FGL_J2129.9+1208_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/233153/Model_4FGL_J2129.9+1208_daily_bin1715.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/233153/ft1_filtered_4FGL_J2129.9+1208_daily_bin1715.fits.....................!
real 106.86
user 105.34
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/233153/ft1_filtered_4FGL_J2129.9+1208_daily_bin1715.fits', '/scratch/kocevski/233153/ft2_4FGL_J2129.9+1208_daily_bin1715.fits', expMap='/scratch/kocevski/233153/expmap_683856001_684115201_4FGL_J2129.9+1208_daily_bin1715.fits', expCube='/scratch/kocevski/233153/ltcube_683856001_684115201_4FGL_J2129.9+1208_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/233153/Model_4FGL_J2129.9+1208_daily_bin1715.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/233153/ft1_filtered_4FGL_J2129.9+1208_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/233153/ft2_4FGL_J2129.9+1208_daily_bin1715.fits
Exposure map: /scratch/kocevski/233153/expmap_683856001_684115201_4FGL_J2129.9+1208_daily_bin1715.fits
Exposure cube: /scratch/kocevski/233153/ltcube_683856001_684115201_4FGL_J2129.9+1208_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/233153/Model_4FGL_J2129.9+1208_daily_bin1715.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) = 7672.79234892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16068E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .88483E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.389       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12506E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .26616E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .84290E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    71.368       1.0000          .0000       .10000E+07
     8 'norm      '    .57539E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    29.520       1.0000          .0000       .10000E+07
    10 'Prefactor '    .77266E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    24.857       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11982       1.0000          .0000       .10000E+07
    13 'norm      '    1.1288       1.0000          .0000       .10000E+07
    14 'Prefactor '    .40363E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .23834E-04   1.0000          .0000       .10000E+07
    16 'norm      '    26.401       1.0000          .0000       .10000E+07
    17 'Prefactor '    .95224E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .49627       1.0000          .0000       .10000E+07
    19 'Prefactor '    92.064       1.0000          .0000       .10000E+07
    20 'norm      '    .99348E-06   1.0000          .0000       .10000E+07
    21 'Normalizat'    .84962       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0889       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=   7672.791     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1910 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10331E-06    15.991        .44741E-06** at limit **
   2  norm          .38858E-09    3.1318       -.58612E-07** at limit **
   3  Prefactor     11.386        4.8521        .64237E-07    .52487E-01
   4  Prefactor     .55511E-10    2.8265       -.46870E-07** at limit **
   5  Prefactor     .16542E-07    5.7663        .28420E-08** at limit **
   6  Prefactor     .86597E-08    6.1084        .38527E-08** at limit **
   7  Prefactor     71.440        6.1429       -.39030E-07    .16484    
   8  norm          .28311E-08    5.3349       -.14285E-07** at limit **
   9  Prefactor     29.520        7.5525        .45972E-07    .10533    
  10  Prefactor      .0000        2.8174        .11634E-06** at limit **
  11  Prefactor     24.852        7.6237        .73404E-07   -.83596E-01
  12  Prefactor     .29882E-06    38.723        .38180E-06** at limit **
  13  norm          1.1413        2.6697       -.21662E-06   -.28900E-02
  14  Prefactor     .62506E-07    14.775       -.13731E-06** at limit **
  15  norm          .83267E-09    3.6511       -.16420E-07** at limit **
  16  norm          26.476        24.006       -.15098E-06   -.31022E-01
  17  Prefactor      .0000        3.0091        .11330E-06** at limit **
  18  Prefactor     .26267E-03    1076.9        .36124E-05** at limit **
  19  Prefactor     92.555        25.637       -.11622E-06   -.21968    
  20  norm           .0000        4.8215       -.48187E-07** at limit **
  21  Normalizat    .84972        .29228       -.62546E-06   -.15847E-03
  22  Prefactor     1.0889        .12844       -.15226E-05   -.37873E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.03306e-07
  norm       = 3.88578e-10
  Prefactor  = 11.3855
  Prefactor  = 5.55112e-11
  Prefactor  = 1.65423e-08
  Prefactor  = 8.65974e-09
  Prefactor  = 71.4398
  norm       = 2.83107e-09
  Prefactor  = 29.5199
  Prefactor  = 0
  Prefactor  = 24.8521
  Prefactor  = 2.98817e-07
  norm       = 1.14125
  Prefactor  = 6.25056e-08
  norm       = 8.32667e-10
  norm       = 26.4763
  Prefactor  = 0
  Prefactor  = 0.000262668
  Prefactor  = 92.5546
  norm       = 0
  Normalizat = 0.849722
  Prefactor  = 1.08893
 **********
 **   18 **HESSE 
 **********

 FCN=   7672.791     FROM HESSE     STATUS=OK           390 CALLS     2300 TOTAL
                     EDM=   .48E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10331E-06    16.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .38858E-09    3.1353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.386        21.086        .29660E-03   -1.5640    
   4  Prefactor     .55511E-10    2.8316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16542E-07    5.7825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .86597E-08    6.1168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     71.440        43.268        .11838E-03   -1.5539    
   8  norm          .28311E-08    5.3018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.520        21.968        .18408E-03   -1.5599    
  10  Prefactor      .0000        2.8119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.852        37.587        .20062E-03   -1.5608    
  12  Prefactor     .29882E-06    38.875        .13425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1413        2.9211        .11002E-02   -1.5687    
  14  Prefactor     .62506E-07    14.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .83267E-09    3.6242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          26.476        27.079        .19466E-03   -1.5605    
  17  Prefactor      .0000        3.0111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .26267E-03    51.309        .11225E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     92.555        81.868        .10423E-03   -1.5516    
  20  norm           .0000        .82729        .24609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .84972        .26568        .92811E-01   -.98250    
  22  Prefactor     1.0889        .11096        .38023E-01   -.89821    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75431e-06
Minuit parameter uncertainties:
  1  0.00258327
  2  6.92813e-05
  3  21.0863
  4  2.85824e-05
  5  0.000618827
  6  0.00046028
  7  43.2685
  8  0.000245003
  9  21.9683
  10  1.46055e-05
  11  37.5877
  12  0.00681678
  13  2.92111
  14  0.00193022
  15  0.000108541
  16  27.0792
  17  1.45896e-05
  18  0.232186
  19  81.8691
  20  6.8939e-06
  21  0.266092
  22  0.110988
Done.

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

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  1.461e-05  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:  1.089e+00  1.110e-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:  8.497e-01  2.661e-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: 8.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/233153/likelihoodResults_683856001_684115201_4FGL_J2129.9+1208_daily_bin1715.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) = 7672.79145935
delta logL = -0.000750627224988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7672.79070919
delta logL = -4.58933754999e-07

Fit tolerance = 1e-08

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

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

 FCN=   7672.791     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      315 TOTAL
                     EDM=   .42E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .20490E-01    .42118E-03** at limit **
   2  Index         2.6833        8.4508        .50000        .68212E-10
   3  Normalizat    .84972        .51725E-03    .92811E-01    .15824E-03
   4  Prefactor     1.0889        .23161E-03    .38018E-01    .57483E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 2.6833
  Normalizat = 0.849721
  Prefactor  = 1.08893
 **********
 **   18 **HESSE 
 **********

 FCN=   7672.791     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      346 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .12018        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6833        7.7621        .50000       -.48176    
   3  Normalizat    .84972        .12472E-02    .41112E-03   -.98250    
   4  Prefactor     1.0889        .56001E-03    .16381E-03   -.89821    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.44246e-12
Minuit parameter uncertainties:
  1  6.77741e-06
  2  20373.8
  3  0.00124721
  4  0.000560006
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233153': 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) = 7672.79070873
delta logL = -8.54925019667e-11

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  1.110e-10  6.777e-06  0.000e+00  1.000e+06 ( 1.000e-12)
302        Index:  2.683e+00  2.037e+04  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:  1.089e+00  5.600e-04  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:  8.497e-01  1.247e-03  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/233153/cmap_HighResolution_683856001_684115201_4FGL_J2129.9+1208_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.70e-03', job_status='DONE', photon_flux_upper_limit='8.56e-08', time_completed='2022-09-16 23:30:19.450757', job_id='233153', GAL2='1.09', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1663396219.45', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-8.55e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1715' AND source_name='4FGL J2129.9+1208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:30:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 233153: <4FGL_J2129.9+1208_daily_bin1715> in cluster <slac> Done

Job <4FGL_J2129.9+1208_daily_bin1715> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 23:15:19 2022
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:16:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:16:20 2022
Terminated at Fri Sep 16 23:30:20 2022
Results reported at Fri Sep 16 23:30:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.9+1208_daily_bin1715 322.482 12.1439 683856001 684115201 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 :                                   730.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            901 sec.

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

