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


Performing analysis on: 4FGL_J2129.9+1208_daily_bin1735
RA = 322.482, Dec = 12.1439
tmin = 689040001, tmax = 689299201
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='866522', job_status='RUN', time_executed='2022-11-05 00:36:43.555618', time_epoch_executed='1667633803.56' WHERE source_name='4FGL J2129.9+1208' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866522

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866522/ft1_4FGL_J2129.9+1208_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866522/ft2_4FGL_J2129.9+1208_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866522/ft1_4FGL_J2129.9+1208_daily_bin1735.fits outfile=/scratch/kocevski/866522/ft1_filteredMKT_4FGL_J2129.9+1208_daily_bin1735.fits ra=322.482 dec=12.1439 rad=12.0 tmin=689040001.0 tmax=689299201.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.66
user 3.43
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866522/ft1_filtered_4FGL_J2129.9+1208_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866522/ft2_4FGL_J2129.9+1208_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866522/ltcube_689040001_689299201_4FGL_J2129.9+1208_daily_bin1735.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/866522/ft2_4FGL_J2129.9+1208_daily_bin1735.fits
.....................!
real 11.83
user 11.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866522/ft1_filtered_4FGL_J2129.9+1208_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866522/ft2_4FGL_J2129.9+1208_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866522/ltcube_689040001_689299201_4FGL_J2129.9+1208_daily_bin1735.fits outfile=/scratch/kocevski/866522/expmap_689040001_689299201_4FGL_J2129.9+1208_daily_bin1735.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/866522/ltcube_689040001_689299201_4FGL_J2129.9+1208_daily_bin1735.fits
.....................!
real 191.23
user 185.54
sys 5.37

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/866522/ft1_filtered_4FGL_J2129.9+1208_daily_bin1735.fits scfile=/scratch/kocevski/866522/ft2_4FGL_J2129.9+1208_daily_bin1735.fits outfile=/scratch/kocevski/866522/cmap_689040001_689299201_4FGL_J2129.9+1208_daily_bin1735.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866522/ft1_filtered_4FGL_J2129.9+1208_daily_bin1735.fits scfile=/scratch/kocevski/866522/ft2_4FGL_J2129.9+1208_daily_bin1735.fits outfile=/scratch/kocevski/866522/cmap_HighResolution_689040001_689299201_4FGL_J2129.9+1208_daily_bin1735.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.51
user 0.37
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1586       1.0000          .0000       .10000E+07
     2 'norm      '    12.040       1.0000          .0000       .10000E+07
     3 'Prefactor '    51.343       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.4630       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8262       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.481       1.0000          .0000       .10000E+07
     7 'Prefactor '    .22438E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .17764E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19852E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.2518       1.0000          .0000       .10000E+07
    11 'Prefactor '    78.795       1.0000          .0000       .10000E+07
    12 'Prefactor '    50.686       1.0000          .0000       .10000E+07
    13 'norm      '    1.4437       1.0000          .0000       .10000E+07
    14 'Prefactor '    .54934E-06   1.0000          .0000       .10000E+07
    15 'norm      '    2.9250       1.0000          .0000       .10000E+07
    16 'norm      '    .89272E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    18 'Prefactor '    192.88       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21166E-06   1.0000          .0000       .10000E+07
    20 'norm      '    1.9622       1.0000          .0000       .10000E+07
    21 'Normalizat'    .36892       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1625       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=   8903.458     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     2126 TOTAL
                     EDM=   .75E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1474        1.6205        .13555E-06    .64570E-03
   2  norm          12.044        8.4809       -.18284E-07   -.16102E-02
   3  Prefactor     51.359        4.2212        .55542E-07    .35822E-01
   4  Prefactor     3.4752        14.318       -.68591E-06    .61086E-02
   5  Prefactor     2.8627        6.8088        .39965E-06    .70297E-02
   6  Prefactor     10.463        7.4640        .39839E-06    .10893E-01
   7  Prefactor     .55511E-10    14.181       -.80465E-07** at limit **
   8  norm          .22204E-09    14.889       -.35070E-05** at limit **
   9  Prefactor     .17208E-08    41.169        .51103E-06** at limit **
  10  Prefactor     3.2533        7.7094       -.43741E-06    .33426E-03
  11  Prefactor     78.769        1.0948        .10674E-07   -.21363E-02
  12  Prefactor     50.684        1.7097       -.29379E-07    .94391E-02
  13  norm          1.4441        2.5151       -.14165E-06   -.59355E-03
  14  Prefactor     .55511E-10    79.732       -.59022E-06** at limit **
  15  norm          2.9228        2.4976        .22394E-06   -.17302E-02
  16  norm          .11990E-07    64.586        .27655E-05** at limit **
  17  Prefactor      .0000        2.2663       -.20268E-06** at limit **
  18  Prefactor     192.91        5.1304       -.53171E-07    .23561E-01
  19  Prefactor      .0000        18.104        .42151E-06** at limit **
  20  norm          1.9625        1.0535       -.88318E-07    .25578E-02
  21  Normalizat    .36849        .27042       -.30342E-04    .26308E-04
  22  Prefactor     1.1626        .11689        .96841E-05    .18696E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.14742
  norm       = 12.0438
  Prefactor  = 51.3593
  Prefactor  = 3.47522
  Prefactor  = 2.86267
  Prefactor  = 10.4634
  Prefactor  = 5.55112e-11
  norm       = 2.22045e-10
  Prefactor  = 1.72085e-09
  Prefactor  = 3.25326
  Prefactor  = 78.7686
  Prefactor  = 50.6837
  norm       = 1.44411
  Prefactor  = 5.55112e-11
  norm       = 2.92284
  norm       = 1.19904e-08
  Prefactor  = 0
  Prefactor  = 192.911
  Prefactor  = 0
  norm       = 1.96251
  Normalizat = 0.368491
  Prefactor  = 1.16261
 **********
 **   18 **HESSE 
 **********

 FCN=   8903.458     FROM HESSE     STATUS=OK           398 CALLS     2524 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1474        248.16        .10710E-02   -1.5687    
   2  norm          12.044        8.7756        .28844E-03   -1.5639    
   3  Prefactor     51.359        28.867        .13957E-03   -1.5565    
   4  Prefactor     3.4752        22.941        .54319E-03   -1.5671    
   5  Prefactor     2.8627        150.64        .60470E-03   -1.5674    
   6  Prefactor     10.463        37.847        .30924E-03   -1.5643    
   7  Prefactor     .55511E-10    14.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .22204E-09    2.4567        .54747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .17208E-08    41.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2533        8.0569        .56139E-03   -1.5672    
  11  Prefactor     78.769        46.274        .11266E-03   -1.5530    
  12  Prefactor     50.684        84.775        .14047E-03   -1.5566    
  13  norm          1.4441        2.6976        .89714E-03   -1.5684    
  14  Prefactor     .55511E-10    80.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.9228        2.5931        .59371E-03   -1.5674    
  16  norm          .11990E-07    65.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.2759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     192.91        47.926        .72011E-04   -1.5430    
  19  Prefactor      .0000        18.132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.9625        1.0723        .74018E-04   -1.5680    
  21  Normalizat    .36849        .35493        .13768       -1.1896    
  22  Prefactor     1.1626        .13451        .35584E-01   -.87490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.16212e-08
