/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 120 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2108.2-2454_daily_bin469
RA = 317.061, Dec = -24.9081
tmin = 360892801, tmax = 361152001
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='327011', job_status='RUN', time_executed='2021-09-26 04:12:51.862229', time_epoch_executed='1632654771.86' WHERE source_name='4FGL J2108.2-2454' and cadence='daily' and bin_id='469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/327011

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/327011/ft1_4FGL_J2108.2-2454_daily_bin469.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/327011/ft2_4FGL_J2108.2-2454_daily_bin469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/327011/ft1_4FGL_J2108.2-2454_daily_bin469.fits outfile=/scratch/kocevski/327011/ft1_filteredMKT_4FGL_J2108.2-2454_daily_bin469.fits ra=317.061 dec=-24.9081 rad=12.0 tmin=360892801.0 tmax=361152001.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.41
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/327011/ft2_4FGL_J2108.2-2454_daily_bin469.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/327011/ft2_4FGL_J2108.2-2454_daily_bin469.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/327011/ft1_filteredMKT_4FGL_J2108.2-2454_daily_bin469.fits evtable="EVENTS" outfile="/scratch/kocevski/327011/ft1_filtered_4FGL_J2108.2-2454_daily_bin469.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.52
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/327011/ft1_filtered_4FGL_J2108.2-2454_daily_bin469.fits" evtable="EVENTS" scfile=/scratch/kocevski/327011/ft2_4FGL_J2108.2-2454_daily_bin469.fits sctable="SC_DATA" outfile=/scratch/kocevski/327011/ltcube_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.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/327011/ft2_4FGL_J2108.2-2454_daily_bin469.fits
.....................!
real 15.25
user 14.81
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/327011/ft1_filtered_4FGL_J2108.2-2454_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/327011/ft2_4FGL_J2108.2-2454_daily_bin469.fits sctable="SC_DATA" expcube=/scratch/kocevski/327011/ltcube_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.fits outfile=/scratch/kocevski/327011/expmap_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.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/327011/ltcube_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.fits
.....................!
real 192.52
user 186.47
sys 4.50

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
Added 156 point sources and 0 extended sources

Setting source of interest to:
4FGL J2108.2-2454 @ 317.061 -24.9081

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/327011/ft1_filtered_4FGL_J2108.2-2454_daily_bin469.fits scfile=/scratch/kocevski/327011/ft2_4FGL_J2108.2-2454_daily_bin469.fits outfile=/scratch/kocevski/327011/cmap_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.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.061 yref=-24.9081 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/327011/ft1_filtered_4FGL_J2108.2-2454_daily_bin469.fits scfile=/scratch/kocevski/327011/ft2_4FGL_J2108.2-2454_daily_bin469.fits outfile=/scratch/kocevski/327011/cmap_HighResolution_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.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.061 yref=-24.9081 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/327011/ft1_filtered_4FGL_J2108.2-2454_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/327011/ft2_4FGL_J2108.2-2454_daily_bin469.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/327011/Model_4FGL_J2108.2-2454_daily_bin469.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 EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/327011/ft1_filtered_4FGL_J2108.2-2454_daily_bin469.fits.....................!
real 82.44
user 80.91
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/327011/ft1_filtered_4FGL_J2108.2-2454_daily_bin469.fits', '/scratch/kocevski/327011/ft2_4FGL_J2108.2-2454_daily_bin469.fits', expMap='/scratch/kocevski/327011/expmap_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.fits', expCube='/scratch/kocevski/327011/ltcube_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/327011/Model_4FGL_J2108.2-2454_daily_bin469.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2108.2-2454'

4FGL J2108.2-2454
   Spectrum: PowerLaw
