aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 82 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1532.0+3016_daily_bin1754
RA = 233.016, Dec = 30.2685
tmin = 693964801, tmax = 694224001
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='646318', job_status='RUN', time_executed='2023-01-01 01:23:16.280242', time_epoch_executed='1672564996.28' WHERE source_name='4FGL J1532.0+3016' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/646318

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/646318/ft1_4FGL_J1532.0+3016_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/646318/ft2_4FGL_J1532.0+3016_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/646318/ft1_4FGL_J1532.0+3016_daily_bin1754.fits outfile=/scratch/kocevski/646318/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1754.fits ra=233.016 dec=30.2685 rad=12.0 tmin=693964801.0 tmax=694224001.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.97
user 3.73
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/646318/ft2_4FGL_J1532.0+3016_daily_bin1754.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/646318/ft2_4FGL_J1532.0+3016_daily_bin1754.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/646318/ft1_filteredMKT_4FGL_J1532.0+3016_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/646318/ft1_filtered_4FGL_J1532.0+3016_daily_bin1754.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.52
user 0.37
sys 0.14

Number of photons that the gtmktime cut: 795

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/646318/ft1_filtered_4FGL_J1532.0+3016_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/646318/ft2_4FGL_J1532.0+3016_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/646318/ltcube_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.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/646318/ft2_4FGL_J1532.0+3016_daily_bin1754.fits
.....................!
real 16.28
user 15.84
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/646318/ft1_filtered_4FGL_J1532.0+3016_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/646318/ft2_4FGL_J1532.0+3016_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/646318/ltcube_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.fits outfile=/scratch/kocevski/646318/expmap_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.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/646318/ltcube_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.fits
.....................!
real 192.38
user 185.78
sys 6.16

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

Setting source of interest to:
4FGL J1532.0+3016 @ 233.016 30.2685

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/646318/ft1_filtered_4FGL_J1532.0+3016_daily_bin1754.fits scfile=/scratch/kocevski/646318/ft2_4FGL_J1532.0+3016_daily_bin1754.fits outfile=/scratch/kocevski/646318/cmap_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.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.016 yref=30.2685 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/646318/ft1_filtered_4FGL_J1532.0+3016_daily_bin1754.fits scfile=/scratch/kocevski/646318/ft2_4FGL_J1532.0+3016_daily_bin1754.fits outfile=/scratch/kocevski/646318/cmap_HighResolution_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.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.016 yref=30.2685 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/646318/ft1_filtered_4FGL_J1532.0+3016_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/646318/ft2_4FGL_J1532.0+3016_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/646318/Model_4FGL_J1532.0+3016_daily_bin1754.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/646318/ft1_filtered_4FGL_J1532.0+3016_daily_bin1754.fits.....................!
real 63.99
user 62.58
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/646318/ft1_filtered_4FGL_J1532.0+3016_daily_bin1754.fits', '/scratch/kocevski/646318/ft2_4FGL_J1532.0+3016_daily_bin1754.fits', expMap='/scratch/kocevski/646318/expmap_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.fits', expCube='/scratch/kocevski/646318/ltcube_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/646318/Model_4FGL_J1532.0+3016_daily_bin1754.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1532.0+3016'

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  5.502e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  1.923e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  2.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/646318/ft1_filtered_4FGL_J1532.0+3016_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/646318/ft2_4FGL_J1532.0+3016_daily_bin1754.fits
Exposure map: /scratch/kocevski/646318/expmap_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.fits
Exposure cube: /scratch/kocevski/646318/ltcube_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/646318/Model_4FGL_J1532.0+3016_daily_bin1754.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) = 8549.71417476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3606       1.0000          .0000       .10000E+07
     2 'Prefactor '    45.152       1.0000          .0000       .10000E+07
     3 'norm      '    .24439E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.816       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.4869       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.9111       1.0000          .0000       .10000E+07
     7 'norm      '    .12180E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .44671       1.0000          .0000       .10000E+07
     9 'Prefactor '    25.703       1.0000          .0000       .10000E+07
    10 'norm      '    .40727       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5835       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11823E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .11433E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .41243E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    16.188       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.3615       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0035       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .81496       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8549.699     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1319 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3565        5.9573        .10239E-06    .21980E-03
   2  Prefactor     45.832        27.215       -.20996E-05    .69892E-01
   3  norm          .33473E-07    10.194        .23932E-05** at limit **
   4  Prefactor     13.891        11.649        .14997E-05   -.46811E-02
   5  Prefactor     7.5073        5.4679       -.50892E-06    .63923E-03
   6  Prefactor     8.9167        6.9598        .18825E-07   -.47369E-03
   7  norm           .0000        1.1865       -.93642E-07** at limit **
   8  Prefactor     .13816E-04    14.819       -.37360E-05** at limit **
   9  Prefactor     25.452        4.0701       -.48062E-06    .18903E-01
  10  norm          .40791        .69667        .81666E-07    .13590E-02
  11  Prefactor     7.5954        5.0867        .20940E-06    .43038E-03
  12  Prefactor     .93314E-07    59.001       -.49264E-05** at limit **
  13  norm          .87946E-06    9.8485        .65699E-06** at limit **
  14  Prefactor      .0000        .78881       -.62941E-06** at limit **
  15  Prefactor     16.225        9.0340       -.40634E-06   -.25152E-03
  16  Prefactor     2.3666        2.5200        .36495E-06    .25167E-02
  17  Normalizat    1.0024        .17126       -.15761E-04    .39638E-04
  18  Prefactor     .81534        .12822        .16868E-04    .80795E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.35648
  Prefactor  = 45.8317
  norm       = 3.34732e-08
  Prefactor  = 13.891
  Prefactor  = 7.50732
  Prefactor  = 8.91669
  norm       = 0
  Prefactor  = 1.38159e-05
  Prefactor  = 25.4521
  norm       = 0.407906
  Prefactor  = 7.59543
  Prefactor  = 9.33142e-08
  norm       = 8.79463e-07
  Prefactor  = 0
  Prefactor  = 16.2255
  Prefactor  = 2.36663
  Normalizat = 1.00235
  Prefactor  = 0.815336
 **********
 **   18 **HESSE 
 **********

 FCN=   8549.699     FROM HESSE     STATUS=OK           286 CALLS     1605 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3565        5.9622        .36945E-03   -1.5654    
   2  Prefactor     45.832        30.381        .14883E-03   -1.5573    
   3  norm          .33473E-07    10.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.891        11.647        .26921E-03   -1.5633    
   5  Prefactor     7.5073        5.4817        .36629E-03   -1.5653    
   6  Prefactor     8.9167        6.9659        .33552E-03   -1.5648    
   7  norm           .0000        1.1627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13816E-04    41.099        .84263E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.452        34.829        .19729E-03   -1.5607    
  10  norm          .40791        .77967        .22006E-02   -1.5695    
  11  Prefactor     7.5954        5.2179        .36393E-03   -1.5653    
  12  Prefactor     .93314E-07    59.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .87946E-06    11.423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .78576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.225        9.0369        .24866E-03   -1.5627    
  16  Prefactor     2.3666        2.5297        .66661E-03   -1.5677    
  17  Normalizat    1.0024        .14785        .46210E-01   -.92952    
  18  Prefactor     .81534        .10986        .43912E-01   -.99165    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39301e-07
