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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin628
RA = 233.725, Dec = 1.5224
tmin = 402105601, tmax = 402364801
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='552578', job_status='RUN', time_executed='2021-09-12 04:24:01.827142', time_epoch_executed='1631445841.83' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='628'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552578

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552578/ft1_4FGL_J1534.8+0131_daily_bin628.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552578/ft2_4FGL_J1534.8+0131_daily_bin628.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552578/ft1_4FGL_J1534.8+0131_daily_bin628.fits outfile=/scratch/kocevski/552578/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin628.fits ra=233.725 dec=1.5224 rad=12.0 tmin=402105601.0 tmax=402364801.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.52
user 3.28
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/552578/ft1_filtered_4FGL_J1534.8+0131_daily_bin628.fits" evtable="EVENTS" scfile=/scratch/kocevski/552578/ft2_4FGL_J1534.8+0131_daily_bin628.fits sctable="SC_DATA" outfile=/scratch/kocevski/552578/ltcube_402105601_402364801_4FGL_J1534.8+0131_daily_bin628.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/552578/ft2_4FGL_J1534.8+0131_daily_bin628.fits
.....................!
real 14.60
user 14.19
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552578/ft1_filtered_4FGL_J1534.8+0131_daily_bin628.fits evtable="EVENTS" scfile=/scratch/kocevski/552578/ft2_4FGL_J1534.8+0131_daily_bin628.fits sctable="SC_DATA" expcube=/scratch/kocevski/552578/ltcube_402105601_402364801_4FGL_J1534.8+0131_daily_bin628.fits outfile=/scratch/kocevski/552578/expmap_402105601_402364801_4FGL_J1534.8+0131_daily_bin628.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/552578/ltcube_402105601_402364801_4FGL_J1534.8+0131_daily_bin628.fits
.....................!
real 190.92
user 186.42
sys 4.01

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/552578/ft1_filtered_4FGL_J1534.8+0131_daily_bin628.fits scfile=/scratch/kocevski/552578/ft2_4FGL_J1534.8+0131_daily_bin628.fits outfile=/scratch/kocevski/552578/cmap_402105601_402364801_4FGL_J1534.8+0131_daily_bin628.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.59
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.1324       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.7916       1.0000         .10000E-03   10000.    
     5 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.9355       1.0000         .10000E-03   10000.    
     7 'Prefactor '    35.639       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.1765       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 '    .69233       1.0000         .10000E-03   10000.    
    13 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    50.927       1.0000         .10000E-03   10000.    
    15 'norm      '    .16613       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1274       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .97745       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=   10647.88     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1744 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .50513E-01    .34710E-09** at limit **
   2  norm          2.1319        2.4028       -.11055E-06   -.37614E-04
   3  norm          .10000E-03    2.3625       -.55574E-08** at limit **
   4  norm          2.7916        2.2837        .93140E-06   -.13056E-02
   5  norm          .10000E-03    2.3894       -.37117E-07** at limit **
   6  norm          3.9355        .33182       -.98756E-08    .30496E-03
   7  Prefactor     35.635        39.449       -.39274E-05    .71782E-05
   8  Prefactor     9.1754        6.1083       -.31423E-06    .32323E-03
   9  Prefactor     .10000E-03    9.2809        .29612E-06** at limit **
  10  Prefactor     .10000E-03    11.300       -.94280E-06** at limit **
  11  Prefactor     .10000E-03    16.355        .70565E-06** at limit **
  12  Prefactor     .69316        4.7747       -.48889E-05   -.13888E-03
  13  norm          .10000E-03    2.9484        .74938E-08** at limit **
  14  Prefactor     50.932        47.854        .60045E-05    .25137E-04
  15  norm          .16639        1.0197        .40218E-07   -.48044E-03
  16  norm          .10000E-03    38.038       -.60789E-06** at limit **
  17  Normalizat    1.1275        .24440        .16719E-05    .14340E-03
  18  Prefactor     .97741        .87111E-01   -.11454E-06    .40150E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.13191
  norm       = 0.0001
  norm       = 2.79162
  norm       = 0.0001
  norm       = 3.93547
  Prefactor  = 35.6354
  Prefactor  = 9.17537
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.693164
  norm       = 0.0001
  Prefactor  = 50.9325
  norm       = 0.16639
  norm       = 0.0001
  Normalizat = 1.12747
  Prefactor  = 0.977409
 **********
 **   18 **HESSE 
 **********

 FCN=   10647.88     FROM HESSE     STATUS=OK           244 CALLS     1988 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .55929E-01    .45230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1319        2.4036        .15898E-03   -1.5416    
   3  norm          .10000E-03    2.3655        .15489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.7916        5.4798        .12176E-02   -1.5374    
   5  norm          .10000E-03    2.4360        .15562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.9355        .33770        .16501E-04   -1.5311    
   7  Prefactor     35.635        39.518        .67130E-04   -1.4513    
   8  Prefactor     9.1754        6.0692        .13230E-03   -1.5102    
   9  Prefactor     .10000E-03    9.2921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .69316        5.0561        .42797E-03   -1.5541    
  13  norm          .10000E-03    3.0796        .34567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     50.932        47.964        .56197E-04   -1.4279    
  15  norm          .16639        1.0801        .20587E-03   -1.5626    
  16  norm          .10000E-03    38.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1275        .28301        .44581E-03   -.88875    
  18  Prefactor     .97741        .10150        .17874E-03   -.93486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11161e-09
