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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin817
RA = 233.725, Dec = 1.5224
tmin = 451094401, tmax = 451353601
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='554334', job_status='RUN', time_executed='2021-09-12 04:28:14.860010', time_epoch_executed='1631446094.86' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='817'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554334

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554334/ft1_4FGL_J1534.8+0131_daily_bin817.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554334/ft2_4FGL_J1534.8+0131_daily_bin817.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554334/ft1_4FGL_J1534.8+0131_daily_bin817.fits outfile=/scratch/kocevski/554334/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin817.fits ra=233.725 dec=1.5224 rad=12.0 tmin=451094401.0 tmax=451353601.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.45
user 3.20
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554334/ft1_filtered_4FGL_J1534.8+0131_daily_bin817.fits evtable="EVENTS" scfile=/scratch/kocevski/554334/ft2_4FGL_J1534.8+0131_daily_bin817.fits sctable="SC_DATA" expcube=/scratch/kocevski/554334/ltcube_451094401_451353601_4FGL_J1534.8+0131_daily_bin817.fits outfile=/scratch/kocevski/554334/expmap_451094401_451353601_4FGL_J1534.8+0131_daily_bin817.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/554334/ltcube_451094401_451353601_4FGL_J1534.8+0131_daily_bin817.fits
.....................!
real 190.53
user 185.53
sys 4.56

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/554334/ft1_filtered_4FGL_J1534.8+0131_daily_bin817.fits scfile=/scratch/kocevski/554334/ft2_4FGL_J1534.8+0131_daily_bin817.fits outfile=/scratch/kocevski/554334/cmap_451094401_451353601_4FGL_J1534.8+0131_daily_bin817.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/554334/ft1_filtered_4FGL_J1534.8+0131_daily_bin817.fits scfile=/scratch/kocevski/554334/ft2_4FGL_J1534.8+0131_daily_bin817.fits outfile=/scratch/kocevski/554334/cmap_HighResolution_451094401_451353601_4FGL_J1534.8+0131_daily_bin817.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/554334/ft1_filtered_4FGL_J1534.8+0131_daily_bin817.fits evtable="EVENTS" scfile=/scratch/kocevski/554334/ft2_4FGL_J1534.8+0131_daily_bin817.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/554334/Model_4FGL_J1534.8+0131_daily_bin817.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/554334/ft1_filtered_4FGL_J1534.8+0131_daily_bin817.fits.....................!
real 74.15
user 72.36
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1796       1.0000         .10000E-03   10000.    
     2 'norm      '    3.5376       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.6257       1.0000         .10000E-03   10000.    
     5 'norm      '    3.2486       1.0000         .10000E-03   10000.    
     6 'norm      '    2.5981       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9657       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.291       1.0000         .10000E-03   10000.    
    10 'Prefactor '    53.902       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1470       1.0000         .10000E-03   10000.    
    13 'norm      '    3.6751       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.5386       1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.6381       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .79159       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=   8642.624     FROM MIGRAD    STATUS=CONVERGED    377 CALLS     1735 TOTAL
                     EDM=   .82E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1796        .28937        .34404E-08   -.50396E-04
   2  norm          3.5377        2.1930        .96233E-08   -.30202E-04
   3  norm          .10000E-03    2.0392        .52639E-08** at limit **
   4  norm          4.6258        7.1605        .33262E-05   -.13347E-04
   5  norm          3.2485        3.2660        .19033E-07   -.16724E-04
   6  norm          2.5981        .33972       -.55037E-07    .24432E-03
   7  Prefactor     .10000E-03    48.919        .15665E-05** at limit **
   8  Prefactor     3.9657        3.8616        .18587E-06   -.54948E-03
   9  Prefactor     17.294        27.288        .15986E-05   -.45383E-06
  10  Prefactor     53.901        49.310       -.59751E-06   -.20952E-05
  11  Prefactor     .10000E-03    17.862        .99890E-07** at limit **
  12  Prefactor     1.1478        3.5921       -.18163E-07   -.72418E-04
  13  norm          3.6743        2.6583       -.17128E-06   -.79153E-03
  14  Prefactor     .10000E-03    26.230       -.36640E-06** at limit **
  15  norm          2.5386        1.5311        .12534E-07    .17843E-06
  16  norm          .10000E-03    70.076       -.16322E-05** at limit **
  17  Normalizat    1.6380        .24735       -.47793E-06   -.23889E-04
  18  Prefactor     .79161        .91780E-01   -.12851E-06   -.54785E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1796
  norm       = 3.53765
  norm       = 0.0001
  norm       = 4.62584
  norm       = 3.24854
  norm       = 2.59814
  Prefactor  = 0.0001
  Prefactor  = 3.96571
  Prefactor  = 17.2937
  Prefactor  = 53.901
  Prefactor  = 0.0001
  Prefactor  = 1.14781
  norm       = 3.67432
  Prefactor  = 0.0001
  norm       = 2.53856
  norm       = 0.0001
  Normalizat = 1.63803
  Prefactor  = 0.791612
 **********
 **   18 **HESSE 
 **********

 FCN=   8642.624     FROM HESSE     STATUS=OK           250 CALLS     1985 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1796        .29050        .24036E-04   -1.5491    
   2  norm          3.5377        2.1961        .10390E-03   -1.5332    
   3  norm          .10000E-03    2.0411        .12965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.6258        7.1680        .18714E-03   -1.5278    
   5  norm          3.2485        3.2598        .16313E-03   -1.5347    
   6  norm          2.5981        .34049        .18140E-04   -1.5386    
   7  Prefactor     .10000E-03    49.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.9657        4.5599        .10118E-02   -1.5310    
   9  Prefactor     17.294        27.708        .96318E-04   -1.4876    
  10  Prefactor     53.901        49.396        .54633E-04   -1.4238    
  11  Prefactor     .10000E-03    17.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.1478        3.5388        .29315E-03   -1.5494    
  13  norm          3.6743        4.8150        .10535E-02   -1.5325    
  14  Prefactor     .10000E-03    26.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.5386        1.5322        .87052E-04   -1.5389    
  16  norm          .10000E-03    70.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.6380        .28944        .37132E-03   -.73970    
  18  Prefactor     .79161        .10573        .19239E-03   -1.0004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.1459e-10
