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


Performing analysis on: 4FGL_J2108.2-2454_daily_bin1286
RA = 317.061, Dec = -24.9081
tmin = 572659201, tmax = 572918401
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='332462', job_status='RUN', time_executed='2021-09-26 04:33:52.629362', time_epoch_executed='1632656032.63' WHERE source_name='4FGL J2108.2-2454' and cadence='daily' and bin_id='1286'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332462

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332462/ft1_4FGL_J2108.2-2454_daily_bin1286.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332462/ft2_4FGL_J2108.2-2454_daily_bin1286.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332462/ft1_4FGL_J2108.2-2454_daily_bin1286.fits outfile=/scratch/kocevski/332462/ft1_filteredMKT_4FGL_J2108.2-2454_daily_bin1286.fits ra=317.061 dec=-24.9081 rad=12.0 tmin=572659201.0 tmax=572918401.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.67
user 3.42
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/332462/ft2_4FGL_J2108.2-2454_daily_bin1286.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/332462/ft1_filteredMKT_4FGL_J2108.2-2454_daily_bin1286.fits evtable="EVENTS" outfile="/scratch/kocevski/332462/ft1_filtered_4FGL_J2108.2-2454_daily_bin1286.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 3.25
user 0.35
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332462/ft1_filtered_4FGL_J2108.2-2454_daily_bin1286.fits" evtable="EVENTS" scfile=/scratch/kocevski/332462/ft2_4FGL_J2108.2-2454_daily_bin1286.fits sctable="SC_DATA" outfile=/scratch/kocevski/332462/ltcube_572659201_572918401_4FGL_J2108.2-2454_daily_bin1286.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/332462/ft2_4FGL_J2108.2-2454_daily_bin1286.fits
.....................!
real 13.42
user 12.93
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332462/ft1_filtered_4FGL_J2108.2-2454_daily_bin1286.fits evtable="EVENTS" scfile=/scratch/kocevski/332462/ft2_4FGL_J2108.2-2454_daily_bin1286.fits sctable="SC_DATA" expcube=/scratch/kocevski/332462/ltcube_572659201_572918401_4FGL_J2108.2-2454_daily_bin1286.fits outfile=/scratch/kocevski/332462/expmap_572659201_572918401_4FGL_J2108.2-2454_daily_bin1286.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/332462/ltcube_572659201_572918401_4FGL_J2108.2-2454_daily_bin1286.fits
.....................!
real 193.90
user 187.97
sys 5.33

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/332462/ft1_filtered_4FGL_J2108.2-2454_daily_bin1286.fits scfile=/scratch/kocevski/332462/ft2_4FGL_J2108.2-2454_daily_bin1286.fits outfile=/scratch/kocevski/332462/cmap_572659201_572918401_4FGL_J2108.2-2454_daily_bin1286.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332462/ft1_filtered_4FGL_J2108.2-2454_daily_bin1286.fits scfile=/scratch/kocevski/332462/ft2_4FGL_J2108.2-2454_daily_bin1286.fits outfile=/scratch/kocevski/332462/cmap_HighResolution_572659201_572918401_4FGL_J2108.2-2454_daily_bin1286.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332462/ft1_filtered_4FGL_J2108.2-2454_daily_bin1286.fits evtable="EVENTS" scfile=/scratch/kocevski/332462/ft2_4FGL_J2108.2-2454_daily_bin1286.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332462/Model_4FGL_J2108.2-2454_daily_bin1286.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/332462/ft1_filtered_4FGL_J2108.2-2454_daily_bin1286.fits.....................!
real 58.98
user 57.14
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.823       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .84820       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5666       1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4512       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.2446       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .32716E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    115.86       1.0000         .10000E-03   10000.    
    14 'norm      '    7.4482       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .84402       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1742       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=   6724.751     FROM MIGRAD    STATUS=CONVERGED    339 CALLS     1661 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.781        54.546        .26018E-05    .13909E-04
   2  Prefactor     .86137        5.4336        .13541E-05   -.63512E-03
   3  Prefactor     .10000E-03    3.4949        .45360E-06** at limit **
   4  Prefactor     5.4631        391.40        .14761E-05   -.27289E-05
   5  norm          .10001E-03    81.521       -.10285E-04** at limit **
   6  Prefactor     8.4503        24.996        .47765E-06    .10248E-04
   7  Prefactor     .10000E-03    43.461        .10607E-05** at limit **
   8  Prefactor     .10000E-03    2.9023       -.34091E-06** at limit **
   9  norm          .10000E-03    10.092        .30697E-06** at limit **
  10  Prefactor     .10000E-03    2.4737        .12864E-06** at limit **
  11  Prefactor     7.2473        16.209        .62634E-08    .83721E-05
  12  Prefactor     .10000E-03    31.625       -.21361E-05** at limit **
  13  Prefactor     115.84        91.403       -.18811E-07    .15126E-04
  14  norm          7.4538        7.7829        .13063E-06    .57608E-04
  15  Prefactor     .10000E-03    5.8312       -.18417E-08** at limit **
  16  Normalizat    .84357        .25840       -.25310E-06    .38508E-04
  17  Prefactor     1.1743        .12660        .35760E-06    .11879E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.7809
  Prefactor  = 0.861371
  Prefactor  = 0.0001
  Prefactor  = 5.46314
  norm       = 0.000100011
  Prefactor  = 8.45034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.2473
  Prefactor  = 0.000100001
  Prefactor  = 115.843
  norm       = 7.45376
  Prefactor  = 0.0001
  Normalizat = 0.843568
  Prefactor  = 1.17435
 **********
 **   18 **HESSE 
 **********

 FCN=   6724.751     FROM HESSE     STATUS=OK           221 CALLS     1882 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.781        55.733        .71029E-04   -1.4580    
   2  Prefactor     .86137        14.474        .29154E-02   -1.5522    
   3  Prefactor     .10000E-03    3.5763        .29879E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.4631        395.94        .17028E-03   -1.5240    
   5  norm          .10001E-03    84.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.4503        24.972        .13790E-03   -1.5126    
   7  Prefactor     .10000E-03    43.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.9219        .13655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    10.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4772        .12595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.2473        16.191        .14902E-03   -1.5169    
  12  Prefactor     .10000E-03    31.812        .21353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     115.84        91.123        .37378E-04   -1.3551    
  14  norm          7.4538        7.7816        .14695E-03   -1.5162    
  15  Prefactor     .10000E-03    5.8346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .84357        .29631        .39253E-03   -.98472    
  17  Prefactor     1.1743        .14716        .17208E-03   -.87124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09031e-09
