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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin667
RA = 233.725, Dec = 1.5224
tmin = 412214401, tmax = 412473601
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='552638', job_status='RUN', time_executed='2021-09-12 04:23:45.723638', time_epoch_executed='1631445825.72' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552638

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552638/ft1_4FGL_J1534.8+0131_daily_bin667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552638/ft2_4FGL_J1534.8+0131_daily_bin667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552638/ft1_4FGL_J1534.8+0131_daily_bin667.fits outfile=/scratch/kocevski/552638/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin667.fits ra=233.725 dec=1.5224 rad=12.0 tmin=412214401.0 tmax=412473601.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.49
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/552638/ft2_4FGL_J1534.8+0131_daily_bin667.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/552638/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin667.fits evtable="EVENTS" outfile="/scratch/kocevski/552638/ft1_filtered_4FGL_J1534.8+0131_daily_bin667.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.51
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/552638/ft1_filtered_4FGL_J1534.8+0131_daily_bin667.fits" evtable="EVENTS" scfile=/scratch/kocevski/552638/ft2_4FGL_J1534.8+0131_daily_bin667.fits sctable="SC_DATA" outfile=/scratch/kocevski/552638/ltcube_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.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/552638/ft2_4FGL_J1534.8+0131_daily_bin667.fits
.....................!
real 14.89
user 14.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552638/ft1_filtered_4FGL_J1534.8+0131_daily_bin667.fits evtable="EVENTS" scfile=/scratch/kocevski/552638/ft2_4FGL_J1534.8+0131_daily_bin667.fits sctable="SC_DATA" expcube=/scratch/kocevski/552638/ltcube_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.fits outfile=/scratch/kocevski/552638/expmap_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.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/552638/ltcube_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.fits
.....................!
real 191.13
user 186.73
sys 3.96

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/552638/ft1_filtered_4FGL_J1534.8+0131_daily_bin667.fits scfile=/scratch/kocevski/552638/ft2_4FGL_J1534.8+0131_daily_bin667.fits outfile=/scratch/kocevski/552638/cmap_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.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.55
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/552638/ft1_filtered_4FGL_J1534.8+0131_daily_bin667.fits scfile=/scratch/kocevski/552638/ft2_4FGL_J1534.8+0131_daily_bin667.fits outfile=/scratch/kocevski/552638/cmap_HighResolution_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.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/552638/ft1_filtered_4FGL_J1534.8+0131_daily_bin667.fits evtable="EVENTS" scfile=/scratch/kocevski/552638/ft2_4FGL_J1534.8+0131_daily_bin667.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/552638/Model_4FGL_J1534.8+0131_daily_bin667.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/552638/ft1_filtered_4FGL_J1534.8+0131_daily_bin667.fits.............................!
real 18.39
user 17.15
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/552638/ft1_filtered_4FGL_J1534.8+0131_daily_bin667.fits', '/scratch/kocevski/552638/ft2_4FGL_J1534.8+0131_daily_bin667.fits', expMap='/scratch/kocevski/552638/expmap_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.fits', expCube='/scratch/kocevski/552638/ltcube_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/552638/Model_4FGL_J1534.8+0131_daily_bin667.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/552638/ft1_filtered_4FGL_J1534.8+0131_daily_bin667.fits
Spacecraft file(s): /scratch/kocevski/552638/ft2_4FGL_J1534.8+0131_daily_bin667.fits
Exposure map: /scratch/kocevski/552638/expmap_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.fits
Exposure cube: /scratch/kocevski/552638/ltcube_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/552638/Model_4FGL_J1534.8+0131_daily_bin667.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 756.840519526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 755.984520162

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.1439       1.0000         .10000E-03   10000.    
     3 'norm      '    29.013       1.0000         .10000E-03   10000.    
     4 'norm      '    3.0240       1.0000         .10000E-03   10000.    
     5 'norm      '    24.558       1.0000         .10000E-03   10000.    
     6 'norm      '    1.1082       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7032       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.988       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .34469       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.7523       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2048       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5206       1.0000         .10000E-03   10000.    
    13 'norm      '    .15440E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.0899       1.0000         .10000E-03   10000.    
    15 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.5905       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0072       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .47684       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   755.9640     FROM MIGRAD    STATUS=CONVERGED    173 CALLS      300 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .10322        .39074E-02** at limit **
   2  norm          6.2583        10.228        .40492E-02    .40727E-01
   3  norm          28.801        19.455        .18595E-02    .86097E-04
   4  norm          3.0240        1.0144         .0000         .0000    
   5  norm          24.193        .99276       -.27263E-05   -.18009E-05
   6  norm          1.1082        1.1822         .0000         .0000    
   7  Prefactor     .10000E-03    .16227        .23003E-04** at limit **
   8  Prefactor     13.032        1.0024        .61268E-08   -.26434E-05
   9  Prefactor     .10000E-03    .28192       -.26886E-06** at limit **
  10  Prefactor     9.7523        1.0013         .0000         .0000    
  11  Prefactor     3.2048        1.0127         .0000         .0000    
  12  Prefactor     5.0481        .96025        .15266E-05    .84741E-05
  13  norm          .10000E-03    .20702       -.99574E-05** at limit **
  14  Prefactor     .10000E-03    .35464E-01   -.66102E-04** at limit **
  15  norm          .10000E-03    .20571       -.77061E-07** at limit **
  16  norm          .10000E-03    .38180E-01   -.19066E-05** at limit **
  17  Normalizat    1.0037        1.3342       -.19563E-05    .41035E-04
  18  Prefactor     .48390        .82272        .37906E-06    .63820E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.25826
  norm       = 28.8009
  norm       = 3.02405
  norm       = 24.1925
  norm       = 1.10822
  Prefactor  = 0.000100003
  Prefactor  = 13.0325
  Prefactor  = 0.0001
  Prefactor  = 9.7523
  Prefactor  = 3.20477
  Prefactor  = 5.0481
  norm       = 0.000100001
  Prefactor  = 0.000100004
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.00366
  Prefactor  = 0.4839
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   755.9640     FROM HESSE     STATUS=FAILED        15 CALLS      315 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .10322        .39074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.2583        10.228        .40492E-02   -1.5208    
   3  norm          28.801        19.455        .18595E-02   -1.4634    
   4  norm          554.04        550.93         .0000       -1.5360    
   5  norm          24.193        .99276       -.27263E-05   -1.4724    
   6  norm          1.1082        1.1822         .0000       -1.5497    
   7  Prefactor     .10000E-03    .16227        .23003E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.032        1.0024        .61268E-08   -1.4986    
   9  Prefactor     .10000E-03    .28192       -.26886E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7523        1.0013         .0000       -1.5083    
  11  Prefactor     3.2048        1.0127         .0000       -1.5350    
  12  Prefactor     5.0481        .96025        .15266E-05   -1.5259    
  13  norm          .10000E-03    .20702       -.99574E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .35464E-01   -.66102E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .20571       -.77061E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .38180E-01   -.19066E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0037        1.3342       -.19563E-05   -.92908    
  18  Prefactor     .48390        .82272        .37906E-06   -1.1272    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.4939e-11