Minuit parameter uncertainties:
  1  0.290496
  2  2.19611
  3  1.38476e-07
  4  7.16937
  5  3.25993
  6  0.340486
  7  5.93894e-06
  8  4.56034
  9  27.7291
  10  49.4339
  11  2.92578e-06
  12  3.53946
  13  4.81553
  14  4.16414e-06
  15  1.53222
  16  3.22025e-06
  17  0.28974
  18  0.105755
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  3.966e+00  4.560e+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:  7.916e-01  1.058e-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.638e+00  2.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.21
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 4.39e-08 +/- 5.04e-08
Energy Flux (Fixed Index): 1.40e-05 +/- 1.61e-05

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

Saving results to:
/scratch/kocevski/554334/likelihoodResults_451094401_451353601_4FGL_J1534.8+0131_daily_bin817.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) = 8642.59272659
delta logL = 0.0314340818877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8642.58184279
delta logL = 0.0423178823839

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3298       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8480       1.0000          .0000       10.000    
     3 'Normalizat'    1.6070       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79797       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8642.582     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      254 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3273        9.0104        .80812E-03   -.32455E-03
   2  Index         2.8489        2.5124        .93418E-02   -.28769E-04
   3  Normalizat    1.6070        .32883        .37423E-03   -.36286E-03
   4  Prefactor     .79798        .11297        .19172E-03   -.70944E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.32729
  Index      = 2.84894
  Normalizat = 1.60701
  Prefactor  = 0.797984
 **********
 **   18 **HESSE 
 **********

 FCN=   8642.582     FROM HESSE     STATUS=OK            27 CALLS      281 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3273        5.4775        .32325E-04   -1.5343    
   2  Index         2.8489        1.5769        .37367E-03   -.44473    
   3  Normalizat    1.6070        .30295        .74845E-04   -.74814    
   4  Prefactor     .79798        .10808        .38343E-04   -.99803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56157e-10
Minuit parameter uncertainties:
  1  5.47827
  2  1.6109
  3  0.303298
  4  0.108111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554334': 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) = 8642.5818426
delta logL = 0.0423180759226

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  3.327e+00  5.478e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.849e+00  1.611e+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:  7.980e-01  1.081e-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.607e+00  3.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.31
Ra Dec: 233.725 1.522
Photon Index (Free Index): 2.85 +/- 1.61
Photon Flux (Free Index): 6.93e-08 +/- 1.09e-07
Energy Flux (Free Index): 1.50e-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/554334/cmap_HighResolution_451094401_451353601_4FGL_J1534.8+0131_daily_bin817.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', comment='SUCCESS', photon_flux='4.39e-08', energy_flux2='1.50e-05', photon_flux_error='5.04e-08', dlogl='4.23e-02', energy_flux='1.40e-05', photon_flux2='6.93e-08', job_status='DONE', time_completed='2021-09-12 04:38:43.132955', photon_index_error2='1.61', photon_index2='2.85', ts='1.21', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.61e-07', energy_flux_error2='1.56e-05', EG='1.64', time_epoch_completed='1631446723.13', return_code='0', job_id='554334', GAL2='0.80', EG2='1.61', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='1.09e-07', ts2='1.31', photon_index='2.42' WHERE bin_id='817' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:38:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 554334: <4FGL_J1534.8+0131_daily_bin817> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin817> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 04:25:16 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:26:10 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:26:10 2021
Terminated at Sun Sep 12 04:38:43 2021
Results reported at Sun Sep 12 04:38:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin817 233.725 1.5224 451094401 451353601 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 :                                   621.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            807 sec.

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

