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


Performing analysis on: 4FGL_J1936.9-4720_daily_bin844
RA = 294.242, Dec = -47.34
tmin = 458092801, tmax = 458352001
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='47430', job_status='RUN', time_executed='2021-09-23 05:58:05.842097', time_epoch_executed='1632401885.84' WHERE source_name='4FGL J1936.9-4720' and cadence='daily' and bin_id='844'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/47430

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/47430/ft1_4FGL_J1936.9-4720_daily_bin844.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/47430/ft2_4FGL_J1936.9-4720_daily_bin844.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/47430/ft1_4FGL_J1936.9-4720_daily_bin844.fits outfile=/scratch/kocevski/47430/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin844.fits ra=294.242 dec=-47.34 rad=12.0 tmin=458092801.0 tmax=458352001.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.60
user 3.38
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/47430/ft2_4FGL_J1936.9-4720_daily_bin844.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/47430/ft2_4FGL_J1936.9-4720_daily_bin844.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/47430/ft1_filteredMKT_4FGL_J1936.9-4720_daily_bin844.fits evtable="EVENTS" outfile="/scratch/kocevski/47430/ft1_filtered_4FGL_J1936.9-4720_daily_bin844.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.53
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/47430/ft1_filtered_4FGL_J1936.9-4720_daily_bin844.fits" evtable="EVENTS" scfile=/scratch/kocevski/47430/ft2_4FGL_J1936.9-4720_daily_bin844.fits sctable="SC_DATA" outfile=/scratch/kocevski/47430/ltcube_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.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/47430/ft2_4FGL_J1936.9-4720_daily_bin844.fits
.....................!
real 14.67
user 14.28
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/47430/ft1_filtered_4FGL_J1936.9-4720_daily_bin844.fits evtable="EVENTS" scfile=/scratch/kocevski/47430/ft2_4FGL_J1936.9-4720_daily_bin844.fits sctable="SC_DATA" expcube=/scratch/kocevski/47430/ltcube_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.fits outfile=/scratch/kocevski/47430/expmap_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.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/47430/ltcube_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.fits
.....................!
real 191.81
user 186.01
sys 4.98

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

Setting source of interest to:
4FGL J1936.9-4720 @ 294.242 -47.34

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/47430/ft1_filtered_4FGL_J1936.9-4720_daily_bin844.fits scfile=/scratch/kocevski/47430/ft2_4FGL_J1936.9-4720_daily_bin844.fits outfile=/scratch/kocevski/47430/cmap_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.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=294.242 yref=-47.34 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/47430/ft1_filtered_4FGL_J1936.9-4720_daily_bin844.fits scfile=/scratch/kocevski/47430/ft2_4FGL_J1936.9-4720_daily_bin844.fits outfile=/scratch/kocevski/47430/cmap_HighResolution_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.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=294.242 yref=-47.34 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/47430/ft1_filtered_4FGL_J1936.9-4720_daily_bin844.fits evtable="EVENTS" scfile=/scratch/kocevski/47430/ft2_4FGL_J1936.9-4720_daily_bin844.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/47430/Model_4FGL_J1936.9-4720_daily_bin844.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/47430/ft1_filtered_4FGL_J1936.9-4720_daily_bin844.fits.....................!
real 93.52
user 91.89
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/47430/ft1_filtered_4FGL_J1936.9-4720_daily_bin844.fits', '/scratch/kocevski/47430/ft2_4FGL_J1936.9-4720_daily_bin844.fits', expMap='/scratch/kocevski/47430/expmap_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.fits', expCube='/scratch/kocevski/47430/ltcube_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/47430/Model_4FGL_J1936.9-4720_daily_bin844.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1936.9-4720'

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  3.943e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.784e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/47430/ft1_filtered_4FGL_J1936.9-4720_daily_bin844.fits
Spacecraft file(s): /scratch/kocevski/47430/ft2_4FGL_J1936.9-4720_daily_bin844.fits
Exposure map: /scratch/kocevski/47430/expmap_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.fits
Exposure cube: /scratch/kocevski/47430/ltcube_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/47430/Model_4FGL_J1936.9-4720_daily_bin844.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) = 11699.5456951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10183E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.219       1.0000         .10000E-03   10000.    
     4 'norm      '    1.9569       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7864       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .14299E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    3.7490       1.0000         .10000E-03   10000.    
    10 'norm      '    8.6793       1.0000         .10000E-03   10000.    
    11 'norm      '    .33361E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .52256       1.0000         .10000E-03   10000.    
    13 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10249E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8331       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2936       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88210       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11699.50     FROM MIGRAD    STATUS=CONVERGED    351 CALLS     1395 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.8580        .39300E-08** at limit **
   2  norm          .10000E-03    3.9004        .25948E-08** at limit **
   3  norm          10.218        7.0485        .29194E-06    .18740E-03
   4  norm          1.9567        1.5381        .14445E-07   -.33928E-04
   5  Prefactor     3.7855        4.7128       -.20382E-06   -.33708E-03
   6  Prefactor     .10000E-03    7.3172       -.43700E-08** at limit **
   7  Prefactor     .10000E-03    3.3097       -.12934E-07** at limit **
   8  norm          .10000E-03    8.2608       -.32876E-07** at limit **
   9  norm          3.7489        1.1237       -.90021E-08   -.14044E-04
  10  norm          8.6971        6.8500        .11552E-05   -.63503E-03
  11  norm          .10002E-03    10.124       -.74626E-06** at limit **
  12  norm          .52261        .59632       -.22150E-07    .17303E-03
  13  norm          .10000E-03    1.0748        .34964E-08** at limit **
  14  norm          .10000E-03    6.4348        .43452E-07** at limit **
  15  Prefactor     6.8293        15.862        .29564E-05    .25422E-03
  16  Normalizat    1.2935        .20394        .96372E-07    .58601E-04
  17  Prefactor     .88218        .71841E-01   -.11975E-06    .17038E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 10.2179
  norm       = 1.95665
  Prefactor  = 3.78552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.74887
  norm       = 8.69713
  norm       = 0.000100019
  norm       = 0.522611
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.82927
  Normalizat = 1.29352
  Prefactor  = 0.882177
 **********
 **   18 **HESSE 
 **********

 FCN=   11699.50     FROM HESSE     STATUS=OK           235 CALLS     1630 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.8818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.9021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.218        7.0854        .12534E-03   -1.5069    
   4  norm          1.9567        1.5415        .11557E-03   -1.5428    
   5  Prefactor     3.7855        4.7947        .20745E-03   -1.5319    
   6  Prefactor     .10000E-03    7.3251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    38.361        .60626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.7489        1.1228        .60369E-04   -1.5321    
  10  norm          8.6971        7.7537        .68030E-03   -1.5118    
  11  norm          .10002E-03    13.663        .94649E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .52261        .58703        .87073E-04   -1.5563    
  13  norm          .10000E-03    1.0821        .10947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.4381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.8293        17.017        .15349E-03   -1.5185    
  16  Normalizat    1.2935        .24537        .37205E-03   -.83760    
  17  Prefactor     .88218        .86613E-01    .15613E-03   -.96767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.61409e-10
