/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 203 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1534.8+0131_daily_bin706
RA = 233.725, Dec = 1.5224
tmin = 422323201, tmax = 422582401
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='552698', job_status='RUN', time_executed='2021-09-12 04:24:27.179656', time_epoch_executed='1631445867.18' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='706'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552698

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552698/ft1_4FGL_J1534.8+0131_daily_bin706.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552698/ft2_4FGL_J1534.8+0131_daily_bin706.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552698/ft1_4FGL_J1534.8+0131_daily_bin706.fits outfile=/scratch/kocevski/552698/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin706.fits ra=233.725 dec=1.5224 rad=12.0 tmin=422323201.0 tmax=422582401.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.56
user 3.29
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/552698/ft2_4FGL_J1534.8+0131_daily_bin706.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/552698/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin706.fits evtable="EVENTS" outfile="/scratch/kocevski/552698/ft1_filtered_4FGL_J1534.8+0131_daily_bin706.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.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/552698/ft1_filtered_4FGL_J1534.8+0131_daily_bin706.fits" evtable="EVENTS" scfile=/scratch/kocevski/552698/ft2_4FGL_J1534.8+0131_daily_bin706.fits sctable="SC_DATA" outfile=/scratch/kocevski/552698/ltcube_422323201_422582401_4FGL_J1534.8+0131_daily_bin706.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/552698/ft2_4FGL_J1534.8+0131_daily_bin706.fits
.....................!
real 15.38
user 14.99
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552698/ft1_filtered_4FGL_J1534.8+0131_daily_bin706.fits evtable="EVENTS" scfile=/scratch/kocevski/552698/ft2_4FGL_J1534.8+0131_daily_bin706.fits sctable="SC_DATA" expcube=/scratch/kocevski/552698/ltcube_422323201_422582401_4FGL_J1534.8+0131_daily_bin706.fits outfile=/scratch/kocevski/552698/expmap_422323201_422582401_4FGL_J1534.8+0131_daily_bin706.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/552698/ltcube_422323201_422582401_4FGL_J1534.8+0131_daily_bin706.fits
.....................!
real 192.51
user 185.76
sys 5.94

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/552698/ft1_filtered_4FGL_J1534.8+0131_daily_bin706.fits scfile=/scratch/kocevski/552698/ft2_4FGL_J1534.8+0131_daily_bin706.fits outfile=/scratch/kocevski/552698/cmap_422323201_422582401_4FGL_J1534.8+0131_daily_bin706.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/552698/ft1_filtered_4FGL_J1534.8+0131_daily_bin706.fits scfile=/scratch/kocevski/552698/ft2_4FGL_J1534.8+0131_daily_bin706.fits outfile=/scratch/kocevski/552698/cmap_HighResolution_422323201_422582401_4FGL_J1534.8+0131_daily_bin706.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.59
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/552698/ft1_filtered_4FGL_J1534.8+0131_daily_bin706.fits evtable="EVENTS" scfile=/scratch/kocevski/552698/ft2_4FGL_J1534.8+0131_daily_bin706.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/552698/Model_4FGL_J1534.8+0131_daily_bin706.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/552698/ft1_filtered_4FGL_J1534.8+0131_daily_bin706.fits.....................!
real 79.31
user 77.69
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/552698/ft1_filtered_4FGL_J1534.8+0131_daily_bin706.fits', '/scratch/kocevski/552698/ft2_4FGL_J1534.8+0131_daily_bin706.fits', expMap='/scratch/kocevski/552698/expmap_422323201_422582401_4FGL_J1534.8+0131_daily_bin706.fits', expCube='/scratch/kocevski/552698/ltcube_422323201_422582401_4FGL_J1534.8+0131_daily_bin706.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/552698/Model_4FGL_J1534.8+0131_daily_bin706.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/552698/ft1_filtered_4FGL_J1534.8+0131_daily_bin706.fits
Spacecraft file(s): /scratch/kocevski/552698/ft2_4FGL_J1534.8+0131_daily_bin706.fits
Exposure map: /scratch/kocevski/552698/expmap_422323201_422582401_4FGL_J1534.8+0131_daily_bin706.fits
Exposure cube: /scratch/kocevski/552698/ltcube_422323201_422582401_4FGL_J1534.8+0131_daily_bin706.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/552698/Model_4FGL_J1534.8+0131_daily_bin706.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) = 9596.30757824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56154       1.0000         .10000E-03   10000.    
     2 'norm      '    6.7695       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.0720       1.0000         .10000E-03   10000.    
     6 'norm      '    1.0161       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.408       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.4063       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   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 '    .12656E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.7716       1.0000         .10000E-03   10000.    
    16 'norm      '    17.888       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .93221       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0402       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9596.306     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1730 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .56153        .24053       -.49509E-09   -.16009E-03
   2  norm          6.7692        2.7875        .70169E-06   -.39485E-03
   3  norm          .10000E-03    1.6163        .21782E-08** at limit **
   4  norm          .10000E-03    4.8167       -.69033E-08** at limit **
   5  norm          1.0721        2.5910        .55743E-06   -.59038E-04
   6  norm          1.0161        .18968        .37852E-08   -.86393E-05
   7  Prefactor     15.406        32.616       -.65965E-06   -.28016E-04
   8  Prefactor     8.4075        5.0909        .87621E-08   -.27730E-03
   9  Prefactor     .10000E-03    6.6118       -.22294E-06** at limit **
  10  Prefactor     .10000E-03    16.622        .26749E-05** at limit **
  11  Prefactor     .10000E-03    15.757       -.21444E-05** at limit **
  12  Prefactor     .10000E-03    2.8365        .60026E-06** at limit **
  13  norm          .10000E-03    1.1436       -.40564E-08** at limit **
  14  Prefactor     .10000E-03    35.449       -.70666E-06** at limit **
  15  norm          1.7716        1.2050       -.72288E-08    .18902E-04
  16  norm          17.885        62.975       -.67226E-06   -.12177E-04
  17  Normalizat    .93225        .23937       -.10170E-05   -.80797E-04
  18  Prefactor     1.0403        .87558E-01    .12117E-06   -.23603E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.561526
  norm       = 6.76924
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.0721
  norm       = 1.0161
  Prefactor  = 15.4061
  Prefactor  = 8.40753
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.77157
  norm       = 17.885
  Normalizat = 0.932249
  Prefactor  = 1.04026
 **********
 **   18 **HESSE 
 **********

 FCN=   9596.306     FROM HESSE     STATUS=OK           246 CALLS     1976 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .56153        .23866        .30268E-04   -1.5558    
   2  norm          6.7692        2.8392        .49960E-03   -1.5188    
   3  norm          .10000E-03    1.6166        .12163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.9332        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0721        2.5275        .23680E-03   -1.5501    
   6  norm          1.0161        .18938        .17660E-04   -1.5506    
   7  Prefactor     15.406        32.630        .10204E-03   -1.4923    
   8  Prefactor     8.4075        5.0788        .13827E-03   -1.5128    
   9  Prefactor     .10000E-03    6.6209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.5649        .30772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.1510        .10228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    35.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.7716        1.2107        .86505E-04   -1.5442    
  16  norm          17.885        63.045        .94697E-04   -1.4862    
  17  Normalizat    .93225        .26663        .44994E-03   -.95336    
  18  Prefactor     1.0403        .98578E-01    .16471E-03   -.91399    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29983e-10
