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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin277
RA = 233.725, Dec = 1.5224
tmin = 311126401, tmax = 311385601
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='549940', job_status='RUN', time_executed='2021-09-12 04:18:07.569385', time_epoch_executed='1631445487.57' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549940

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549940/ft1_4FGL_J1534.8+0131_daily_bin277.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549940/ft2_4FGL_J1534.8+0131_daily_bin277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549940/ft1_4FGL_J1534.8+0131_daily_bin277.fits outfile=/scratch/kocevski/549940/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin277.fits ra=233.725 dec=1.5224 rad=12.0 tmin=311126401.0 tmax=311385601.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/549940/ft2_4FGL_J1534.8+0131_daily_bin277.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/549940/ft2_4FGL_J1534.8+0131_daily_bin277.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/549940/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin277.fits evtable="EVENTS" outfile="/scratch/kocevski/549940/ft1_filtered_4FGL_J1534.8+0131_daily_bin277.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/549940/ft1_filtered_4FGL_J1534.8+0131_daily_bin277.fits" evtable="EVENTS" scfile=/scratch/kocevski/549940/ft2_4FGL_J1534.8+0131_daily_bin277.fits sctable="SC_DATA" outfile=/scratch/kocevski/549940/ltcube_311126401_311385601_4FGL_J1534.8+0131_daily_bin277.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/549940/ft2_4FGL_J1534.8+0131_daily_bin277.fits
.....................!
real 13.75
user 13.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549940/ft1_filtered_4FGL_J1534.8+0131_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/549940/ft2_4FGL_J1534.8+0131_daily_bin277.fits sctable="SC_DATA" expcube=/scratch/kocevski/549940/ltcube_311126401_311385601_4FGL_J1534.8+0131_daily_bin277.fits outfile=/scratch/kocevski/549940/expmap_311126401_311385601_4FGL_J1534.8+0131_daily_bin277.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/549940/ltcube_311126401_311385601_4FGL_J1534.8+0131_daily_bin277.fits
.....................!
real 191.34
user 185.76
sys 5.07

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/549940/ft1_filtered_4FGL_J1534.8+0131_daily_bin277.fits scfile=/scratch/kocevski/549940/ft2_4FGL_J1534.8+0131_daily_bin277.fits outfile=/scratch/kocevski/549940/cmap_311126401_311385601_4FGL_J1534.8+0131_daily_bin277.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.63
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549940/ft1_filtered_4FGL_J1534.8+0131_daily_bin277.fits scfile=/scratch/kocevski/549940/ft2_4FGL_J1534.8+0131_daily_bin277.fits outfile=/scratch/kocevski/549940/cmap_HighResolution_311126401_311385601_4FGL_J1534.8+0131_daily_bin277.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.66
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20136       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3211       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5873       1.0000         .10000E-03   10000.    
     4 'norm      '    4.4389       1.0000         .10000E-03   10000.    
     5 'norm      '    4.6101       1.0000         .10000E-03   10000.    
     6 'norm      '    .47448       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3871       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.9010       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4486       1.0000         .10000E-03   10000.    
    13 'norm      '    2.9712       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.5303       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1596       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0878       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=   11592.48     FROM MIGRAD    STATUS=CONVERGED    382 CALLS     1556 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20134        .17920       -.11188E-07   -.20231E-03
   2  norm          1.3209        1.5319       -.32116E-07   -.23526E-04
   3  norm          1.5875        .61052        .31038E-07   -.57776E-03
   4  norm          4.4389        3.7346       -.27835E-06   -.90462E-05
   5  norm          4.6101        3.4161       -.16912E-07    .27059E-05
   6  norm          .47448        .12667        .20689E-08    .23611E-03
   7  Prefactor     .10000E-03    14.479       -.10236E-06** at limit **
   8  Prefactor     3.3870        3.0618       -.41360E-07    .37111E-05
   9  Prefactor     .10000E-03    13.500        .41957E-07** at limit **
  10  Prefactor     6.8904        37.468       -.16315E-04    .11564E-05
  11  Prefactor     .10000E-03    45.446       -.52441E-06** at limit **
  12  Prefactor     4.4485        3.7655       -.54701E-07   -.36391E-05
  13  norm          2.9712        3.0427       -.51300E-07   -.88428E-05
  14  Prefactor     .10000E-03    17.231        .95706E-07** at limit **
  15  norm          3.5303        1.7052       -.15734E-07    .60469E-05
  16  norm          .10000E-03    60.164        .11076E-05** at limit **
  17  Normalizat    1.1597        .21820        .11061E-07    .44915E-04
  18  Prefactor     1.0878        .84013E-01    .40974E-06   -.29086E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.201336
  norm       = 1.32094
  norm       = 1.58754
  norm       = 4.43886
  norm       = 4.61014
  norm       = 0.474477
  Prefactor  = 0.0001
  Prefactor  = 3.38699
  Prefactor  = 0.0001
  Prefactor  = 6.89043
  Prefactor  = 0.0001
  Prefactor  = 4.44855
  norm       = 2.97116
  Prefactor  = 0.0001
  norm       = 3.53032
  norm       = 0.0001
  Normalizat = 1.15968
  Prefactor  = 1.08782
 **********
 **   18 **HESSE 
 **********

 FCN=   11592.48     FROM HESSE     STATUS=OK           254 CALLS     1810 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20134        .16284        .41486E-03   -1.5618    
   2  norm          1.3209        1.5116        .13664E-03   -1.5478    
   3  norm          1.5875        4.1324        .16845E-02   -1.5456    
   4  norm          4.4389        3.7277        .18196E-03   -1.5287    
   5  norm          4.6101        3.4072        .16493E-03   -1.5279    
   6  norm          .47448        .12620        .18866E-04   -1.5570    
   7  Prefactor     .10000E-03    14.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.3870        3.0615        .17231E-03   -1.5340    
   9  Prefactor     .10000E-03    13.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8904        37.497        .15272E-03   -1.5183    
  11  Prefactor     .10000E-03    45.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.4485        3.7569        .18231E-03   -1.5286    
  13  norm          2.9712        3.0323        .18322E-03   -1.5363    
  14  Prefactor     .10000E-03    17.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.5303        1.7037        .95190E-04   -1.5332    
  16  norm          .10000E-03    60.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1597        .24600        .41765E-03   -.87858    
  18  Prefactor     1.0878        .95469E-01    .16899E-03   -.89857    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.74228e-10
