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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin424
RA = 233.725, Dec = 1.5224
tmin = 349228801, tmax = 349488001
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='552148', job_status='RUN', time_executed='2021-09-12 04:23:49.389145', time_epoch_executed='1631445829.39' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='424'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552148

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552148/ft1_4FGL_J1534.8+0131_daily_bin424.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552148/ft2_4FGL_J1534.8+0131_daily_bin424.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552148/ft1_4FGL_J1534.8+0131_daily_bin424.fits outfile=/scratch/kocevski/552148/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin424.fits ra=233.725 dec=1.5224 rad=12.0 tmin=349228801.0 tmax=349488001.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.49
user 3.26
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/552148/ft1_filtered_4FGL_J1534.8+0131_daily_bin424.fits" evtable="EVENTS" scfile=/scratch/kocevski/552148/ft2_4FGL_J1534.8+0131_daily_bin424.fits sctable="SC_DATA" outfile=/scratch/kocevski/552148/ltcube_349228801_349488001_4FGL_J1534.8+0131_daily_bin424.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/552148/ft2_4FGL_J1534.8+0131_daily_bin424.fits
.....................!
real 13.45
user 13.04
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552148/ft1_filtered_4FGL_J1534.8+0131_daily_bin424.fits evtable="EVENTS" scfile=/scratch/kocevski/552148/ft2_4FGL_J1534.8+0131_daily_bin424.fits sctable="SC_DATA" expcube=/scratch/kocevski/552148/ltcube_349228801_349488001_4FGL_J1534.8+0131_daily_bin424.fits outfile=/scratch/kocevski/552148/expmap_349228801_349488001_4FGL_J1534.8+0131_daily_bin424.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/552148/ltcube_349228801_349488001_4FGL_J1534.8+0131_daily_bin424.fits
.....................!
real 191.26
user 185.23
sys 5.36

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/552148/ft1_filtered_4FGL_J1534.8+0131_daily_bin424.fits scfile=/scratch/kocevski/552148/ft2_4FGL_J1534.8+0131_daily_bin424.fits outfile=/scratch/kocevski/552148/cmap_349228801_349488001_4FGL_J1534.8+0131_daily_bin424.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.53
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/552148/ft1_filtered_4FGL_J1534.8+0131_daily_bin424.fits scfile=/scratch/kocevski/552148/ft2_4FGL_J1534.8+0131_daily_bin424.fits outfile=/scratch/kocevski/552148/cmap_HighResolution_349228801_349488001_4FGL_J1534.8+0131_daily_bin424.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.5009       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.7586       1.0000         .10000E-03   10000.    
     6 'norm      '    1.6025       1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.927       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3095       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .30361E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17113E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.7697       1.0000         .10000E-03   10000.    
    16 'norm      '    .11673E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.7533       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .91483       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=   10504.89     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1784 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .11726        .11837E-01** at limit **
   2  norm          3.5018        2.7422        .54021E-02    .74844E-03
   3  norm          .10000E-03    2.1891        .90712E-02** at limit **
   4  norm          .10000E-03    3.2795        .90712E-02** at limit **
   5  norm          9.7594        5.1218        .32070E-02    .34644E-02
   6  norm          1.6026        .23195        .40891E-02    .14478E-02
   7  Prefactor     30.919        29.223        .18012E-02    .62543E-03
   8  Prefactor     6.3075        4.0375        .39950E-02    .29048E-03
   9  Prefactor     .10000E-03    8.7171        .90712E-02** at limit **
  10  Prefactor     .10001E-03    49.565        .90712E-02** at limit **
  11  Prefactor     .10000E-03    10.668        .90712E-02** at limit **
  12  Prefactor     .10000E-03    2.0244        .45674E-01** at limit **
  13  norm          .10000E-03    1.1646        .90712E-02** at limit **
  14  Prefactor     .10002E-03    132.45        .90712E-02** at limit **
  15  norm          2.7694        1.4732        .61137E-02   -.14126E-02
  16  norm          .10000E-03    35.904        .90712E-02** at limit **
  17  Normalizat    1.7530        .23549        .85040E-01    .25542E-03
  18  Prefactor     .91483        .86775E-01    .45194E-01    .50161E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.50177
  norm       = 0.0001
  norm       = 0.0001
  norm       = 9.75942
  norm       = 1.60258
  Prefactor  = 30.9195
  Prefactor  = 6.30754
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100019
  norm       = 2.76938
  norm       = 0.0001
  Normalizat = 1.753
  Prefactor  = 0.914831
 **********
 **   18 **HESSE 
 **********

 FCN=   10504.89     FROM HESSE     STATUS=OK           246 CALLS     2030 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .13513        .10686E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5018        2.7443        .13865E-03   -1.5334    
   3  norm          .10000E-03    2.1923        .14809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.3400        .18114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.7594        5.1134        .64139E-03   -1.5083    
   6  norm          1.6026        .23206        .18082E-04   -1.5455    
   7  Prefactor     30.919        29.227        .72048E-04   -1.4595    
   8  Prefactor     6.3075        4.0354        .15821E-03   -1.5206    
   9  Prefactor     .10000E-03    8.7223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    49.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.8609        .28080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.1741        .10800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    133.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.7694        1.4745        .88442E-04   -1.5375    
  16  norm          .10000E-03    35.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.7530        .27182        .37641E-03   -.70897    
  18  Prefactor     .91483        .10031        .18982E-03   -.95625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6115e-09
