/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 194 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 = 7667
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1534.8+0131_daily_bin284
RA = 233.725, Dec = 1.5224
tmin = 312940801, tmax = 313200001
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='549951', job_status='RUN', time_executed='2021-09-12 04:19:27.711095', time_epoch_executed='1631445567.71' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='284'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549951

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549951/ft1_4FGL_J1534.8+0131_daily_bin284.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549951/ft2_4FGL_J1534.8+0131_daily_bin284.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549951/ft1_4FGL_J1534.8+0131_daily_bin284.fits outfile=/scratch/kocevski/549951/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin284.fits ra=233.725 dec=1.5224 rad=12.0 tmin=312940801.0 tmax=313200001.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.51
user 3.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/549951/ft2_4FGL_J1534.8+0131_daily_bin284.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/549951/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin284.fits evtable="EVENTS" outfile="/scratch/kocevski/549951/ft1_filtered_4FGL_J1534.8+0131_daily_bin284.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 1.06
user 0.35
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549951/ft1_filtered_4FGL_J1534.8+0131_daily_bin284.fits evtable="EVENTS" scfile=/scratch/kocevski/549951/ft2_4FGL_J1534.8+0131_daily_bin284.fits sctable="SC_DATA" expcube=/scratch/kocevski/549951/ltcube_312940801_313200001_4FGL_J1534.8+0131_daily_bin284.fits outfile=/scratch/kocevski/549951/expmap_312940801_313200001_4FGL_J1534.8+0131_daily_bin284.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/549951/ltcube_312940801_313200001_4FGL_J1534.8+0131_daily_bin284.fits
.....................!
real 202.27
user 186.20
sys 5.83

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/549951/ft1_filtered_4FGL_J1534.8+0131_daily_bin284.fits scfile=/scratch/kocevski/549951/ft2_4FGL_J1534.8+0131_daily_bin284.fits outfile=/scratch/kocevski/549951/cmap_312940801_313200001_4FGL_J1534.8+0131_daily_bin284.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549951/ft1_filtered_4FGL_J1534.8+0131_daily_bin284.fits scfile=/scratch/kocevski/549951/ft2_4FGL_J1534.8+0131_daily_bin284.fits outfile=/scratch/kocevski/549951/cmap_HighResolution_312940801_313200001_4FGL_J1534.8+0131_daily_bin284.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28118       1.0000         .10000E-03   10000.    
     2 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.7316       1.0000         .10000E-03   10000.    
     5 'norm      '    3.3902       1.0000         .10000E-03   10000.    
     6 'norm      '    .43240       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.974       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.0079       1.0000         .10000E-03   10000.    
    13 'norm      '    .88232       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .25306E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.0728       1.0000         .10000E-03   10000.    
    16 'norm      '    86.143       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.5629       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .75492       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7118.272     FROM MIGRAD    STATUS=CONVERGED    627 CALLS     2035 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28119        .17738        .28049E-03    .11324E-03
   2  norm          .10000E-03    1.4675        .19504E-03** at limit **
   3  norm          .10000E-03    2.7160        .13562E-02** at limit **
   4  norm          1.7285        5.3040        .31900E-03    .41818E-03
   5  norm          3.3903        3.3769        .15040E-03    .14657E-03
   6  norm          .43247        .16032        .19764E-04    .27656E-02
   7  Prefactor     .10000E-03    26.129        .18142E-02** at limit **
   8  Prefactor     .10000E-03    1.8875        .11280E-02** at limit **
   9  Prefactor     .10000E-03    13.182        .18142E-02** at limit **
  10  Prefactor     24.970        35.902        .80158E-04    .28791E-04
  11  Prefactor     .10000E-03    20.282        .18142E-02** at limit **
  12  Prefactor     6.0078        4.7134        .15353E-03    .57300E-03
  13  norm          .88120        2.7711        .24499E-03    .14348E-03
  14  Prefactor     .10001E-03    35.192        .17526    ** at limit **
  15  norm          5.0724        2.0779        .75685E-04    .37102E-04
  16  norm          86.080        124.13        .21642E-03    .11444E-03
  17  Normalizat    1.5627        .26867        .32777E-03    .16165E-03
  18  Prefactor     .75500        .10401        .17531E-03    .95615E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.281188
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.72848
  norm       = 3.39035
  norm       = 0.432472
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.9704
  Prefactor  = 0.0001
  Prefactor  = 6.00776
  norm       = 0.881204
  Prefactor  = 0.00010001
  norm       = 5.07241
  norm       = 86.0798
  Normalizat = 1.56269
  Prefactor  = 0.754997
 **********
 **   18 **HESSE 
 **********

 FCN=   7118.272     FROM HESSE     STATUS=OK           238 CALLS     2273 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28119        .17736        .11220E-04   -1.5602    
   2  norm          .10000E-03    1.4675        .39007E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.7161        .27123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7285        5.3025        .12760E-04   -1.5445    
   5  norm          3.3903        3.3769        .60159E-05   -1.5340    
   6  norm          .43247        .16030        .79058E-06   -1.5576    
   7  Prefactor     .10000E-03    26.132        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.8877        .22561E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.183        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.970        35.920        .32063E-05   -1.4708    
  11  Prefactor     .10000E-03    20.283        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.0078        4.7131        .61410E-05   -1.5218    
  13  norm          .88120        2.7708        .97997E-05   -1.5520    
  14  Prefactor     .10001E-03    35.117        .17565       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.0724        2.0779        .30274E-05   -1.5257    
  16  norm          86.080        124.13        .43285E-04   -1.3850    
  17  Normalizat    1.5627        .26882        .65554E-04   -.76032    
  18  Prefactor     .75500        .10408        .35062E-04   -1.0141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27904e-09
