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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin535
RA = 233.725, Dec = 1.5224
tmin = 378000001, tmax = 378259201
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='554277', job_status='RUN', time_executed='2021-09-12 04:28:27.719055', time_epoch_executed='1631446107.72' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554277

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554277/ft1_4FGL_J1534.8+0131_daily_bin535.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554277/ft2_4FGL_J1534.8+0131_daily_bin535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554277/ft1_4FGL_J1534.8+0131_daily_bin535.fits outfile=/scratch/kocevski/554277/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin535.fits ra=233.725 dec=1.5224 rad=12.0 tmin=378000001.0 tmax=378259201.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.58
user 3.23
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/554277/ft1_filtered_4FGL_J1534.8+0131_daily_bin535.fits" evtable="EVENTS" scfile=/scratch/kocevski/554277/ft2_4FGL_J1534.8+0131_daily_bin535.fits sctable="SC_DATA" outfile=/scratch/kocevski/554277/ltcube_378000001_378259201_4FGL_J1534.8+0131_daily_bin535.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/554277/ft2_4FGL_J1534.8+0131_daily_bin535.fits
.....................!
real 13.87
user 13.33
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554277/ft1_filtered_4FGL_J1534.8+0131_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/554277/ft2_4FGL_J1534.8+0131_daily_bin535.fits sctable="SC_DATA" expcube=/scratch/kocevski/554277/ltcube_378000001_378259201_4FGL_J1534.8+0131_daily_bin535.fits outfile=/scratch/kocevski/554277/expmap_378000001_378259201_4FGL_J1534.8+0131_daily_bin535.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/554277/ltcube_378000001_378259201_4FGL_J1534.8+0131_daily_bin535.fits
.....................!
real 194.82
user 186.63
sys 5.64

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/554277/ft1_filtered_4FGL_J1534.8+0131_daily_bin535.fits scfile=/scratch/kocevski/554277/ft2_4FGL_J1534.8+0131_daily_bin535.fits outfile=/scratch/kocevski/554277/cmap_378000001_378259201_4FGL_J1534.8+0131_daily_bin535.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/554277/ft1_filtered_4FGL_J1534.8+0131_daily_bin535.fits scfile=/scratch/kocevski/554277/ft2_4FGL_J1534.8+0131_daily_bin535.fits outfile=/scratch/kocevski/554277/cmap_HighResolution_378000001_378259201_4FGL_J1534.8+0131_daily_bin535.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68595       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.661       1.0000         .10000E-03   10000.    
     5 'norm      '    6.2131       1.0000         .10000E-03   10000.    
     6 'norm      '    .52410       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3261       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.633       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.701       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.320       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.5942       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.2324       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0362       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94434       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=   8306.181     FROM MIGRAD    STATUS=CONVERGED    360 CALLS     1684 TOTAL
                     EDM=   .43E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68600        .25480        .12452E-07   -.13083E-04
   2  norm          .10000E-03    .89460       -.20765E-07** at limit **
   3  norm          .10000E-03    2.5380        .10508E-08** at limit **
   4  norm          11.661        5.9284        .70889E-07    .14395E-05
   5  norm          6.2127        4.3462        .69995E-07    .55844E-05
   6  norm          .52410        .17429       -.33258E-09   -.50274E-04
   7  Prefactor     .10000E-03    15.417       -.78674E-07** at limit **
   8  Prefactor     6.3265        4.1637       -.89614E-08   -.19174E-05
   9  Prefactor     27.632        24.074       -.17583E-06    .22918E-05
  10  Prefactor     12.684        48.528        .73874E-06   -.65660E-06
  11  Prefactor     16.239        37.426        .54030E-05    .79688E-06
  12  Prefactor     .10000E-03    .95466        .64163E-07** at limit **
  13  norm          2.5950        3.4404        .90556E-06    .12081E-04
  14  Prefactor     .10000E-03    19.224        .11938E-06** at limit **
  15  norm          5.2323        1.9414        .47434E-08    .19723E-05
  16  norm          .10000E-03    61.275       -.75418E-06** at limit **
  17  Normalizat    1.0358        .22758       -.17404E-05    .86795E-05
  18  Prefactor     .94451        .89465E-01    .49768E-06   -.45170E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.685998
  norm       = 0.0001
  norm       = 0.0001
  norm       = 11.6612
  norm       = 6.21272
  norm       = 0.524104
  Prefactor  = 0.0001
  Prefactor  = 6.32648
  Prefactor  = 27.6322
  Prefactor  = 12.6841
  Prefactor  = 16.2388
  Prefactor  = 0.0001
  norm       = 2.59503
  Prefactor  = 0.0001
  norm       = 5.23234
  norm       = 0.0001
  Normalizat = 1.03576
  Prefactor  = 0.944509
 **********
 **   18 **HESSE 
 **********

 FCN=   8306.181     FROM HESSE     STATUS=OK           248 CALLS     1932 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68600        .25401        .26957E-04   -1.5542    
   2  norm          .10000E-03    .90914        .84071E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.5414        .14180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.661        5.9271        .11731E-03   -1.5025    
   5  norm          6.2127        4.3441        .15339E-03   -1.5209    
   6  norm          .52410        .17348        .20694E-04   -1.5563    
   7  Prefactor     .10000E-03    15.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.3265        4.1623        .14464E-03   -1.5205    
   9  Prefactor     27.632        24.091        .76212E-04   -1.4656    
  10  Prefactor     12.684        48.830        .11240E-03   -1.4996    
  11  Prefactor     16.239        37.568        .99141E-04   -1.4902    
  12  Prefactor     .10000E-03    .95832        .86950E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.5950        3.4736        .93761E-03   -1.5386    
  14  Prefactor     .10000E-03    19.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.2323        1.9426        .75392E-04   -1.5250    
  16  norm          .10000E-03    61.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0358        .25477        .39810E-03   -.91842    
  18  Prefactor     .94451        .10157        .16489E-03   -.94603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59523e-12