Minuit parameter uncertainties:
  1  8.09528e-07
  2  2.74442
  3  1.89641e-06
  4  7.79033e-06
  5  5.11359
  6  0.232059
  7  29.2404
  8  4.03557
  9  4.66302e-05
  10  0.00106654
  11  6.85236e-05
  12  1.44722e-05
  13  1.95077e-05
  14  0.00320609
  15  1.47457
  16  5.74066e-05
  17  0.272053
  18  0.100335
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  6.308e+00  4.036e+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:  9.148e-01  1.003e-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.753e+00  2.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.31
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 6.98e-08 +/- 4.46e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.42e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10504.6657552
delta logL = 0.226131777708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10504.6595789
delta logL = 0.232308020861

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6150       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0401       1.0000          .0000       10.000    
     3 'Normalizat'    1.7763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91123       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=   10504.66     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6139        149.14        .39006E-02    .74987E-04
   2  Index         2.0397        5.7780        .25563       -.14919E-04
   3  Normalizat    1.7763        .20204        .84619E-01    .42982E-06
   4  Prefactor     .91122        .53313E-01    .45148E-01   -.20426E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.61387
  Index      = 2.0397
  Normalizat = 1.7763
  Prefactor  = 0.911225
 **********
 **   18 **HESSE 
 **********

 FCN=   10504.66     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6139        4.7080        .15602E-03   -1.5194    
   2  Index         2.0397        .56288        .99327E-02   -.63361    
   3  Normalizat    1.7763        .26208        .37453E-03   -.70284    
   4  Prefactor     .91122        .99726E-01    .19017E-03   -.95750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69074e-12
Minuit parameter uncertainties:
  1  4.70827
  2  0.564727
  3  0.262292
  4  0.0997459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552148': 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) = 10504.6595787
delta logL = 0.232308292985

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  6.614e+00  4.708e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.040e+00  5.647e-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:  9.112e-01  9.975e-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.776e+00  2.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.75
Ra Dec: 233.725 1.522
Photon Index (Free Index): 2.04 +/- 0.56
Photon Flux (Free Index): 4.51e-08 +/- 4.74e-08
Energy Flux (Free Index): 2.83e-05 +/- 2.48e-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/552148/cmap_HighResolution_349228801_349488001_4FGL_J1534.8+0131_daily_bin424.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.98e-08', energy_flux2='2.83e-05', photon_flux_error='4.46e-08', dlogl='2.32e-01', energy_flux='2.23e-05', photon_flux2='4.51e-08', job_status='DONE', time_completed='2021-09-12 04:34:23.677007', photon_index_error2='0.56', photon_index2='2.04', ts='6.31', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.48e-05', EG='1.75', time_epoch_completed='1631446463.68', return_code='0', job_id='552148', GAL2='0.91', EG2='1.78', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='4.74e-08', ts2='6.75', photon_index='2.42' WHERE bin_id='424' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:34:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 552148: <4FGL_J1534.8+0131_daily_bin424> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin424> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 12 04:20:17 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:20:19 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:20:19 2021
Terminated at Sun Sep 12 04:34:24 2021
Results reported at Sun Sep 12 04:34:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin424 233.725 1.5224 349228801 349488001 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 :                                   630.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            847 sec.

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