Minuit parameter uncertainties:
  1  0.23866
  2  2.83924
  3  3.90468e-08
  4  1.45108e-06
  5  2.52771
  6  0.189382
  7  32.6676
  8  5.0791
  9  2.10771e-05
  10  0.000403521
  11  0.000314678
  12  0.000164817
  13  6.20207e-07
  14  0.000152315
  15  1.21068
  16  63.2818
  17  0.267009
  18  0.0985955
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  8.408e+00  5.079e+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.040e+00  9.860e-02  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:  9.322e-01  2.670e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.99
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 9.30e-08 +/- 5.62e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 1.79e-05

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) = 9596.05184832
delta logL = 0.254316924114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9596.02986686
delta logL = 0.276298381117

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5554       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7915       1.0000          .0000       10.000    
     3 'Normalizat'    .89989       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0468       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9596.030     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      297 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5550        5.2376        .12931E-03    .59486E-03
   2  Index         2.7915        .54979        .60836E-02    .12095E-03
   3  Normalizat    .90001        .25869        .45709E-03   -.23061E-03
   4  Prefactor     1.0468        .98091E-01    .16423E-03   -.65994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.55495
  Index      = 2.79154
  Normalizat = 0.900008
  Prefactor  = 1.04678
 **********
 **   18 **HESSE 
 **********

 FCN=   9596.030     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5550        4.9192        .51724E-05   -1.5196    
   2  Index         2.7915        .51585        .24335E-03   -.45748    
   3  Normalizat    .90001        .25865        .18284E-04   -.96460    
   4  Prefactor     1.0468        .98073E-01    .32845E-04   -.91186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85055e-10
Minuit parameter uncertainties:
  1  4.91948
  2  0.51699
  3  0.259003
  4  0.0980893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552698': 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) = 9596.02986663
delta logL = 0.276298608018

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  6.555e+00  4.919e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.792e+00  5.170e-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:  1.047e+00  9.809e-02  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:  9.000e-01  2.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.58
Ra Dec: 233.725 1.522
Photon Index (Free Index): 2.79 +/- 0.52
Photon Flux (Free Index): 1.25e-07 +/- 7.69e-08
Energy Flux (Free Index): 2.81e-05 +/- 1.56e-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/552698/cmap_HighResolution_422323201_422582401_4FGL_J1534.8+0131_daily_bin706.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.30e-08', energy_flux2='2.81e-05', photon_flux_error='5.62e-08', dlogl='2.76e-01', energy_flux='2.97e-05', photon_flux2='1.25e-07', job_status='DONE', time_completed='2021-09-12 04:34:25.670203', photon_index_error2='0.52', photon_index2='2.79', ts='4.99', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.56e-05', EG='0.93', time_epoch_completed='1631446465.67', return_code='0', job_id='552698', GAL2='1.05', EG2='0.90', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='7.69e-08', ts2='5.58', photon_index='2.42' WHERE bin_id='706' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:34:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 552698: <4FGL_J1534.8+0131_daily_bin706> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin706 233.725 1.5224 422323201 422582401 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 :                                   596.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             237.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