Minuit parameter uncertainties:
  1  0.254015
  2  5.89593e-07
  3  1.84917e-07
  4  5.9274
  5  4.34436
  6  0.173483
  7  1.86627e-06
  8  4.16246
  9  24.0997
  10  48.9842
  11  37.6229
  12  5.25182e-07
  13  3.47389
  14  3.26467e-06
  15  1.94259
  16  2.1262e-06
  17  0.255069
  18  0.10159
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  6.326e+00  4.162e+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.445e-01  1.016e-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.036e+00  2.551e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.93
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 7.00e-08 +/- 4.60e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.47e-05

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

Saving results to:
/scratch/kocevski/554277/likelihoodResults_378000001_378259201_4FGL_J1534.8+0131_daily_bin535.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) = 8306.10824067
delta logL = 0.0729561570533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8306.10535254
delta logL = 0.0758442864444

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8306.105     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      307 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2527        5.1507        .74516E-03   -.96117E-05
   2  Index         2.1759        .60650        .96814E-02    .14045E-03
   3  Normalizat    1.0505        .24946        .39562E-03    .54598E-05
   4  Prefactor     .94101        .98906E-01    .16514E-03   -.79856E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.25273
  Index      = 2.17587
  Normalizat = 1.05048
  Prefactor  = 0.941007
 **********
 **   18 **HESSE 
 **********

 FCN=   8306.105     FROM HESSE     STATUS=OK            27 CALLS      334 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2527        5.0708        .29806E-04   -1.5169    
   2  Index         2.1759        .59693        .19363E-02   -.60022    
   3  Normalizat    1.0505        .24949        .15825E-04   -.91358    
   4  Prefactor     .94101        .98939E-01    .66058E-05   -.94723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93644e-12
Minuit parameter uncertainties:
  1  5.07107
  2  0.599031
  3  0.249767
  4  0.098958
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554277': 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) = 8306.10534616
delta logL = 0.0758506614675

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  7.253e+00  5.071e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.176e+00  5.990e-01  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:  9.410e-01  9.896e-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.050e+00  2.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.07
Ra Dec: 233.725 1.522
Photon Index (Free Index): 2.18 +/- 0.60
Photon Flux (Free Index): 5.81e-08 +/- 4.92e-08
Energy Flux (Free Index): 2.73e-05 +/- 2.49e-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/554277/cmap_HighResolution_378000001_378259201_4FGL_J1534.8+0131_daily_bin535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', comment='SUCCESS', photon_flux='7.00e-08', energy_flux2='2.73e-05', photon_flux_error='4.60e-08', dlogl='7.59e-02', energy_flux='2.23e-05', photon_flux2='5.81e-08', job_status='DONE', time_completed='2021-09-12 04:38:44.962878', photon_index_error2='0.60', photon_index2='2.18', ts='3.93', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.69e-07', energy_flux_error2='2.49e-05', EG='1.04', time_epoch_completed='1631446724.96', return_code='0', job_id='554277', GAL2='0.94', EG2='1.05', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='4.92e-08', ts2='4.07', photon_index='2.42' WHERE bin_id='535' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:38:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 554277: <4FGL_J1534.8+0131_daily_bin535> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin535> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 04:25:12 2021
Job was executed on host(s) <bullet0134>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:25:15 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:25:15 2021
Terminated at Sun Sep 12 04:38:45 2021
Results reported at Sun Sep 12 04:38:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin535 233.725 1.5224 378000001 378259201 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 :                                   604.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            813 sec.

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

