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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin157
RA = 233.725, Dec = 1.5224
tmin = 280022401, tmax = 280281601
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='549765', job_status='RUN', time_executed='2021-09-12 04:17:41.489881', time_epoch_executed='1631445461.49' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='157'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549765

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549765/ft1_4FGL_J1534.8+0131_daily_bin157.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549765/ft2_4FGL_J1534.8+0131_daily_bin157.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549765/ft1_4FGL_J1534.8+0131_daily_bin157.fits outfile=/scratch/kocevski/549765/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin157.fits ra=233.725 dec=1.5224 rad=12.0 tmin=280022401.0 tmax=280281601.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.54
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/549765/ft1_filtered_4FGL_J1534.8+0131_daily_bin157.fits" evtable="EVENTS" scfile=/scratch/kocevski/549765/ft2_4FGL_J1534.8+0131_daily_bin157.fits sctable="SC_DATA" outfile=/scratch/kocevski/549765/ltcube_280022401_280281601_4FGL_J1534.8+0131_daily_bin157.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/549765/ft2_4FGL_J1534.8+0131_daily_bin157.fits
.....................!
real 14.83
user 14.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549765/ft1_filtered_4FGL_J1534.8+0131_daily_bin157.fits evtable="EVENTS" scfile=/scratch/kocevski/549765/ft2_4FGL_J1534.8+0131_daily_bin157.fits sctable="SC_DATA" expcube=/scratch/kocevski/549765/ltcube_280022401_280281601_4FGL_J1534.8+0131_daily_bin157.fits outfile=/scratch/kocevski/549765/expmap_280022401_280281601_4FGL_J1534.8+0131_daily_bin157.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/549765/ltcube_280022401_280281601_4FGL_J1534.8+0131_daily_bin157.fits
.....................!
real 192.15
user 186.23
sys 5.46

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/549765/ft1_filtered_4FGL_J1534.8+0131_daily_bin157.fits scfile=/scratch/kocevski/549765/ft2_4FGL_J1534.8+0131_daily_bin157.fits outfile=/scratch/kocevski/549765/cmap_280022401_280281601_4FGL_J1534.8+0131_daily_bin157.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549765/ft1_filtered_4FGL_J1534.8+0131_daily_bin157.fits scfile=/scratch/kocevski/549765/ft2_4FGL_J1534.8+0131_daily_bin157.fits outfile=/scratch/kocevski/549765/cmap_HighResolution_280022401_280281601_4FGL_J1534.8+0131_daily_bin157.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76491       1.0000         .10000E-03   10000.    
     2 'norm      '    1.6597       1.0000         .10000E-03   10000.    
     3 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.7105       1.0000         .10000E-03   10000.    
     5 'norm      '    3.2500       1.0000         .10000E-03   10000.    
     6 'norm      '    1.3254       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6422       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10808E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    55.147       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.4636       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1324       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0685       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=   9140.995     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1758 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .76490        .28726       -.52348E-08   -.29473E-03
   2  norm          1.6600        2.2107       -.27116E-06   -.95898E-03
   3  norm          .10000E-03    5.6350       -.34478E-07** at limit **
   4  norm          5.7104        5.7829        .55221E-06   -.23489E-03
   5  norm          3.2500        2.6495        .22587E-07    .61975E-04
   6  norm          1.3254        .23899       -.68964E-08    .80612E-04
   7  Prefactor     .10000E-03    29.007        .13967E-04** at limit **
   8  Prefactor     5.6423        5.5142        .81206E-06   -.20182E-03
   9  Prefactor     .10272E-03    9.9009       -.42003E-05** at limit **
  10  Prefactor     55.139        48.334       -.79580E-05   -.47981E-06
  11  Prefactor     .10000E-03    42.753        .57053E-05** at limit **
  12  Prefactor     .10000E-03    3.6039        .88811E-08** at limit **
  13  norm          .10000E-03    1.4976        .95892E-08** at limit **
  14  Prefactor     .10000E-03    48.814        .44976E-04** at limit **
  15  norm          4.4636        1.8966        .33927E-08   -.15591E-04
  16  norm          .10000E-03    34.931       -.41781E-04** at limit **
  17  Normalizat    1.1322        .24663       -.59619E-06    .39861E-04
  18  Prefactor     1.0685        .93605E-01    .45569E-06    .45946E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.764896
  norm       = 1.65997
  norm       = 0.0001
  norm       = 5.71043
  norm       = 3.25001
  norm       = 1.32541
  Prefactor  = 0.0001
  Prefactor  = 5.64232
  Prefactor  = 0.000102717
  Prefactor  = 55.1387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.46361
  norm       = 0.0001
  Normalizat = 1.13224
  Prefactor  = 1.06855
 **********
 **   18 **HESSE 
 **********

 FCN=   9140.995     FROM HESSE     STATUS=OK           248 CALLS     2006 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .76490        .28564        .30184E-04   -1.5533    
   2  norm          1.6600        2.1925        .15574E-03   -1.5450    
   3  norm          .10000E-03    5.8064        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.7104        5.7767        .16809E-03   -1.5230    
   5  norm          3.2500        2.6466        .13641E-03   -1.5347    
   6  norm          1.3254        .23919        .18808E-04   -1.5478    
   7  Prefactor     .10000E-03    29.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.6423        5.5021        .16912E-03   -1.5233    
   9  Prefactor     .10272E-03    85.023        .57637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     55.139        48.435        .54015E-04   -1.4221    
  11  Prefactor     .10000E-03    42.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.7047        .35406E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.5130        .11423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    48.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.4636        1.8977        .83606E-04   -1.5285    
  16  norm          .10000E-03    34.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1322        .27429        .43733E-03   -.88723    
  18  Prefactor     1.0685        .10493        .17490E-03   -.90478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01118e-08
