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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin943
RA = 233.725, Dec = 1.5224
tmin = 483753601, tmax = 484012801
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='554610', job_status='RUN', time_executed='2021-09-12 04:26:42.882733', time_epoch_executed='1631446002.88' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554610

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554610/ft1_4FGL_J1534.8+0131_daily_bin943.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554610/ft2_4FGL_J1534.8+0131_daily_bin943.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554610/ft1_4FGL_J1534.8+0131_daily_bin943.fits outfile=/scratch/kocevski/554610/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin943.fits ra=233.725 dec=1.5224 rad=12.0 tmin=483753601.0 tmax=484012801.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 5.68
user 5.38
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554610/ft1_filtered_4FGL_J1534.8+0131_daily_bin943.fits evtable="EVENTS" scfile=/scratch/kocevski/554610/ft2_4FGL_J1534.8+0131_daily_bin943.fits sctable="SC_DATA" expcube=/scratch/kocevski/554610/ltcube_483753601_484012801_4FGL_J1534.8+0131_daily_bin943.fits outfile=/scratch/kocevski/554610/expmap_483753601_484012801_4FGL_J1534.8+0131_daily_bin943.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/554610/ltcube_483753601_484012801_4FGL_J1534.8+0131_daily_bin943.fits
.....................!
real 194.33
user 188.45
sys 5.01

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/554610/ft1_filtered_4FGL_J1534.8+0131_daily_bin943.fits scfile=/scratch/kocevski/554610/ft2_4FGL_J1534.8+0131_daily_bin943.fits outfile=/scratch/kocevski/554610/cmap_483753601_484012801_4FGL_J1534.8+0131_daily_bin943.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/554610/ft1_filtered_4FGL_J1534.8+0131_daily_bin943.fits scfile=/scratch/kocevski/554610/ft2_4FGL_J1534.8+0131_daily_bin943.fits outfile=/scratch/kocevski/554610/cmap_HighResolution_483753601_484012801_4FGL_J1534.8+0131_daily_bin943.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.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .94074       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.4107       1.0000         .10000E-03   10000.    
     4 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .53951       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2851       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.294       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4936       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.7585       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0353       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0995       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=   6500.757     FROM MIGRAD    STATUS=CONVERGED    355 CALLS     1699 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .94076        .32188       -.70978E-09   -.33151E-04
   2  norm          .10000E-03    .71598       -.23970E-08** at limit **
   3  norm          6.4108        9.8273       -.16860E-06   -.83309E-04
   4  norm          .10000E-03    4.5546        .61486E-07** at limit **
   5  norm          .10000E-03    1.5095        .37587E-08** at limit **
   6  norm          .53944        .20096        .17284E-08   -.27552E-03
   7  Prefactor     .10000E-03    25.968        .21272E-05** at limit **
   8  Prefactor     5.2860        6.0186        .34553E-05   -.26437E-03
   9  Prefactor     .10000E-03    11.917        .36433E-06** at limit **
  10  Prefactor     .10000E-03    21.638       -.15426E-05** at limit **
  11  Prefactor     33.294        40.224       -.33650E-06    .23224E-06
  12  Prefactor     4.4936        5.0098       -.30356E-05   -.45540E-03
  13  norm          .10000E-03    1.4897        .70475E-07** at limit **
  14  Prefactor     .10000E-03    25.746        .40242E-06** at limit **
  15  norm          1.7586        1.3243        .16316E-07    .62936E-04
  16  norm          .10000E-03    82.453       -.17422E-05** at limit **
  17  Normalizat    1.0352        .27909       -.25650E-06   -.18084E-04
  18  Prefactor     1.0995        .10984        .11446E-06   -.51500E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.940755
  norm       = 0.0001
  norm       = 6.41083
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.539438
  Prefactor  = 0.0001
  Prefactor  = 5.28596
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.2941
  Prefactor  = 4.49364
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.75857
  norm       = 0.0001
  Normalizat = 1.03522
  Prefactor  = 1.0995
 **********
 **   18 **HESSE 
 **********

 FCN=   6500.757     FROM HESSE     STATUS=OK           242 CALLS     1941 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .94076        .32242        .25680E-04   -1.5514    
   2  norm          .10000E-03    .72050        .66610E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.4108        9.8285        .15852E-03   -1.5202    
   4  norm          .10000E-03    4.5939        .16795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.5129        .96738E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .53944        .20006        .21309E-04   -1.5561    
   7  Prefactor     .10000E-03    25.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.2860        5.8451        .17483E-03   -1.5248    
   9  Prefactor     .10000E-03    11.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.294        40.241        .69446E-04   -1.4553    
  12  Prefactor     4.4936        5.1899        .18741E-03   -1.5284    
  13  norm          .10000E-03    1.4954        .96104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.7586        1.3271        .78523E-04   -1.5443    
  16  norm          .10000E-03    82.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0352        .31231        .43094E-03   -.91860    
  18  Prefactor     1.0995        .12366        .16768E-03   -.89483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69722e-10
