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


Performing analysis on: 4FGL_J2129.9+1208_daily_bin1767
RA = 322.482, Dec = 12.1439
tmin = 697334401, tmax = 697593601
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='88766', job_status='RUN', time_executed='2023-02-09 01:55:11.451721', time_epoch_executed='1675936511.45' WHERE source_name='4FGL J2129.9+1208' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88766

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88766/ft1_4FGL_J2129.9+1208_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88766/ft2_4FGL_J2129.9+1208_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88766/ft1_4FGL_J2129.9+1208_daily_bin1767.fits outfile=/scratch/kocevski/88766/ft1_filteredMKT_4FGL_J2129.9+1208_daily_bin1767.fits ra=322.482 dec=12.1439 rad=12.0 tmin=697334401.0 tmax=697593601.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.57
user 3.32
sys 0.23

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

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

Number of photons that the gtmktime cut: 723

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88766/ft1_filtered_4FGL_J2129.9+1208_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/88766/ft2_4FGL_J2129.9+1208_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/88766/ltcube_697334401_697593601_4FGL_J2129.9+1208_daily_bin1767.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/88766/ft2_4FGL_J2129.9+1208_daily_bin1767.fits
.....................!
real 13.49
user 13.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88766/ft1_filtered_4FGL_J2129.9+1208_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/88766/ft2_4FGL_J2129.9+1208_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/88766/ltcube_697334401_697593601_4FGL_J2129.9+1208_daily_bin1767.fits outfile=/scratch/kocevski/88766/expmap_697334401_697593601_4FGL_J2129.9+1208_daily_bin1767.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/88766/ltcube_697334401_697593601_4FGL_J2129.9+1208_daily_bin1767.fits
.....................!
real 192.01
user 186.26
sys 5.33

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/88766/ft1_filtered_4FGL_J2129.9+1208_daily_bin1767.fits scfile=/scratch/kocevski/88766/ft2_4FGL_J2129.9+1208_daily_bin1767.fits outfile=/scratch/kocevski/88766/cmap_697334401_697593601_4FGL_J2129.9+1208_daily_bin1767.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/88766/ft1_filtered_4FGL_J2129.9+1208_daily_bin1767.fits scfile=/scratch/kocevski/88766/ft2_4FGL_J2129.9+1208_daily_bin1767.fits outfile=/scratch/kocevski/88766/cmap_HighResolution_697334401_697593601_4FGL_J2129.9+1208_daily_bin1767.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.397       1.0000          .0000       .10000E+07
     2 'norm      '    .97025       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16472E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .55800E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32407E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .56632E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    17.494       1.0000          .0000       .10000E+07
     8 'norm      '    5.4672       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13563E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .80220E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    78.708       1.0000          .0000       .10000E+07
    12 'Prefactor '    .82094E-01   1.0000          .0000       .10000E+07
    13 'norm      '    2.0959       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18264E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .11602E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .32987E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .29017E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    18.548       1.0000          .0000       .10000E+07
    19 'Prefactor '    .22907E-03   1.0000          .0000       .10000E+07
    20 'norm      '    1.6124       1.0000          .0000       .10000E+07
    21 'Normalizat'    .43495       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2337       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=   7757.752     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1781 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.722        7.8326       -.34337E-06   -.35941E-01
   2  norm          1.0412        18.167       -.14093E-05   -.82006E-03
   3  Prefactor      .0000        8.9553       -.72826E-06** at limit **
   4  Prefactor     .21427E-07    13.633        .47302E-07** at limit **
   5  Prefactor     .11427E-05    144.69       -.48812E-05** at limit **
   6  Prefactor     .72720E-08    31.301        .35838E-06** at limit **
   7  Prefactor     17.459        1.8553        .10011E-07    .38156E-02
   8  norm          5.4705        4.5924        .33005E-06    .12627E-03
   9  Prefactor     .11102E-09    14.224       -.40243E-06** at limit **
  10  Prefactor      .0000        3.4856        .20329E-06** at limit **
  11  Prefactor     79.166        5.1392        .99041E-08    .59717E-01
  12  Prefactor      .0000        55.722       -.13876E-05** at limit **
  13  norm          2.0993        1.9639        .20923E-06    .12428E-03
  14  Prefactor     .15354E-06    61.751        .99944E-06** at limit **
  15  norm           .0000        .52067        .41127E-06** at limit **
  16  norm           .0000        5.0091        .61547E-06** at limit **
  17  Prefactor      .0000        9.9546        .13818E-06** at limit **
  18  Prefactor     18.717        1.8728        .14069E-07    .50756E-02
  19  Prefactor     .10092E-06    24.267        .12161E-06** at limit **
  20  norm          1.6130        1.0786        .43609E-07   -.21476E-03
  21  Normalizat    .43514        .27768        .33798E-04   -.23471E-04
  22  Prefactor     1.2335        .12768       -.70939E-05   -.97863E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7224
  norm       = 1.04116
  Prefactor  = 0
  Prefactor  = 2.14273e-08
  Prefactor  = 1.1427e-06
  Prefactor  = 7.27196e-09
  Prefactor  = 17.4591
  norm       = 5.47052
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 79.1656
  Prefactor  = 0
  norm       = 2.09929
  Prefactor  = 1.53544e-07
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 18.7173
  Prefactor  = 1.00919e-07
  norm       = 1.61302
  Normalizat = 0.435137
  Prefactor  = 1.23348
 **********
 **   18 **HESSE 
 **********

 FCN=   7757.752     FROM HESSE     STATUS=OK           378 CALLS     2159 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.722        47.890        .26371E-03   -1.5634    
   2  norm          1.0412        21.450        .42709E-03   -1.5688    
   3  Prefactor      .0000        8.9698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .21427E-07    39.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11427E-05    148.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72720E-08    31.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.459        28.841        .23919E-03   -1.5624    
   8  norm          5.4705        4.6727        .42950E-03   -1.5661    
   9  Prefactor     .11102E-09    14.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        3.4794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     79.166        47.006        .11272E-03   -1.5530    
  12  Prefactor      .0000        55.805        .14438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0993        2.0545        .71267E-03   -1.5679    
  14  Prefactor     .15354E-06    62.374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .52098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        5.0241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        9.9269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.717        31.853        .23228E-03   -1.5621    
  19  Prefactor     .10092E-06    36.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.6130        1.0894        .83372E-04   -1.5683    
  21  Normalizat    .43514        .28944        .12088       -1.1552    
  22  Prefactor     1.2335        .12854        .33879E-01   -.85307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.49527e-07
