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


Performing analysis on: 4FGL_J2108.5+1434_daily_bin1730
RA = 317.148, Dec = 14.5812
tmin = 687744001, tmax = 688003201
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='468987', job_status='RUN', time_executed='2022-10-21 00:36:03.692024', time_epoch_executed='1666337763.69' WHERE source_name='4FGL J2108.5+1434' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/468987

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/468987/ft1_4FGL_J2108.5+1434_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/468987/ft2_4FGL_J2108.5+1434_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/468987/ft1_4FGL_J2108.5+1434_daily_bin1730.fits outfile=/scratch/kocevski/468987/ft1_filteredMKT_4FGL_J2108.5+1434_daily_bin1730.fits ra=317.148 dec=14.5812 rad=12.0 tmin=687744001.0 tmax=688003201.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.92
user 4.67
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/468987/ft2_4FGL_J2108.5+1434_daily_bin1730.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/468987/ft1_filteredMKT_4FGL_J2108.5+1434_daily_bin1730.fits evtable="EVENTS" outfile="/scratch/kocevski/468987/ft1_filtered_4FGL_J2108.5+1434_daily_bin1730.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 6.06
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 855

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/468987/ft1_filtered_4FGL_J2108.5+1434_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/468987/ft2_4FGL_J2108.5+1434_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/468987/ltcube_687744001_688003201_4FGL_J2108.5+1434_daily_bin1730.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/468987/ft2_4FGL_J2108.5+1434_daily_bin1730.fits
.....................!
real 15.54
user 11.43
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/468987/ft1_filtered_4FGL_J2108.5+1434_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/468987/ft2_4FGL_J2108.5+1434_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/468987/ltcube_687744001_688003201_4FGL_J2108.5+1434_daily_bin1730.fits outfile=/scratch/kocevski/468987/expmap_687744001_688003201_4FGL_J2108.5+1434_daily_bin1730.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/468987/ltcube_687744001_688003201_4FGL_J2108.5+1434_daily_bin1730.fits
.....................!
real 193.67
user 187.66
sys 5.59

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/468987/ft1_filtered_4FGL_J2108.5+1434_daily_bin1730.fits scfile=/scratch/kocevski/468987/ft2_4FGL_J2108.5+1434_daily_bin1730.fits outfile=/scratch/kocevski/468987/cmap_687744001_688003201_4FGL_J2108.5+1434_daily_bin1730.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/468987/ft1_filtered_4FGL_J2108.5+1434_daily_bin1730.fits scfile=/scratch/kocevski/468987/ft2_4FGL_J2108.5+1434_daily_bin1730.fits outfile=/scratch/kocevski/468987/cmap_HighResolution_687744001_688003201_4FGL_J2108.5+1434_daily_bin1730.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8889.19925165

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.834       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.4173       1.0000          .0000       .10000E+07
     3 'norm      '    .15911       1.0000          .0000       .10000E+07
     4 'Prefactor '    .86228E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.8179       1.0000          .0000       .10000E+07
     6 'Prefactor '    .61135E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.8075       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.4461       1.0000          .0000       .10000E+07
     9 'Prefactor '    .15162E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .21871E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    61.560       1.0000          .0000       .10000E+07
    12 'norm      '    2.5478       1.0000          .0000       .10000E+07
    13 'Prefactor '    27.435       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.7503       1.0000          .0000       .10000E+07
    15 'Prefactor '    .18050E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .40306       1.0000          .0000       .10000E+07
    17 'norm      '    .29048E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    59.261       1.0000          .0000       .10000E+07
    19 'Normalizat'    .97222       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92621       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=   8889.198     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     1707 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.709        19.358       -.28019E-06   -.24908E-01
   2  Prefactor     4.0708        46.200        .48555E-06    .99788E-02
   3  norm          .14164        1.0723        .35289E-07** at limit **
   4  Prefactor     .21649E-08    19.489       -.54111E-07** at limit **
   5  norm          1.8329        5.7114        .45125E-07   -.76301E-04
   6  Prefactor     .84049E-06    52.888       -.39923E-06** at limit **
   7  Prefactor     4.8013        124.35        .86857E-06   -.98784E-02
   8  Prefactor     7.5223        15.017       -.37943E-07    .10631E-03
   9  Prefactor      .0000        22.502        .13607E-06** at limit **
  10  Prefactor      .0000        7.9802        .13481E-07** at limit **
  11  Prefactor     61.407        1.3918       -.45255E-08    .54548E-02
  12  norm          2.5506        2.3745        .90672E-08   -.37798E-03
  13  Prefactor     27.478        1.6240        .80191E-08   -.32453E-03
  14  Prefactor     3.7501        5.8943        .47456E-07   -.47021E-04
  15  Prefactor     .70888E-07    35.762        .43056E-07** at limit **
  16  norm          .40662        2.1749        .12324E-07   -.89355E-04
  17  norm           .0000        19.584        .17896E-06** at limit **
  18  Prefactor     59.259        3.5741       -.23839E-08    .17152E-01
  19  Normalizat    .97064        .29102        .28273E-05    .58167E-05
  20  Prefactor     .92634        .10514       -.10875E-05    .20506E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.7087
  Prefactor  = 4.07082
  norm       = 0.141642
  Prefactor  = 2.16493e-09
  norm       = 1.8329
  Prefactor  = 8.40494e-07
  Prefactor  = 4.80125
  Prefactor  = 7.52226
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 61.4072
  norm       = 2.55062
  Prefactor  = 27.4778
  Prefactor  = 3.75012
  Prefactor  = 7.08877e-08
  norm       = 0.406624
  norm       = 0
  Prefactor  = 59.2586
  Normalizat = 0.97064
  Prefactor  = 0.926342
 **********
 **   18 **HESSE 
 **********

 FCN=   8889.198     FROM HESSE     STATUS=OK           347 CALLS     2054 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.709        58.158        .23051E-03   -1.5624    
   2  Prefactor     4.0708        533.14        .65809E-03   -1.5668    
   3  norm          .14164        2.3766        .21503E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .21649E-08    19.513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8329        5.7641        .77429E-03   -1.5681    
   6  Prefactor     .84049E-06    56.352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8013        179.58        .60685E-03   -1.5664    
   8  Prefactor     7.5223        15.074        .36730E-03   -1.5653    
   9  Prefactor      .0000        22.455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        7.9944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     61.407        33.596        .12746E-03   -1.5551    
  12  norm          2.5506        2.3687        .63946E-03   -1.5676    
  13  Prefactor     27.478        22.107        .19095E-03   -1.5603    
  14  Prefactor     3.7501        5.8907        .52112E-03   -1.5669    
  15  Prefactor     .70888E-07    36.073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .40662        2.2998        .89133E-03   -1.5695    
  17  norm           .0000        1.0860        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     59.259        31.071        .12991E-03   -1.5554    
  19  Normalizat    .97064        .25799        .90164E-01   -.94021    
  20  Prefactor     .92634        .90423E-01    .34839E-01   -.95227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36375e-06
