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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin954
RA = 233.725, Dec = 1.5224
tmin = 486604801, tmax = 486864001
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='554626', job_status='RUN', time_executed='2021-09-12 04:30:37.476997', time_epoch_executed='1631446237.48' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='954'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554626

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554626/ft1_4FGL_J1534.8+0131_daily_bin954.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554626/ft2_4FGL_J1534.8+0131_daily_bin954.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554626/ft1_4FGL_J1534.8+0131_daily_bin954.fits outfile=/scratch/kocevski/554626/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin954.fits ra=233.725 dec=1.5224 rad=12.0 tmin=486604801.0 tmax=486864001.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.64
user 3.42
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/554626/ft1_filtered_4FGL_J1534.8+0131_daily_bin954.fits" evtable="EVENTS" scfile=/scratch/kocevski/554626/ft2_4FGL_J1534.8+0131_daily_bin954.fits sctable="SC_DATA" outfile=/scratch/kocevski/554626/ltcube_486604801_486864001_4FGL_J1534.8+0131_daily_bin954.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/554626/ft2_4FGL_J1534.8+0131_daily_bin954.fits
.....................!
real 13.87
user 13.46
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554626/ft1_filtered_4FGL_J1534.8+0131_daily_bin954.fits evtable="EVENTS" scfile=/scratch/kocevski/554626/ft2_4FGL_J1534.8+0131_daily_bin954.fits sctable="SC_DATA" expcube=/scratch/kocevski/554626/ltcube_486604801_486864001_4FGL_J1534.8+0131_daily_bin954.fits outfile=/scratch/kocevski/554626/expmap_486604801_486864001_4FGL_J1534.8+0131_daily_bin954.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/554626/ltcube_486604801_486864001_4FGL_J1534.8+0131_daily_bin954.fits
.....................!
real 193.10
user 186.86
sys 5.65

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

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

This is gtbin version HEAD
real 0.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/554626/ft1_filtered_4FGL_J1534.8+0131_daily_bin954.fits scfile=/scratch/kocevski/554626/ft2_4FGL_J1534.8+0131_daily_bin954.fits outfile=/scratch/kocevski/554626/cmap_HighResolution_486604801_486864001_4FGL_J1534.8+0131_daily_bin954.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.71
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49966       1.0000         .10000E-03   10000.    
     2 'norm      '    .16912       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.0336       1.0000         .10000E-03   10000.    
     5 'norm      '    .13844E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .70804       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4261       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    105.73       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.5703       1.0000         .10000E-03   10000.    
    16 'norm      '    .11831E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.8222       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .78014       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=   9111.694     FROM MIGRAD    STATUS=CONVERGED    383 CALLS     1533 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49966        .23359       -.26269E-08    .78896E-03
   2  norm          .16717        1.2896        .21602E-05    .85312E-03
   3  norm          .10000E-03    2.3270       -.14549E-07** at limit **
   4  norm          6.0334        4.6169        .32165E-06    .52847E-03
   5  norm          .10002E-03    22.456       -.19206E-04** at limit **
   6  norm          .70805        .18122       -.12075E-07    .10225E-02
   7  Prefactor     .10000E-03    15.498       -.26842E-05** at limit **
   8  Prefactor     1.4257        3.8776       -.97127E-06    .11044E-02
   9  Prefactor     .10000E-03    14.203        .30911E-05** at limit **
  10  Prefactor     105.77        54.267       -.50437E-05   -.48434E-03
  11  Prefactor     .10000E-03    14.624       -.25725E-05** at limit **
  12  Prefactor     .10000E-03    1.4274        .92025E-07** at limit **
  13  norm          .10000E-03    3.4249       -.20825E-06** at limit **
  14  Prefactor     .10000E-03    22.717       -.20308E-05** at limit **
  15  norm          4.5703        1.8127       -.14993E-08   -.95217E-04
  16  norm          .10000E-03    442.18       -.18479E-05** at limit **
  17  Normalizat    1.8222        .23928        .93447E-06    .52053E-03
  18  Prefactor     .78015        .86507E-01    .11902E-06    .30118E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.499661
  norm       = 0.167167
  norm       = 0.0001
  norm       = 6.03336
  norm       = 0.000100017
  norm       = 0.708047
  Prefactor  = 0.000100002
  Prefactor  = 1.4257
  Prefactor  = 0.000100002
  Prefactor  = 105.775
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 4.57027
  norm       = 0.000100002
  Normalizat = 1.82223
  Prefactor  = 0.780153
 **********
 **   18 **HESSE 
 **********

 FCN=   9111.694     FROM HESSE     STATUS=OK           250 CALLS     1783 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49966        .23291        .30490E-04   -1.5567    
   2  norm          .16717        6.6597        .18296E-02   -1.5626    
   3  norm          .10000E-03    2.3293        .14221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.0334        4.6277        .16346E-03   -1.5217    
   5  norm          .10002E-03    1.5910        .43787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .70805        .18095        .19594E-04   -1.5540    
   7  Prefactor     .10000E-03    15.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4257        4.0640        .31031E-03   -1.5469    
   9  Prefactor     .10000E-03    14.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     105.77        55.664        .19554E-03   -1.3647    
  11  Prefactor     .10000E-03    14.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.4427        .11134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.5189        .34490E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.5703        1.8143        .78942E-04   -1.5280    
  16  norm          .10000E-03    444.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.8222        .27539        .35103E-03   -.69085    
  18  Prefactor     .78015        .99690E-01    .18713E-03   -1.0046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96156e-09
