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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin498
RA = 233.725, Dec = 1.5224
tmin = 368409601, tmax = 368668801
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='552333', job_status='RUN', time_executed='2021-09-12 04:24:13.600886', time_epoch_executed='1631445853.6' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='498'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552333

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552333/ft1_4FGL_J1534.8+0131_daily_bin498.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552333/ft2_4FGL_J1534.8+0131_daily_bin498.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552333/ft1_4FGL_J1534.8+0131_daily_bin498.fits outfile=/scratch/kocevski/552333/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin498.fits ra=233.725 dec=1.5224 rad=12.0 tmin=368409601.0 tmax=368668801.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.29
user 3.07
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/552333/ft1_filtered_4FGL_J1534.8+0131_daily_bin498.fits" evtable="EVENTS" scfile=/scratch/kocevski/552333/ft2_4FGL_J1534.8+0131_daily_bin498.fits sctable="SC_DATA" outfile=/scratch/kocevski/552333/ltcube_368409601_368668801_4FGL_J1534.8+0131_daily_bin498.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/552333/ft2_4FGL_J1534.8+0131_daily_bin498.fits
.....................!
real 15.34
user 14.86
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552333/ft1_filtered_4FGL_J1534.8+0131_daily_bin498.fits evtable="EVENTS" scfile=/scratch/kocevski/552333/ft2_4FGL_J1534.8+0131_daily_bin498.fits sctable="SC_DATA" expcube=/scratch/kocevski/552333/ltcube_368409601_368668801_4FGL_J1534.8+0131_daily_bin498.fits outfile=/scratch/kocevski/552333/expmap_368409601_368668801_4FGL_J1534.8+0131_daily_bin498.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/552333/ltcube_368409601_368668801_4FGL_J1534.8+0131_daily_bin498.fits
.....................!
real 191.79
user 186.03
sys 5.39

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/552333/ft1_filtered_4FGL_J1534.8+0131_daily_bin498.fits scfile=/scratch/kocevski/552333/ft2_4FGL_J1534.8+0131_daily_bin498.fits outfile=/scratch/kocevski/552333/cmap_368409601_368668801_4FGL_J1534.8+0131_daily_bin498.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/552333/ft1_filtered_4FGL_J1534.8+0131_daily_bin498.fits scfile=/scratch/kocevski/552333/ft2_4FGL_J1534.8+0131_daily_bin498.fits outfile=/scratch/kocevski/552333/cmap_HighResolution_368409601_368668801_4FGL_J1534.8+0131_daily_bin498.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21625       1.0000         .10000E-03   10000.    
     2 'norm      '    2.5925       1.0000         .10000E-03   10000.    
     3 'norm      '    2.8815       1.0000         .10000E-03   10000.    
     4 'norm      '    3.7022       1.0000         .10000E-03   10000.    
     5 'norm      '    2.3438       1.0000         .10000E-03   10000.    
     6 'norm      '    1.0137       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2051       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.387       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.841       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0424       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3261       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0125       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=   8111.327     FROM MIGRAD    STATUS=CONVERGED    355 CALLS     1726 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21621        .20603       -.34357E-07   -.15992E-02
   2  norm          2.5922        2.6431       -.20285E-07   -.59124E-03
   3  norm          2.8818        6.3113       -.98991E-06   -.31029E-03
   4  norm          3.7021        4.6556       -.62962E-06   -.46359E-03
   5  norm          2.3438        3.2862       -.10657E-05   -.56253E-03
   6  norm          1.0137        .22696        .91267E-08    .11327E-03
   7  Prefactor     .10000E-03    68.432       -.26983E-04** at limit **
   8  Prefactor     4.2052        3.3833       -.30298E-06   -.12345E-03
   9  Prefactor     21.387        23.065       -.35606E-06    .79813E-05
  10  Prefactor     .10000E-03    10.371        .58684E-07** at limit **
  11  Prefactor     18.823        34.486       -.24467E-04   -.13720E-05
  12  Prefactor     .10000E-03    2.6239       -.43790E-07** at limit **
  13  norm          .10000E-03    2.3858        .33051E-08** at limit **
  14  Prefactor     .10000E-03    19.625       -.27683E-06** at limit **
  15  norm          2.0424        1.3301       -.97065E-09    .22741E-03
  16  norm          .10000E-03    64.835        .25989E-04** at limit **
  17  Normalizat    1.3262        .24443        .22958E-06    .96487E-04
  18  Prefactor     1.0125        .95031E-01    .70612E-06    .54134E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.21621
  norm       = 2.5922
  norm       = 2.88177
  norm       = 3.70215
  norm       = 2.34381
  norm       = 1.01372
  Prefactor  = 0.0001
  Prefactor  = 4.20516
  Prefactor  = 21.3866
  Prefactor  = 0.0001
  Prefactor  = 18.8231
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.04241
  norm       = 0.0001
  Normalizat = 1.32622
  Prefactor  = 1.01252
 **********
 **   18 **HESSE 
 **********

 FCN=   8111.327     FROM HESSE     STATUS=OK           248 CALLS     1974 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21621        .19077        .38275E-03   -1.5615    
   2  norm          2.5922        2.6459        .13796E-03   -1.5386    
   3  norm          2.8818        6.2983        .23943E-03   -1.5368    
   4  norm          3.7021        4.6598        .20945E-03   -1.5323    
   5  norm          2.3438        3.2771        .18720E-03   -1.5402    
   6  norm          1.0137        .22677        .19425E-04   -1.5507    
   7  Prefactor     .10000E-03    68.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.2052        3.3820        .14384E-03   -1.5298    
   9  Prefactor     21.387        23.063        .86610E-04   -1.4783    
  10  Prefactor     .10000E-03    10.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.823        34.411        .92273E-04   -1.4840    
  12  Prefactor     .10000E-03    2.6579        .14235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.4181        .13575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0424        1.3377        .81738E-04   -1.5422    
  16  norm          .10000E-03    64.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3262        .27802        .38666E-03   -.82787    
  18  Prefactor     1.0125        .10853        .17426E-03   -.92313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14501e-10
