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


Performing analysis on: 4FGL_J2108.5+1434_daily_bin1729
RA = 317.148, Dec = 14.5812
tmin = 687484801, tmax = 687744001
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='378589', job_status='RUN', time_executed='2022-10-18 00:38:31.183161', time_epoch_executed='1666078711.18' WHERE source_name='4FGL J2108.5+1434' and cadence='daily' and bin_id='1729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378589

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378589/ft1_4FGL_J2108.5+1434_daily_bin1729.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378589/ft2_4FGL_J2108.5+1434_daily_bin1729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378589/ft1_4FGL_J2108.5+1434_daily_bin1729.fits outfile=/scratch/kocevski/378589/ft1_filteredMKT_4FGL_J2108.5+1434_daily_bin1729.fits ra=317.148 dec=14.5812 rad=12.0 tmin=687484801.0 tmax=687744001.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.62
user 3.37
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/378589/ft2_4FGL_J2108.5+1434_daily_bin1729.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/378589/ft1_filteredMKT_4FGL_J2108.5+1434_daily_bin1729.fits evtable="EVENTS" outfile="/scratch/kocevski/378589/ft1_filtered_4FGL_J2108.5+1434_daily_bin1729.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 790

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378589/ft1_filtered_4FGL_J2108.5+1434_daily_bin1729.fits" evtable="EVENTS" scfile=/scratch/kocevski/378589/ft2_4FGL_J2108.5+1434_daily_bin1729.fits sctable="SC_DATA" outfile=/scratch/kocevski/378589/ltcube_687484801_687744001_4FGL_J2108.5+1434_daily_bin1729.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/378589/ft2_4FGL_J2108.5+1434_daily_bin1729.fits
.....................!
real 12.98
user 12.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378589/ft1_filtered_4FGL_J2108.5+1434_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378589/ft2_4FGL_J2108.5+1434_daily_bin1729.fits sctable="SC_DATA" expcube=/scratch/kocevski/378589/ltcube_687484801_687744001_4FGL_J2108.5+1434_daily_bin1729.fits outfile=/scratch/kocevski/378589/expmap_687484801_687744001_4FGL_J2108.5+1434_daily_bin1729.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/378589/ltcube_687484801_687744001_4FGL_J2108.5+1434_daily_bin1729.fits
.....................!
real 190.69
user 185.47
sys 4.74

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/378589/ft1_filtered_4FGL_J2108.5+1434_daily_bin1729.fits scfile=/scratch/kocevski/378589/ft2_4FGL_J2108.5+1434_daily_bin1729.fits outfile=/scratch/kocevski/378589/cmap_687484801_687744001_4FGL_J2108.5+1434_daily_bin1729.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.54
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378589/ft1_filtered_4FGL_J2108.5+1434_daily_bin1729.fits scfile=/scratch/kocevski/378589/ft2_4FGL_J2108.5+1434_daily_bin1729.fits outfile=/scratch/kocevski/378589/cmap_HighResolution_687484801_687744001_4FGL_J2108.5+1434_daily_bin1729.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/378589/ft1_filtered_4FGL_J2108.5+1434_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378589/ft2_4FGL_J2108.5+1434_daily_bin1729.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378589/Model_4FGL_J2108.5+1434_daily_bin1729.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/378589/ft1_filtered_4FGL_J2108.5+1434_daily_bin1729.fits.....................!
real 121.79
user 120.42
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6129       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9209       1.0000          .0000       .10000E+07
     3 'norm      '    .18817       1.0000          .0000       .10000E+07
     4 'Prefactor '    .40683E-01   1.0000          .0000       .10000E+07
     5 'norm      '    4.6804       1.0000          .0000       .10000E+07
     6 'Prefactor '    .84836E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11410       1.0000          .0000       .10000E+07
     8 'Prefactor '    .32776E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .76806E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .42523E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31986E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.9815       1.0000          .0000       .10000E+07
    13 'Prefactor '    .14476E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9600       1.0000          .0000       .10000E+07
    15 'Prefactor '    30.852       1.0000          .0000       .10000E+07
    16 'norm      '    2.0549       1.0000          .0000       .10000E+07
    17 'norm      '    .24603E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .90406E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0707       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92041       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=   8344.771     FROM MIGRAD    STATUS=CONVERGED    189 CALLS     1668 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5934        9.0672       -.50669E-07    .75626E-04
   2  Prefactor     5.8665        8.3766       -.93141E-06    .56601E-03
   3  norm          .18857        .31307       -.83349E-07** at limit **
   4  Prefactor     .22204E-09    31.616       -.51347E-05** at limit **
   5  norm          4.6556        9.5868        .58254E-06    .59737E-03
   6  Prefactor     .55511E-10    13.443        .64008E-06** at limit **
   7  Prefactor     .33307E-09    42.143        .26173E-05** at limit **
   8  Prefactor      .0000        3.5293       -.46500E-06** at limit **
   9  Prefactor     .55511E-10    25.328       -.28182E-05** at limit **
  10  Prefactor     .55511E-10    16.023       -.14572E-05** at limit **
  11  Prefactor      .0000        6.9337        .80208E-06** at limit **
  12  norm          1.9813        2.0698        .26566E-06   -.94288E-03
  13  Prefactor     .21427E-07    455.26        .71948E-05** at limit **
  14  Prefactor     3.9263        7.0175       -.63241E-06    .58258E-03
  15  Prefactor     33.755        118.93       -.48431E-05   -.57540E-03
  16  norm          2.0440        2.6943       -.18310E-06   -.64374E-03
  17  norm           .0000        2.5989        .44113E-06** at limit **
  18  Prefactor      .0000        12.088        .63563E-06** at limit **
  19  Normalizat    1.0714        .28705       -.54713E-05   -.10849E-04
  20  Prefactor     .92020        .10302        .24598E-05   -.38273E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.59341
  Prefactor  = 5.86653
  norm       = 0.18857
  Prefactor  = 2.22045e-10
  norm       = 4.65563
  Prefactor  = 5.55112e-11
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 1.98134
  Prefactor  = 2.14273e-08
  Prefactor  = 3.92625
  Prefactor  = 33.7549
  norm       = 2.04395
  norm       = 0
  Prefactor  = 0
  Normalizat = 1.07145
  Prefactor  = 0.920201
 **********
 **   18 **HESSE 
 **********

 FCN=   8344.771     FROM HESSE     STATUS=OK           335 CALLS     2003 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5934        9.4122        .83357E-03   -1.5683    
   2  Prefactor     5.8665        8.5553        .41245E-03   -1.5660    
   3  norm          .18857        .40093        .17314E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22204E-09    31.361        .15933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.6556        9.6263        .46492E-03   -1.5665    
   6  Prefactor     .55511E-10    13.431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    41.978        .13565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.5285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    25.368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    16.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        6.9558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9813        2.0602        .73599E-03   -1.5680    
  13  Prefactor     .21427E-07    446.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.9263        6.9698        .50664E-03   -1.5668    
  15  Prefactor     33.755        118.47        .18006E-03   -1.5592    
  16  norm          2.0440        2.7185        .72074E-03   -1.5679    
  17  norm           .0000        2.5720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        12.119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0714        .24481        .86443E-01   -.90674    
  20  Prefactor     .92020        .87247E-01    .34259E-01   -.95439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37422e-09