Minuit parameter uncertainties:
  1  0.322416
  2  4.10252e-07
  3  9.83093
  4  2.38169e-06
  5  9.19882e-07
  6  0.200058
  7  1.5063e-05
  8  5.84576
  9  8.33848e-06
  10  4.99994e-07
  11  40.274
  12  5.1904
  13  5.6589e-06
  14  3.06143e-06
  15  1.32716
  16  2.33098e-06
  17  0.312865
  18  0.123692
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  5.286e+00  5.846e+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.099e+00  1.237e-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.035e+00  3.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.08
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 5.85e-08 +/- 6.46e-08
Energy Flux (Fixed Index): 1.87e-05 +/- 2.06e-05

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

Saving results to:
/scratch/kocevski/554610/likelihoodResults_483753601_484012801_4FGL_J1534.8+0131_daily_bin943.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) = 6500.65617536
delta logL = 0.100819595991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6500.65584725
delta logL = 0.101147705303

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8014       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0150       1.0000          .0000       10.000    
     3 'Normalizat'    1.0558       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0934       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=   6500.656     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      306 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8078        7.1719        .76925E-03   -.14469E-04
   2  Index         2.0160        .76343        .10286E-01    .72757E-05
   3  Normalizat    1.0558        .30808        .42720E-03    .32094E-04
   4  Prefactor     1.0933        .12349        .16806E-03   -.27133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.80781
  Index      = 2.01596
  Normalizat = 1.0558
  Prefactor  = 1.09335
 **********
 **   18 **HESSE 
 **********

 FCN=   6500.656     FROM HESSE     STATUS=OK            27 CALLS      333 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8078        7.1366        .30770E-04   -1.5186    
   2  Index         2.0160        .75969        .41145E-03   -.63952    
   3  Normalizat    1.0558        .30815        .17088E-04   -.91184    
   4  Prefactor     1.0933        .12351        .33612E-04   -.89679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82817e-10
Minuit parameter uncertainties:
  1  7.1375
  2  0.764305
  3  0.308677
  4  0.123546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554610': 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) = 6500.65584596
delta logL = 0.101148990448

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  6.808e+00  7.138e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.016e+00  7.643e-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:  1.093e+00  1.235e-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.056e+00  3.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.28
Ra Dec: 233.725 1.522
Photon Index (Free Index): 2.02 +/- 0.76
Photon Flux (Free Index): 4.52e-08 +/- 5.89e-08
Energy Flux (Free Index): 3.00e-05 +/- 4.48e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/554610/cmap_HighResolution_483753601_484012801_4FGL_J1534.8+0131_daily_bin943.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.55e-02', comment='SUCCESS', photon_flux='5.85e-08', energy_flux2='3.00e-05', photon_flux_error='6.46e-08', dlogl='1.01e-01', energy_flux='1.87e-05', photon_flux2='4.52e-08', job_status='DONE', time_completed='2021-09-12 04:35:55.153328', photon_index_error2='0.76', photon_index2='2.02', ts='1.08', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='2.01e-07', energy_flux_error2='4.48e-05', EG='1.04', time_epoch_completed='1631446555.15', return_code='0', job_id='554610', GAL2='1.09', EG2='1.06', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='5.89e-08', ts2='1.28', photon_index='2.42' WHERE bin_id='943' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:35:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 554610: <4FGL_J1534.8+0131_daily_bin943> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin943 233.725 1.5224 483753601 484012801 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 :                                   545.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   564 sec.
    Turnaround time :                            625 sec.

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

