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


Performing analysis on: 4FGL_J2108.5+1434_daily_bin1773
RA = 317.148, Dec = 14.5812
tmin = 698889601, tmax = 699148801
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='804475', job_status='RUN', time_executed='2023-02-27 10:30:58.323881', time_epoch_executed='1677522658.32' WHERE source_name='4FGL J2108.5+1434' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/804475

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/804475/ft1_4FGL_J2108.5+1434_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/804475/ft2_4FGL_J2108.5+1434_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/804475/ft1_4FGL_J2108.5+1434_daily_bin1773.fits outfile=/scratch/kocevski/804475/ft1_filteredMKT_4FGL_J2108.5+1434_daily_bin1773.fits ra=317.148 dec=14.5812 rad=12.0 tmin=698889601.0 tmax=699148801.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.34
user 2.73
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/804475/ft2_4FGL_J2108.5+1434_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/804475/ft2_4FGL_J2108.5+1434_daily_bin1773.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/804475/ft1_filteredMKT_4FGL_J2108.5+1434_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/804475/ft1_filtered_4FGL_J2108.5+1434_daily_bin1773.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.86
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 920

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/804475/ft1_filtered_4FGL_J2108.5+1434_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/804475/ft2_4FGL_J2108.5+1434_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/804475/ltcube_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.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/804475/ft2_4FGL_J2108.5+1434_daily_bin1773.fits
.....................!
real 14.07
user 13.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/804475/ft1_filtered_4FGL_J2108.5+1434_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/804475/ft2_4FGL_J2108.5+1434_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/804475/ltcube_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.fits outfile=/scratch/kocevski/804475/expmap_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.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/804475/ltcube_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.fits
.....................!
real 191.44
user 186.15
sys 4.92

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 194 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 J2108.5+1434 @ 317.148 14.5812

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/804475/ft1_filtered_4FGL_J2108.5+1434_daily_bin1773.fits scfile=/scratch/kocevski/804475/ft2_4FGL_J2108.5+1434_daily_bin1773.fits outfile=/scratch/kocevski/804475/cmap_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.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=317.148 yref=14.5812 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/804475/ft1_filtered_4FGL_J2108.5+1434_daily_bin1773.fits scfile=/scratch/kocevski/804475/ft2_4FGL_J2108.5+1434_daily_bin1773.fits outfile=/scratch/kocevski/804475/cmap_HighResolution_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.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=317.148 yref=14.5812 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/804475/ft1_filtered_4FGL_J2108.5+1434_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/804475/ft2_4FGL_J2108.5+1434_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/804475/Model_4FGL_J2108.5+1434_daily_bin1773.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/804475/ft1_filtered_4FGL_J2108.5+1434_daily_bin1773.fits....................!
real 146.62
user 145.11
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/804475/ft1_filtered_4FGL_J2108.5+1434_daily_bin1773.fits', '/scratch/kocevski/804475/ft2_4FGL_J2108.5+1434_daily_bin1773.fits', expMap='/scratch/kocevski/804475/expmap_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.fits', expCube='/scratch/kocevski/804475/ltcube_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/804475/Model_4FGL_J2108.5+1434_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2108.5+1434'

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  4.876e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
377        Index:  2.765e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
378        Scale:  4.520e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/804475/ft1_filtered_4FGL_J2108.5+1434_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/804475/ft2_4FGL_J2108.5+1434_daily_bin1773.fits
Exposure map: /scratch/kocevski/804475/expmap_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.fits
Exposure cube: /scratch/kocevski/804475/ltcube_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/804475/Model_4FGL_J2108.5+1434_daily_bin1773.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) = 10234.7522483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7021       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12037E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .23281E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .49548E-03   1.0000          .0000       .10000E+07
     5 'norm      '    32.434       1.0000          .0000       .10000E+07
     6 'Prefactor '    .79112E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12136       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4703       1.0000          .0000       .10000E+07
     9 'Prefactor '    12.574       1.0000          .0000       .10000E+07
    10 'Prefactor '    .74946E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .84290E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .33312E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .11394E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.4399       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12844E-01   1.0000          .0000       .10000E+07
    16 'norm      '    1.4235       1.0000          .0000       .10000E+07
    17 'norm      '    .69121E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .45978E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .57657       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1132       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10234.75     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1582 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5678        7.9305       -.12223E-06   -.18832E-02
   2  Prefactor     .11102E-09    3.9805        .14402E-06** at limit **
   3  norm           .0000        .19183       -.17739E-07** at limit **
   4  Prefactor     .27957E-05    5.9455        .31229E-06** at limit **
   5  norm          32.422        1.3184       -.21121E-08    .28977E-01
   6  Prefactor     .11102E-09    4.7482       -.13584E-08** at limit **
   7  Prefactor     .17386        9.1661        .19325E-06** at limit **
   8  Prefactor     2.4564        1.4135        .64058E-08    .41304E-02
   9  Prefactor     12.662        1.9249        .38315E-07    .67879E-02
  10  Prefactor     .22443E-06    5.6120        .38779E-06** at limit **
  11  Prefactor     .12657E-07    4.9376        .42615E-08** at limit **
  12  norm          .27756E-09    2.5219        .36885E-06** at limit **
  13  Prefactor     .67102E-06    17.287       -.43653E-08** at limit **
  14  Prefactor     4.4942        9.3829       -.14724E-06   -.13132E-02
  15  Prefactor     .27034E-07    33.211       -.77765E-06** at limit **
  16  norm          1.4224        2.6205       -.76949E-07   -.84879E-03
  17  norm          .41633E-08    9.2411       -.20671E-06** at limit **
  18  Prefactor     .19963E-05    9.4961        .43585E-06** at limit **
  19  Normalizat    .57601        .29881       -.15418E-05   -.82751E-05
  20  Prefactor     1.1134        .10239        .77280E-06    .30391E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.56783
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 2.79565e-06
  norm       = 32.4221
  Prefactor  = 1.11022e-10
  Prefactor  = 0.173863
  Prefactor  = 2.45637
  Prefactor  = 12.6616
  Prefactor  = 2.24432e-07
  Prefactor  = 1.26565e-08
  norm       = 2.77556e-10
  Prefactor  = 6.71019e-07
  Prefactor  = 4.49421
  Prefactor  = 2.70339e-08
  norm       = 1.42244
  norm       = 4.16334e-09
  Prefactor  = 1.99629e-06
  Normalizat = 0.576015
  Prefactor  = 1.11343
 **********
 **   18 **HESSE 
 **********

 FCN=   10234.75     FROM HESSE     STATUS=OK           335 CALLS     1917 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5678        7.9577        .33956E-03   -1.5649    
   2  Prefactor     .11102E-09    3.9795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .19050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27957E-05    18.282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          32.422        13.337        .17561E-03   -1.5594    
   6  Prefactor     .11102E-09    9.6719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17386        85.353        .17790E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4564        37.025        .65032E-03   -1.5677    
   9  Prefactor     12.662        25.680        .28224E-03   -1.5637    
  10  Prefactor     .22443E-06    16.914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .12657E-07    9.6188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .27756E-09    2.5128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .67102E-06    22.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.4942        9.5788        .47766E-03   -1.5666    
  15  Prefactor     .27034E-07    33.782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4224        2.6982        .90600E-03   -1.5684    
  17  norm          .41633E-08    9.0447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .19963E-05    15.808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .57601        .31400        .12658       -1.0901    
  20  Prefactor     1.1134        .97299E-01    .37104E-01   -.89039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84338e-07