Minuit parameter uncertainties:
  1  47.8913
  2  9.45151
  3  7.59141e-06
  4  0.00183441
  5  0.0260483
  6  0.000963605
  7  28.8417
  8  4.6727
  9  7.18991e-05
  10  7.37709e-07
  11  47.0061
  12  5.99317e-08
  13  2.05449
  14  0.00618901
  15  6.12235e-07
  16  7.16989e-06
  17  8.6998e-06
  18  31.8536
  19  0.00383155
  20  1.0894
  21  0.290444
  22  0.128575
Done.

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

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  7.377e-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:  1.233e+00  1.286e-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:  4.351e-01  2.904e-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.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88766/likelihoodResults_697334401_697593601_4FGL_J2129.9+1208_daily_bin1767.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) = 7757.75363498
delta logL = -0.00144277630898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7757.64498832
delta logL = 0.107203885256

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59652       1.0000          .0000       .10000E+07
     2 'Index     '    1.1363       1.0000          .0000       10.000    
     3 'Normalizat'    .43631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2317       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=   7757.645     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      258 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59652        1.5460        .69540E-03   -.23595E-01
   2  Index         1.1364        .53268        .36346       -.84941E-04
   3  Normalizat    .43636        .27368        .12070        .64439E-04
   4  Prefactor     1.2317        .12674        .33920E-01   -.11014E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.596521
  Index      = 1.13641
  Normalizat = 0.43636
  Prefactor  = 1.23171
 **********
 **   18 **HESSE 
 **********

 FCN=   7757.645     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59652        1.8474        .17196E-04   -1.5693    
   2  Index         1.1364        .92606        .14497E-01   -.88311    
   3  Normalizat    .43636        .27373        .53480E-03   -1.1546    
   4  Prefactor     1.2317        .12714        .15173E-03   -.85361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81949e-08
Minuit parameter uncertainties:
  1  1.84738
  2  0.939727
  3  0.274575
  4  0.127168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88766': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7757.64498829
delta logL = 0.10720391082

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  5.965e-01  1.847e+00  0.000e+00  1.000e+06 ( 1.000e-12)
302        Index:  1.136e+00  9.397e-01  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.232e+00  1.272e-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:  4.364e-01  2.746e-01  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/88766/cmap_HighResolution_697334401_697593601_4FGL_J2129.9+1208_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-03', job_status='DONE', photon_flux_upper_limit='8.83e-08', time_completed='2023-02-09 02:06:56.795408', job_id='88766', GAL2='1.23', fit_tolerance='1e-08', EG2='0.44', EG='0.44', time_epoch_completed='1675937216.8', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.07e-01', ts2='0.21', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1767' AND source_name='4FGL J2129.9+1208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 02:06:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 88766: <4FGL_J2129.9+1208_daily_bin1767> in cluster <slac> Done

Job <4FGL_J2129.9+1208_daily_bin1767> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Feb  9 01:50:30 2023
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:51:37 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:51:37 2023
Terminated at Thu Feb  9 02:06:57 2023
Results reported at Thu Feb  9 02:06:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.9+1208_daily_bin1767 322.482 12.1439 697334401 697593601 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 :                                   707.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            987 sec.

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

