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


Performing analysis on: 4FGL_J2129.9+1208_daily_bin1716
RA = 322.482, Dec = 12.1439
tmin = 684115201, tmax = 684374401
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='233154', job_status='RUN', time_executed='2022-09-16 23:19:17.023224', time_epoch_executed='1663395557.02' WHERE source_name='4FGL J2129.9+1208' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233154

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233154/ft1_4FGL_J2129.9+1208_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233154/ft2_4FGL_J2129.9+1208_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233154/ft1_4FGL_J2129.9+1208_daily_bin1716.fits outfile=/scratch/kocevski/233154/ft1_filteredMKT_4FGL_J2129.9+1208_daily_bin1716.fits ra=322.482 dec=12.1439 rad=12.0 tmin=684115201.0 tmax=684374401.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 4.13
user 3.88
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/233154/ft2_4FGL_J2129.9+1208_daily_bin1716.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/233154/ft1_filteredMKT_4FGL_J2129.9+1208_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/233154/ft1_filtered_4FGL_J2129.9+1208_daily_bin1716.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 683

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233154/ft1_filtered_4FGL_J2129.9+1208_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/233154/ft2_4FGL_J2129.9+1208_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/233154/ltcube_684115201_684374401_4FGL_J2129.9+1208_daily_bin1716.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/233154/ft2_4FGL_J2129.9+1208_daily_bin1716.fits
.....................!
real 15.02
user 14.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233154/ft1_filtered_4FGL_J2129.9+1208_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/233154/ft2_4FGL_J2129.9+1208_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/233154/ltcube_684115201_684374401_4FGL_J2129.9+1208_daily_bin1716.fits outfile=/scratch/kocevski/233154/expmap_684115201_684374401_4FGL_J2129.9+1208_daily_bin1716.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/233154/ltcube_684115201_684374401_4FGL_J2129.9+1208_daily_bin1716.fits
.....................!
real 192.67
user 186.69
sys 5.36

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/233154/ft1_filtered_4FGL_J2129.9+1208_daily_bin1716.fits scfile=/scratch/kocevski/233154/ft2_4FGL_J2129.9+1208_daily_bin1716.fits outfile=/scratch/kocevski/233154/cmap_684115201_684374401_4FGL_J2129.9+1208_daily_bin1716.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.57
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233154/ft1_filtered_4FGL_J2129.9+1208_daily_bin1716.fits scfile=/scratch/kocevski/233154/ft2_4FGL_J2129.9+1208_daily_bin1716.fits outfile=/scratch/kocevski/233154/cmap_HighResolution_684115201_684374401_4FGL_J2129.9+1208_daily_bin1716.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.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13347E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .30605E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .45411E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.6845       1.0000          .0000       .10000E+07
     5 'Prefactor '    35.544       1.0000          .0000       .10000E+07
     6 'Prefactor '    .73675E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .51732E-01   1.0000          .0000       .10000E+07
     8 'norm      '    8.6503       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30733E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .67608       1.0000          .0000       .10000E+07
    11 'Prefactor '    61.521       1.0000          .0000       .10000E+07
    12 'Prefactor '    84.044       1.0000          .0000       .10000E+07
    13 'norm      '    .29976E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .37968E-02   1.0000          .0000       .10000E+07
    15 'norm      '    6.5312       1.0000          .0000       .10000E+07
    16 'norm      '    .25154       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84373E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .26033E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    35.822       1.0000          .0000       .10000E+07
    20 'norm      '    .15468       1.0000          .0000       .10000E+07
    21 'Normalizat'    .84352       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99778       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=   7575.269     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1810 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    15.149       -.14171E-05** at limit **
   2  norm           .0000        2.6257       -.11863E-05** at limit **
   3  Prefactor      .0000        11.699        .59897E-06** at limit **
   4  Prefactor     5.7205        15.958       -.54859E-05   -.96828E-02
   5  Prefactor     35.804        21.005        .12491E-05   -.15886    
   6  Prefactor     .69799E-05    29.125       -.94371E-05** at limit **
   7  Prefactor     .55511E-10    48.597        .38326E-06** at limit **
   8  norm          8.6691        5.2360        .30054E-06   -.10574E-01
   9  Prefactor     .27756E-09    10.084       -.98457E-07** at limit **
  10  Prefactor     .56781        1.8934       -.79288E-06    .87605E-02
  11  Prefactor     62.645        51.483       -.85131E-05    .40033E-01
  12  Prefactor     83.712        18.642       -.54941E-05    .98462E-01
  13  norm           .0000        .87760        .16702E-06** at limit **
  14  Prefactor     .89817E-07    25.703       -.24405E-05** at limit **
  15  norm          6.5475        3.0298        .40233E-06    .14452E-01
  16  norm          .14959E-01    97.323       -.30284E-04** at limit **
  17  Prefactor     .16653E-09    3.0080       -.46065E-06** at limit **
  18  Prefactor     .74403E-05    25.458        .15742E-04** at limit **
  19  Prefactor     37.473        76.241        .28078E-04   -.12845E-02
  20  norm          .15389        .48287       -.65734E-06** at limit **
  21  Normalizat    .84250        .29311        .69436E-04   -.51200E-04
  22  Prefactor     .99790        .12155       -.29035E-04   -.11793E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 0
  Prefactor  = 5.72046
  Prefactor  = 35.8039
  Prefactor  = 6.97992e-06
  Prefactor  = 5.55112e-11
  norm       = 8.66905
  Prefactor  = 2.77556e-10
  Prefactor  = 0.567814
  Prefactor  = 62.6452
  Prefactor  = 83.7124
  norm       = 0
  Prefactor  = 8.9817e-08
  norm       = 6.54749
  norm       = 0.0149586
  Prefactor  = 1.66533e-10
  Prefactor  = 7.44033e-06
  Prefactor  = 37.4732
  norm       = 0.153889
  Normalizat = 0.842503
  Prefactor  = 0.997898
 **********
 **   18 **HESSE 
 **********

 FCN=   7575.269     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    15.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.6277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        11.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7205        16.453        .42107E-03   -1.5660    
   5  Prefactor     35.804        30.979        .16775E-03   -1.5588    
   6  Prefactor     .69799E-05    34.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    47.625        .15472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.6691        5.2527        .34058E-03   -1.5649    
   9  Prefactor     .27756E-09    10.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .56781        32.227        .62671E-03   -1.5693    
  11  Prefactor     62.645        53.600        .12750E-03   -1.5550    
  12  Prefactor     83.712        102.20        .10909E-03   -1.5525    
  13  norm           .0000        .87581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .89817E-07    25.832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.5475        3.1181        .39245E-03   -1.5657    
  16  norm          .14959E-01    16.508        .12282E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16653E-09    3.0115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .74403E-05    30.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     37.473        79.497        .16710E-03   -1.5586    
  20  norm          .15389        .46990        .25754E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .84250        .26528        .91818E-01   -.98511    
  22  Prefactor     .99790        .10319        .46239E-01   -.92800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36014e-06
