/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 28 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 = 7415
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2108.2-2454_daily_bin1194
RA = 317.061, Dec = -24.9081
tmin = 548812801, tmax = 549072001
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='331546', job_status='RUN', time_executed='2021-09-26 04:28:46.181994', time_epoch_executed='1632655726.18' WHERE source_name='4FGL J2108.2-2454' and cadence='daily' and bin_id='1194'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/331546

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/331546/ft1_4FGL_J2108.2-2454_daily_bin1194.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/331546/ft2_4FGL_J2108.2-2454_daily_bin1194.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/331546/ft1_4FGL_J2108.2-2454_daily_bin1194.fits outfile=/scratch/kocevski/331546/ft1_filteredMKT_4FGL_J2108.2-2454_daily_bin1194.fits ra=317.061 dec=-24.9081 rad=12.0 tmin=548812801.0 tmax=549072001.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 2.85
user 2.61
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/331546/ft2_4FGL_J2108.2-2454_daily_bin1194.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/331546/ft1_filteredMKT_4FGL_J2108.2-2454_daily_bin1194.fits evtable="EVENTS" outfile="/scratch/kocevski/331546/ft1_filtered_4FGL_J2108.2-2454_daily_bin1194.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.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/331546/ft1_filtered_4FGL_J2108.2-2454_daily_bin1194.fits" evtable="EVENTS" scfile=/scratch/kocevski/331546/ft2_4FGL_J2108.2-2454_daily_bin1194.fits sctable="SC_DATA" outfile=/scratch/kocevski/331546/ltcube_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.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/331546/ft2_4FGL_J2108.2-2454_daily_bin1194.fits
.....................!
real 13.77
user 13.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/331546/ft1_filtered_4FGL_J2108.2-2454_daily_bin1194.fits evtable="EVENTS" scfile=/scratch/kocevski/331546/ft2_4FGL_J2108.2-2454_daily_bin1194.fits sctable="SC_DATA" expcube=/scratch/kocevski/331546/ltcube_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.fits outfile=/scratch/kocevski/331546/expmap_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.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/331546/ltcube_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.fits
.....................!
real 192.09
user 186.00
sys 5.14

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/331546/ft1_filtered_4FGL_J2108.2-2454_daily_bin1194.fits scfile=/scratch/kocevski/331546/ft2_4FGL_J2108.2-2454_daily_bin1194.fits outfile=/scratch/kocevski/331546/cmap_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/331546/ft1_filtered_4FGL_J2108.2-2454_daily_bin1194.fits scfile=/scratch/kocevski/331546/ft2_4FGL_J2108.2-2454_daily_bin1194.fits outfile=/scratch/kocevski/331546/cmap_HighResolution_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/331546/ft1_filtered_4FGL_J2108.2-2454_daily_bin1194.fits evtable="EVENTS" scfile=/scratch/kocevski/331546/ft2_4FGL_J2108.2-2454_daily_bin1194.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/331546/Model_4FGL_J2108.2-2454_daily_bin1194.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/331546/ft1_filtered_4FGL_J2108.2-2454_daily_bin1194.fits.....................!
real 76.02
user 74.55
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/331546/ft1_filtered_4FGL_J2108.2-2454_daily_bin1194.fits', '/scratch/kocevski/331546/ft2_4FGL_J2108.2-2454_daily_bin1194.fits', expMap='/scratch/kocevski/331546/expmap_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.fits', expCube='/scratch/kocevski/331546/ltcube_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/331546/Model_4FGL_J2108.2-2454_daily_bin1194.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/331546/ft1_filtered_4FGL_J2108.2-2454_daily_bin1194.fits
Spacecraft file(s): /scratch/kocevski/331546/ft2_4FGL_J2108.2-2454_daily_bin1194.fits
Exposure map: /scratch/kocevski/331546/expmap_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.fits
Exposure cube: /scratch/kocevski/331546/ltcube_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/331546/Model_4FGL_J2108.2-2454_daily_bin1194.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) = 9253.17521037

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.160       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7561       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5202       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.391       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.004       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.7600       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.940       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.823       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.899       1.0000         .10000E-03   10000.    
    14 'norm      '    .73132       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0450       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1742       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93894       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=   9253.155     FROM MIGRAD    STATUS=CONVERGED    309 CALLS     1588 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.120        53.143       -.90067E-04   -.45842E-04
   2  Prefactor     1.7500        6.8916        .78305E-05   -.19483E-03
   3  Prefactor     2.5202        3.0917        .66876E-06   -.39027E-03
   4  Prefactor     .10000E-03    22.623        .22941E-05** at limit **
   5  norm          .10000E-03    8.0407       -.49075E-07** at limit **
   6  Prefactor     12.392        18.133        .77178E-06   -.79660E-04
   7  Prefactor     15.000        21.713       -.66770E-05   -.18948E-04
   8  Prefactor     .10000E-03    1.7156       -.22544E-07** at limit **
   9  norm          6.7596        6.7090        .23861E-06   -.16021E-03
  10  Prefactor     .10000E-03    1.6614        .65012E-07** at limit **
  11  Prefactor     11.939        12.344        .21172E-05   -.22789E-03
  12  Prefactor     17.803        24.828       -.23571E-04   -.75002E-03
  13  Prefactor     25.887        55.949       -.15889E-04   -.36763E-03
  14  norm          .73406        3.0516        .58373E-05   -.81025E-03
  15  Prefactor     5.0434        10.601        .12061E-05   -.18791E-03
  16  Normalizat    1.1741        .19765        .28183E-05   -.74620E-03
  17  Prefactor     .93899        .99947E-01    .17362E-05   -.90644E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1196
  Prefactor  = 1.75004
  Prefactor  = 2.52017
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.3922
  Prefactor  = 15.0004
  Prefactor  = 0.0001
  norm       = 6.7596
  Prefactor  = 0.0001
  Prefactor  = 11.9393
  Prefactor  = 17.8026
  Prefactor  = 25.887
  norm       = 0.734061
  Prefactor  = 5.04336
  Normalizat = 1.17413
  Prefactor  = 0.938994
 **********
 **   18 **HESSE 
 **********

 FCN=   9253.155     FROM HESSE     STATUS=OK           225 CALLS     1813 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.120        52.415        .96686E-04   -1.4880    
   2  Prefactor     1.7500        6.7864        .31628E-03   -1.5443    
   3  Prefactor     2.5202        3.0809        .18052E-03   -1.5390    
   4  Prefactor     .10000E-03    22.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.0599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.392        18.138        .11380E-03   -1.5004    
   7  Prefactor     15.000        21.718        .10340E-03   -1.4933    
   8  Prefactor     .10000E-03    1.7238        .12302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.7596        6.7062        .15432E-03   -1.5188    
  10  Prefactor     .10000E-03    1.6668        .12107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.939        12.345        .11593E-03   -1.5017    
  12  Prefactor     17.803        24.721        .94871E-04   -1.4864    
  13  Prefactor     25.887        55.753        .78717E-04   -1.4690    
  14  norm          .73406        5.8557        .29084E-02   -1.5537    
  15  Prefactor     5.0434        10.616        .17902E-03   -1.5259    
  16  Normalizat    1.1741        .23935        .31277E-03   -.87406    
  17  Prefactor     .93899        .12209        .18226E-03   -.94792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75405e-09
