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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin646
RA = 233.725, Dec = 1.5224
tmin = 406771201, tmax = 407030401
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='552606', job_status='RUN', time_executed='2021-09-12 04:23:36.587749', time_epoch_executed='1631445816.59' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='646'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552606

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552606/ft1_4FGL_J1534.8+0131_daily_bin646.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552606/ft2_4FGL_J1534.8+0131_daily_bin646.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552606/ft1_4FGL_J1534.8+0131_daily_bin646.fits outfile=/scratch/kocevski/552606/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin646.fits ra=233.725 dec=1.5224 rad=12.0 tmin=406771201.0 tmax=407030401.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.49
user 3.27
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/552606/ft2_4FGL_J1534.8+0131_daily_bin646.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/552606/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin646.fits evtable="EVENTS" outfile="/scratch/kocevski/552606/ft1_filtered_4FGL_J1534.8+0131_daily_bin646.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/552606/ft1_filtered_4FGL_J1534.8+0131_daily_bin646.fits" evtable="EVENTS" scfile=/scratch/kocevski/552606/ft2_4FGL_J1534.8+0131_daily_bin646.fits sctable="SC_DATA" outfile=/scratch/kocevski/552606/ltcube_406771201_407030401_4FGL_J1534.8+0131_daily_bin646.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/552606/ft2_4FGL_J1534.8+0131_daily_bin646.fits
.....................!
real 13.93
user 13.49
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552606/ft1_filtered_4FGL_J1534.8+0131_daily_bin646.fits evtable="EVENTS" scfile=/scratch/kocevski/552606/ft2_4FGL_J1534.8+0131_daily_bin646.fits sctable="SC_DATA" expcube=/scratch/kocevski/552606/ltcube_406771201_407030401_4FGL_J1534.8+0131_daily_bin646.fits outfile=/scratch/kocevski/552606/expmap_406771201_407030401_4FGL_J1534.8+0131_daily_bin646.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/552606/ltcube_406771201_407030401_4FGL_J1534.8+0131_daily_bin646.fits
.....................!
real 190.68
user 185.56
sys 4.50

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/552606/ft1_filtered_4FGL_J1534.8+0131_daily_bin646.fits scfile=/scratch/kocevski/552606/ft2_4FGL_J1534.8+0131_daily_bin646.fits outfile=/scratch/kocevski/552606/cmap_406771201_407030401_4FGL_J1534.8+0131_daily_bin646.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.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14911       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      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.8688       1.0000         .10000E-03   10000.    
     6 'norm      '    .80885       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3662       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.814       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.6225       1.0000         .10000E-03   10000.    
    13 'norm      '    .17760E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    55.093       1.0000         .10000E-03   10000.    
    15 'norm      '    2.3301       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1452       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0893       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=   10547.54     FROM MIGRAD    STATUS=CONVERGED    361 CALLS     1733 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14911        .17211       -.69064E-07   -.25831E-02
   2  norm          .10000E-03    1.2657       -.45189E-07** at limit **
   3  norm          .10000E-03    3.1366        .56021E-07** at limit **
   4  norm          .10000E-03    2.1908       -.61539E-07** at limit **
   5  norm          5.8688        4.5002       -.58410E-06   -.42380E-03
   6  norm          .80887        .17053       -.17245E-07    .42010E-03
   7  Prefactor     .10000E-03    33.477        .21894E-04** at limit **
   8  Prefactor     3.3663        4.1996        .10562E-05   -.66776E-03
   9  Prefactor     .10000E-03    9.4185        .50024E-07** at limit **
  10  Prefactor     .10000E-03    29.065       -.12064E-04** at limit **
  11  Prefactor     12.802        48.015       -.28228E-04    .39145E-05
  12  Prefactor     3.6191        5.0047       -.18478E-05   -.88929E-03
  13  norm          .10000E-03    2.1369        .68626E-06** at limit **
  14  Prefactor     55.072        65.967       -.24980E-04   -.19476E-04
  15  norm          2.3302        1.4153        .19551E-06    .20091E-03
  16  norm          .10000E-03    44.276       -.11755E-04** at limit **
  17  Normalizat    1.1453        .23193        .21481E-05   -.85978E-04
  18  Prefactor     1.0893        .87480E-01    .82934E-06   -.18592E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.149111
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.86884
  norm       = 0.808874
  Prefactor  = 0.0001
  Prefactor  = 3.3663
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8018
  Prefactor  = 3.61908
  norm       = 0.000100001
  Prefactor  = 55.0722
  norm       = 2.33016
  norm       = 0.0001
  Normalizat = 1.14527
  Prefactor  = 1.08929
 **********
 **   18 **HESSE 
 **********

 FCN=   10547.54     FROM HESSE     STATUS=OK           246 CALLS     1979 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14911        .14942        .44142E-03   -1.5631    
   2  norm          .10000E-03    1.2932        .22516E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.1522        .17763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.2251        .14839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.8688        4.4993        .16577E-03   -1.5223    
   6  norm          .80887        .17025        .18787E-04   -1.5528    
   7  Prefactor     .10000E-03    33.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.3663        4.1713        .22056E-03   -1.5341    
   9  Prefactor     .10000E-03    9.4232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    29.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.802        48.071        .11190E-03   -1.4992    
  12  Prefactor     3.6191        4.9791        .21228E-03   -1.5327    
  13  norm          .10000E-03    4.9425        .28675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     55.072        65.983        .54042E-04   -1.4222    
  15  norm          2.3302        1.4181        .92531E-04   -1.5403    
  16  norm          .10000E-03    44.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1453        .25955        .42832E-03   -.88311    
  18  Prefactor     1.0893        .99215E-01    .16960E-03   -.89810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07296e-09