Minuit parameter uncertainties:
  1  0.177365
  2  5.86763e-06
  3  1.6253e-06
  4  5.30398
  5  3.37705
  6  0.160301
  7  6.91719e-05
  8  1.23309e-06
  9  4.31613e-05
  10  35.951
  11  2.75302e-05
  12  4.71336
  13  2.77116
  14  0.00118567
  15  2.07793
  16  124.506
  17  0.269068
  18  0.104106
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  1.233e-06  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.550e-01  1.041e-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.563e+00  2.691e-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: 9.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/549951/likelihoodResults_312940801_313200001_4FGL_J1534.8+0131_daily_bin284.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) = 7118.2750107
delta logL = -0.00251978743654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7118.27249123
delta logL = -3.15294528264e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4218       1.0000          .0000       10.000    
     3 'Normalizat'    1.5627       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75495       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=   7118.272     FROM MIGRAD    STATUS=FAILED        87 CALLS      238 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    244.20        .11281E-02** at limit **
   2  Index         2.4489        5.9567        .50000       -.36776E-05
   3  Normalizat    1.5627        .90246E-01    .32777E-03   -.31633E-04
   4  Prefactor     .75499        .34894E-01    .17531E-03   -.54539E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7118.272     FROM SIMPLEX   STATUS=UNCHANGED    165 CALLS      403 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    244.20        .24110E-03** at limit **
   2  Index         2.4489        5.9567        .91754E-05   -.36776E-05
   3  Normalizat    1.5627        .90246E-01    .31386E-06   -.31633E-04
   4  Prefactor     .75499        .34894E-01    .10863E-06   -.54539E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7118.272     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      444 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.616        .22561E-03** at limit **
   2  Index         2.4981        8.3307        .50000       -.88016E-07
   3  Normalizat    1.5627        .26415        .13111E-04    .98331E-04
   4  Prefactor     .75499        .10254        .70123E-05    .18742E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.49809
  Normalizat = 1.5627
  Prefactor  = 0.754994
 **********
 **   18 **HESSE 
 **********

 FCN=   7118.272     FROM HESSE     STATUS=OK            29 CALLS      473 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9682        .45123E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4981        7.9357        .50000       -.52404    
   3  Normalizat    1.5627        .26145        .26222E-05   -.76032    
   4  Prefactor     .75499        .10219        .14025E-05   -1.0141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54974e-11
Minuit parameter uncertainties:
  1  3.78638e-06
  2  212.131
  3  0.261679
  4  0.102215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549951': 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) = 7118.27249086
delta logL = 5.13609847985e-08

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  3.786e-06  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.498e+00  2.121e+02  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.550e-01  1.022e-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.563e+00  2.617e-01  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/549951/cmap_HighResolution_312940801_313200001_4FGL_J1534.8+0131_daily_bin284.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='9.08e-08', time_completed='2021-09-12 04:29:46.180879', job_id='549951', GAL2='0.75', fit_tolerance='1e-08', EG2='1.56', EG='1.56', time_epoch_completed='1631446186.18', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='5.14e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='284' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:29:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 549951: <4FGL_J1534.8+0131_daily_bin284> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin284> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 04:15:34 2021
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:16:04 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:16:04 2021
Terminated at Sun Sep 12 04:29:48 2021
Results reported at Sun Sep 12 04:29:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin284 233.725 1.5224 312940801 313200001 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 :                                   594.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            854 sec.

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