Minuit parameter uncertainties:
  1  4.61954e-07
  2  2.66382e-07
  3  7.08596
  4  1.54157
  5  4.79523
  6  3.52311e-06
  7  6.14239e-07
  8  4.29897e-05
  9  1.12281
  10  7.75455
  11  0.00101849
  12  0.587038
  13  4.13332e-07
  14  9.55387e-06
  15  17.0292
  16  0.245586
  17  0.0866268
Done.

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

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  3.523e-06  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.784e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
715    Prefactor:  8.822e-01  8.663e-02  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  1.294e+00  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 294.242 -47.340
Photon Flux Upper Limit: 3.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/47430/likelihoodResults_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.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) = 11699.503849
delta logL = -0.00065053468461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11699.5031985
delta logL = -4.9267327995e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.7624       1.0000          .0000       10.000    
     3 'Normalizat'    1.2935       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88217       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7180E+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=   11699.50     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      240 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10033E-03    33.890        .18142E-02** at limit **
   2  Index         1.7316        5.3244        .50000        .18675E-04
   3  Normalizat    1.2935        .11113E-01    .37205E-03   -.11349E-03
   4  Prefactor     .88218        .39631E-02    .15613E-03    .40251E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100332
  Index      = 1.73164
  Normalizat = 1.29352
  Prefactor  = 0.882177
 **********
 **   18 **HESSE 
 **********

 FCN=   11699.50     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10033E-03    162.91        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7316        8.6926        .50000       -.71243    
   3  Normalizat    1.2935        .24867E-01    .14882E-04   -.83760    
   4  Prefactor     .88218        .88674E-02    .31227E-04   -.96767    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.65165e-09
Minuit parameter uncertainties:
  1  0.0147442
  2  207.618
  3  0.024867
  4  0.00886745
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/47430': 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) = 11699.5031982
delta logL = 2.58682121057e-07

Extracting fit parameters...

4FGL J1936.9-4720
   Spectrum: PowerLaw
454    Prefactor:  1.003e-04  1.474e-02  1.000e-04  1.000e+04 ( 1.000e-14)
455        Index:  1.732e+00  2.076e+02  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  4.198e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
715    Prefactor:  8.822e-01  8.867e-03  0.000e+00  1.000e+01 ( 1.000e+00)
716        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
717        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
714   Normalization:  1.294e+00  2.487e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 294.242 -47.340

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/47430/cmap_HighResolution_458092801_458352001_4FGL_J1936.9-4720_daily_bin844.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.58e-03', job_status='DONE', photon_flux_upper_limit='3.50e-08', time_completed='2021-09-23 06:11:49.650276', job_id='47430', GAL2='0.88', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1632402709.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='844' AND source_name='4FGL J1936.9-4720' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 06:11:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 47430: <4FGL_J1936.9-4720_daily_bin844> in cluster <slac> Done

Job <4FGL_J1936.9-4720_daily_bin844> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep 23 05:57:13 2021
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 05:57:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 05:57:51 2021
Terminated at Thu Sep 23 06:11:50 2021
Results reported at Thu Sep 23 06:11:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1936.9-4720_daily_bin844 294.242 -47.34 458092801 458352001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1936.9-4720 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   819.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            877 sec.

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