Minuit parameter uncertainties:
  1  1.3326e-07
  2  2.40371
  3  5.56461e-07
  4  5.48081
  5  3.38514e-06
  6  0.337703
  7  39.5475
  8  6.06957
  9  1.4141e-05
  10  4.21586e-06
  11  7.31139e-07
  12  3.74435
  13  1.34508e-05
  14  48.0008
  15  0.847638
  16  3.95536e-06
  17  0.283393
  18  0.101519
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  9.175e+00  6.070e+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:  9.774e-01  1.015e-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.127e+00  2.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.24
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 1.02e-07 +/- 6.71e-08
Energy Flux (Fixed Index): 3.24e-05 +/- 2.14e-05

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

Saving results to:
/scratch/kocevski/552578/likelihoodResults_402105601_402364801_4FGL_J1534.8+0131_daily_bin628.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) = 10646.3925096
delta logL = 1.48826713275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10646.3632828
delta logL = 1.51749392185

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6413       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6431       1.0000          .0000       10.000    
     3 'Normalizat'    1.0036       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0087       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=   10646.36     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      254 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6413        15.418        .62718E-02    .11333E-02
   2  Index         3.6433        2.3328        .12557        .11319E-03
   3  Normalizat    1.0037        .83112E-01    .10575       -.18428E-03
   4  Prefactor     1.0086        .30623E-01    .43531E-01   -.59620E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.64131
  Index      = 3.64326
  Normalizat = 1.00374
  Prefactor  = 1.00865
 **********
 **   18 **HESSE 
 **********

 FCN=   10646.36     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      285 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6413        26.494        .73506E-04   -1.5383    
   2  Index         3.6433        3.4056        .47290E-02   -.27479    
   3  Normalizat    1.0037        .28917        .46869E-03   -.92905    
   4  Prefactor     1.0086        .11172        .17617E-03   -.92442    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19732e-08
Minuit parameter uncertainties:
  1  16.7401
  2  3.78347
  3  0.289626
  4  0.111747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552578': 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): 102
logL (Free Index) = 10646.3632823
delta logL = 1.51749442647

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  2.641e+00  1.674e+01  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  3.643e+00  3.783e+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.009e+00  1.117e-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  2.896e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.66
Ra Dec: 233.725 1.522
Photon Index (Free Index): 3.64 +/- 3.78
Photon Flux (Free Index): 2.02e-07 +/- 1.01e-07
Energy Flux (Free Index): 3.25e-05 +/- 2.80e-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/552578/cmap_HighResolution_402105601_402364801_4FGL_J1534.8+0131_daily_bin628.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-02', comment='SUCCESS', photon_flux='1.02e-07', energy_flux2='3.25e-05', photon_flux_error='6.71e-08', dlogl='1.52e+00', energy_flux='3.24e-05', photon_flux2='2.02e-07', job_status='DONE', time_completed='2021-09-12 04:35:46.815852', photon_index_error2='3.78', photon_index2='3.64', ts='3.24', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.28e-07', energy_flux_error2='2.80e-05', EG='1.13', time_epoch_completed='1631446546.82', return_code='0', job_id='552578', GAL2='1.01', EG2='1.00', return_code2='102', energy_flux_error='2.14e-05', photon_flux_error2='1.01e-07', ts2='6.66', photon_index='2.42' WHERE bin_id='628' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:35:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 552578: <4FGL_J1534.8+0131_daily_bin628> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin628 233.725 1.5224 402105601 402364801 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 :                                   701.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            905 sec.

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

