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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin698
RA = 233.725, Dec = 1.5224
tmin = 420249601, tmax = 420508801
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='552685', job_status='RUN', time_executed='2021-09-12 04:24:36.081373', time_epoch_executed='1631445876.08' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552685

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552685/ft1_4FGL_J1534.8+0131_daily_bin698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552685/ft2_4FGL_J1534.8+0131_daily_bin698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552685/ft1_4FGL_J1534.8+0131_daily_bin698.fits outfile=/scratch/kocevski/552685/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin698.fits ra=233.725 dec=1.5224 rad=12.0 tmin=420249601.0 tmax=420508801.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 2.85
user 2.59
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/552685/ft2_4FGL_J1534.8+0131_daily_bin698.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/552685/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin698.fits evtable="EVENTS" outfile="/scratch/kocevski/552685/ft1_filtered_4FGL_J1534.8+0131_daily_bin698.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.45
user 0.31
sys 0.13

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552685/ft1_filtered_4FGL_J1534.8+0131_daily_bin698.fits evtable="EVENTS" scfile=/scratch/kocevski/552685/ft2_4FGL_J1534.8+0131_daily_bin698.fits sctable="SC_DATA" expcube=/scratch/kocevski/552685/ltcube_420249601_420508801_4FGL_J1534.8+0131_daily_bin698.fits outfile=/scratch/kocevski/552685/expmap_420249601_420508801_4FGL_J1534.8+0131_daily_bin698.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/552685/ltcube_420249601_420508801_4FGL_J1534.8+0131_daily_bin698.fits
.....................!
real 155.25
user 150.79
sys 4.14

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/552685/ft1_filtered_4FGL_J1534.8+0131_daily_bin698.fits scfile=/scratch/kocevski/552685/ft2_4FGL_J1534.8+0131_daily_bin698.fits outfile=/scratch/kocevski/552685/cmap_420249601_420508801_4FGL_J1534.8+0131_daily_bin698.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.49
user 0.34
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/552685/ft1_filtered_4FGL_J1534.8+0131_daily_bin698.fits scfile=/scratch/kocevski/552685/ft2_4FGL_J1534.8+0131_daily_bin698.fits outfile=/scratch/kocevski/552685/cmap_HighResolution_420249601_420508801_4FGL_J1534.8+0131_daily_bin698.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.48
user 0.32
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13717       1.0000         .10000E-03   10000.    
     2 'norm      '    4.0947       1.0000         .10000E-03   10000.    
     3 'norm      '    3.7791       1.0000         .10000E-03   10000.    
     4 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10816E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .62569       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7362       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.320       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2043       1.0000         .10000E-03   10000.    
    13 'norm      '    3.8063       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.5237       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0601       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0458       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=   9247.420     FROM MIGRAD    STATUS=CONVERGED    378 CALLS     1507 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13718        .13400        .63147E-08    .12434E-03
   2  norm          4.0947        2.6863        .59485E-07    .38393E-03
   3  norm          3.7791        3.7739       -.36900E-06   -.28714E-03
   4  norm          .10000E-03    5.8845        .10891E-05** at limit **
   5  norm          .10001E-03    3.0397       -.11382E-05** at limit **
   6  norm          .62576        .18376        .13666E-07   -.16354E-03
   7  Prefactor     .10000E-03    16.388       -.45134E-06** at limit **
   8  Prefactor     1.7353        4.3781        .17661E-06   -.37793E-03
   9  Prefactor     .10000E-03    8.2128        .20190E-06** at limit **
  10  Prefactor     10.316        41.257       -.21632E-05   -.62682E-04
  11  Prefactor     .10000E-03    24.357        .30335E-06** at limit **
  12  Prefactor     1.2038        3.7472        .15454E-05   -.55659E-06
  13  norm          3.8052        3.8438        .31143E-08   -.11246E-03
  14  Prefactor     .10000E-03    37.360       -.23272E-05** at limit **
  15  norm          6.5234        2.0918       -.18626E-06    .21988E-04
  16  norm          .10000E-03    32.683        .23978E-05** at limit **
  17  Normalizat    1.0599        .24050       -.69002E-06    .23132E-04
  18  Prefactor     1.0458        .89674E-01    .19954E-08    .10146E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.13718
  norm       = 4.09468
  norm       = 3.77908
  norm       = 0.0001
  norm       = 0.000100006
  norm       = 0.625761
  Prefactor  = 0.0001
  Prefactor  = 1.73534
  Prefactor  = 0.0001
  Prefactor  = 10.3158
  Prefactor  = 0.0001
  Prefactor  = 1.20379
  norm       = 3.80523
  Prefactor  = 0.000100002
  norm       = 6.5234
  norm       = 0.000100003
  Normalizat = 1.05993
  Prefactor  = 1.04583
 **********
 **   18 **HESSE 
 **********

 FCN=   9247.420     FROM HESSE     STATUS=OK           252 CALLS     1759 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13718        .12716        .33805E-03   -1.5634    
   2  norm          4.0947        2.6736        .11973E-03   -1.5303    
   3  norm          3.7791        3.7970        .18301E-03   -1.5319    
   4  norm          .10000E-03    6.1321        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10001E-03    6.2229        .27749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .62576        .18270        .21386E-04   -1.5550    
   7  Prefactor     .10000E-03    16.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7353        4.5915        .31691E-03   -1.5444    
   9  Prefactor     .10000E-03    8.2202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.316        42.364        .12472E-03   -1.5065    
  11  Prefactor     .10000E-03    24.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.2038        3.8167        .31531E-03   -1.5489    
  13  norm          3.8052        3.8267        .18098E-03   -1.5318    
  14  Prefactor     .10000E-03    38.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.5234        2.1057        .38614E-03   -1.5197    
  16  norm          .10000E-03    33.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0599        .27110        .42913E-03   -.91049    
  18  Prefactor     1.0458        .10228        .16594E-03   -.91217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47673e-09
