aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 56 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 = 17352
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1534.8+0131_weekly_bin714
RA = 233.725, Dec = 1.5224
tmin = 670809601, tmax = 671414401
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='430147', job_status='RUN', time_executed='2022-04-12 01:36:22.571465', time_epoch_executed='1649752582.57' WHERE source_name='4FGL J1534.8+0131' and cadence='weekly' and bin_id='714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430147

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430147/ft1_4FGL_J1534.8+0131_weekly_bin714.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430147/ft2_4FGL_J1534.8+0131_weekly_bin714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430147/ft1_4FGL_J1534.8+0131_weekly_bin714.fits outfile=/scratch/kocevski/430147/ft1_filteredMKT_4FGL_J1534.8+0131_weekly_bin714.fits ra=233.725 dec=1.5224 rad=12.0 tmin=670809601.0 tmax=671414401.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 11.60
user 11.28
sys 0.29

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

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

Number of photons that the gtmktime cut: 1779

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430147/ft1_filtered_4FGL_J1534.8+0131_weekly_bin714.fits evtable="EVENTS" scfile=/scratch/kocevski/430147/ft2_4FGL_J1534.8+0131_weekly_bin714.fits sctable="SC_DATA" expcube=/scratch/kocevski/430147/ltcube_670809601_671414401_4FGL_J1534.8+0131_weekly_bin714.fits outfile=/scratch/kocevski/430147/expmap_670809601_671414401_4FGL_J1534.8+0131_weekly_bin714.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/430147/ltcube_670809601_671414401_4FGL_J1534.8+0131_weekly_bin714.fits
.....................!
real 190.35
user 185.31
sys 4.70

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/430147/ft1_filtered_4FGL_J1534.8+0131_weekly_bin714.fits scfile=/scratch/kocevski/430147/ft2_4FGL_J1534.8+0131_weekly_bin714.fits outfile=/scratch/kocevski/430147/cmap_670809601_671414401_4FGL_J1534.8+0131_weekly_bin714.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=233.725 yref=1.5224 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430147/ft1_filtered_4FGL_J1534.8+0131_weekly_bin714.fits scfile=/scratch/kocevski/430147/ft2_4FGL_J1534.8+0131_weekly_bin714.fits outfile=/scratch/kocevski/430147/cmap_HighResolution_670809601_671414401_4FGL_J1534.8+0131_weekly_bin714.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.58
user 0.43
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .78821       1.0000         .10000E-03   10000.    
     2 'norm      '    .10280E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.2497       1.0000         .10000E-03   10000.    
     4 'norm      '    .11782E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .12100E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .14403       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4093       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9232       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14867E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .90556       1.0000         .10000E-03   10000.    
    13 'norm      '    .14499E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.4490       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3571       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0093       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=   19088.17     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     1608 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78822        .17830        .74669E-08   -.15924E-03
   2  norm          .10000E-03    .46735        .66013E-07** at limit **
   3  norm          4.2497        2.9460       -.27389E-07    .77043E-04
   4  norm          .10000E-03    1.4462        .31871E-07** at limit **
   5  norm          .10000E-03    1.0269        .28151E-07** at limit **
   6  norm          .14405        .90198E-01    .27295E-07   -.56811E-03
   7  Prefactor     .10000E-03    6.2702        .62204E-07** at limit **
   8  Prefactor     6.4090        3.4314       -.57776E-07   -.41290E-03
   9  Prefactor     4.9206        17.461        .60083E-07   -.28565E-04
  10  Prefactor     .10001E-03    24.608        .52264E-05** at limit **
  11  Prefactor     .10000E-03    87.203       -.96036E-06** at limit **
  12  Prefactor     .90616        2.4775        .19997E-05   -.99811E-03
  13  norm          .10003E-03    .83789        .29413E-07** at limit **
  14  Prefactor     .10000E-03    9.1638       -.23040E-06** at limit **
  15  norm          2.4490        1.0058        .62856E-08   -.52605E-04
  16  norm          .10001E-03    23.301       -.48612E-05** at limit **
  17  Normalizat    1.3570        .16254       -.52663E-06   -.23493E-03
  18  Prefactor     1.0093        .61699E-01   -.10286E-06   -.46762E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.788219
  norm       = 0.0001
  norm       = 4.24968
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.144052
  Prefactor  = 0.0001
  Prefactor  = 6.40904
  Prefactor  = 4.92063
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.906164
  norm       = 0.000100031
  Prefactor  = 0.0001
  norm       = 2.449
  norm       = 0.000100009
  Normalizat = 1.35703
  Prefactor  = 1.00932
 **********
 **   18 **HESSE 
 **********

 FCN=   19088.17     FROM HESSE     STATUS=OK           254 CALLS     1862 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78822        .17821        .26731E-04   -1.5530    
   2  norm          .10000E-03    1.9077        .17952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.2497        2.9475        .19267E-03   -1.5296    
   4  norm          .10000E-03    4.3207        .31708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.9088        .27102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .14405        .83756E-01    .31419E-03   -1.5632    
   7  Prefactor     .10000E-03    6.2755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4090        3.4257        .15854E-03   -1.5202    
   9  Prefactor     4.9206        17.191        .18127E-03   -1.5264    
  10  Prefactor     .10001E-03    26.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    89.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .90616        2.7093        .36421E-03   -1.5518    
  13  norm          .10003E-03    14.016        .23805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.1718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.4490        1.0057        .26140E-04   -1.5395    
  16  norm          .10001E-03    25.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3570        .18372        .38142E-03   -.81880    
  18  Prefactor     1.0093        .71248E-01    .17091E-03   -.92420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.25653e-09
