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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin190
RA = 233.725, Dec = 1.5224
tmin = 288576001, tmax = 288835201
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='549812', job_status='RUN', time_executed='2021-09-12 04:18:56.298498', time_epoch_executed='1631445536.3' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='190'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549812

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549812/ft1_4FGL_J1534.8+0131_daily_bin190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549812/ft2_4FGL_J1534.8+0131_daily_bin190.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549812/ft1_4FGL_J1534.8+0131_daily_bin190.fits outfile=/scratch/kocevski/549812/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin190.fits ra=233.725 dec=1.5224 rad=12.0 tmin=288576001.0 tmax=288835201.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.65
user 3.44
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/549812/ft2_4FGL_J1534.8+0131_daily_bin190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/549812/ft2_4FGL_J1534.8+0131_daily_bin190.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/549812/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin190.fits evtable="EVENTS" outfile="/scratch/kocevski/549812/ft1_filtered_4FGL_J1534.8+0131_daily_bin190.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/549812/ft1_filtered_4FGL_J1534.8+0131_daily_bin190.fits" evtable="EVENTS" scfile=/scratch/kocevski/549812/ft2_4FGL_J1534.8+0131_daily_bin190.fits sctable="SC_DATA" outfile=/scratch/kocevski/549812/ltcube_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.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/549812/ft2_4FGL_J1534.8+0131_daily_bin190.fits
.....................!
real 12.16
user 11.81
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549812/ft1_filtered_4FGL_J1534.8+0131_daily_bin190.fits evtable="EVENTS" scfile=/scratch/kocevski/549812/ft2_4FGL_J1534.8+0131_daily_bin190.fits sctable="SC_DATA" expcube=/scratch/kocevski/549812/ltcube_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.fits outfile=/scratch/kocevski/549812/expmap_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.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/549812/ltcube_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.fits
.....................!
real 190.67
user 184.94
sys 5.32

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

Setting source of interest to:
4FGL J1534.8+0131 @ 233.725 1.5224

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/549812/ft1_filtered_4FGL_J1534.8+0131_daily_bin190.fits scfile=/scratch/kocevski/549812/ft2_4FGL_J1534.8+0131_daily_bin190.fits outfile=/scratch/kocevski/549812/cmap_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.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=233.725 yref=1.5224 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549812/ft1_filtered_4FGL_J1534.8+0131_daily_bin190.fits scfile=/scratch/kocevski/549812/ft2_4FGL_J1534.8+0131_daily_bin190.fits outfile=/scratch/kocevski/549812/cmap_HighResolution_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.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=233.725 yref=1.5224 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/549812/ft1_filtered_4FGL_J1534.8+0131_daily_bin190.fits evtable="EVENTS" scfile=/scratch/kocevski/549812/ft2_4FGL_J1534.8+0131_daily_bin190.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/549812/Model_4FGL_J1534.8+0131_daily_bin190.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/549812/ft1_filtered_4FGL_J1534.8+0131_daily_bin190.fits....................!
real 82.03
user 80.54
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/549812/ft1_filtered_4FGL_J1534.8+0131_daily_bin190.fits', '/scratch/kocevski/549812/ft2_4FGL_J1534.8+0131_daily_bin190.fits', expMap='/scratch/kocevski/549812/expmap_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.fits', expCube='/scratch/kocevski/549812/ltcube_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/549812/Model_4FGL_J1534.8+0131_daily_bin190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1534.8+0131'

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  2.180e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.421e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
225        Scale:  8.077e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/549812/ft1_filtered_4FGL_J1534.8+0131_daily_bin190.fits
Spacecraft file(s): /scratch/kocevski/549812/ft2_4FGL_J1534.8+0131_daily_bin190.fits
Exposure map: /scratch/kocevski/549812/expmap_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.fits
Exposure cube: /scratch/kocevski/549812/ltcube_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/549812/Model_4FGL_J1534.8+0131_daily_bin190.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) = 10250.0507908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15905       1.0000         .10000E-03   10000.    
     2 'norm      '    .79775       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.4067       1.0000         .10000E-03   10000.    
     5 'norm      '    3.9377       1.0000         .10000E-03   10000.    
     6 'norm      '    .25813       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2596       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1006       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25135E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10761E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.7828       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3120       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0855       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10249.12     FROM MIGRAD    STATUS=CONVERGED    383 CALLS     1628 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15903        .19119        .93385E-02    .25954E-02
   2  norm          .79741        1.6572        .40832E-01    .15725E-02
   3  norm          .10000E-03    7.1139        .90712E-02** at limit **
   4  norm          1.4065        2.5363        .91373E-02    .96329E-03
   5  norm          3.9377        3.2275        .50823E-02    .15003E-03
   6  norm          .25811        .12075        .51725E-02    .71810E-03
   7  Prefactor     .10000E-03    13.960        .90712E-02** at limit **
   8  Prefactor     4.2616        5.6146        .48805E-02    .41401E-02
   9  Prefactor     1.0955        56.318        .11324E-01    .20736E-03
  10  Prefactor     .10000E-03    13.931        .90712E-02** at limit **
  11  Prefactor     .10000E-03    11.734        .90712E-02** at limit **
  12  Prefactor     .10285E-01    2.3458        .47701E-01    .26648E-03
  13  norm          .10000E-03    1.7899        .46320E-01** at limit **
  14  Prefactor     .10000E-03    25.115        .90712E-02** at limit **
  15  norm          3.7827        1.6324        .51889E-02   -.20388E-03
  16  norm          .10000E-03    32.891        .90712E-02** at limit **
  17  Normalizat    1.3120        .24132        .91878E-01   -.12238E-03
  18  Prefactor     1.0855        .89841E-01    .38166E-01   -.35790E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.159035
  norm       = 0.797413
  norm       = 0.0001
  norm       = 1.40651
  norm       = 3.93765
  norm       = 0.258113
  Prefactor  = 0.000100001
  Prefactor  = 4.26155
  Prefactor  = 1.09554
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0102848
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 3.78275
  norm       = 0.000100003
  Normalizat = 1.31203
  Prefactor  = 1.08553
 **********
 **   18 **HESSE 
 **********

 FCN=   10249.12     FROM HESSE     STATUS=OK           258 CALLS     1886 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15903        .16795        .46693E-03   -1.5628    
   2  norm          .79741        1.6185        .17590E-03   -1.5529    
   3  norm          .10000E-03    7.3189        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4065        2.4945        .20933E-03   -1.5471    
   5  norm          3.9377        3.2049        .15841E-03   -1.5311    
   6  norm          .25811        .11922        .23079E-04   -1.5606    
   7  Prefactor     .10000E-03    13.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.2616        5.6067        .19522E-03   -1.5295    
   9  Prefactor     1.0955        58.047        .45295E-03   -1.5499    
  10  Prefactor     .10000E-03    13.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10285E-01    2.3452        .47507E-01   -1.5688    
  13  norm          .10000E-03    4.1768        .26149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.7827        1.6332        .82878E-04   -1.5319    
  16  norm          .10000E-03    32.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3120        .27258        .40694E-03   -.83208    
  18  Prefactor     1.0855        .10350        .17104E-03   -.89930    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32217e-08