Minuit parameter uncertainties:
  1  0.149419
  2  6.21722e-06
  3  3.75217e-06
  4  7.10099e-06
  5  4.49953
  6  0.17025
  7  8.14752e-05
  8  4.1717
  9  6.50551e-06
  10  3.75854e-05
  11  48.2175
  12  4.97964
  13  0.000150981
  14  66.071
  15  1.41816
  16  7.17737e-06
  17  0.259836
  18  0.0992314
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  3.366e+00  4.172e+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:  1.089e+00  9.923e-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.145e+00  2.598e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/552606/likelihoodResults_406771201_407030401_4FGL_J1534.8+0131_daily_bin646.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) = 10547.4919293
delta logL = 0.0530187881322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10547.490727
delta logL = 0.0542210885469

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3638       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0849       1.0000          .0000       10.000    
     3 'Normalizat'    1.1583       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0871       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=   10547.49     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      286 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3600        4.4850        .11032E-02   -.22197E-04
   2  Index         2.0839        .98204        .16162E-01   -.17392E-03
   3  Normalizat    1.1584        .25414        .42621E-03   -.35049E-04
   4  Prefactor     1.0871        .98234E-01    .16975E-03   -.43265E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.35997
  Index      = 2.08386
  Normalizat = 1.1584
  Prefactor  = 1.08711
 **********
 **   18 **HESSE 
 **********

 FCN=   10547.49     FROM HESSE     STATUS=OK            27 CALLS      313 TOTAL
                     EDM=   .85E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3600        4.5717        .44129E-04   -1.5341    
   2  Index         2.0839        1.0013        .32324E-02   -.62270    
   3  Normalizat    1.1584        .25431        .17048E-04   -.87898    
   4  Prefactor     1.0871        .98295E-01    .67899E-05   -.89879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.53117e-12
Minuit parameter uncertainties:
  1  4.57215
  2  1.01177
  3  0.254586
  4  0.0983111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552606': 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) = 10547.4907264
delta logL = 0.0542217370712

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  3.360e+00  4.572e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.084e+00  1.012e+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.087e+00  9.831e-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.158e+00  2.546e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.06
Ra Dec: 233.725 1.522
Photon Index (Free Index): 2.08 +/- 1.01
Photon Flux (Free Index): 2.41e-08 +/- 5.04e-08
Energy Flux (Free Index): 1.37e-05 +/- 1.91e-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/552606/cmap_HighResolution_406771201_407030401_4FGL_J1534.8+0131_daily_bin646.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', energy_flux2='1.37e-05', dlogl='5.42e-02', photon_flux2='2.41e-08', job_status='DONE', time_completed='2021-09-12 04:34:56.171644', photon_index_error2='1.01', photon_index2='2.08', ts='0.96', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='1.91e-05', EG='1.15', time_epoch_completed='1631446496.17', return_code='0', job_id='552606', GAL2='1.09', EG2='1.16', return_code2='0', photon_flux_error2='5.04e-08', ts2='1.06', photon_index='2.42' WHERE bin_id='646' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:34:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 552606: <4FGL_J1534.8+0131_daily_bin646> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin646 233.725 1.5224 406771201 407030401 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 :                                   676.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            853 sec.

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

