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 68 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_J2108.5+1434_daily_bin1767
RA = 317.148, Dec = 14.5812
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='88741', job_status='RUN', time_executed='2023-02-09 01:52:32.997383', time_epoch_executed='1675936353.0' WHERE source_name='4FGL J2108.5+1434' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88741

Creating custom pfile directory:
/scratch/kocevski/88741/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/88741/ft1_4FGL_J2108.5+1434_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/88741/ft2_4FGL_J2108.5+1434_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88741/ft1_4FGL_J2108.5+1434_daily_bin1767.fits outfile=/scratch/kocevski/88741/ft1_filteredMKT_4FGL_J2108.5+1434_daily_bin1767.fits ra=317.148 dec=14.5812 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.65
user 3.36
sys 0.24

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

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

Number of photons that the gtmktime cut: 852

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88741/ft1_filtered_4FGL_J2108.5+1434_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/88741/ft2_4FGL_J2108.5+1434_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/88741/ltcube_697334401_697593601_4FGL_J2108.5+1434_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/88741/ft2_4FGL_J2108.5+1434_daily_bin1767.fits
.....................!
real 17.06
user 15.92
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88741/ft1_filtered_4FGL_J2108.5+1434_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/88741/ft2_4FGL_J2108.5+1434_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/88741/ltcube_697334401_697593601_4FGL_J2108.5+1434_daily_bin1767.fits outfile=/scratch/kocevski/88741/expmap_697334401_697593601_4FGL_J2108.5+1434_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/88741/ltcube_697334401_697593601_4FGL_J2108.5+1434_daily_bin1767.fits
.....................!
real 196.19
user 187.91
sys 5.93

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/88741/ft1_filtered_4FGL_J2108.5+1434_daily_bin1767.fits scfile=/scratch/kocevski/88741/ft2_4FGL_J2108.5+1434_daily_bin1767.fits outfile=/scratch/kocevski/88741/cmap_697334401_697593601_4FGL_J2108.5+1434_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=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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88741/ft1_filtered_4FGL_J2108.5+1434_daily_bin1767.fits scfile=/scratch/kocevski/88741/ft2_4FGL_J2108.5+1434_daily_bin1767.fits outfile=/scratch/kocevski/88741/cmap_HighResolution_697334401_697593601_4FGL_J2108.5+1434_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=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.61
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88741/ft1_filtered_4FGL_J2108.5+1434_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/88741/ft2_4FGL_J2108.5+1434_daily_bin1767.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88741/Model_4FGL_J2108.5+1434_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/88741/ft1_filtered_4FGL_J2108.5+1434_daily_bin1767.fits.....................!
real 127.83
user 125.58
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88741/ft1_filtered_4FGL_J2108.5+1434_daily_bin1767.fits', '/scratch/kocevski/88741/ft2_4FGL_J2108.5+1434_daily_bin1767.fits', expMap='/scratch/kocevski/88741/expmap_697334401_697593601_4FGL_J2108.5+1434_daily_bin1767.fits', expCube='/scratch/kocevski/88741/ltcube_697334401_697593601_4FGL_J2108.5+1434_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88741/Model_4FGL_J2108.5+1434_daily_bin1767.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/88741/ft1_filtered_4FGL_J2108.5+1434_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/88741/ft2_4FGL_J2108.5+1434_daily_bin1767.fits
Exposure map: /scratch/kocevski/88741/expmap_697334401_697593601_4FGL_J2108.5+1434_daily_bin1767.fits
Exposure cube: /scratch/kocevski/88741/ltcube_697334401_697593601_4FGL_J2108.5+1434_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88741/Model_4FGL_J2108.5+1434_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) = 9052.7304138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14086E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .34479E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .34589E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.540       1.0000          .0000       .10000E+07
     5 'norm      '    .41936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32906E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .24392       1.0000          .0000       .10000E+07
     8 'Prefactor '    .78803E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .31151E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .62059E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    18.056       1.0000          .0000       .10000E+07
    12 'norm      '    5.3206       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12955E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .86364E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16070       1.0000          .0000       .10000E+07
    16 'norm      '    1.9675       1.0000          .0000       .10000E+07
    17 'norm      '    .16426E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    18.484       1.0000          .0000       .10000E+07
    19 'Normalizat'    .55557       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1988       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=   9052.727     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1605 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    2.5807        .74253E-07** at limit **
   2  Prefactor     .14433E-08    6.2044       -.77969E-07** at limit **
   3  norm           .0000        .23333       -.20621E-07** at limit **
   4  Prefactor     12.630        2.8976       -.78635E-06    .12074E-01
   5  norm          .44733        33.965       -.10740E-04    .25256E-02
   6  Prefactor      .0000        16.395        .42741E-06** at limit **
   7  Prefactor     .12768E-08    69.487       -.27025E-05** at limit **
   8  Prefactor     .11657E-08    28.291       -.57810E-05** at limit **
   9  Prefactor     .42188E-08    86.132        .77441E-06** at limit **
  10  Prefactor     .38858E-09    30.030        .23040E-05** at limit **
  11  Prefactor     18.171        1.2417        .14391E-06   -.16122E-02
  12  norm          5.3317        4.5727        .37477E-06    .10472E-01
  13  Prefactor     .11102E-09    13.473       -.23693E-06** at limit **
  14  Prefactor      .0000        3.1123        .57541E-06** at limit **
  15  Prefactor     .64110E-06    5.9461        .44020E-05** at limit **
  16  norm          1.9640        1.8984        .13574E-06   -.30642E-02
  17  norm           .0000        .58973       -.11473E-06** at limit **
  18  Prefactor     18.540        2.4892        .44372E-06   -.13369E-01
  19  Normalizat    .55536        .28606        .17955E-04    .54230E-04
  20  Prefactor     1.1988        .11082       -.95059E-06    .38615E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 1.44329e-09
  norm       = 0
  Prefactor  = 12.6302
  norm       = 0.447326
  Prefactor  = 0
  Prefactor  = 1.27676e-09
  Prefactor  = 1.16573e-09
  Prefactor  = 4.21885e-09
  Prefactor  = 3.88578e-10
  Prefactor  = 18.1706
  norm       = 5.33173
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 6.41098e-07
  norm       = 1.96403
  norm       = 0
  Prefactor  = 18.5396
  Normalizat = 0.555358
  Prefactor  = 1.19881
 **********
 **   18 **HESSE 
 **********

 FCN=   9052.727     FROM HESSE     STATUS=OK           329 CALLS     1934 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    2.5962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14433E-08    6.3529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .22989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.630        41.872        .28262E-03   -1.5637    
   5  norm          .44733        6.5270        .87278E-02   -1.5695    
   6  Prefactor      .0000        15.978        .16301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    69.574        .11041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11657E-08    28.197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .42188E-08    85.906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .38858E-09    30.064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.171        28.966        .23543E-03   -1.5623    
  12  norm          5.3317        4.6411        .43548E-03   -1.5662    
  13  Prefactor     .11102E-09    13.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.1073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64110E-06    55.506        .12522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9640        1.9820        .73904E-03   -1.5680    
  17  norm           .0000        .58874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.540        32.404        .23269E-03   -1.5622    
  19  Normalizat    .55536        .27850        .12071       -1.0991    
  20  Prefactor     1.1988        .10491        .34659E-01   -.86368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09963e-08