Minuit parameter uncertainties:
  1  33.7499
  2  8.77559
  3  28.8675
  4  17.858
  5  41.5333
  6  37.8474
  7  6.48016e-05
  8  4.80737e-05
  9  0.000534332
  10  8.05693
  11  46.2742
  12  84.7765
  13  2.69756
  14  0.000108392
  15  2.59307
  16  0.00177813
  17  1.47416e-06
  18  47.9264
  19  1.67565e-06
  20  1.07228
  21  0.357122
  22  0.134553
Done.

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

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  3.253e+00  8.057e+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:  1.163e+00  1.346e-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:  3.685e-01  3.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/866522/likelihoodResults_689040001_689299201_4FGL_J2129.9+1208_daily_bin1735.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): 0
logL (Free Index) = 8903.44963487
delta logL = 0.00838651473896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8903.44829442
delta logL = 0.00972696414647

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8903.448     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      258 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9381        8.0990        .23690E-04   -.56722E-03
   2  Index         2.7923        1.3648        .10736E-01    .13278E-03
   3  Normalizat    .36335        .26637        .61354E-03   -.19475E-03
   4  Prefactor     1.1641        .11702        .15819E-03   -.61593E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.93811
  Index      = 2.79234
  Normalizat = 0.363345
  Prefactor  = 1.16412
 **********
 **   18 **HESSE 
 **********

 FCN=   8903.448     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9381        7.6322        .94762E-06   -1.5674    
   2  Index         2.7923        1.2876        .21472E-02   -.45731    
   3  Normalizat    .36335        .26633        .24542E-04   -1.1924    
   4  Prefactor     1.1641        .11688        .31638E-04   -.87443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80679e-10
Minuit parameter uncertainties:
  1  7.63225
  2  1.306
  3  0.267268
  4  0.116908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866522': 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) = 8903.44829439
delta logL = 0.00972699578597

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  2.938e+00  7.632e+00  0.000e+00  1.000e+06 ( 1.000e-12)
302        Index:  2.792e+00  1.306e+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.164e+00  1.169e-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:  3.633e-01  2.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
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/866522/cmap_HighResolution_689040001_689299201_4FGL_J2129.9+1208_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', job_status='DONE', photon_flux_upper_limit='1.60e-07', time_completed='2022-11-05 00:49:34.938890', job_id='866522', GAL2='1.16', fit_tolerance='1e-08', EG2='0.36', EG='0.37', time_epoch_completed='1667634574.94', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='9.73e-03', ts2='0.22', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1735' AND source_name='4FGL J2129.9+1208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:49:34 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0113>
Subject: Job 866522: <4FGL_J2129.9+1208_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2129.9+1208_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:13 2022
Job was executed on host(s) <bullet0113>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:15 2022
Terminated at Sat Nov  5 00:49:35 2022
Results reported at Sat Nov  5 00:49:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.9+1208_daily_bin1735 322.482 12.1439 689040001 689299201 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 :                                   772.20 sec.
    Max Memory :                                 652 MB
    Average Memory :                             337.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

