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


Performing analysis on: 4FGL_J2129.9+1208_daily_bin1734
RA = 322.482, Dec = 12.1439
tmin = 688780801, tmax = 689040001
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='776358', job_status='RUN', time_executed='2022-11-02 00:37:08.547311', time_epoch_executed='1667374628.55' WHERE source_name='4FGL J2129.9+1208' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776358

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776358/ft1_4FGL_J2129.9+1208_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776358/ft2_4FGL_J2129.9+1208_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776358/ft1_4FGL_J2129.9+1208_daily_bin1734.fits outfile=/scratch/kocevski/776358/ft1_filteredMKT_4FGL_J2129.9+1208_daily_bin1734.fits ra=322.482 dec=12.1439 rad=12.0 tmin=688780801.0 tmax=689040001.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.54
user 3.33
sys 0.19

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

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

Number of photons that the gtmktime cut: 749

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776358/ft1_filtered_4FGL_J2129.9+1208_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776358/ft2_4FGL_J2129.9+1208_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776358/ltcube_688780801_689040001_4FGL_J2129.9+1208_daily_bin1734.fits outfile=/scratch/kocevski/776358/expmap_688780801_689040001_4FGL_J2129.9+1208_daily_bin1734.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/776358/ltcube_688780801_689040001_4FGL_J2129.9+1208_daily_bin1734.fits
.....................!
real 190.37
user 184.83
sys 5.20

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/776358/ft1_filtered_4FGL_J2129.9+1208_daily_bin1734.fits scfile=/scratch/kocevski/776358/ft2_4FGL_J2129.9+1208_daily_bin1734.fits outfile=/scratch/kocevski/776358/cmap_688780801_689040001_4FGL_J2129.9+1208_daily_bin1734.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776358/ft1_filtered_4FGL_J2129.9+1208_daily_bin1734.fits scfile=/scratch/kocevski/776358/ft2_4FGL_J2129.9+1208_daily_bin1734.fits outfile=/scratch/kocevski/776358/cmap_HighResolution_688780801_689040001_4FGL_J2129.9+1208_daily_bin1734.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.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25134E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .11073E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.164       1.0000          .0000       .10000E+07
     4 'Prefactor '    36.245       1.0000          .0000       .10000E+07
     5 'Prefactor '    .88320E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14434       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.962       1.0000          .0000       .10000E+07
     8 'norm      '    5.7213       1.0000          .0000       .10000E+07
     9 'Prefactor '    40.619       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28223E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11737E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .15293E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .84297       1.0000          .0000       .10000E+07
    14 'Prefactor '    72.214       1.0000          .0000       .10000E+07
    15 'norm      '    .56066E-08   1.0000          .0000       .10000E+07
    16 'norm      '    29.990       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17263E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    96.441       1.0000          .0000       .10000E+07
    19 'Prefactor '    103.59       1.0000          .0000       .10000E+07
    20 'norm      '    1.6176       1.0000          .0000       .10000E+07
    21 'Normalizat'    .76414       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99432       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=   8255.659     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1813 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        27.219        .15105E-07** at limit **
   2  norm          .55511E-10    9.0395        .66500E-06** at limit **
   3  Prefactor     14.284        8.2268       -.69717E-06   -.12864    
   4  Prefactor     35.892        6.2488       -.44200E-06   -.13457    
   5  Prefactor     .10270E-07    17.102        .41587E-06** at limit **
   6  Prefactor     .31641E-08    95.878       -.33986E-05** at limit **
   7  Prefactor     25.149        2.9964       -.20642E-06    .52142E-02
   8  norm          5.7289        4.3959       -.58741E-08    .84686E-03
   9  Prefactor     41.024        3.7089       -.17620E-06    .57440E-02
  10  Prefactor      .0000        3.8720        .28612E-06** at limit **
  11  Prefactor     .25840E-06    22.587       -.10702E-05** at limit **
  12  Prefactor     .61506E-07    37.836       -.12339E-05** at limit **
  13  norm          .77627        3.0453       -.22867E-05   -.23800E-02
  14  Prefactor     77.785        49.774       -.15630E-05    .25734    
  15  norm           .0000        1.0878       -.18142E-06** at limit **
  16  norm          28.461        21.921        .10673E-05   -.41490E-01
  17  Prefactor     .11102E-09    23.975       -.35341E-05** at limit **
  18  Prefactor     98.954        43.520       -.16641E-05   -.34744E-01
  19  Prefactor     108.68        47.011       -.73634E-06   -.33311    
  20  norm          1.6105        1.0783       -.99201E-08    .10714E-02
  21  Normalizat    .76012        .29058       -.54888E-05   -.91478E-05
  22  Prefactor     .99492        .12248        .77409E-05   -.92592E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 14.284
  Prefactor  = 35.8921
  Prefactor  = 1.02696e-08
  Prefactor  = 3.16414e-09
  Prefactor  = 25.1489
  norm       = 5.72893
  Prefactor  = 41.0242
  Prefactor  = 0
  Prefactor  = 2.58404e-07
  Prefactor  = 6.15064e-08
  norm       = 0.776274
  Prefactor  = 77.7845
  norm       = 0
  norm       = 28.4614
  Prefactor  = 1.11022e-10
  Prefactor  = 98.954
  Prefactor  = 108.683
  norm       = 1.6105
  Normalizat = 0.760115
  Prefactor  = 0.994921
 **********
 **   18 **HESSE 
 **********

 FCN=   8255.659     FROM HESSE     STATUS=OK           394 CALLS     2207 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        27.174        .16720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-10    9.0786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.284        19.782        .26588E-03   -1.5632    
   4  Prefactor     35.892        21.612        .16612E-03   -1.5588    
   5  Prefactor     .10270E-07    17.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .31641E-08    14.764        .12865E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.149        32.616        .20019E-03   -1.5608    
   8  norm          5.7289        4.4721        .41969E-03   -1.5660    
   9  Prefactor     41.024        32.030        .15692E-03   -1.5580    
  10  Prefactor      .0000        3.8863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .25840E-06    23.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61506E-07    38.152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .77627        3.2313        .49786E-03   -1.5690    
  14  Prefactor     77.785        68.658        .11768E-03   -1.5532    
  15  norm           .0000        1.0868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          28.461        25.533        .18263E-03   -1.5601    
  17  Prefactor     .11102E-09    4.6558        .10074E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     98.954        44.785        .10183E-03   -1.5509    
  19  Prefactor     108.68        71.294        .98258E-04   -1.5499    
  20  norm          1.6105        1.0861        .83203E-04   -1.5683    
  21  Normalizat    .76012        .26634        .99058E-01   -1.0157    
  22  Prefactor     .99492        .10530        .46196E-01   -.92899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09026e-05
