/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 2 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 = 7674
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1534.8+0131_daily_bin331
RA = 233.725, Dec = 1.5224
tmin = 325123201, tmax = 325382401
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='550019', job_status='RUN', time_executed='2021-09-12 04:16:23.132592', time_epoch_executed='1631445383.13' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='331'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550019

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550019/ft1_4FGL_J1534.8+0131_daily_bin331.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550019/ft2_4FGL_J1534.8+0131_daily_bin331.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550019/ft1_4FGL_J1534.8+0131_daily_bin331.fits outfile=/scratch/kocevski/550019/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin331.fits ra=233.725 dec=1.5224 rad=12.0 tmin=325123201.0 tmax=325382401.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 2.84
user 2.60
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550019/ft1_filtered_4FGL_J1534.8+0131_daily_bin331.fits" evtable="EVENTS" scfile=/scratch/kocevski/550019/ft2_4FGL_J1534.8+0131_daily_bin331.fits sctable="SC_DATA" outfile=/scratch/kocevski/550019/ltcube_325123201_325382401_4FGL_J1534.8+0131_daily_bin331.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/550019/ft2_4FGL_J1534.8+0131_daily_bin331.fits
.....................!
real 10.61
user 10.31
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550019/ft1_filtered_4FGL_J1534.8+0131_daily_bin331.fits evtable="EVENTS" scfile=/scratch/kocevski/550019/ft2_4FGL_J1534.8+0131_daily_bin331.fits sctable="SC_DATA" expcube=/scratch/kocevski/550019/ltcube_325123201_325382401_4FGL_J1534.8+0131_daily_bin331.fits outfile=/scratch/kocevski/550019/expmap_325123201_325382401_4FGL_J1534.8+0131_daily_bin331.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/550019/ltcube_325123201_325382401_4FGL_J1534.8+0131_daily_bin331.fits
.....................!
real 151.05
user 146.44
sys 4.32

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/550019/ft1_filtered_4FGL_J1534.8+0131_daily_bin331.fits scfile=/scratch/kocevski/550019/ft2_4FGL_J1534.8+0131_daily_bin331.fits outfile=/scratch/kocevski/550019/cmap_325123201_325382401_4FGL_J1534.8+0131_daily_bin331.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.46
user 0.30
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550019/ft1_filtered_4FGL_J1534.8+0131_daily_bin331.fits scfile=/scratch/kocevski/550019/ft2_4FGL_J1534.8+0131_daily_bin331.fits outfile=/scratch/kocevski/550019/cmap_HighResolution_325123201_325382401_4FGL_J1534.8+0131_daily_bin331.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.46
user 0.33
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69198       1.0000         .10000E-03   10000.    
     2 'norm      '    .10333E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.1833       1.0000         .10000E-03   10000.    
     4 'norm      '    4.3804       1.0000         .10000E-03   10000.    
     5 'norm      '    2.5247       1.0000         .10000E-03   10000.    
     6 'norm      '    .69812       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10550E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.7682       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .45994       1.0000         .10000E-03   10000.    
    13 'norm      '    2.7637       1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.578       1.0000         .10000E-03   10000.    
    15 'norm      '    5.0422       1.0000         .10000E-03   10000.    
    16 'norm      '    68.985       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.7584       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .85202       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=   11255.82     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1555 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .69197        .22912        .66931E-08    .16045E-03
   2  norm          .10000E-03    .80092        .18987E-07** at limit **
   3  norm          5.1823        6.2008       -.12195E-06   -.14673E-03
   4  norm          4.3801        3.2159       -.16032E-07   -.22172E-03
   5  norm          2.5246        2.5199        .16079E-07   -.34389E-04
   6  norm          .69809        .15310        .33214E-08   -.47733E-03
   7  Prefactor     .10000E-03    34.285        .97136E-05** at limit **
   8  Prefactor     6.7713        5.4733       -.91650E-06   -.49418E-03
   9  Prefactor     .10000E-03    13.430       -.59128E-05** at limit **
  10  Prefactor     .10000E-03    35.798       -.98463E-05** at limit **
  11  Prefactor     .10000E-03    14.320        .53324E-05** at limit **
  12  Prefactor     .43072        1.9476        .40843E-06   -.75938E-03
  13  norm          2.7646        2.5956       -.28429E-07   -.17104E-03
  14  Prefactor     37.578        37.699       -.38891E-06   -.24236E-05
  15  norm          5.0421        1.8049        .14188E-07    .17099E-03
  16  norm          69.038        68.075        .59522E-04    .16740E-05
  17  Normalizat    1.7585        .22320        .42215E-06   -.14870E-03
  18  Prefactor     .85205        .79482E-01   -.44829E-06   -.62767E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.691965
  norm       = 0.0001
  norm       = 5.18226
  norm       = 4.38007
  norm       = 2.52457
  norm       = 0.698087
  Prefactor  = 0.0001
  Prefactor  = 6.77132
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.430723
  norm       = 2.76464
  Prefactor  = 37.5778
  norm       = 5.04212
  norm       = 69.0382
  Normalizat = 1.75849
  Prefactor  = 0.852053
 **********
 **   18 **HESSE 
 **********

 FCN=   11255.82     FROM HESSE     STATUS=OK           254 CALLS     1809 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .69197        .23031        .28245E-04   -1.5542    
   2  norm          .10000E-03    3.8261        .18096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.1823        6.1955        .17657E-03   -1.5253    
   4  norm          4.3801        3.2130        .15722E-03   -1.5289    
   5  norm          2.5246        2.5092        .16287E-03   -1.5390    
   6  norm          .69809        .15275        .18593E-04   -1.5541    
   7  Prefactor     .10000E-03    34.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.7713        5.4713        .15423E-03   -1.5187    
   9  Prefactor     .10000E-03    13.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .43072        14.643        .26827E-02   -1.5577    
  13  norm          2.7646        2.5934        .16004E-03   -1.5375    
  14  Prefactor     37.578        37.706        .65381E-04   -1.4481    
  15  norm          5.0421        1.8060        .83060E-04   -1.5259    
  16  norm          69.038        68.052        .24164E-03   -1.4044    
  17  Normalizat    1.7585        .25573        .36265E-03   -.70752    
  18  Prefactor     .85205        .91625E-01    .18549E-03   -.97837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50929e-09
