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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin479
RA = 233.725, Dec = 1.5224
tmin = 363484801, tmax = 363744001
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='552285', job_status='RUN', time_executed='2021-09-12 04:23:32.018864', time_epoch_executed='1631445812.02' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='479'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552285

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552285/ft1_4FGL_J1534.8+0131_daily_bin479.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552285/ft2_4FGL_J1534.8+0131_daily_bin479.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552285/ft1_4FGL_J1534.8+0131_daily_bin479.fits outfile=/scratch/kocevski/552285/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin479.fits ra=233.725 dec=1.5224 rad=12.0 tmin=363484801.0 tmax=363744001.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.72
user 3.49
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/552285/ft2_4FGL_J1534.8+0131_daily_bin479.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/552285/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin479.fits evtable="EVENTS" outfile="/scratch/kocevski/552285/ft1_filtered_4FGL_J1534.8+0131_daily_bin479.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.59
user 0.35
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552285/ft1_filtered_4FGL_J1534.8+0131_daily_bin479.fits evtable="EVENTS" scfile=/scratch/kocevski/552285/ft2_4FGL_J1534.8+0131_daily_bin479.fits sctable="SC_DATA" expcube=/scratch/kocevski/552285/ltcube_363484801_363744001_4FGL_J1534.8+0131_daily_bin479.fits outfile=/scratch/kocevski/552285/expmap_363484801_363744001_4FGL_J1534.8+0131_daily_bin479.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/552285/ltcube_363484801_363744001_4FGL_J1534.8+0131_daily_bin479.fits
.....................!
real 192.96
user 187.10
sys 5.09

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/552285/ft1_filtered_4FGL_J1534.8+0131_daily_bin479.fits scfile=/scratch/kocevski/552285/ft2_4FGL_J1534.8+0131_daily_bin479.fits outfile=/scratch/kocevski/552285/cmap_363484801_363744001_4FGL_J1534.8+0131_daily_bin479.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.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    11.246       1.0000         .10000E-03   10000.    
     3 'norm      '    .80613E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .33653       1.0000         .10000E-03   10000.    
     7 'Prefactor '    90.514       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6263       1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.107       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15320E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13854E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7998       1.0000         .10000E-03   10000.    
    13 'norm      '    .19767E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .44517E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.8052       1.0000         .10000E-03   10000.    
    16 'norm      '    .17739E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .46784       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2109       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=   7629.573     FROM MIGRAD    STATUS=CONVERGED    374 CALLS     1770 TOTAL
                     EDM=   .83E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .71054E-01   -.16949E-06** at limit **
   2  norm          11.244        3.4663       -.18297E-06   -.14736E-03
   3  norm          .10000E-03    4.4568       -.34461E-06** at limit **
   4  norm          .10000E-03    2.1964       -.19917E-06** at limit **
   5  norm          .10000E-03    1.6751        .29119E-06** at limit **
   6  norm          .33660        .15435       -.27103E-07   -.68935E-03
   7  Prefactor     90.634        60.632       -.96097E-06    .22370E-04
   8  Prefactor     1.6247        3.1330        .36080E-06   -.94336E-04
   9  Prefactor     37.126        32.739       -.84882E-06   -.54175E-04
  10  Prefactor     .10000E-03    11.480       -.30714E-07** at limit **
  11  Prefactor     .10000E-03    12.980       -.54109E-07** at limit **
  12  Prefactor     2.8145        4.5578       -.11658E-06   -.19208E-03
  13  norm          .10000E-03    2.8205        .34043E-06** at limit **
  14  Prefactor     .10000E-03    112.14       -.19644E-05** at limit **
  15  norm          5.8061        2.2371       -.10800E-06   -.10542E-03
  16  norm          .10000E-03    49.201       -.15194E-07** at limit **
  17  Normalizat    .46762        .27107        .95138E-05    .49156E-04
  18  Prefactor     1.2109        .10951       -.22793E-05    .61666E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 11.2441
  norm       = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.3366
  Prefactor  = 90.6343
  Prefactor  = 1.62473
  Prefactor  = 37.1255
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.81455
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.80607
  norm       = 0.0001
  Normalizat = 0.467616
  Prefactor  = 1.21092
 **********
 **   18 **HESSE 
 **********

 FCN=   7629.573     FROM HESSE     STATUS=OK           248 CALLS     2018 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .87457E-01    .45212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.244        3.4659        .84585E-04   -1.5037    
   3  norm          .10000E-03    16.391        .35762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.2066        .12638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.6781        .11030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .33660        .15445        .22461E-04   -1.5592    
   7  Prefactor     90.634        60.464        .21118E-03   -1.3801    
   8  Prefactor     1.6247        3.0717        .20464E-03   -1.5453    
   9  Prefactor     37.126        32.383        .65793E-04   -1.4489    
  10  Prefactor     .10000E-03    11.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.8145        4.5010        .21810E-03   -1.5372    
  13  norm          .10000E-03    5.5938        .27567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    112.87        .21214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.8061        2.2403        .78911E-04   -1.5226    
  16  norm          .10000E-03    49.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .46762        .27482        .57512E-03   -1.1394    
  18  Prefactor     1.2109        .11067        .15412E-03   -.85996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05217e-10
