/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 64 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 = 7600
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2103.8-6233_daily_bin1195
RA = 315.955, Dec = -62.5563
tmin = 549072001, tmax = 549331201
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='281244', job_status='RUN', time_executed='2021-09-26 01:37:49.081897', time_epoch_executed='1632645469.08' WHERE source_name='4FGL J2103.8-6233' and cadence='daily' and bin_id='1195'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/281244

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/281244/ft1_4FGL_J2103.8-6233_daily_bin1195.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/281244/ft2_4FGL_J2103.8-6233_daily_bin1195.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/281244/ft1_4FGL_J2103.8-6233_daily_bin1195.fits outfile=/scratch/kocevski/281244/ft1_filteredMKT_4FGL_J2103.8-6233_daily_bin1195.fits ra=315.955 dec=-62.5563 rad=12.0 tmin=549072001.0 tmax=549331201.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.27
user 2.72
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/281244/ft2_4FGL_J2103.8-6233_daily_bin1195.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/281244/ft2_4FGL_J2103.8-6233_daily_bin1195.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/281244/ft1_filteredMKT_4FGL_J2103.8-6233_daily_bin1195.fits evtable="EVENTS" outfile="/scratch/kocevski/281244/ft1_filtered_4FGL_J2103.8-6233_daily_bin1195.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.63
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/281244/ft1_filtered_4FGL_J2103.8-6233_daily_bin1195.fits" evtable="EVENTS" scfile=/scratch/kocevski/281244/ft2_4FGL_J2103.8-6233_daily_bin1195.fits sctable="SC_DATA" outfile=/scratch/kocevski/281244/ltcube_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.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/281244/ft2_4FGL_J2103.8-6233_daily_bin1195.fits
.....................!
real 13.22
user 12.79
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/281244/ft1_filtered_4FGL_J2103.8-6233_daily_bin1195.fits evtable="EVENTS" scfile=/scratch/kocevski/281244/ft2_4FGL_J2103.8-6233_daily_bin1195.fits sctable="SC_DATA" expcube=/scratch/kocevski/281244/ltcube_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.fits outfile=/scratch/kocevski/281244/expmap_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.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/281244/ltcube_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.fits
.....................!
real 192.01
user 185.54
sys 5.25

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

Setting source of interest to:
4FGL J2103.8-6233 @ 315.955 -62.5563

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/281244/ft1_filtered_4FGL_J2103.8-6233_daily_bin1195.fits scfile=/scratch/kocevski/281244/ft2_4FGL_J2103.8-6233_daily_bin1195.fits outfile=/scratch/kocevski/281244/cmap_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.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=315.955 yref=-62.5563 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/281244/ft1_filtered_4FGL_J2103.8-6233_daily_bin1195.fits scfile=/scratch/kocevski/281244/ft2_4FGL_J2103.8-6233_daily_bin1195.fits outfile=/scratch/kocevski/281244/cmap_HighResolution_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.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=315.955 yref=-62.5563 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/281244/ft1_filtered_4FGL_J2103.8-6233_daily_bin1195.fits evtable="EVENTS" scfile=/scratch/kocevski/281244/ft2_4FGL_J2103.8-6233_daily_bin1195.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/281244/Model_4FGL_J2103.8-6233_daily_bin1195.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/281244/ft1_filtered_4FGL_J2103.8-6233_daily_bin1195.fits.....................!
real 71.83
user 70.15
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/281244/ft1_filtered_4FGL_J2103.8-6233_daily_bin1195.fits', '/scratch/kocevski/281244/ft2_4FGL_J2103.8-6233_daily_bin1195.fits', expMap='/scratch/kocevski/281244/expmap_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.fits', expCube='/scratch/kocevski/281244/ltcube_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/281244/Model_4FGL_J2103.8-6233_daily_bin1195.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2103.8-6233'

4FGL J2103.8-6233
   Spectrum: LogParabola