Minuit parameter uncertainties:
  1  5.96216
  2  30.3807
  3  0.00116856
  4  11.647
  5  5.48173
  6  6.96586
  7  4.59979e-07
  8  0.0476583
  9  34.8289
  10  0.779672
  11  5.21789
  12  0.00470263
  13  0.00633906
  14  1.74761e-06
  15  9.03695
  16  2.52973
  17  0.147912
  18  0.109894
Done.

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

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  9.331e-08  4.703e-03  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  1.923e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  2.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  8.153e-01  1.099e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  1.002e+00  1.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 233.016 30.268
Photon Flux Upper Limit: 3.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/646318/likelihoodResults_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.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) = 8549.70812678
delta logL = -0.00942605916134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8549.69524685
delta logL = 0.00345386905246

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54154       1.0000          .0000       .10000E+07
     2 'Index     '    2.4965       1.0000          .0000       10.000    
     3 'Normalizat'    1.0011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81545       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8549.695     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      257 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55433        34.242        .74636E-03    .39469E-02
   2  Index         2.5044        .20355        .50000        .48789E-05
   3  Normalizat    1.0012        .47501E-02    .46180E-01    .18741E-05
   4  Prefactor     .81538        .37034E-02    .43918E-01    .29638E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.554334
  Index      = 2.50438
  Normalizat = 1.00116
  Prefactor  = 0.815377
 **********
 **   18 **HESSE 
 **********

 FCN=   8549.695     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55433        27.369        .29854E-04   -1.5693    
   2  Index         2.5044        2.9589        .31970E-02   -.52259    
   3  Normalizat    1.0012        .16215        .24168E-03   -.92992    
   4  Prefactor     .81538        .12589        .20563E-03   -.99164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42272e-11
Minuit parameter uncertainties:
  1  7.79015
  2  3.25718
  3  0.162228
  4  0.12593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/646318': 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) = 8549.69523865
delta logL = 0.00346206966969

Extracting fit parameters...

4FGL J1532.0+3016
   Spectrum: PowerLaw
268    Prefactor:  5.543e-01  7.790e+00  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.504e+00  3.257e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  2.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  8.154e-01  1.259e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  1.001e+00  1.622e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 233.016 30.268

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/646318/cmap_HighResolution_693964801_694224001_4FGL_J1532.0+3016_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-03', job_status='DONE', photon_flux_upper_limit='3.61e-08', time_completed='2023-01-01 01:33:44.150674', job_id='646318', GAL2='0.82', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1672565624.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.46e-03', ts2='0.01', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1754' AND source_name='4FGL J1532.0+3016' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:33:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 646318: <4FGL_J1532.0+3016_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1532.0+3016_daily_bin1754> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan  1 01:20:21 2023
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:21:44 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:21:44 2023
Terminated at Sun Jan  1 01:33:45 2023
Results reported at Sun Jan  1 01:33:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1532.0+3016_daily_bin1754 233.016 30.2685 693964801 694224001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1532.0+3016 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   627.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            804 sec.

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

