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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin729
RA = 233.725, Dec = 1.5224
tmin = 428284801, tmax = 428544001
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='552723', job_status='RUN', time_executed='2021-09-12 04:22:55.878558', time_epoch_executed='1631445775.88' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552723

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552723/ft1_4FGL_J1534.8+0131_daily_bin729.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552723/ft2_4FGL_J1534.8+0131_daily_bin729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552723/ft1_4FGL_J1534.8+0131_daily_bin729.fits outfile=/scratch/kocevski/552723/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin729.fits ra=233.725 dec=1.5224 rad=12.0 tmin=428284801.0 tmax=428544001.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 6.18
user 5.86
sys 0.27

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552723/ft1_filtered_4FGL_J1534.8+0131_daily_bin729.fits evtable="EVENTS" scfile=/scratch/kocevski/552723/ft2_4FGL_J1534.8+0131_daily_bin729.fits sctable="SC_DATA" expcube=/scratch/kocevski/552723/ltcube_428284801_428544001_4FGL_J1534.8+0131_daily_bin729.fits outfile=/scratch/kocevski/552723/expmap_428284801_428544001_4FGL_J1534.8+0131_daily_bin729.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/552723/ltcube_428284801_428544001_4FGL_J1534.8+0131_daily_bin729.fits
.....................!
real 192.76
user 186.72
sys 5.23

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/552723/ft1_filtered_4FGL_J1534.8+0131_daily_bin729.fits scfile=/scratch/kocevski/552723/ft2_4FGL_J1534.8+0131_daily_bin729.fits outfile=/scratch/kocevski/552723/cmap_428284801_428544001_4FGL_J1534.8+0131_daily_bin729.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/552723/ft1_filtered_4FGL_J1534.8+0131_daily_bin729.fits scfile=/scratch/kocevski/552723/ft2_4FGL_J1534.8+0131_daily_bin729.fits outfile=/scratch/kocevski/552723/cmap_HighResolution_428284801_428544001_4FGL_J1534.8+0131_daily_bin729.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33796       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1194       1.0000         .10000E-03   10000.    
     3 'norm      '    8.3872       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.2121       1.0000         .10000E-03   10000.    
     6 'norm      '    .96978       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.6787       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.650       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.582       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.8947       1.0000         .10000E-03   10000.    
    13 'norm      '    1.5985       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.734       1.0000         .10000E-03   10000.    
    15 'norm      '    6.9038       1.0000         .10000E-03   10000.    
    16 'norm      '    .10693E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3268       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96492       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17160.35     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1257 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33794        .19379        .60997E-06   -.18695E-02
   2  norm          1.1194        1.7176       -.96096E-06    .24747E-03
   3  norm          8.3870        5.7957       -.17996E-04   -.29785E-03
   4  norm          .10000E-03    .87486        .65559E-06** at limit **
   5  norm          1.2123        2.8466       -.21902E-05    .27817E-03
   6  norm          .96976        .14039       -.23948E-07    .22827E-04
   7  Prefactor     .10000E-03    28.861       -.19253E-04** at limit **
   8  Prefactor     6.6782        3.1679        .14131E-06   -.19226E-03
   9  Prefactor     10.650        1.0022        .13542E-06   -.45071E-04
  10  Prefactor     19.585        1.2495        .21851E-05    .88862E-03
  11  Prefactor     .10000E-03    13.588        .60954E-07** at limit **
  12  Prefactor     3.8947        2.2816        .50174E-07   -.46782E-04
  13  norm          1.5978        2.1711        .12354E-05   -.19832E-03
  14  Prefactor     14.627        32.276       -.11306E-03    .59211E-04
  15  norm          6.9038        1.7850        .48024E-06    .39154E-03
  16  norm          .10000E-03    52.263        .25893E-04** at limit **
  17  Normalizat    1.3271        .19909        .61368E-05    .38591E-04
  18  Prefactor     .96481        .73439E-01    .12135E-06    .22502E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.337943
  norm       = 1.11935
  norm       = 8.38695
  norm       = 0.0001
  norm       = 1.21229
  norm       = 0.969764
  Prefactor  = 0.000100001
  Prefactor  = 6.67816
  Prefactor  = 10.6503
  Prefactor  = 19.5853
  Prefactor  = 0.0001
  Prefactor  = 3.89467
  norm       = 1.59782
  Prefactor  = 14.6265
  norm       = 6.90379
  norm       = 0.000100001
  Normalizat = 1.32707
  Prefactor  = 0.964815
 **********
 **   18 **HESSE 
 **********

 FCN=   17160.35     FROM HESSE     STATUS=OK           288 CALLS     1545 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33794        .20377        .94324E-02   -1.5592    
   2  norm          1.1194        1.7596        .11105E-01   -1.5496    
   3  norm          8.3870        5.8054        .34606E-02   -1.5129    
   4  norm          .10000E-03    .86749        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.2123        2.9145        .10269E-01   -1.5488    
   6  norm          .96976        .14042        .40638E-02   -1.5511    
   7  Prefactor     .10000E-03    28.631        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.6782        3.1660        .38818E-02   -1.5191    
   9  Prefactor     10.650        13.216        .30693E-02   -1.5055    
  10  Prefactor     19.585        23.656        .22628E-02   -1.4823    
  11  Prefactor     .10000E-03    13.554        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.8947        2.2890        .51112E-02   -1.5313    
  13  norm          1.5978        2.2115        .83846E-02   -1.5455    
  14  Prefactor     14.627        32.328        .26086E-02   -1.4943    
  15  norm          6.9038        1.7853        .38173E-02   -1.5182    
  16  norm          .10000E-03    52.181        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3271        .17399        .87458E-01   -.82762    
  18  Prefactor     .96481        .63935E-01    .45827E-01   -.93912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54069e-08