Minuit parameter uncertainties:
  1  1.01298e-05
  2  4.15002e-05
  3  19.782
  4  21.6116
  5  0.000838806
  6  0.000432763
  7  32.6158
  8  4.47214
  9  32.0303
  10  9.69269e-06
  11  0.00488789
  12  0.00306316
  13  3.16759
  14  68.6583
  15  4.17038e-07
  16  25.533
  17  4.16322e-05
  18  44.7854
  19  71.2948
  20  1.08613
  21  0.266801
  22  0.105318
Done.

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

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  9.693e-06  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.949e-01  1.053e-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:  7.601e-01  2.668e-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: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776358/likelihoodResults_688780801_689040001_4FGL_J2129.9+1208_daily_bin1734.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) = 8255.64539465
delta logL = 0.0134595604686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8255.50871737
delta logL = 0.150136844244

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10108       1.0000          .0000       .10000E+07
     2 'Index     '    5.2801       1.0000          .0000       10.000    
     3 'Normalizat'    .69629       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0123       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=   8255.509     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      271 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10097        3.5547        .10989E-02** at limit **
   2  Index         5.2811        7.6169        .20169E-01    .60396E-04
   3  Normalizat    .69643        .47624E-01    .10323        .44946E-04
   4  Prefactor     1.0123        .20372E-01    .43012E-01   -.78623E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.100972
  Index      = 5.28112
  Normalizat = 0.69643
  Prefactor  = 1.01225
 **********
 **   18 **HESSE 
 **********

 FCN=   8255.509     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      304 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10097        14.742        .44895E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.2811        6.1244        .80677E-03    .56254E-01
   3  Normalizat    .69643        .21086        .45752E-03   -1.0403    
   4  Prefactor     1.0123        .85027E-01    .16658E-03   -.92322    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.77861e-06
Minuit parameter uncertainties:
  1  2.44008
  2  13.9448
  3  0.211103
  4  0.0850382
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776358': 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) = 8255.50871698
delta logL = 0.150137230725

Extracting fit parameters...

4FGL J2129.9+1208
   Spectrum: PowerLaw
301    Prefactor:  1.010e-01  2.440e+00  0.000e+00  1.000e+06 ( 1.000e-12)
302        Index:  5.281e+00  1.394e+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.012e+00  8.504e-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.964e-01  2.111e-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/776358/cmap_HighResolution_688780801_689040001_4FGL_J2129.9+1208_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.59e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2022-11-02 00:49:10.290001', job_id='776358', GAL2='1.01', fit_tolerance='1e-08', EG2='0.70', EG='0.76', time_epoch_completed='1667375350.29', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.50e-01', ts2='0.35', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1734' AND source_name='4FGL J2129.9+1208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:49:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 776358: <4FGL_J2129.9+1208_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2129.9+1208_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:19 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:20 2022
Terminated at Wed Nov  2 00:49:11 2022
Results reported at Wed Nov  2 00:49:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2129.9+1208_daily_bin1734 322.482 12.1439 688780801 689040001 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 :                                   724.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             342.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            832 sec.

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