361         norm:  1.194e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
362        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.080e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/281244/ft1_filtered_4FGL_J2103.8-6233_daily_bin1195.fits
Spacecraft file(s): /scratch/kocevski/281244/ft2_4FGL_J2103.8-6233_daily_bin1195.fits
Exposure map: /scratch/kocevski/281244/expmap_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.fits
Exposure cube: /scratch/kocevski/281244/ltcube_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/281244/Model_4FGL_J2103.8-6233_daily_bin1195.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) = 8945.97245927

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7550       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .62535E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2349       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.1999       1.0000         .10000E-03   10000.    
     5 'norm      '    .10177E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .64788E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    104.58       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .36629E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.2990       1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.2323       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .94583       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8945.972     FROM MIGRAD    STATUS=CONVERGED    217 CALLS      971 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.7552        2.3064        .19298E-06   -.72827E-04
   2  Prefactor     .10000E-03    12.518       -.58067E-05** at limit **
   3  Prefactor     1.2350        2.2456       -.99887E-08   -.12866E-02
   4  Prefactor     6.0784        17.841       -.26149E-05   -.49217E-04
   5  norm          .10000E-03    .98274       -.10712E-05** at limit **
   6  Prefactor     .10000E-03    11.835        .50200E-05** at limit **
   7  Prefactor     104.63        95.530        .50527E-04    .92360E-04
   8  Prefactor     .10000E-03    7.5910       -.23110E-06** at limit **
   9  norm          4.2818        12.819        .19335E-04   -.38586E-04
  10  norm          .10000E-03    .22706       -.45747E-06** at limit **
  11  Normalizat    1.2324        .18412       -.46745E-05    .44110E-03
  12  Prefactor     .94585        .10575       -.70719E-06    .27920E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.75523
  Prefactor  = 0.0001
  Prefactor  = 1.23502
  Prefactor  = 6.07841
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 104.631
  Prefactor  = 0.0001
  norm       = 4.28176
  norm       = 0.000100001
  Normalizat = 1.23243
  Prefactor  = 0.945847
 **********
 **   18 **HESSE 
 **********

 FCN=   8945.972     FROM HESSE     STATUS=OK           129 CALLS     1100 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.7552        2.3078        .70629E-04   -1.5116    
   2  Prefactor     .10000E-03    12.619        .21042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2350        2.2166        .18187E-03   -1.5486    
   4  Prefactor     6.0784        17.790        .16122E-03   -1.5215    
   5  norm          .10000E-03    1.9842        .18220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.845        .21023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     104.63        95.655        .19661E-03   -1.3659    
   8  Prefactor     .10000E-03    7.6069        .21303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.2818        12.719        .19430E-03   -1.5294    
  10  norm          .10000E-03    .32962        .87430E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.2324        .21760        .29709E-03   -.85606    
  12  Prefactor     .94585        .12598        .19360E-03   -.94557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20191e-09
Minuit parameter uncertainties:
  1  2.3078
  2  7.70481e-05
  3  2.21674
  4  17.8059
  5  0.000139794
  6  1.40173e-05
  7  95.7964
  8  1.63472e-05
  9  12.7271
  10  2.76912e-05
  11  0.217757
  12  0.126022
Done.

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

Extracting fit parameters...

4FGL J2103.8-6233
   Spectrum: LogParabola
361         norm:  1.000e-04  1.398e-04  1.000e-04  1.000e+04 ( 1.000e-12)
362        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.080e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  9.458e-01  1.260e-01  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.232e+00  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 315.955 -62.556
Photon Flux Upper Limit: 3.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/281244/likelihoodResults_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.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) = 8945.97462308
delta logL = -0.00240304306681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8945.97222016
delta logL = -1.26117811305e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8484       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2325       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8945.972     FROM MIGRAD    STATUS=FAILED        93 CALLS      257 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10050E-03    132.74        .18246E-02** at limit **
   2  alpha         1.7681        3.0441        .50000        .82832E-05
   3  Normalizat    1.2324        .41196E-01    .29709E-03    .24720E-04
   4  Prefactor     .94585        .24019E-01    .19360E-03    .95248E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8945.972     FROM SIMPLEX   STATUS=PROGRESS     149 CALLS      406 TOTAL
                     EDM=   .45E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10046E-03    132.74        .16175E-03** at limit **
   2  alpha         1.7680        3.0441        .73049E-04    .82832E-05
   3  Normalizat    1.2324        .41196E-01    .18529E-05    .24720E-04
   4  Prefactor     .94585        .24019E-01    .43727E-06    .95248E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8945.972     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      450 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    468.34        .36492E-03** at limit **
   2  alpha         1.7212        3.2339        .50000       -.73760E-07
   3  Normalizat    1.2324        .14896        .11884E-04   -.42859E-04
   4  Prefactor     .94585        .86844E-01    .77440E-05    .59897E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.72119
  Normalizat = 1.23243
  Prefactor  = 0.945849
 **********
 **   18 **HESSE 
 **********

 FCN=   8945.972     FROM HESSE     STATUS=OK            29 CALLS      479 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1628        .72983E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7212        3.1732        .50000       -.31680    
   3  Normalizat    1.2324        .21467        .23767E-05   -.85607    
   4  Prefactor     .94585        .12518        .15488E-05   -.94557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5632e-11
Minuit parameter uncertainties:
  1  4.36495e-07
  2  93.8545
  3  0.214826
  4  0.125221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/281244': 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) = 8945.97221936
delta logL = 6.73378963256e-07

Extracting fit parameters...

4FGL J2103.8-6233
   Spectrum: LogParabola
361         norm:  1.000e-04  4.365e-07  1.000e-04  1.000e+04 ( 1.000e-12)
362        alpha:  1.721e+00  9.385e+01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.080e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  9.458e-01  1.252e-01  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.232e+00  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 315.955 -62.556

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/281244/cmap_HighResolution_549072001_549331201_4FGL_J2103.8-6233_daily_bin1195.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-05', job_status='DONE', photon_flux_upper_limit='3.95e-08', time_completed='2021-09-26 01:47:24.330891', job_id='281244', GAL2='0.95', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1632646044.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='6.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='1195' AND source_name='4FGL J2103.8-6233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:47:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 281244: <4FGL_J2103.8-6233_daily_bin1195> in cluster <slac> Done

Job <4FGL_J2103.8-6233_daily_bin1195> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 01:35:54 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:36:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 01:36:24 2021
Terminated at Sun Sep 26 01:47:25 2021
Results reported at Sun Sep 26 01:47:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2103.8-6233_daily_bin1195 315.955 -62.5563 549072001 549331201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2103.8-6233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   568.35 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             332.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            691 sec.

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