Minuit parameter uncertainties:
  1  7.74535
  2  8.55529
  3  0.400932
  4  0.000173164
  5  9.62637
  6  6.5539e-05
  7  0.000231147
  8  6.70956e-06
  9  7.14454e-05
  10  7.13515e-05
  11  8.86241e-06
  12  2.06016
  13  0.00618347
  14  6.96977
  15  118.482
  16  2.71853
  17  4.71301e-06
  18  4.70301e-06
  19  0.245068
  20  0.0872606
Done.

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

Extracting fit parameters...

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  0.000e+00  6.710e-06  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:  9.202e-01  8.726e-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:  1.071e+00  2.451e-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: 6.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378589/likelihoodResults_687484801_687744001_4FGL_J2108.5+1434_daily_bin1729.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) = 8344.77137657
delta logL = -0.000125145266793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8344.77125159
delta logL = -1.64402081282e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84766E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.4681       1.0000          .0000       10.000    
     3 'Normalizat'    1.0715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92021       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8344.771     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      246 TOTAL
                     EDM=   .47E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3594        .42118E-03** at limit **
   2  Index         3.5157        1.4193        .41763E-04     .0000    
   3  Normalizat    1.0714        1.1790        .59956E-05   -.59909E-04
   4  Prefactor     .92020        1.2641       -.47481E-05   -.12525E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.51568
  Normalizat = 1.07145
  Prefactor  = 0.920201
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8344.771     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .47E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3737        2.2091        .41763E-04   -.30141    
   3  Normalizat    1.0714        1.1790        .59956E-05   -.90674    
   4  Prefactor     .92020        1.2641       -.47481E-05   -.95439    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.65786e-12
Minuit parameter uncertainties:
  1  1.20436e-06
  2  1.44109
  3  1.20988
  4  1.30832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378589': 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) = 8344.77125143
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  0.000e+00  1.204e-06  0.000e+00  1.000e+06 ( 1.000e-12)
377        Index:  3.516e+00  1.441e+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:  9.202e-01  1.308e+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:  1.071e+00  1.210e+00  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/378589/cmap_HighResolution_687484801_687744001_4FGL_J2108.5+1434_daily_bin1729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-03', job_status='DONE', photon_flux_upper_limit='6.69e-08', time_completed='2022-10-18 00:50:54.681036', job_id='378589', GAL2='0.92', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1666079454.68', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='1729' AND source_name='4FGL J2108.5+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:50:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 378589: <4FGL_J2108.5+1434_daily_bin1729> in cluster <slac> Done

Job <4FGL_J2108.5+1434_daily_bin1729> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 00:35:18 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:35:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:35:19 2022
Terminated at Tue Oct 18 00:50:55 2022
Results reported at Tue Oct 18 00:50:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2108.5+1434_daily_bin1729 317.148 14.5812 687484801 687744001 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 :                                   745.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

