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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin974
RA = 233.725, Dec = 1.5224
tmin = 491788801, tmax = 492048001
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='554704', job_status='RUN', time_executed='2021-09-12 04:29:13.504719', time_epoch_executed='1631446153.5' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='974'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554704

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554704/ft1_4FGL_J1534.8+0131_daily_bin974.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554704/ft2_4FGL_J1534.8+0131_daily_bin974.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554704/ft1_4FGL_J1534.8+0131_daily_bin974.fits outfile=/scratch/kocevski/554704/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin974.fits ra=233.725 dec=1.5224 rad=12.0 tmin=491788801.0 tmax=492048001.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 4.24
user 3.99
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/554704/ft2_4FGL_J1534.8+0131_daily_bin974.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/554704/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin974.fits evtable="EVENTS" outfile="/scratch/kocevski/554704/ft1_filtered_4FGL_J1534.8+0131_daily_bin974.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.33
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554704/ft1_filtered_4FGL_J1534.8+0131_daily_bin974.fits evtable="EVENTS" scfile=/scratch/kocevski/554704/ft2_4FGL_J1534.8+0131_daily_bin974.fits sctable="SC_DATA" expcube=/scratch/kocevski/554704/ltcube_491788801_492048001_4FGL_J1534.8+0131_daily_bin974.fits outfile=/scratch/kocevski/554704/expmap_491788801_492048001_4FGL_J1534.8+0131_daily_bin974.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/554704/ltcube_491788801_492048001_4FGL_J1534.8+0131_daily_bin974.fits
.....................!
real 191.43
user 185.70
sys 5.31

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/554704/ft1_filtered_4FGL_J1534.8+0131_daily_bin974.fits scfile=/scratch/kocevski/554704/ft2_4FGL_J1534.8+0131_daily_bin974.fits outfile=/scratch/kocevski/554704/cmap_491788801_492048001_4FGL_J1534.8+0131_daily_bin974.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.37
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40615       1.0000         .10000E-03   10000.    
     2 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    13.240       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.4610       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.7002       1.0000         .10000E-03   10000.    
    13 'norm      '    9.2758       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11255E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.5974       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.9190       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .77859       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=   2398.412     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1716 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .40614        1.0642       -.19758E-06   -.71953E-03
   2  norm          .10000E-03    4.1866        .19771E-07** at limit **
   3  norm          .10000E-03    13.384       -.51495E-05** at limit **
   4  norm          13.240        12.057        .14194E-06   -.24786E-04
   5  norm          .10000E-03    4.4197        .57028E-07** at limit **
   6  norm          1.4610        .36251        .13281E-07   -.85217E-04
   7  Prefactor     .10000E-03    48.702        .31553E-04** at limit **
   8  Prefactor     .10000E-03    13.262        .48428E-05** at limit **
   9  Prefactor     .10000E-03    46.363       -.23006E-04** at limit **
  10  Prefactor     .10000E-03    46.960       -.90632E-05** at limit **
  11  Prefactor     .10000E-03    26.995        .12670E-05** at limit **
  12  Prefactor     9.6976        16.401       -.38797E-05   -.59547E-04
  13  norm          9.2647        19.342        .84794E-05   -.25402E-04
  14  Prefactor     .10000E-03    234.22        .77818E-04** at limit **
  15  norm          3.5946        6.7384       -.42448E-06   -.12447E-03
  16  norm          .10000E-03    275.91       -.11402E-03** at limit **
  17  Normalizat    1.9191        .56766       -.13287E-05   -.13092E-04
  18  Prefactor     .77847        .17415        .24604E-06   -.56539E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.40614
  norm       = 0.0001
  norm       = 0.0001
  norm       = 13.24
  norm       = 0.0001
  norm       = 1.46104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.69765
  norm       = 9.26473
  Prefactor  = 0.0001
  norm       = 3.59462
  norm       = 0.0001
  Normalizat = 1.91908
  Prefactor  = 0.77847
 **********
 **   18 **HESSE 
 **********

 FCN=   2398.412     FROM HESSE     STATUS=OK           242 CALLS     1958 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .40614        1.0297        .76226E-03   -1.5581    
   2  norm          .10000E-03    4.2125        .97828E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    13.384        .17500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          13.240        12.078        .11008E-03   -1.4980    
   5  norm          .10000E-03    4.4250        .10056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4610        .36380        .13635E-04   -1.5466    
   7  Prefactor     .10000E-03    48.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.322        .17417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    46.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    46.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    26.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.6976        16.393        .12867E-03   -1.5085    
  13  norm          9.2647        19.341        .13159E-03   -1.5099    
  14  Prefactor     .10000E-03    234.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.5946        6.7259        .16950E-03   -1.5329    
  16  norm          .10000E-03    275.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.9191        .64287        .42543E-03   -.66595    
  18  Prefactor     .77847        .19758        .20212E-03   -1.0053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40542e-10
Minuit parameter uncertainties:
  1  1.02977
  2  2.7941e-06
  3  3.89345e-06
  4  12.0804
  5  5.62846e-07
  6  0.363798
  7  7.30082e-08
  8  2.78548e-06
  9  2.246e-05
  10  4.79378e-06
  11  1.44338e-06
  12  16.4009
  13  19.3542
  14  0.000133163
  15  6.72733
  16  1.08726e-05
  17  0.645771
  18  0.197756
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  2.785e-06  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:  7.785e-01  1.978e-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.919e+00  6.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/554704/likelihoodResults_491788801_492048001_4FGL_J1534.8+0131_daily_bin974.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): 102
logL (Free Index) = 2398.41225364
delta logL = -0.000357397316748

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2398.4118962
delta logL = 3.67394932255e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4023       1.0000          .0000       10.000    
     3 'Normalizat'    1.9191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77847       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=   2398.412     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      243 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10190E-03    256.56        .17644E-02** at limit **
   2  Index         2.3203        5.4169        .50000        .83958E-05
   3  Normalizat    1.9191        .67692E-01    .42543E-03   -.58790E-05
   4  Prefactor     .77847        .21970E-01    .20212E-03   -.82963E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101904
  Index      = 2.32032
  Normalizat = 1.91908
  Prefactor  = 0.778471
 **********
 **   18 **HESSE 
 **********

 FCN=   2398.412     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10190E-03    994.15        .35288E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3203        8.2872        .50000       -.56562    
   3  Normalizat    1.9191        .14451        .17017E-04   -.66595    
   4  Prefactor     .77847        .46904E-01    .80850E-05   -1.0053    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.91403e-08
Minuit parameter uncertainties:
  1  0.0885315
  2  1479.14
  3  0.144538
  4  0.0469068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554704': 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) = 2398.41189606
delta logL = 1.72835370904e-07

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.019e-04  8.853e-02  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.320e+00  1.479e+03  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:  7.785e-01  4.691e-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.919e+00  1.445e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 233.725 1.522

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-02', job_status='DONE', photon_flux_upper_limit='4.38e-07', time_completed='2021-09-12 04:36:01.036788', job_id='554704', GAL2='0.78', fit_tolerance='1e-08', EG2='1.92', EG='1.92', time_epoch_completed='1631446561.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='974' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:36:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0143>
Subject: Job 554704: <4FGL_J1534.8+0131_daily_bin974> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin974> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 04:25:33 2021
Job was executed on host(s) <bullet0143>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:26:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 04:26:43 2021
Terminated at Sun Sep 12 04:36:01 2021
Results reported at Sun Sep 12 04:36:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin974 233.725 1.5224 491788801 492048001 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 :                                   400.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            628 sec.

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

