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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin203
RA = 233.725, Dec = 1.5224
tmin = 291945601, tmax = 292204801
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='549833', job_status='RUN', time_executed='2021-09-12 04:19:28.760998', time_epoch_executed='1631445568.76' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='203'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549833

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549833/ft1_4FGL_J1534.8+0131_daily_bin203.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549833/ft2_4FGL_J1534.8+0131_daily_bin203.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549833/ft1_4FGL_J1534.8+0131_daily_bin203.fits outfile=/scratch/kocevski/549833/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin203.fits ra=233.725 dec=1.5224 rad=12.0 tmin=291945601.0 tmax=292204801.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.84
user 3.56
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549833/ft1_filtered_4FGL_J1534.8+0131_daily_bin203.fits evtable="EVENTS" scfile=/scratch/kocevski/549833/ft2_4FGL_J1534.8+0131_daily_bin203.fits sctable="SC_DATA" expcube=/scratch/kocevski/549833/ltcube_291945601_292204801_4FGL_J1534.8+0131_daily_bin203.fits outfile=/scratch/kocevski/549833/expmap_291945601_292204801_4FGL_J1534.8+0131_daily_bin203.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/549833/ltcube_291945601_292204801_4FGL_J1534.8+0131_daily_bin203.fits
.....................!
real 192.84
user 185.68
sys 6.13

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/549833/ft1_filtered_4FGL_J1534.8+0131_daily_bin203.fits scfile=/scratch/kocevski/549833/ft2_4FGL_J1534.8+0131_daily_bin203.fits outfile=/scratch/kocevski/549833/cmap_291945601_292204801_4FGL_J1534.8+0131_daily_bin203.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549833/ft1_filtered_4FGL_J1534.8+0131_daily_bin203.fits scfile=/scratch/kocevski/549833/ft2_4FGL_J1534.8+0131_daily_bin203.fits outfile=/scratch/kocevski/549833/cmap_HighResolution_291945601_292204801_4FGL_J1534.8+0131_daily_bin203.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.8190       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.3237       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.046       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4615       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    80.375       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .75740E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    2.4725       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.3203       1.0000         .10000E-03   10000.    
    16 'norm      '    36.933       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3350       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96210       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=   10560.21     FROM MIGRAD    STATUS=CONVERGED    376 CALLS     1809 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .43539E-01   -.30009E-08** at limit **
   2  norm          .10000E-03    .63473       -.11554E-08** at limit **
   3  norm          .10000E-03    2.2221        .40551E-08** at limit **
   4  norm          2.8190        2.6778       -.14235E-07   -.87991E-05
   5  norm          .10000E-03    1.4493       -.52487E-08** at limit **
   6  norm          1.3237        .19479        .32711E-09    .85196E-04
   7  Prefactor     10.042        25.025        .85047E-06    .14308E-04
   8  Prefactor     .10000E-03    3.4186        .61425E-09** at limit **
   9  Prefactor     3.4627        10.758        .16147E-05   -.34033E-03
  10  Prefactor     .10000E-03    35.192        .40053E-07** at limit **
  11  Prefactor     80.366        52.621       -.42781E-05   -.12529E-03
  12  Prefactor     .10000E-03    1.8944       -.99255E-07** at limit **
  13  norm          2.4726        2.5106       -.33229E-07    .40147E-04
  14  Prefactor     .10000E-03    20.568        .23341E-08** at limit **
  15  norm          8.3202        2.3612       -.60157E-08    .32714E-04
  16  norm          36.932        58.746       -.70334E-06   -.74080E-05
  17  Normalizat    1.3349        .21843       -.43494E-07    .38623E-04
  18  Prefactor     .96213        .82488E-01    .21218E-06    .37807E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.81902
  norm       = 0.0001
  norm       = 1.32365
  Prefactor  = 10.0419
  Prefactor  = 0.0001
  Prefactor  = 3.46271
  Prefactor  = 0.0001
  Prefactor  = 80.366
  Prefactor  = 0.0001
  norm       = 2.47263
  Prefactor  = 0.0001
  norm       = 8.32017
  norm       = 36.9318
  Normalizat = 1.3349
  Prefactor  = 0.962135
 **********
 **   18 **HESSE 
 **********

 FCN=   10560.21     FROM HESSE     STATUS=OK           252 CALLS     2061 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .45812E-01    .41835E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .64054        .79908E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.2271        .14960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.8190        2.6767        .15897E-03   -1.5372    
   5  norm          .10000E-03    1.4611        .12079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.3237        .19499        .16724E-04   -1.5478    
   7  Prefactor     10.042        25.027        .12642E-03   -1.5074    
   8  Prefactor     .10000E-03    3.4782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4627        25.752        .10868E-02   -1.5336    
  10  Prefactor     .10000E-03    35.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     80.366        53.624        .44798E-04   -1.3913    
  12  Prefactor     .10000E-03    5.6373        .41117E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.4726        2.5177        .15823E-03   -1.5393    
  14  Prefactor     .10000E-03    20.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.3202        2.3617        .81962E-04   -1.5131    
  16  norm          36.932        58.762        .65947E-04   -1.4492    
  17  Normalizat    1.3349        .25409        .39184E-03   -.82530    
  18  Prefactor     .96213        .95872E-01    .17328E-03   -.94003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26196e-09
