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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin588
RA = 233.725, Dec = 1.5224
tmin = 391737601, tmax = 391996801
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='552515', job_status='RUN', time_executed='2021-09-12 04:24:13.467073', time_epoch_executed='1631445853.47' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='588'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552515

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552515/ft1_4FGL_J1534.8+0131_daily_bin588.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552515/ft2_4FGL_J1534.8+0131_daily_bin588.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552515/ft1_4FGL_J1534.8+0131_daily_bin588.fits outfile=/scratch/kocevski/552515/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin588.fits ra=233.725 dec=1.5224 rad=12.0 tmin=391737601.0 tmax=391996801.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.30
user 3.09
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552515/ft1_filtered_4FGL_J1534.8+0131_daily_bin588.fits evtable="EVENTS" scfile=/scratch/kocevski/552515/ft2_4FGL_J1534.8+0131_daily_bin588.fits sctable="SC_DATA" expcube=/scratch/kocevski/552515/ltcube_391737601_391996801_4FGL_J1534.8+0131_daily_bin588.fits outfile=/scratch/kocevski/552515/expmap_391737601_391996801_4FGL_J1534.8+0131_daily_bin588.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/552515/ltcube_391737601_391996801_4FGL_J1534.8+0131_daily_bin588.fits
.....................!
real 191.92
user 186.24
sys 5.26

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/552515/ft1_filtered_4FGL_J1534.8+0131_daily_bin588.fits scfile=/scratch/kocevski/552515/ft2_4FGL_J1534.8+0131_daily_bin588.fits outfile=/scratch/kocevski/552515/cmap_391737601_391996801_4FGL_J1534.8+0131_daily_bin588.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/552515/ft1_filtered_4FGL_J1534.8+0131_daily_bin588.fits scfile=/scratch/kocevski/552515/ft2_4FGL_J1534.8+0131_daily_bin588.fits outfile=/scratch/kocevski/552515/cmap_HighResolution_391737601_391996801_4FGL_J1534.8+0131_daily_bin588.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.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93712E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    2.1484       1.0000         .10000E-03   10000.    
     3 'norm      '    4.5626       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.0710       1.0000         .10000E-03   10000.    
     6 'norm      '    .69021       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .27951E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12489       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.054       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10527E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5410       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.7998       1.0000         .10000E-03   10000.    
    16 'norm      '    75.481       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .95559       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1067       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8123.671     FROM MIGRAD    STATUS=FAILED       715 CALLS     2118 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .93646E-01    .15377        .46999E-03    .18233E-01
   2  norm          2.1477        2.2170        .12876E-03    .34930E-03
   3  norm          4.5631        4.4612        .18345E-03   -.59370E-04
   4  norm          .10000E-03    1.7731        .11688E-02** at limit **
   5  norm          1.0708        2.3530        .22110E-02    .46990E-02
   6  norm          .69020        .19951        .20871E-04   -.86064E-04
   7  Prefactor     .10000E-03    23.904        .18142E-02** at limit **
   8  Prefactor     .10115E-03    4.9723        .41342E-01** at limit **
   9  Prefactor     .72055E-01    21.108        .12747        .96378E-04
  10  Prefactor     19.001        25.622        .91755E-04   -.89210E-05
  11  Prefactor     .10000E-03    34.444        .18142E-02** at limit **
  12  Prefactor     2.5430        4.3144        .22742E-03    .14097E-03
  13  norm          .10000E-03    4.3914        .25597E-02** at limit **
  14  Prefactor     .10000E-03    30.868        .18142E-02** at limit **
  15  norm          2.7995        1.5245        .79865E-04   -.57651E-04
  16  norm          75.972        103.85        .23108E-03    .14415E-04
  17  Normalizat    .95568        .27888        .42656E-03   -.75293E-04
  18  Prefactor     1.1068        .11002        .16243E-03    .15430E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8123.671     FROM SIMPLEX   STATUS=PROGRESS     819 CALLS     2937 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .93646E-01    .15377        .57738E-07   -1.5647    
   2  norm          2.1476        2.2170        .60136E-07   -1.5415    
   3  norm          4.5631        4.4612        .10580E-06   -1.5281    
   4  norm          .10000E-03    1.7731        .19557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0708        2.3530        .52396E-07   -1.5501    
   6  norm          .69020        .19951        .52397E-07   -1.5542    
   7  Prefactor     .10000E-03    23.904        .89342E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10115E-03    4.9723        .11216E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .72055E-01    21.108        .70358E-07   -1.5654    
  10  Prefactor     19.001        25.622        .54247E-07   -1.4836    
  11  Prefactor     .10000E-03    34.444        .91296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.5430        4.3144        .52517E-07   -1.5389    
  13  norm          .10000E-03    4.3914        .26668E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    30.868        .68188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.7995        1.5245        .51602E-07   -1.5373    
  16  norm          75.972        103.85        .47435E-07   -1.3963    
  17  Normalizat    .95568        .27888        .31587E-07   -.94530    
  18  Prefactor     1.1068        .11002        .30016E-07   -.89250    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8123.671     FROM MIGRAD    STATUS=CONVERGED    254 CALLS     3191 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .93646E-01    .15367        .93998E-04   -.41968E-04
   2  norm          2.1476        2.2162        .51502E-05    .22074E-05
   3  norm          4.5632        4.4611        .73378E-05    .56706E-04
   4  norm          .10000E-03    1.7732        .23376E-03** at limit **
   5  norm          1.0708        2.3496        .44220E-03    .16678E-03
   6  norm          .69020        .19950        .83484E-06   -.58907E-04
   7  Prefactor     .10000E-03    23.907        .36285E-03** at limit **
   8  Prefactor     .10100E-03    3.7676        .49491E-01** at limit **
   9  Prefactor     .72050E-01    20.801        .12904        .92426E-04
  10  Prefactor     19.001        25.615        .36702E-05    .68147E-05
  11  Prefactor     .10000E-03    34.446        .36285E-03** at limit **
  12  Prefactor     2.5430        4.3140        .90967E-05   -.36443E-03
  13  norm          .10000E-03    4.4089        .51193E-03** at limit **
  14  Prefactor     .10000E-03    30.869        .36285E-03** at limit **
  15  norm          2.7995        1.5244        .31946E-05    .51957E-04
  16  norm          75.972        103.85        .92433E-05   -.14513E-04
  17  Normalizat    .95568        .27896        .17062E-04   -.72361E-04
  18  Prefactor     1.1068        .11009        .32487E-04   -.46228E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0936457
  norm       = 2.14764
  norm       = 4.56316
  norm       = 0.0001
  norm       = 1.07084
  norm       = 0.690203
  Prefactor  = 0.0001
  Prefactor  = 0.000100996
  Prefactor  = 0.0720504
  Prefactor  = 19.0009
  Prefactor  = 0.0001
  Prefactor  = 2.54297
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.79952
  norm       = 75.9718
  Normalizat = 0.955683
  Prefactor  = 1.10679
 **********
 **   18 **HESSE 
 **********

 FCN=   8123.671     FROM HESSE     STATUS=OK           248 CALLS     3439 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .93646E-01    .15366        .37599E-05   -1.5647    
   2  norm          2.1476        2.2155        .10300E-05   -1.5415    
   3  norm          4.5632        4.4612        .14676E-05   -1.5281    
   4  norm          .10000E-03    1.7733        .46752E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0708        2.3492        .17688E-04   -1.5501    
   6  norm          .69020        .19950        .37055E-06   -1.5542    
   7  Prefactor     .10000E-03    23.907        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10100E-03    4.1405        .46503E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .72050E-01    20.854        .12876       -1.5654    
  10  Prefactor     19.001        25.627        .73404E-06   -1.4836    
  11  Prefactor     .10000E-03    34.446        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.5430        4.3133        .18193E-05   -1.5389    
  13  norm          .10000E-03    4.4096        .10239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    30.869        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.7995        1.5245        .63892E-06   -1.5373    
  16  norm          75.972        103.60        .18487E-05   -1.3963    
  17  Normalizat    .95568        .27880        .34124E-05   -.94530    
  18  Prefactor     1.1068        .11005        .64973E-05   -.89250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.245e-10
