/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 127 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 = 7484
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1941.3-6210_daily_bin333
RA = 295.347, Dec = -62.1753
tmin = 325641601, tmax = 325900801
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='92750', job_status='RUN', time_executed='2021-09-23 08:29:46.136774', time_epoch_executed='1632410986.14' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='333'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92750

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92750/ft1_4FGL_J1941.3-6210_daily_bin333.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92750/ft2_4FGL_J1941.3-6210_daily_bin333.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92750/ft1_4FGL_J1941.3-6210_daily_bin333.fits outfile=/scratch/kocevski/92750/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin333.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=325641601.0 tmax=325900801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.14
user 3.90
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/92750/ft2_4FGL_J1941.3-6210_daily_bin333.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/92750/ft2_4FGL_J1941.3-6210_daily_bin333.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/92750/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin333.fits evtable="EVENTS" outfile="/scratch/kocevski/92750/ft1_filtered_4FGL_J1941.3-6210_daily_bin333.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.54
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92750/ft1_filtered_4FGL_J1941.3-6210_daily_bin333.fits" evtable="EVENTS" scfile=/scratch/kocevski/92750/ft2_4FGL_J1941.3-6210_daily_bin333.fits sctable="SC_DATA" outfile=/scratch/kocevski/92750/ltcube_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.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/92750/ft2_4FGL_J1941.3-6210_daily_bin333.fits
.....................!
real 16.24
user 15.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92750/ft1_filtered_4FGL_J1941.3-6210_daily_bin333.fits evtable="EVENTS" scfile=/scratch/kocevski/92750/ft2_4FGL_J1941.3-6210_daily_bin333.fits sctable="SC_DATA" expcube=/scratch/kocevski/92750/ltcube_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.fits outfile=/scratch/kocevski/92750/expmap_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.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/92750/ltcube_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.fits
.....................!
real 192.95
user 186.84
sys 5.28

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

Setting source of interest to:
4FGL J1941.3-6210 @ 295.347 -62.1753

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/92750/ft1_filtered_4FGL_J1941.3-6210_daily_bin333.fits scfile=/scratch/kocevski/92750/ft2_4FGL_J1941.3-6210_daily_bin333.fits outfile=/scratch/kocevski/92750/cmap_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.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=295.347 yref=-62.1753 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.66
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92750/ft1_filtered_4FGL_J1941.3-6210_daily_bin333.fits scfile=/scratch/kocevski/92750/ft2_4FGL_J1941.3-6210_daily_bin333.fits outfile=/scratch/kocevski/92750/cmap_HighResolution_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.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=295.347 yref=-62.1753 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.67
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92750/ft1_filtered_4FGL_J1941.3-6210_daily_bin333.fits evtable="EVENTS" scfile=/scratch/kocevski/92750/ft2_4FGL_J1941.3-6210_daily_bin333.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92750/Model_4FGL_J1941.3-6210_daily_bin333.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/92750/ft1_filtered_4FGL_J1941.3-6210_daily_bin333.fits.....................!
real 78.40
user 76.89
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/92750/ft1_filtered_4FGL_J1941.3-6210_daily_bin333.fits', '/scratch/kocevski/92750/ft2_4FGL_J1941.3-6210_daily_bin333.fits', expMap='/scratch/kocevski/92750/expmap_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.fits', expCube='/scratch/kocevski/92750/ltcube_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/92750/Model_4FGL_J1941.3-6210_daily_bin333.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1941.3-6210'

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.374e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.350e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/92750/ft1_filtered_4FGL_J1941.3-6210_daily_bin333.fits
Spacecraft file(s): /scratch/kocevski/92750/ft2_4FGL_J1941.3-6210_daily_bin333.fits
Exposure map: /scratch/kocevski/92750/expmap_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.fits
Exposure cube: /scratch/kocevski/92750/ltcube_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/92750/Model_4FGL_J1941.3-6210_daily_bin333.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) = 9304.39891283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29383E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.0265       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1590       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.3415       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.223       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0635       1.0000         .10000E-03   10000.    
    11 'norm      '    .81387       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.722       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.8920       1.0000         .10000E-03   10000.    
    15 'Prefactor '    57.629       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1260       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9304.358     FROM MIGRAD    STATUS=CONVERGED    340 CALLS     1610 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    53.871       -.85907E-05** at limit **
   2  Prefactor     .10000E-03    16.231        .32549E-06** at limit **
   3  norm          2.0277        1.4300        .17399E-07    .17223E-03
   4  Prefactor     3.9568        649.21        .10863E-05   -.80544E-05
   5  Prefactor     .10000E-03    28.726        .15573E-06** at limit **
   6  norm          5.3407        25.636        .40715E-06   -.25440E-04
   7  Prefactor     .10000E-03    46.353        .14041E-05** at limit **
   8  Prefactor     .10001E-03    261.76        .34422E-05** at limit **
   9  norm          10.223        10.109        .38817E-07   -.95828E-04
  10  Prefactor     2.0631        17.602        .15871E-06   -.36962E-04
  11  norm          .81391        1.5055        .15061E-06   -.31301E-04
  12  Prefactor     12.722        12.969       -.99585E-07   -.52465E-04
  13  Prefactor     .10000E-03    2.1728       -.12975E-06** at limit **
  14  norm          2.8915        2.0588       -.61512E-07   -.17926E-03
  15  Prefactor     57.868        123.21        .41318E-05    .46547E-04
  16  Normalizat    1.1258        .28065        .27773E-05   -.35174E-03
  17  Prefactor     1.0348        .11671       -.20203E-05   -.49007E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 2.02771
  Prefactor  = 3.95679
  Prefactor  = 0.0001
  norm       = 5.3407
  Prefactor  = 0.000100001
  Prefactor  = 0.000100012
  norm       = 10.2226
  Prefactor  = 2.06306
  norm       = 0.813907
  Prefactor  = 12.7224
  Prefactor  = 0.0001
  norm       = 2.89149
  Prefactor  = 57.8678
  Normalizat = 1.12581
  Prefactor  = 1.03481
 **********
 **   18 **HESSE 
 **********

 FCN=   9304.358     FROM HESSE     STATUS=OK           229 CALLS     1839 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    53.288        .52872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0277        1.4494        .29065E-04   -1.5423    
   4  Prefactor     3.9568        694.75        .19764E-02   -1.5310    
   5  Prefactor     .10000E-03    28.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.3407        25.513        .17389E-03   -1.5246    
   7  Prefactor     .10000E-03    46.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    265.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.223        10.044        .12532E-03   -1.5068    
  10  Prefactor     2.0631        17.374        .28764E-03   -1.5421    
  11  norm          .81391        1.4959        .15057E-03   -1.5528    
  12  Prefactor     12.722        12.967        .11230E-03   -1.4994    
  13  Prefactor     .10000E-03    4.6397        .27309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.8915        2.0586        .11299E-03   -1.5368    
  15  Prefactor     57.868        124.73        .26423E-03   -1.4185    
  16  Normalizat    1.1258        .28557        .38355E-03   -.88927    
  17  Prefactor     1.0348        .11783        .16599E-03   -.91578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52728e-10