Minuit parameter uncertainties:
  1  1.56402e-09
  2  10.2311
  3  19.4589
  4  1.01437
  5  0.992765
  6  1.18227
  7  4.23729e-05
  8  1.00244
  9  6.18347e-06
  10  1.00132
  11  1.01272
  12  0.96025
  13  2.87858e-05
  14  2.35599e-05
  15  3.34296e-07
  16  7.34046e-06
  17  1.38301
  18  0.844341
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 755.963958561

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.303e+01  1.002e+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:  4.839e-01  8.443e-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.004e+00  1.383e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.01
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 1.44e-07 +/- 1.11e-08
Energy Flux (Fixed Index): 4.60e-05 +/- 3.54e-06

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

Saving results to:
/scratch/kocevski/552638/likelihoodResults_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.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) = 755.596600134
delta logL = 0.367358426819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 755.587448828
delta logL = 0.376509733136

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.332       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5630       1.0000          .0000       10.000    
     3 'Normalizat'    1.0488       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46482       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=   755.5874     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      210 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.361        18.688        .25572E-02   -.18098E-04
   2  Index         1.5649        .74047        .13007       -.17448E-04
   3  Normalizat    1.0485        .58429        .63980E-01   -.38608E-04
   4  Prefactor     .46510        .26962        .39177E-01   -.43572E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3606
  Index      = 1.56486
  Normalizat = 1.04846
  Prefactor  = 0.465098
 **********
 **   18 **HESSE 
 **********

 FCN=   755.5874     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.361        20.019        .10229E-03   -1.4924    
   2  Index         1.5649        .82989        .54945E-02   -.75739    
   3  Normalizat    1.0485        .73109        .28300E-03   -.91424    
   4  Prefactor     .46510        .33820        .18822E-03   -1.1361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74814e-11
Minuit parameter uncertainties:
  1  20.0277
  2  0.83728
  3  0.738279
  4  0.339673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552638': 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) = 755.58744555
delta logL = 0.376513010937

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.536e+01  2.003e+01  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  1.565e+00  8.373e-01  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:  4.651e-01  3.397e-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.048e+00  7.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.79
Ra Dec: 233.725 1.522
Photon Index (Free Index): 1.56 +/- 0.84
Photon Flux (Free Index): 7.00e-08 +/- 1.04e-07
Energy Flux (Free Index): 1.78e-04 +/- 4.08e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/552638/cmap_HighResolution_412214401_412473601_4FGL_J1534.8+0131_daily_bin667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-02', comment='SUCCESS', photon_flux='1.44e-07', energy_flux2='1.78e-04', photon_flux_error='1.11e-08', dlogl='3.77e-01', energy_flux='4.60e-05', photon_flux2='7.00e-08', job_status='DONE', time_completed='2021-09-12 04:29:11.553277', photon_index_error2='0.84', photon_index2='1.56', ts='1.01', fit_tolerance='1e-08', GAL='0.48', photon_index_error='0.00', photon_flux_upper_limit='8.23e-07', energy_flux_error2='4.08e-04', EG='1.00', time_epoch_completed='1631446151.55', return_code='101', job_id='552638', GAL2='0.47', EG2='1.05', return_code2='0', energy_flux_error='3.54e-06', photon_flux_error2='1.04e-07', ts2='1.79', photon_index='2.42' WHERE bin_id='667' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:29:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 552638: <4FGL_J1534.8+0131_daily_bin667> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin667> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 12 04:20:47 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:20:48 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:20:48 2021
Terminated at Sun Sep 12 04:29:12 2021
Results reported at Sun Sep 12 04:29:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin667 233.725 1.5224 412214401 412473601 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 :                                   325.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             399.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   503 sec.
    Turnaround time :                            505 sec.

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