Minuit parameter uncertainties:
  1  0.230307
  2  1.38358e-05
  3  6.19625
  4  3.21318
  5  2.50934
  6  0.15275
  7  2.29495e-05
  8  5.47169
  9  5.80877e-06
  10  3.8921e-05
  11  3.57927e-07
  12  5.02359
  13  2.59349
  14  37.7301
  15  1.80602
  16  68.1285
  17  0.255924
  18  0.0916416
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  6.771e+00  5.472e+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:  8.521e-01  9.164e-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.758e+00  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.99
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 7.49e-08 +/- 6.05e-08
Energy Flux (Fixed Index): 2.39e-05 +/- 1.93e-05

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

Saving results to:
/scratch/kocevski/550019/likelihoodResults_325123201_325382401_4FGL_J1534.8+0131_daily_bin331.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) = 11253.2745785
delta logL = 2.54177754718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11252.558014
delta logL = 3.25834205578

Fit tolerance = 1e-08

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

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

 FCN=   11252.56     FROM MIGRAD    STATUS=CONVERGED    309 CALLS      711 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .10634E-01    .12518E-03** at limit **
   2  Index         8.9970        7.2229        .73296E-03    .74203E-04
   3  Normalizat    1.6070        .16575        .37530E-03   -.89725E-04
   4  Prefactor     .89829        .61723E-01    .18123E-03    .34376E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.99696
  Normalizat = 1.60701
  Prefactor  = 0.898285
 **********
 **   18 **HESSE 
 **********

 FCN=   11252.56     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      744 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .56767E-02    .17496E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.9970        2.5035        .29318E-04    .92628    
   3  Normalizat    1.6070        .13800        .15012E-04   -.74814    
   4  Prefactor     .89829        .51602E-01    .72492E-05   -.96201    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.12057e-09
Minuit parameter uncertainties:
  1  6.54866e-09
  2  2.95956
  3  0.138032
  4  0.0516053
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550019': 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): 102
logL (Free Index) = 11252.5580107
delta logL = 3.25834537715

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  6.549e-09  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  8.997e+00  2.960e+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:  8.983e-01  5.161e-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.607e+00  1.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.04
Ra Dec: 233.725 1.522
Photon Index (Free Index): 9.00 +/- 2.96
Photon Flux (Free Index): 1.86e-07 +/- 1.06e-06
Energy Flux (Free Index): 2.12e-05 +/- 1.20e-04

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/550019/cmap_HighResolution_325123201_325382401_4FGL_J1534.8+0131_daily_bin331.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.47e-02', comment='SUCCESS', photon_flux='7.49e-08', energy_flux2='2.12e-05', photon_flux_error='6.05e-08', dlogl='3.26e+00', energy_flux='2.39e-05', photon_flux2='1.86e-07', job_status='DONE', time_completed='2021-09-12 04:26:43.558223', photon_index_error2='2.96', photon_index2='9.00', ts='1.99', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.90e-07', energy_flux_error2='1.20e-04', EG='1.76', time_epoch_completed='1631446003.56', return_code='0', job_id='550019', GAL2='0.90', EG2='1.61', return_code2='102', energy_flux_error='1.93e-05', photon_flux_error2='1.06e-06', ts2='9.04', photon_index='2.42' WHERE bin_id='331' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:26:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 550019: <4FGL_J1534.8+0131_daily_bin331> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin331> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 04:15:38 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:16:14 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:16:14 2021
Terminated at Sun Sep 12 04:26:44 2021
Results reported at Sun Sep 12 04:26:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin331 233.725 1.5224 325123201 325382401 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 :                                   606.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            666 sec.

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