Minuit parameter uncertainties:
  1  0.000104795
  2  1.34495e-05
  3  9.15963e-06
  4  16.4534
  5  30.9795
  6  0.0312156
  7  7.84555e-05
  8  5.25273
  9  0.000101522
  10  8.55549
  11  53.6003
  12  102.205
  13  5.23223e-06
  14  0.00304653
  15  3.11807
  16  0.99385
  17  4.42287e-05
  18  0.0302174
  19  79.499
  20  0.469904
  21  0.265692
  22  0.10321
Done.

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

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  5.678e-01  8.555e+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

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  9.979e-01  1.032e-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.425e-01  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 322.482 12.144
Photon Flux Upper Limit: 1.57e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.23e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/233154/likelihoodResults_684115201_684374401_4FGL_J2129.9+1208_daily_bin1716.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) = 7574.05966613
delta logL = 1.2096052553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7574.02583589
delta logL = 1.24343549306

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24752       1.0000          .0000       .10000E+07
     2 'Index     '    5.3824       1.0000          .0000       10.000    
     3 'Normalizat'    .67028       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0450       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=   7574.026     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      243 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24627        2.1102        .63541E-03** at limit **
   2  Index         5.3859        2.6059        .15092        .57698E-04
   3  Normalizat    .66990        .55648E-01    .10201       -.21856E-05
   4  Prefactor     1.0452        .24313E-01    .40211E-01   -.54154E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.246267
  Index      = 5.38595
  Normalizat = 0.669903
  Prefactor  = 1.04522
 **********
 **   18 **HESSE 
 **********

 FCN=   7574.026     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      278 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24627        5.4202        .28860E-04   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.3859        7.3344        .54643E-02    .77267E-01
   3  Normalizat    .66990        .21934        .45212E-03   -1.0509    
   4  Prefactor     1.0452        .92908E-01    .16034E-03   -.91237    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.1492e-10
Minuit parameter uncertainties:
  1  2.31069
  2  5.51262
  3  0.219625
  4  0.0929227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233154': 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) = 7574.02583309
delta logL = 1.24343829806

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  2.463e-01  2.311e+00  0.000e+00  1.000e+06 ( 1.000e-12)
302        Index:  5.386e+00  5.513e+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:  1.045e+00  9.292e-02  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:  6.699e-01  2.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 322.482 12.144
Photon Index (Free Index): 5.39 +/- 5.51
Photon Flux (Free Index): 1.39e-07 +/- 9.99e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.66e-05

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/233154/cmap_HighResolution_684115201_684374401_4FGL_J2129.9+1208_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', comment='SUCCESS', energy_flux2='1.79e-05', dlogl='1.24e+00', photon_flux2='1.39e-07', job_status='DONE', time_completed='2022-09-16 23:30:53.296266', photon_index_error2='5.51', photon_index2='5.39', ts='0.01', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.57e-07', energy_flux_error2='1.66e-05', EG='0.84', time_epoch_completed='1663396253.3', return_code='0', job_id='233154', GAL2='1.05', EG2='0.67', return_code2='102', photon_flux_error2='9.99e-08', ts2='2.87', photon_index='2.62' WHERE bin_id='1716' AND source_name='4FGL J2129.9+1208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:30:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 233154: <4FGL_J2129.9+1208_daily_bin1716> in cluster <slac> Done

Job <4FGL_J2129.9+1208_daily_bin1716> 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) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:16:21 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:21 2022
Terminated at Fri Sep 16 23:30:54 2022
Results reported at Fri Sep 16 23:30:54 2022

Your job looked like:

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

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