Minuit parameter uncertainties:
  1  0.190767
  2  2.64607
  3  6.29972
  4  4.66025
  5  3.27737
  6  0.226772
  7  8.82288e-05
  8  3.38217
  9  23.0723
  10  3.9074e-06
  11  34.4477
  12  3.71134e-06
  13  3.01935e-06
  14  4.1554e-06
  15  1.33775
  16  1.71543e-05
  17  0.278339
  18  0.108552
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  4.205e+00  3.382e+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.013e+00  1.086e-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.326e+00  2.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.18
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 4.65e-08 +/- 3.74e-08
Energy Flux (Fixed Index): 1.48e-05 +/- 1.19e-05

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

Saving results to:
/scratch/kocevski/552333/likelihoodResults_368409601_368668801_4FGL_J1534.8+0131_daily_bin498.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) = 8110.85952176
delta logL = 0.467417324183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8110.81426635
delta logL = 0.512672728067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3545       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8283       1.0000          .0000       10.000    
     3 'Normalizat'    1.3457       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0081       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=   8110.814     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3547        3.5289        .86358E-06   -.21264E-02
   2  Index         1.8283        .39419       -.48237E-05   -.34967E-03
   3  Normalizat    1.3457        .23436        .23090E-06    .76764E-04
   4  Prefactor     1.0081        .94137E-01   -.78198E-07    .13668E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.35474
  Index      = 1.8283
  Normalizat = 1.34573
  Prefactor  = 1.00806
 **********
 **   18 **HESSE 
 **********

 FCN=   8110.814     FROM HESSE     STATUS=OK            29 CALLS      234 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3547        4.1787        .15725E-03   -1.5245    
   2  Index         1.8283        .52072        .92611E-02   -.68716    
   3  Normalizat    1.3457        .26588        .38426E-03   -.82211    
   4  Prefactor     1.0081        .10708        .17456E-03   -.92461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26627e-09
Minuit parameter uncertainties:
  1  4.17894
  2  0.522312
  3  0.266151
  4  0.107101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552333': 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) = 8110.81426635
delta logL = 0.512672732572

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  5.355e+00  4.179e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  1.828e+00  5.223e-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.008e+00  1.071e-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.346e+00  2.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.20
Ra Dec: 233.725 1.522
Photon Index (Free Index): 1.83 +/- 0.52
Photon Flux (Free Index): 2.94e-08 +/- 2.82e-08
Energy Flux (Free Index): 3.23e-05 +/- 4.01e-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/552333/cmap_HighResolution_368409601_368668801_4FGL_J1534.8+0131_daily_bin498.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', comment='SUCCESS', photon_flux='4.65e-08', energy_flux2='3.23e-05', photon_flux_error='3.74e-08', dlogl='5.13e-01', energy_flux='1.48e-05', photon_flux2='2.94e-08', job_status='DONE', time_completed='2021-09-12 04:34:15.908208', photon_index_error2='0.52', photon_index2='1.83', ts='3.18', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='4.01e-05', EG='1.33', time_epoch_completed='1631446455.91', return_code='0', job_id='552333', GAL2='1.01', EG2='1.35', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='2.82e-08', ts2='4.20', photon_index='2.42' WHERE bin_id='498' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:34:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 552333: <4FGL_J1534.8+0131_daily_bin498> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin498 233.725 1.5224 368409601 368668801 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 :                                   599.27 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            830 sec.

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