Minuit parameter uncertainties:
  1  55.8248
  2  7.06351
  3  1.36613e-05
  4  93.6686
  5  0.00196939
  6  25.0028
  7  0.000117533
  8  1.42476e-05
  9  1.55626e-05
  10  3.92723e-06
  11  16.2007
  12  0.000256563
  13  91.2333
  14  7.78265
  15  4.89001e-07
  16  0.296881
  17  0.147207
Done.

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

Extracting fit parameters...

4FGL J2108.2-2454
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  1.425e-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:  1.174e+00  1.472e-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:  8.436e-01  2.969e-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: 8.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/332462/likelihoodResults_572659201_572918401_4FGL_J2108.2-2454_daily_bin1286.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) = 6724.75219247
delta logL = -0.00162730952979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6724.75056521
delta logL = -4.40504663857e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5779       1.0000          .0000       10.000    
     3 'Normalizat'    .84352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1744       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=   6724.751     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      238 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10032E-03    195.76        .13667E-02** at limit **
   2  Index         2.5245        8.0437        .50000        .10030E-04
   3  Normalizat    .84357        .53458E-01    .39252E-03   -.65746E-05
   4  Prefactor     1.1743        .27383E-01    .17208E-03   -.11826E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100324
  Index      = 2.52447
  Normalizat = 0.843568
  Prefactor  = 1.17435
 **********
 **   18 **HESSE 
 **********

 FCN=   6724.751     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10032E-03    614.10        .27335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5245        5.0915        .50000       -.51796    
   3  Normalizat    .84357        .15207        .15701E-04   -.98472    
   4  Prefactor     1.1743        .77836E-01    .68832E-05   -.87124    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.10847e-08
Minuit parameter uncertainties:
  1  0.0285071
  2  2083.4
  3  0.152145
  4  0.0778436
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332462': 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) = 6724.75056506
delta logL = 1.07083906187e-07

Extracting fit parameters...

4FGL J2108.2-2454
   Spectrum: PowerLaw
280    Prefactor:  1.003e-04  2.851e-02  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.524e+00  2.083e+03  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:  1.174e+00  7.784e-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:  8.436e-01  1.521e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/332462/cmap_HighResolution_572659201_572918401_4FGL_J2108.2-2454_daily_bin1286.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-03', job_status='DONE', photon_flux_upper_limit='8.73e-08', time_completed='2021-09-26 04:45:29.089510', job_id='332462', GAL2='1.17', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1632656729.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1286' AND source_name='4FGL J2108.2-2454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 04:45:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 332462: <4FGL_J2108.2-2454_daily_bin1286> in cluster <slac> Done

Job <4FGL_J2108.2-2454_daily_bin1286> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 26 04:30:27 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 04:30:35 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:30:35 2021
Terminated at Sun Sep 26 04:45:29 2021
Results reported at Sun Sep 26 04:45:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2108.2-2454_daily_bin1286 317.061 -24.9081 572659201 572918401 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 :                                   545.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             232.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            902 sec.

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