Minuit parameter uncertainties:
  1  3.88894e-08
  2  4.37082e-07
  3  2.06632e-07
  4  2.67678
  5  8.86382e-07
  6  0.194994
  7  25.0535
  8  2.79713e-06
  9  18.8973
  10  3.67614e-05
  11  53.6565
  12  8.06662e-06
  13  2.51782
  14  1.32253e-06
  15  2.36175
  16  58.8546
  17  0.254329
  18  0.095889
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  2.797e-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:  9.621e-01  9.589e-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:  1.335e+00  2.543e-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.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/549833/likelihoodResults_291945601_292204801_4FGL_J1534.8+0131_daily_bin203.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) = 10560.2069614
delta logL = -0.00137070195342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10560.2055896
delta logL = 1.0970125004e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4560       1.0000          .0000       10.000    
     3 'Normalizat'    1.3348       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96216       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=   10557.14     FROM MIGRAD    STATUS=FAILED       216 CALLS      405 TOTAL
                     EDM=   .86E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .40026E-02    .18195E-03** at limit **
   2  Index         8.9586        2.2938        .17400        .34044E-03
   3  Normalizat    1.1318        .82035E-01    .39184E-02   -.12305E-03
   4  Prefactor     1.0099        .31153E-01    .17328E-03   -.27963E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10557.14     FROM SIMPLEX   STATUS=UNCHANGED    165 CALLS      570 TOTAL
                     EDM=   .92E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .40026E-02    .67114E-05** at limit **
   2  Index         8.9586        2.2938        .12756E-03    .34044E-03
   3  Normalizat    1.1318        .82035E-01    .89067E-05   -.12305E-03
   4  Prefactor     1.0099        .31153E-01    .35624E-05   -.27963E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10557.14     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      610 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .83811E-02    .15252E-03** at limit **
   2  Index         8.9586        7.3797        .76050E-03   -.39764E-05
   3  Normalizat    1.1318        .14746        .15674E-03   -.21273E-03
   4  Prefactor     1.0099        .56120E-01    .34656E-04   -.37975E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.95863
  Normalizat = 1.13178
  Prefactor  = 1.00986
 **********
 **   18 **HESSE 
 **********

 FCN=   10557.14     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      643 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .72721E-02    .16452E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.9586        7.3600        .30420E-04    .91363    
   3  Normalizat    1.1318        .14169        .31347E-04   -.88738    
   4  Prefactor     1.0099        .53933E-01    .69311E-05   -.92402    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.72554e-11
Minuit parameter uncertainties:
  1  3.70474e-09
  2  3.2575
  3  0.141736
  4  0.0539356
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549833': 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) = 10557.136439
delta logL = 3.06915171225

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  3.705e-09  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  8.959e+00  3.257e+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.010e+00  5.394e-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:  1.132e+00  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.70
Ra Dec: 233.725 1.522
Photon Index (Free Index): 8.96 +/- 3.26
Photon Flux (Free Index): 1.73e-07 +/- 1.08e-06
Energy Flux (Free Index): 1.97e-05 +/- 1.22e-04

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/549833/cmap_HighResolution_291945601_292204801_4FGL_J1534.8+0131_daily_bin203.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.07e-03', comment='SUCCESS', energy_flux2='1.97e-05', dlogl='3.07e+00', photon_flux2='1.73e-07', job_status='DONE', time_completed='2021-09-12 04:31:49.748366', photon_index_error2='3.26', photon_index2='8.96', ts='-0.00', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='1.22e-04', EG='1.33', time_epoch_completed='1631446309.75', return_code='0', job_id='549833', GAL2='1.01', EG2='1.13', return_code2='102', photon_flux_error2='1.08e-06', ts2='6.70', photon_index='2.42' WHERE bin_id='203' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:31:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 549833: <4FGL_J1534.8+0131_daily_bin203> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin203 233.725 1.5224 291945601 292204801 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 :                                   737.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            984 sec.

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