Minuit parameter uncertainties:
  1  0.16284
  2  1.51165
  3  4.13318
  4  3.72793
  5  3.40734
  6  0.126199
  7  3.22726e-06
  8  3.06162
  9  3.25538e-06
  10  32.1789
  11  5.19558e-05
  12  3.75707
  13  3.03249
  14  1.99338e-06
  15  1.70376
  16  6.88897e-06
  17  0.246241
  18  0.0954844
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  3.387e+00  3.062e+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.088e+00  9.548e-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.160e+00  2.462e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.76
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 3.75e-08 +/- 3.38e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 1.08e-05

TS (Fixed Index): 3.76
Ra Dec: 233.725 1.522
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/549940/likelihoodResults_311126401_311385601_4FGL_J1534.8+0131_daily_bin277.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) = 11592.1686486
delta logL = 0.31413819531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11592.1660865
delta logL = 0.316700200376

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4642       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8857       1.0000          .0000       10.000    
     3 'Normalizat'    1.1766       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0851       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=   11592.17     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      205 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4641        6.2320        .54319E-02    .19515E-02
   2  Index         1.8860        .89718        .26491       -.47809E-04
   3  Normalizat    1.1766        .21242        .93691E-01   -.10446E-04
   4  Prefactor     1.0851        .83330E-01    .38181E-01   -.12105E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.46415
  Index      = 1.88595
  Normalizat = 1.17663
  Prefactor  = 1.08512
 **********
 **   18 **HESSE 
 **********

 FCN=   11592.17     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4641        3.5583        .18672E-03   -1.5336    
   2  Index         1.8860        .65505        .12811E-01   -.67233    
   3  Normalizat    1.1766        .23869        .41503E-03   -.87328    
   4  Prefactor     1.0851        .94373E-01    .16917E-03   -.89943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73217e-09
Minuit parameter uncertainties:
  1  3.55851
  2  0.658154
  3  0.238907
  4  0.0943873
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549940': 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) = 11592.1660864
delta logL = 0.31670032313

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  3.464e+00  3.559e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  1.886e+00  6.582e-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.085e+00  9.439e-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.177e+00  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.39
Ra Dec: 233.725 1.522
Photon Index (Free Index): 1.89 +/- 0.66
Photon Flux (Free Index): 2.01e-08 +/- 2.79e-08
Energy Flux (Free Index): 1.87e-05 +/- 2.37e-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/549940/cmap_HighResolution_311126401_311385601_4FGL_J1534.8+0131_daily_bin277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.50e-03', comment='SUCCESS', photon_flux='3.75e-08', energy_flux2='1.87e-05', photon_flux_error='3.38e-08', dlogl='3.17e-01', energy_flux='1.20e-05', photon_flux2='2.01e-08', job_status='DONE', time_completed='2021-09-12 04:29:53.824580', photon_index_error2='0.66', photon_index2='1.89', ts='3.76', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='2.37e-05', EG='1.16', time_epoch_completed='1631446193.82', return_code='0', job_id='549940', GAL2='1.09', EG2='1.18', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='2.79e-08', ts2='4.39', photon_index='2.42' WHERE bin_id='277' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:29:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 549940: <4FGL_J1534.8+0131_daily_bin277> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin277> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 04:15:33 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:16:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 04:16:02 2021
Terminated at Sun Sep 12 04:29:54 2021
Results reported at Sun Sep 12 04:29:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin277 233.725 1.5224 311126401 311385601 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 :                                   702.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             295.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            861 sec.

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