Minuit parameter uncertainties:
  1  0.127159
  2  2.67367
  3  3.79728
  4  9.83489e-05
  5  0.000387326
  6  0.182702
  7  6.97555e-05
  8  4.59241
  9  2.52023e-05
  10  41.861
  11  6.77365e-05
  12  3.81745
  13  3.82694
  14  0.000606034
  15  2.10576
  16  0.000586096
  17  0.27145
  18  0.102303
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.735e+00  4.592e+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.046e+00  1.023e-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.060e+00  2.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/552685/likelihoodResults_420249601_420508801_4FGL_J1534.8+0131_daily_bin698.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) = 9247.41686117
delta logL = 0.0031005440469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9247.41596348
delta logL = 0.00399823209045

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9371       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2623       1.0000          .0000       10.000    
     3 'Normalizat'    1.0630       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0450       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=   9247.416     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      289 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9371        5.3679        .14917E-02   -.76749E-03
   2  Index         2.2619        1.6571        .89761E-02    .16769E-05
   3  Normalizat    1.0629        .26260        .42859E-03    .14685E-03
   4  Prefactor     1.0450        .10108        .16600E-03    .38522E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.93711
  Index      = 2.2619
  Normalizat = 1.06289
  Prefactor  = 1.04498
 **********
 **   18 **HESSE 
 **********

 FCN=   9247.416     FROM HESSE     STATUS=OK            23 CALLS      312 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9371        5.2007        .59667E-04   -1.5430    
   2  Index         2.2619        1.6091        .35905E-03   -.57952    
   3  Normalizat    1.0629        .26270        .17144E-04   -.90952    
   4  Prefactor     1.0450        .10107        .33200E-04   -.91245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04784e-09
Minuit parameter uncertainties:
  1  5.20189
  2  1.65166
  3  0.263021
  4  0.101089
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552685': 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) = 9247.41596223
delta logL = 0.00399948639097

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
494    Prefactor:  1.045e+00  1.011e-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.063e+00  2.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 233.725 1.522

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/552685/cmap_HighResolution_420249601_420508801_4FGL_J1534.8+0131_daily_bin698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.40e-07', time_completed='2021-09-12 04:32:57.605234', job_id='552685', GAL2='1.04', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1631446377.61', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='4.00e-03', ts2='0.17', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='698' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:32:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 552685: <4FGL_J1534.8+0131_daily_bin698> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin698 233.725 1.5224 420249601 420508801 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 :                                   494.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             251.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            728 sec.

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