Minuit parameter uncertainties:
  1  0.178207
  2  1.10013e-07
  3  2.94762
  4  5.13964e-06
  5  1.20145e-05
  6  0.0837564
  7  6.35155e-06
  8  3.42583
  9  17.2085
  10  0.00102781
  11  0.00031042
  12  2.70967
  13  0.00131417
  14  2.70925e-05
  15  1.00575
  16  0.000944779
  17  0.183812
  18  0.0712551
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  6.409e+00  3.426e+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.009e+00  7.126e-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.357e+00  1.838e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.97
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 7.09e-08 +/- 3.79e-08
Energy Flux (Fixed Index): 2.26e-05 +/- 1.21e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19087.7244495
delta logL = 0.443269710147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19087.7173548
delta logL = 0.45036441067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2539       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9214       1.0000          .0000       10.000    
     3 'Normalizat'    1.3221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0178       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=   19087.72     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      255 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2533        28.216        .48839E-02    .16003E-02
   2  Index         2.9212        2.6710        .13999        .37939E-03
   3  Normalizat    1.3221        .65976E-01    .87075E-01    .52098E-04
   4  Prefactor     1.0178        .23411E-01    .42368E-01   -.63666E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.25326
  Index      = 2.92116
  Normalizat = 1.32211
  Prefactor  = 1.01779
 **********
 **   18 **HESSE 
 **********

 FCN=   19087.72     FROM HESSE     STATUS=OK            33 CALLS      288 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2533        4.9730        .12846E-03   -1.5295    
   2  Index         2.9212        .79655        .75639E-02   -.42879    
   3  Normalizat    1.3221        .18618        .38557E-03   -.82909    
   4  Prefactor     1.0178        .72165E-01    .17028E-03   -.92139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52481e-11
Minuit parameter uncertainties:
  1  4.97346
  2  0.800681
  3  0.186272
  4  0.0721714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430147': 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) = 19087.7173541
delta logL = 0.450365071614

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  4.253e+00  4.973e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.921e+00  8.007e-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.018e+00  7.217e-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.322e+00  1.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.95
Ra Dec: 233.725 1.522
Photon Index (Free Index): 2.92 +/- 0.80
Photon Flux (Free Index): 9.91e-08 +/- 5.10e-08
Energy Flux (Free Index): 2.06e-05 +/- 1.12e-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/430147/cmap_HighResolution_670809601_671414401_4FGL_J1534.8+0131_weekly_bin714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.09e-08', energy_flux2='2.06e-05', photon_flux_error='3.79e-08', dlogl='4.50e-01', energy_flux='2.26e-05', photon_flux2='9.91e-08', job_status='DONE', time_completed='2022-04-12 01:51:28.316765', photon_index_error2='0.80', photon_index2='2.92', ts='4.97', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='1.36', time_epoch_completed='1649753488.32', return_code='0', job_id='430147', GAL2='1.02', EG2='1.32', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='5.10e-08', ts2='5.95', photon_index='2.42' WHERE bin_id='714' AND source_name='4FGL J1534.8+0131' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 12 01:51:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 430147: <4FGL_J1534.8+0131_weekly_bin714> in cluster <slac> Done

Job <4FGL_J1534.8+0131_weekly_bin714> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Apr 12 01:35:17 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 01:35:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 01:35:18 2022
Terminated at Tue Apr 12 01:51:29 2022
Results reported at Tue Apr 12 01:51:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_weekly_bin714 233.725 1.5224 670809601 671414401 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 :                                   904.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             339.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            972 sec.

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