Minuit parameter uncertainties:
  1  0.285638
  2  2.19262
  3  5.67987e-07
  4  5.77725
  5  2.6467
  6  0.239187
  7  3.47387e-05
  8  5.50258
  9  0.0304384
  10  48.4694
  11  3.03148e-05
  12  2.83156e-06
  13  2.36376e-06
  14  4.95109e-05
  15  1.89777
  16  3.85968e-07
  17  0.274641
  18  0.104951
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  5.642e+00  5.503e+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.069e+00  1.050e-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.132e+00  2.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.44
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 6.24e-08 +/- 6.08e-08
Energy Flux (Fixed Index): 1.99e-05 +/- 1.94e-05

TS (Fixed Index): 1.44
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/549765/likelihoodResults_280022401_280281601_4FGL_J1534.8+0131_daily_bin157.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) = 9140.98942678
delta logL = 0.00539985919568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9140.98806556
delta logL = 0.0067610719143

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3671       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5240       1.0000          .0000       10.000    
     3 'Normalizat'    1.1254       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0699       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=   9140.988     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      236 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3667        6.2667        .17347E-03    .15047E-03
   2  Index         2.5242        .96461        .10145E-01    .45162E-04
   3  Normalizat    1.1254        .27346        .43850E-03   -.20181E-03
   4  Prefactor     1.0699        .10448        .17480E-03   -.58477E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.36674
  Index      = 2.52415
  Normalizat = 1.12541
  Prefactor  = 1.06995
 **********
 **   18 **HESSE 
 **********

 FCN=   9140.988     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3667        5.9335        .69387E-05   -1.5245    
   2  Index         2.5242        .91150        .40579E-03   -.51803    
   3  Normalizat    1.1254        .27289        .17540E-04   -.88940    
   4  Prefactor     1.0699        .10436        .34960E-04   -.90433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03803e-10
Minuit parameter uncertainties:
  1  5.93413
  2  0.918324
  3  0.27323
  4  0.104377
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549765': 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) = 9140.98806554
delta logL = 0.00676109474807

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  5.367e+00  5.934e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.524e+00  9.183e-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.070e+00  1.044e-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.125e+00  2.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 233.725 1.522
Photon Index (Free Index): 2.52 +/- 0.92
Photon Flux (Free Index): 6.87e-08 +/- 8.41e-08
Energy Flux (Free Index): 1.94e-05 +/- 1.91e-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/549765/cmap_HighResolution_280022401_280281601_4FGL_J1534.8+0131_daily_bin157.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.47e-02', comment='SUCCESS', photon_flux='6.24e-08', energy_flux2='1.94e-05', photon_flux_error='6.08e-08', dlogl='6.76e-03', energy_flux='1.99e-05', photon_flux2='6.87e-08', job_status='DONE', time_completed='2021-09-12 04:28:22.538004', photon_index_error2='0.92', photon_index2='2.52', ts='1.44', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.90e-07', energy_flux_error2='1.91e-05', EG='1.13', time_epoch_completed='1631446102.54', return_code='0', job_id='549765', GAL2='1.07', EG2='1.13', return_code2='0', energy_flux_error='1.94e-05', photon_flux_error2='8.41e-08', ts2='1.45', photon_index='2.42' WHERE bin_id='157' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:28:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 549765: <4FGL_J1534.8+0131_daily_bin157> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin157> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 04:15:22 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:15:29 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:15:29 2021
Terminated at Sun Sep 12 04:28:24 2021
Results reported at Sun Sep 12 04:28:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin157 233.725 1.5224 280022401 280281601 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 :                                   637.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            782 sec.

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