Minuit parameter uncertainties:
  1  58.1594
  2  93.1822
  3  1.16038
  4  0.000410252
  5  5.76411
  6  0.0137645
  7  58.7282
  8  15.0745
  9  2.41968e-05
  10  2.88463e-05
  11  33.5956
  12  2.36867
  13  22.1067
  14  5.89074
  15  0.00319869
  16  1.93409
  17  3.20511e-06
  18  31.071
  19  0.258326
  20  0.0904377
Done.

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

Extracting fit parameters...

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  7.522e+00  1.507e+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:  9.263e-01  9.044e-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:  9.706e-01  2.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/468987/likelihoodResults_687744001_688003201_4FGL_J2108.5+1434_daily_bin1730.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) = 8889.12524372
delta logL = 0.0724734521282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8889.11675681
delta logL = 0.0809603603284

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8889.117     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      260 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0453        16.057        .16322E-04   -.21313E-03
   2  Index         3.3102        1.8010        .15010E-01    .32965E-03
   3  Normalizat    .95352        .28213        .40251E-03   -.69905E-03
   4  Prefactor     .93058        .10490        .15362E-03   -.14571E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.04528
  Index      = 3.31016
  Normalizat = 0.953521
  Prefactor  = 0.930576
 **********
 **   18 **HESSE 
 **********

 FCN=   8889.117     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0453        13.564        .65289E-06   -1.5659    
   2  Index         3.3102        1.5316        .30019E-02   -.34476    
   3  Normalizat    .95352        .28258        .80503E-04   -.94604    
   4  Prefactor     .93058        .10497        .30724E-04   -.95081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06417e-09
Minuit parameter uncertainties:
  1  13.5645
  2  1.56001
  3  0.283019
  4  0.104993
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/468987': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8889.1167568
delta logL = 0.0809603743037

Extracting fit parameters...

4FGL J2108.5+1434
   Spectrum: PowerLaw
376    Prefactor:  6.045e+00  1.356e+01  0.000e+00  1.000e+06 ( 1.000e-12)
377        Index:  3.310e+00  1.560e+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.306e-01  1.050e-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:  9.535e-01  2.830e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.28
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/468987/cmap_HighResolution_687744001_688003201_4FGL_J2108.5+1434_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.43e-07', time_completed='2022-10-21 00:49:32.668749', job_id='468987', GAL2='0.93', fit_tolerance='1e-08', EG2='0.95', EG='0.97', time_epoch_completed='1666338572.67', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='8.10e-02', ts2='0.46', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='1730' AND source_name='4FGL J2108.5+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:49:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 468987: <4FGL_J2108.5+1434_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2108.5+1434_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:12 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:13 2022
Terminated at Fri Oct 21 00:49:33 2022
Results reported at Fri Oct 21 00:49:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2108.5+1434_daily_bin1730 317.148 14.5812 687744001 688003201 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 :                                   801.55 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             360.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            861 sec.

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