Minuit parameter uncertainties:
  1  0.000615571
  2  0.000102663
  3  1.44941
  4  106.136
  5  5.85254e-05
  6  23.3617
  7  0.00039565
  8  0.00359198
  9  10.0461
  10  11.9783
  11  1.496
  12  12.9694
  13  4.24811e-06
  14  2.05862
  15  125.299
  16  0.285963
  17  0.117861
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  8.139e-01  1.496e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.350e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  1.035e+00  1.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
663   Normalization:  1.126e+00  2.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 295.347 -62.175
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.86e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/92750/likelihoodResults_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.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) = 9304.06562114
delta logL = 0.292766221321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9304.04189937
delta logL = 0.316487991375

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .53437       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4793       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0819       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0467       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9304.042     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      221 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53210        10.861        .11410E-01    .21320E-02
   2  alpha         3.4818        3.9143        .46095        .67142E-04
   3  Normalizat    1.0820        .51806E-01    .88135E-01    .28895E-04
   4  Prefactor     1.0467        .21825E-01    .40108E-01   -.12613E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.532097
  alpha      = 3.48178
  Normalizat = 1.08199
  Prefactor  = 1.04665
 **********
 **   18 **HESSE 
 **********

 FCN=   9304.042     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53210        2.7271        .75002E-04   -1.5562    
   2  alpha         3.4818        4.1203        .30886E-01    .40358    
   3  Normalizat    1.0820        .28509        .39030E-03   -.90332    
   4  Prefactor     1.0467        .11828        .16513E-03   -.91190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70627e-07
Minuit parameter uncertainties:
  1  2.40918
  2  3.52128
  3  0.285499
  4  0.118312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92750': 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) = 9304.0418972
delta logL = 0.316490166915

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  5.321e-01  2.409e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  3.482e+00  3.521e+00  0.000e+00  5.000e+00 ( 1.000e+00)
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  1.047e+00  1.183e-01  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
663   Normalization:  1.082e+00  2.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.00
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 3.48 +/- 3.52
Photon Flux (Free Index): 5.22e-08 +/- 5.91e-08
Energy Flux (Free Index): 8.90e-06 +/- 1.44e-05

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/92750/cmap_HighResolution_325641601_325900801_4FGL_J1941.3-6210_daily_bin333.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-05', comment='SUCCESS', energy_flux2='8.90e-06', dlogl='3.16e-01', photon_flux2='5.22e-08', job_status='DONE', time_completed='2021-09-23 08:42:00.239381', photon_index_error2='3.52', photon_index2='3.48', ts='0.34', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.44e-05', EG='1.13', time_epoch_completed='1632411720.24', return_code='0', job_id='92750', GAL2='1.05', EG2='1.08', return_code2='0', photon_flux_error2='5.91e-08', ts2='1.00', photon_index='2.35' WHERE bin_id='333' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:42:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 92750: <4FGL_J1941.3-6210_daily_bin333> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin333> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 23 08:26:57 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:27:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 08:27:29 2021
Terminated at Thu Sep 23 08:42:01 2021
Results reported at Thu Sep 23 08:42:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin333 295.347 -62.1753 325641601 325900801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1941.3-6210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   733.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            904 sec.

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