Minuit parameter uncertainties:
  1  1.18327e-07
  2  3.46592
  3  0.000381227
  4  7.13543e-07
  5  3.34258e-07
  6  0.154448
  7  60.5052
  8  3.07202
  9  32.3984
  10  4.45853e-06
  11  2.47156e-06
  12  4.5015
  13  0.000105553
  14  0.000302395
  15  2.24036
  16  1.99845e-05
  17  0.275616
  18  0.110691
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.625e+00  3.072e+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.211e+00  1.107e-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:  4.676e-01  2.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 233.725 1.522
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/552285/likelihoodResults_363484801_363744001_4FGL_J1534.8+0131_daily_bin479.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) = 7629.55158103
delta logL = 0.0211878333366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7629.54632025
delta logL = 0.0264486157002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3122       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8188       1.0000          .0000       10.000    
     3 'Normalizat'    .45872       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2127       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.

 FCN=   7629.546     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      224 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3114        33.690        .96197E-02    .83952E-03
   2  Index         2.8188        2.5273        .36779        .18598E-04
   3  Normalizat    .45877        .39155E-01    .13090        .60168E-04
   4  Prefactor     1.2127        .16139E-01    .34336E-01   -.14361E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.31142
  Index      = 2.81883
  Normalizat = 0.458772
  Prefactor  = 1.21273
 **********
 **   18 **HESSE 
 **********

 FCN=   7629.546     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3114        3.4246        .16835E-03   -1.5479    
   2  Index         2.8188        1.9879        .86421E-02   -.45141    
   3  Normalizat    .45877        .26670        .58042E-03   -1.1437    
   4  Prefactor     1.2127        .11056        .15402E-03   -.85940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4058e-09
Minuit parameter uncertainties:
  1  3.42515
  2  2.05905
  3  0.267439
  4  0.110583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552285': 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) = 7629.54632019
delta logL = 0.0264486772194

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.311e+00  3.425e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.819e+00  2.059e+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.213e+00  1.106e-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:  4.588e-01  2.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
Ra Dec: 233.725 1.522

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/552285/cmap_HighResolution_363484801_363744001_4FGL_J1534.8+0131_daily_bin479.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.99e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-09-12 04:33:16.930939', job_id='552285', GAL2='1.21', fit_tolerance='1e-08', EG2='0.46', EG='0.47', time_epoch_completed='1631446396.93', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='2.64e-02', ts2='0.46', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='479' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:33:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 552285: <4FGL_J1534.8+0131_daily_bin479> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin479 233.725 1.5224 363484801 363744001 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 :                                   581.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             274.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            773 sec.

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