Minuit parameter uncertainties:
  1  52.5561
  2  6.78937
  3  3.08111
  4  3.12277e-05
  5  1.61439e-05
  6  18.1458
  7  21.7298
  8  1.04523e-05
  9  6.70695
  10  6.43815e-06
  11  12.3478
  12  24.7352
  13  55.8655
  14  4.14679
  15  10.6198
  16  0.239571
  17  0.122125
Done.

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

Extracting fit parameters...

4FGL J2108.2-2454
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  1.045e-05  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:  9.390e-01  1.221e-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.174e+00  2.396e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/331546/likelihoodResults_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.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) = 9253.15758692
delta logL = -0.00276004809893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9253.1548267
delta logL = 1.65327946888e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5706       1.0000          .0000       10.000    
     3 'Normalizat'    1.1741       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93899       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=   9253.155     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      255 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.9972        .12372E-01** at limit **
   2  Index         2.2349        7.2750        .50000        .23283E-07
   3  Normalizat    1.1741        .10484E-01    .31277E-03    .12817E-03
   4  Prefactor     .93899        .55653E-02    .18226E-03    .24190E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.23494
  Normalizat = 1.17414
  Prefactor  = 0.938993
 **********
 **   18 **HESSE 
 **********

 FCN=   9253.155     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    96.400        .12861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2349        6.0217        .50000       -.58597    
   3  Normalizat    1.1741        .36175E-01    .12511E-04   -.87406    
   4  Prefactor     .93899        .19202E-01    .36451E-04   -.94792    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.90574e-10
Minuit parameter uncertainties:
  1  7.61562e-05
  2  585.891
  3  0.0361757
  4  0.0192026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/331546': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9253.15482438
delta logL = 2.48413562076e-06

Extracting fit parameters...

4FGL J2108.2-2454
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  7.616e-05  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.235e+00  5.859e+02  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:  9.390e-01  1.920e-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.174e+00  3.618e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/331546/cmap_HighResolution_548812801_549072001_4FGL_J2108.2-2454_daily_bin1194.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.37e-03', job_status='DONE', photon_flux_upper_limit='5.59e-08', time_completed='2021-09-26 04:39:41.231349', job_id='331546', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1632656381.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.48e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1194' AND source_name='4FGL J2108.2-2454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 04:39:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 331546: <4FGL_J2108.2-2454_daily_bin1194> in cluster <slac> Done

Job <4FGL_J2108.2-2454_daily_bin1194> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 26 04:25:36 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 04:28:06 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:28:06 2021
Terminated at Sun Sep 26 04:39:42 2021
Results reported at Sun Sep 26 04:39:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2108.2-2454_daily_bin1194 317.061 -24.9081 548812801 549072001 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 :                                   626.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            846 sec.

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