Minuit parameter uncertainties:
  1  0.167953
  2  1.61861
  3  5.13473e-06
  4  2.49463
  5  3.20503
  6  0.119223
  7  0.000170687
  8  5.60735
  9  15.9646
  10  0.000308961
  11  8.13266e-05
  12  0.30911
  13  1.29245e-05
  14  0.000534975
  15  1.63318
  16  0.000666397
  17  0.272884
  18  0.10352
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  4.262e+00  5.607e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.421e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
225        Scale:  8.077e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
494    Prefactor:  1.086e+00  1.035e-01  0.000e+00  1.000e+01 ( 1.000e+00)
495        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
496        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
493   Normalization:  1.312e+00  2.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.68
Ra Dec: 233.725 1.522
Photon Flux Upper Limit: 1.71e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.32e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/549812/likelihoodResults_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.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) = 10248.8497974
delta logL = 0.271565308758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10248.8465726
delta logL = 0.274790109184

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7530       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0492       1.0000          .0000       10.000    
     3 'Normalizat'    1.2762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0935       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10248.85     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      241 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7594        57.683        .61335E-02    .10322E-02
   2  Index         3.0482        3.4811        .16259        .17429E-03
   3  Normalizat    1.2762        .69943E-01    .92950E-01    .40710E-04
   4  Prefactor     1.0935        .27301E-01    .37839E-01    .57234E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.7594
  Index      = 3.04821
  Normalizat = 1.27617
  Prefactor  = 1.0935
 **********
 **   18 **HESSE 
 **********

 FCN=   10248.85     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7594        6.8704        .15336E-03   -1.5376    
   2  Index         3.0482        1.3959        .86473E-02   -.40102    
   3  Normalizat    1.2762        .27264        .41172E-03   -.84281    
   4  Prefactor     1.0935        .10429        .17048E-03   -.89675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69943e-08
Minuit parameter uncertainties:
  1  6.87238
  2  1.41818
  3  0.272947
  4  0.104312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549812': 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) = 10248.8465717
delta logL = 0.274791024105

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  2.759e+00  6.872e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  3.048e+00  1.418e+00  0.000e+00  1.000e+01 (-1.000e+00)
225        Scale:  8.077e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
494    Prefactor:  1.093e+00  1.043e-01  0.000e+00  1.000e+01 ( 1.000e+00)
495        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
496        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
493   Normalization:  1.276e+00  2.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 233.725 1.522
Photon Index (Free Index): 3.05 +/- 1.42
Photon Flux (Free Index): 7.86e-08 +/- 7.73e-08
Energy Flux (Free Index): 1.53e-05 +/- 1.83e-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/549812/cmap_HighResolution_288576001_288835201_4FGL_J1534.8+0131_daily_bin190.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', comment='SUCCESS', energy_flux2='1.53e-05', dlogl='2.75e-01', photon_flux2='7.86e-08', job_status='DONE', time_completed='2021-09-12 04:29:55.253657', photon_index_error2='1.42', photon_index2='3.05', ts='0.68', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.71e-07', energy_flux_error2='1.83e-05', EG='1.31', time_epoch_completed='1631446195.25', return_code='0', job_id='549812', GAL2='1.09', EG2='1.28', return_code2='0', photon_flux_error2='7.73e-08', ts2='1.27', photon_index='2.42' WHERE bin_id='190' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:29:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 549812: <4FGL_J1534.8+0131_daily_bin190> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin190> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 04:15:24 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:15:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 04:15:38 2021
Terminated at Sun Sep 12 04:29:56 2021
Results reported at Sun Sep 12 04:29:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin190 233.725 1.5224 288576001 288835201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1534.8+0131 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   657.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             247.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            872 sec.

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