Minuit parameter uncertainties:
  1  0.203772
  2  1.75968
  3  5.80579
  4  5.51242e-07
  5  2.91479
  6  0.140418
  7  0.000266025
  8  3.16608
  9  13.2199
  10  23.6669
  11  9.56084e-05
  12  2.289
  13  2.21165
  14  32.3664
  15  1.78528
  16  0.000372469
  17  0.174068
  18  0.0639405
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  6.678e+00  3.166e+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.648e-01  6.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.327e+00  1.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.21
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 7.39e-08 +/- 3.50e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 1.12e-05

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) = 17160.1690926
delta logL = 0.182063051114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17160.1539285
delta logL = 0.197227215871

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4605       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7274       1.0000          .0000       10.000    
     3 'Normalizat'    1.3017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97023       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=   17160.15     FROM MIGRAD    STATUS=FAILED        90 CALLS      284 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4603        3.8789        .12689E-03    .25087E-04
   2  Index         2.7275        .56390        .77234E-02    .12876E-02
   3  Normalizat    1.3017        .19473        .39036E-03   -.93778E-04
   4  Prefactor     .97023        .73648E-01    .17139E-03   -.21098E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   17160.15     FROM SIMPLEX   STATUS=UNCHANGED     69 CALLS      353 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4603        3.8789        .46912E-04   -1.5241    
   2  Index         2.7275        .56390        .42185E-03   -.47181    
   3  Normalizat    1.3017        .19473        .26271E-03   -.83516    
   4  Prefactor     .97023        .73648E-01    .11752E-03   -.93729    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17160.15     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      381 TOTAL
                     EDM=   .68E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4603        3.5246        .50754E-05    .17920E-05
   2  Index         2.7275        .51203        .15447E-02    .24435E-05
   3  Normalizat    1.3017        .19433        .15614E-04    .11649E-06
   4  Prefactor     .97023        .73584E-01    .34279E-04    .53065E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.46032
  Index      = 2.7275
  Normalizat = 1.3017
  Prefactor  = 0.970225
 **********
 **   18 **HESSE 
 **********

 FCN=   17160.15     FROM HESSE     STATUS=OK            23 CALLS      404 TOTAL
                     EDM=   .12E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4603        3.4629        .10151E-05   -1.5241    
   2  Index         2.7275        .50284        .61787E-04   -.47181    
   3  Normalizat    1.3017        .19424        .15614E-04   -.83516    
   4  Prefactor     .97023        .73565E-01    .34279E-04   -.93729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20093e-15
Minuit parameter uncertainties:
  1  3.46307
  2  0.503917
  3  0.194347
  4  0.0735726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552723': 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) = 17160.1539285
delta logL = 0.197227241759

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  5.460e+00  3.463e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.727e+00  5.039e-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.702e-01  7.357e-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.302e+00  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.65
Ra Dec: 233.725 1.522
Photon Index (Free Index): 2.73 +/- 0.50
Photon Flux (Free Index): 9.44e-08 +/- 5.00e-08
Energy Flux (Free Index): 2.22e-05 +/- 9.87e-06

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/552723/cmap_HighResolution_428284801_428544001_4FGL_J1534.8+0131_daily_bin729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.39e-08', energy_flux2='2.22e-05', photon_flux_error='3.50e-08', dlogl='1.97e-01', energy_flux='2.36e-05', photon_flux2='9.44e-08', job_status='DONE', time_completed='2021-09-12 04:36:12.358657', photon_index_error2='0.50', photon_index2='2.73', ts='8.21', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='9.87e-06', EG='1.33', time_epoch_completed='1631446572.36', return_code='0', job_id='552723', GAL2='0.97', EG2='1.30', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='5.00e-08', ts2='8.65', photon_index='2.42' WHERE bin_id='729' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:36:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 552723: <4FGL_J1534.8+0131_daily_bin729> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin729 233.725 1.5224 428284801 428544001 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 :                                   791.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            919 sec.

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