Minuit parameter uncertainties:
  1  7.95768
  2  4.08079e-05
  3  3.93293e-07
  4  0.0142982
  5  13.3372
  6  7.20781e-05
  7  7.70461
  8  19.0733
  9  25.6799
  10  0.00389666
  11  0.000698142
  12  5.06624e-05
  13  0.00782389
  14  9.57881
  15  0.00191036
  16  2.69819
  17  0.000387317
  18  0.0112354
  19  0.314971
  20  0.0973147
Done.

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

Extracting fit parameters...

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  2.456e+00  1.907e+01  0.000e+00  1.000e+06 ( 1.000e-12)
377        Index:  2.765e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
378        Scale:  4.520e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  1.113e+00  9.731e-02  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  5.760e-01  3.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 317.148 14.581
Photon Flux Upper Limit: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.23e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/804475/likelihoodResults_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.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) = 10234.3154233
delta logL = 0.434622559227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10234.2007094
delta logL = 0.549336444361

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2342       1.0000          .0000       .10000E+07
     2 'Index     '    5.3385       1.0000          .0000       10.000    
     3 'Normalizat'    .46085       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10234.20     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      236 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2298        20.490        .10108E-02    .13021E-01
   2  Index         5.3413        4.0034        .20185        .14490E-03
   3  Normalizat    .46116        .55745E-01    .14091        .80895E-04
   4  Prefactor     1.1407        .19861E-01    .36210E-01   -.64347E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.22977
  Index      = 5.34127
  Normalizat = 0.461159
  Prefactor  = 1.14068
 **********
 **   18 **HESSE 
 **********

 FCN=   10234.20     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2298        54.874        .10402E-04   -1.5686    
   2  Index         5.3413        7.5363        .10707E-01    .68308E-01
   3  Normalizat    .46116        .24244        .62444E-03   -1.1425    
   4  Prefactor     1.1407        .82074E-01    .14537E-03   -.88177    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.58752e-06
Minuit parameter uncertainties:
  1  16.4296
  2  9.81924
  3  0.242996
  4  0.0820827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/804475': 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) = 10234.200708
delta logL = 0.549337885481

Extracting fit parameters...

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  1.230e+00  1.643e+01  0.000e+00  1.000e+06 ( 1.000e-12)
377        Index:  5.341e+00  9.819e+00  0.000e+00  1.000e+01 (-1.000e+00)
378        Scale:  4.520e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  1.141e+00  8.208e-02  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  4.612e-01  2.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.30
Ra Dec: 317.148 14.581
Photon Index (Free Index): 5.34 +/- 9.82
Photon Flux (Free Index): 9.01e-08 +/- 1.11e-07
Energy Flux (Free Index): 1.17e-05 +/- 2.03e-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/804475/cmap_HighResolution_698889601_699148801_4FGL_J2108.5+1434_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', comment='SUCCESS', energy_flux2='1.17e-05', dlogl='5.49e-01', photon_flux2='9.01e-08', job_status='DONE', time_completed='2023-02-27 10:44:39.281253', photon_index_error2='9.82', photon_index2='5.34', ts='0.02', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='2.03e-05', EG='0.58', time_epoch_completed='1677523479.28', return_code='0', job_id='804475', GAL2='1.14', EG2='0.46', return_code2='102', photon_flux_error2='1.11e-07', ts2='1.30', photon_index='2.77' WHERE bin_id='1773' AND source_name='4FGL J2108.5+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:44:39 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 804475: <4FGL_J2108.5+1434_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2108.5+1434_daily_bin1773> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Mon Feb 27 10:30:19 2023
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:30:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:30:26 2023
Terminated at Mon Feb 27 10:44:41 2023
Results reported at Mon Feb 27 10:44:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2108.5+1434_daily_bin1773 317.148 14.5812 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2108.5+1434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   820.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             373.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            864 sec.

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