280    Prefactor:  1.845e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.582e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  6.170e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/327011/ft1_filtered_4FGL_J2108.2-2454_daily_bin469.fits
Spacecraft file(s): /scratch/kocevski/327011/ft2_4FGL_J2108.2-2454_daily_bin469.fits
Exposure map: /scratch/kocevski/327011/expmap_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.fits
Exposure cube: /scratch/kocevski/327011/ltcube_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/327011/Model_4FGL_J2108.2-2454_daily_bin469.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) = 10286.0185133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27555E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0977       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5689       1.0000         .10000E-03   10000.    
     7 'Prefactor '    45.005       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8470       1.0000         .10000E-03   10000.    
     9 'norm      '    5.0083       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.4746       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.399       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10453E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.9468       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21324E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0419       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .87361       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10285.97     FROM MIGRAD    STATUS=CONVERGED    361 CALLS     1452 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10407E-03    24.618        .27138E-05** at limit **
   2  Prefactor     6.0998        4.9480       -.21015E-06   -.21579E-02
   3  Prefactor     .10000E-03    1.0916        .77304E-08** at limit **
   4  Prefactor     .10000E-03    30.573       -.99780E-06** at limit **
   5  norm          .10000E-03    11.794       -.44533E-07** at limit **
   6  Prefactor     1.5686        6.5232        .21736E-05   -.96663E-03
   7  Prefactor     45.012        22.483       -.77120E-05   -.19364E-03
   8  Prefactor     1.8457        4.3105       -.28032E-06   -.26361E-03
   9  norm          5.0082        4.8163        .23652E-06    .79438E-05
  10  Prefactor     4.4748        4.9656       -.16818E-06   -.52276E-04
  11  Prefactor     24.391        14.006        .23162E-05    .15427E-03
  12  Prefactor     .10000E-03    7.6526       -.55328E-08** at limit **
  13  Prefactor     .10000E-03    24.731        .43912E-06** at limit **
  14  norm          9.9482        4.3430       -.13578E-06   -.22351E-05
  15  Prefactor     .10065E-03    8.1038       -.94718E-06** at limit **
  16  Normalizat    1.0419        .16819        .88048E-07   -.46961E-04
  17  Prefactor     .87362        .83999E-01    .24988E-06   -.20653E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104072
  Prefactor  = 6.09979
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.56858
  Prefactor  = 45.0121
  Prefactor  = 1.84574
  norm       = 5.00816
  Prefactor  = 4.47484
  Prefactor  = 24.3908
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.94818
  Prefactor  = 0.000100651
  Normalizat = 1.04193
  Prefactor  = 0.873615
 **********
 **   18 **HESSE 
 **********

 FCN=   10285.97     FROM HESSE     STATUS=OK           241 CALLS     1693 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10407E-03    26.250        .13857       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0998        5.1786        .81294E-03   -1.5214    
   3  Prefactor     .10000E-03    1.1090        .10344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    30.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    11.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5686        27.322        .16972E-02   -1.5457    
   7  Prefactor     45.012        22.529        .59764E-04   -1.4365    
   8  Prefactor     1.8457        4.2886        .30476E-03   -1.5436    
   9  norm          5.0082        4.8160        .17969E-03   -1.5260    
  10  Prefactor     4.4748        4.9746        .19035E-03   -1.5285    
  11  Prefactor     24.391        14.074        .81096E-04   -1.4720    
  12  Prefactor     .10000E-03    7.6797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    24.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.9482        4.3628        .12705E-03   -1.5077    
  15  Prefactor     .10065E-03    8.4646        .88021E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0419        .20369        .30836E-03   -.91639    
  17  Prefactor     .87362        .10027        .17309E-03   -.97069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20808e-08
Minuit parameter uncertainties:
  1  0.0206863
  2  5.17901
  3  1.23669e-06
  4  2.13656e-05
  5  3.80451e-06
  6  13.0995
  7  22.5335
  8  4.28931
  9  4.81634
  10  4.97507
  11  14.0758
  12  1.24091e-05
  13  3.41864e-05
  14  4.36293
  15  0.00469568
  16  0.203842
  17  0.100293
Done.

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

Extracting fit parameters...

4FGL J2108.2-2454
   Spectrum: PowerLaw
280    Prefactor:  1.846e+00  4.289e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.582e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  6.170e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.736e-01  1.003e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.042e+00  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.22
Ra Dec: 317.061 -24.908
Photon Flux Upper Limit: 8.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/327011/likelihoodResults_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.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) = 10285.952802
delta logL = 0.021796786501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10285.94967
delta logL = 0.0249287619645

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1722       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2420       1.0000          .0000       10.000    
     3 'Normalizat'    1.0468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87177       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+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=   10285.95     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      271 TOTAL
                     EDM=   .86E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1843        4.6831        .27939E-03   -.21241E-04
   2  Index         2.2438        1.2864        .12061E-01   -.65509E-05
   3  Normalizat    1.0466        .19006        .30773E-03   -.58518E-04
   4  Prefactor     .87184        .98814E-01    .17324E-03   -.12550E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.18426
  Index      = 2.24378
  Normalizat = 1.04657
  Prefactor  = 0.87184
 **********
 **   18 **HESSE 
 **********

 FCN=   10285.95     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1843        4.6746        .11176E-04   -1.5412    
   2  Index         2.2438        1.2842        .48245E-03   -.58385    
   3  Normalizat    1.0466        .19019        .12309E-04   -.91486    
   4  Prefactor     .87184        .98873E-01    .34649E-04   -.97132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.4156e-12
Minuit parameter uncertainties:
  1  4.67535
  2  1.30543
  3  0.19031
  4  0.098893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/327011': 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) = 10285.9496654
delta logL = 0.0249333859338

Extracting fit parameters...

4FGL J2108.2-2454
   Spectrum: PowerLaw
280    Prefactor:  2.184e+00  4.675e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.244e+00  1.305e+00  0.000e+00  1.000e+01 (-1.000e+00)
282        Scale:  6.170e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.718e-01  9.889e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.047e+00  1.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
Ra Dec: 317.061 -24.908

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/327011/cmap_HighResolution_360892801_361152001_4FGL_J2108.2-2454_daily_bin469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.56e-03', job_status='DONE', photon_flux_upper_limit='8.39e-08', time_completed='2021-09-26 04:23:55.817918', job_id='327011', GAL2='0.87', fit_tolerance='1e-08', EG2='1.05', EG='1.04', time_epoch_completed='1632655435.82', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='2.49e-02', ts2='0.27', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='469' AND source_name='4FGL J2108.2-2454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 04:23:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 327011: <4FGL_J2108.2-2454_daily_bin469> in cluster <slac> Done

Job <4FGL_J2108.2-2454_daily_bin469> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 26 04:10:24 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 04:10:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 04:10:41 2021
Terminated at Sun Sep 26 04:23:56 2021
Results reported at Sun Sep 26 04:23:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2108.2-2454_daily_bin469 317.061 -24.9081 360892801 361152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2108.2-2454 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   660.51 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             302.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            812 sec.

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