Minuit parameter uncertainties:
  1  4.82832e-05
  2  0.000190321
  3  3.31548e-06
  4  41.8731
  5  3.41744
  6  2.17579e-05
  7  0.000594401
  8  0.00036404
  9  0.00120691
  10  0.000219538
  11  28.9658
  12  4.64107
  13  8.25219e-05
  14  1.26061e-06
  15  0.0119304
  16  1.98203
  17  5.0988e-06
  18  32.4044
  19  0.279201
  20  0.104928
Done.

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

Extracting fit parameters...

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  1.166e-09  3.640e-04  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.199e+00  1.049e-01  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.554e-01  2.792e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 317.148 14.581
Photon Flux Upper Limit: 9.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88741/likelihoodResults_697334401_697593601_4FGL_J2108.5+1434_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): 0
logL (Free Index) = 9052.72766574
delta logL = -0.00112698769954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9052.72653919
delta logL = -4.40284566139e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55608E-04   1.0000          .0000       .10000E+07
     2 'Index     '    3.2447       1.0000          .0000       10.000    
     3 'Normalizat'    .55533       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1988       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=   9052.727     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      246 TOTAL
                     EDM=   .31E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        25.538        .88264E-06** at limit **
   2  Index         2.7153        3.1597        .43110E-04     .0000    
   3  Normalizat    .55536        .28119        .26382E-05   -.17700E-05
   4  Prefactor     1.1988        .11072       -.20431E-05    .19572E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.71526
  Normalizat = 0.555359
  Prefactor  = 1.19881
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9052.727     FROM HESSE     STATUS=FAILED        11 CALLS      257 TOTAL
                     EDM=   .31E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        25.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .83485        1.9335        .43110E-04   -.47456    
   3  Normalizat    .55536        .89057        .26382E-05   -1.0991    
   4  Prefactor     1.1988        1.1034       -.20431E-05   -.86368    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.06604e-14
Minuit parameter uncertainties:
  1  2.80432e-06
  2  0.960635
  3  0.915174
  4  1.1258
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88741': 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): 101
logL (Free Index) = 9052.72653875
delta logL = 5.09317032993e-11

Extracting fit parameters...

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  0.000e+00  2.804e-06  0.000e+00  1.000e+06 ( 1.000e-12)
377        Index:  2.715e+00  9.606e-01  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.199e+00  1.126e+00  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.554e-01  9.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 317.148 14.581

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/88741/cmap_HighResolution_697334401_697593601_4FGL_J2108.5+1434_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.81e-03', job_status='DONE', photon_flux_upper_limit='9.89e-08', time_completed='2023-02-09 02:05:41.624883', job_id='88741', GAL2='1.20', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1675937141.62', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='5.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='1767' AND source_name='4FGL J2108.5+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 02:05:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0200>
Subject: Job 88741: <4FGL_J2108.5+1434_daily_bin1767> in cluster <slac> Done

Job <4FGL_J2108.5+1434_daily_bin1767> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Feb  9 01:50:27 2023
Job was executed on host(s) <bullet0200>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:51:07 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:07 2023
Terminated at Thu Feb  9 02:05:42 2023
Results reported at Thu Feb  9 02:05:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2108.5+1434_daily_bin1767 317.148 14.5812 697334401 697593601 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 :                                   785.34 sec.
    Max Memory :                                 631 MB
    Average Memory :                             313.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            915 sec.

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