Minuit parameter uncertainties:
  1  0.15366
  2  2.21558
  3  4.46154
  4  9.34816e-07
  5  2.34944
  6  0.199505
  7  1.48032e-05
  8  0.00406252
  9  2.45073
  10  25.6423
  11  7.3429e-06
  12  4.3138
  13  8.5107e-05
  14  8.88606e-06
  15  1.52454
  16  103.849
  17  0.279225
  18  0.110069
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.010e-04  4.063e-03  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.107e+00  1.101e-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:  9.557e-01  2.792e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 233.725 1.522
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/552515/likelihoodResults_391737601_391996801_4FGL_J1534.8+0131_daily_bin588.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): 102
logL (Free Index) = 8123.67148297
delta logL = -3.87802119803e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.67148292
delta logL = -3.87243007935e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96333E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4207       1.0000          .0000       10.000    
     3 'Normalizat'    .95550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8123.341     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      267 TOTAL
                     EDM=   .18E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11213        .62417        .85856E-07    .18478E-04
   2  Index         4.6920        2.3889        .15480E-05    .21283E-07
   3  Normalizat    .89347        .27497       -.69554E-06   -.75238E-05
   4  Prefactor     1.1195        .10999        .12214E-05   -.10101E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.112131
  Index      = 4.69196
  Normalizat = 0.893471
  Prefactor  = 1.11946
 **********
 **   18 **HESSE 
 **********

 FCN=   8123.341     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      306 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11213        1.9979        .84447E-02   -1.5641    
   2  Index         4.6920        3.0602        .14423       -.61647E-01
   3  Normalizat    .89347        .43451E-01    .99234E-01   -.96690    
   4  Prefactor     1.1195        .17748E-01    .37333E-01   -.88847    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.9039e-11
Minuit parameter uncertainties:
  1  0.946237
  2  3.29428
  3  0.0434525
  4  0.017748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552515': 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) = 8123.3412874
delta logL = 0.330156797071

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.121e-01  9.462e-01  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  4.692e+00  3.294e+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.119e+00  1.775e-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:  8.935e-01  4.345e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/552515/cmap_HighResolution_391737601_391996801_4FGL_J1534.8+0131_daily_bin588.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.87e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-09-12 04:36:06.947483', job_id='552515', GAL2='1.12', fit_tolerance='1e-08', EG2='0.89', EG='0.96', time_epoch_completed='1631446566.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.30e-01', ts2='0.71', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='588' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:36:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 552515: <4FGL_J1534.8+0131_daily_bin588> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin588 233.725 1.5224 391737601 391996801 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 :                                   708.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            931 sec.

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