Minuit parameter uncertainties:
  1  0.232911
  2  2.10987
  3  2.79768e-06
  4  4.62802
  5  0.000330724
  6  0.180946
  7  0.000323545
  8  4.06477
  9  0.000349068
  10  55.6912
  11  0.000277809
  12  4.36679e-06
  13  3.02732e-05
  14  0.000311387
  15  1.8143
  16  0.00204443
  17  0.275623
  18  0.0997128
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.426e+00  4.065e+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:  7.802e-01  9.971e-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.822e+00  2.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/554626/likelihoodResults_486604801_486864001_4FGL_J1534.8+0131_daily_bin954.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) = 9111.66999886
delta logL = 0.0242822705331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9111.66639463
delta logL = 0.0278865005457

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1626       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7867       1.0000          .0000       10.000    
     3 'Normalizat'    1.8336       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77808       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=   9111.666     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      234 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1633        4.5718        .10675E-01    .11014E-02
   2  Index         1.7873        1.3317        .36874       -.84082E-04
   3  Normalizat    1.8336        .23164        .79135E-01    .34026E-05
   4  Prefactor     .77808        .85666E-01    .43431E-01    .78109E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16328
  Index      = 1.78725
  Normalizat = 1.83357
  Prefactor  = 0.778078
 **********
 **   18 **HESSE 
 **********

 FCN=   9111.666     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1633        3.3345        .26517E-03   -1.5492    
   2  Index         1.7873        1.5814        .22084E-01   -.69782    
   3  Normalizat    1.8336        .26456        .35016E-03   -.68791    
   4  Prefactor     .77808        .98248E-01    .18735E-03   -1.0054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80228e-11
Minuit parameter uncertainties:
  1  3.33502
  2  1.6301
  3  0.264768
  4  0.0982703
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554626': 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) = 9111.66639457
delta logL = 0.0278865633391

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.163e+00  3.335e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  1.787e+00  1.630e+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:  7.781e-01  9.827e-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.834e+00  2.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/554626/cmap_HighResolution_486604801_486864001_4FGL_J1534.8+0131_daily_bin954.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-09-12 04:40:50.564460', job_id='554626', GAL2='0.78', fit_tolerance='1e-08', EG2='1.83', EG='1.82', time_epoch_completed='1631446850.56', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.79e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='954' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:40:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 554626: <4FGL_J1534.8+0131_daily_bin954> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin954> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 04:25:31 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:26:32 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:32 2021
Terminated at Sun Sep 12 04:40:51 2021
Results reported at Sun Sep 12 04:40:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin954 233.725 1.5224 486604801 486864001 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 :                                   612.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             243.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            920 sec.

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

