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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin998
RA = 233.725, Dec = 1.5224
tmin = 498009601, tmax = 498268801
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='554746', job_status='RUN', time_executed='2021-09-12 04:29:16.749645', time_epoch_executed='1631446156.75' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='998'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554746

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554746/ft1_4FGL_J1534.8+0131_daily_bin998.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554746/ft2_4FGL_J1534.8+0131_daily_bin998.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554746/ft1_4FGL_J1534.8+0131_daily_bin998.fits outfile=/scratch/kocevski/554746/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin998.fits ra=233.725 dec=1.5224 rad=12.0 tmin=498009601.0 tmax=498268801.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 8.05
user 7.72
sys 0.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/554746/ft1_filtered_4FGL_J1534.8+0131_daily_bin998.fits" evtable="EVENTS" scfile=/scratch/kocevski/554746/ft2_4FGL_J1534.8+0131_daily_bin998.fits sctable="SC_DATA" outfile=/scratch/kocevski/554746/ltcube_498009601_498268801_4FGL_J1534.8+0131_daily_bin998.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/554746/ft2_4FGL_J1534.8+0131_daily_bin998.fits
.....................!
real 15.53
user 14.90
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554746/ft1_filtered_4FGL_J1534.8+0131_daily_bin998.fits evtable="EVENTS" scfile=/scratch/kocevski/554746/ft2_4FGL_J1534.8+0131_daily_bin998.fits sctable="SC_DATA" expcube=/scratch/kocevski/554746/ltcube_498009601_498268801_4FGL_J1534.8+0131_daily_bin998.fits outfile=/scratch/kocevski/554746/expmap_498009601_498268801_4FGL_J1534.8+0131_daily_bin998.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/554746/ltcube_498009601_498268801_4FGL_J1534.8+0131_daily_bin998.fits
.....................!
real 191.13
user 185.90
sys 4.77

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5842       1.0000         .10000E-03   10000.    
     2 'norm      '    1.2950       1.0000         .10000E-03   10000.    
     3 'norm      '    4.4082       1.0000         .10000E-03   10000.    
     4 'norm      '    .35173       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.2184       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6860       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5682       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.158       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.835       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .82812       1.0000         .10000E-03   10000.    
    13 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.2834       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.6125       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .86254       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=   7997.643     FROM MIGRAD    STATUS=CONVERGED    365 CALLS     1732 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5842        .37474       -.44550E-07    .73218E-03
   2  norm          1.2972        3.5204       -.23551E-05   -.15056E-02
   3  norm          4.4082        4.9630        .11323E-05    .11544E-03
   4  norm          .36709        4.4384       -.24389E-05    .15638E-03
   5  norm          .10000E-03    3.2527       -.12285E-06** at limit **
   6  norm          2.2183        .33124        .74849E-08    .42300E-02
   7  Prefactor     .10000E-03    25.084        .25439E-04** at limit **
   8  Prefactor     5.6870        6.2163       -.20031E-05   -.24920E-03
   9  Prefactor     4.5467        29.453       -.26365E-04   -.30724E-04
  10  Prefactor     20.122        32.971       -.45112E-04    .81449E-05
  11  Prefactor     11.828        41.337       -.15363E-04    .50802E-05
  12  Prefactor     .82728        3.4668        .46693E-06   -.75815E-03
  13  norm          .10000E-03    2.3260        .10434E-07** at limit **
  14  Prefactor     .10000E-03    23.568       -.22241E-04** at limit **
  15  norm          8.2834        2.4454        .14693E-08    .20592E-03
  16  norm          .10000E-03    61.636        .95085E-06** at limit **
  17  Normalizat    1.6122        .28287        .27311E-05    .20805E-03
  18  Prefactor     .86259        .99297E-01    .18914E-05    .27295E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58415
  norm       = 1.29722
  norm       = 4.40818
  norm       = 0.367091
  norm       = 0.0001
  norm       = 2.21827
  Prefactor  = 0.0001
  Prefactor  = 5.68698
  Prefactor  = 4.54668
  Prefactor  = 20.1222
  Prefactor  = 11.8278
  Prefactor  = 0.827278
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.28336
  norm       = 0.0001
  Normalizat = 1.61223
  Prefactor  = 0.862594
 **********
 **   18 **HESSE 
 **********

 FCN=   7997.643     FROM HESSE     STATUS=OK           250 CALLS     1982 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5842        .37580        .25667E-04   -1.5456    
   2  norm          1.2972        3.5520        .25058E-03   -1.5480    
   3  norm          4.4082        4.9650        .19181E-03   -1.5288    
   4  norm          .36709        17.690        .35602E-02   -1.5587    
   5  norm          .10000E-03    3.2918        .15724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2183        .33031        .18873E-04   -1.5410    
   7  Prefactor     .10000E-03    25.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.6870        6.1908        .16845E-03   -1.5231    
   9  Prefactor     4.5467        29.238        .18834E-03   -1.5281    
  10  Prefactor     20.122        32.888        .89210E-04   -1.4811    
  11  Prefactor     11.828        41.408        .11644E-03   -1.5020    
  12  Prefactor     .82728        6.2187        .30198E-02   -1.5526    
  13  norm          .10000E-03    2.3419        .13305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.2834        2.4461        .74063E-04   -1.5132    
  16  norm          .10000E-03    61.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.6122        .32512        .38988E-03   -.74672    
  18  Prefactor     .86259        .11545        .19199E-03   -.97461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36752e-09
Minuit parameter uncertainties:
  1  0.375801
  2  3.55258
  3  4.96545
  4  5.09752
  5  1.32095e-05
  6  0.330311
  7  2.21607e-06
  8  6.19151
  9  23.076
  10  32.9171
  11  41.509
  12  4.53673
  13  2.45845e-05
  14  7.45348e-06
  15  2.4461
  16  2.6193e-05
  17  0.325552
  18  0.115486
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  5.687e+00  6.192e+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:  8.626e-01  1.155e-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.612e+00  3.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.17
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 6.29e-08 +/- 6.84e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 2.19e-05

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

Saving results to:
/scratch/kocevski/554746/likelihoodResults_498009601_498268801_4FGL_J1534.8+0131_daily_bin998.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) = 7997.11109137
delta logL = 0.532357187697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7997.10335113
delta logL = 0.540097434585

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8073       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3673       1.0000          .0000       10.000    
     3 'Normalizat'    1.5312       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88030       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=   7997.103     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      272 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8066        11.502        .10442E-03   -.20126E-02
   2  Index         3.3674        2.3930        .66991E-02   -.35108E-03
   3  Normalizat    1.5311        .31969        .39802E-03   -.53344E-03
   4  Prefactor     .88030        .11818        .19024E-03   -.10956E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.8066
  Index      = 3.3674
  Normalizat = 1.53115
  Prefactor  = 0.880299
 **********
 **   18 **HESSE 
 **********

 FCN=   7997.103     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8066        5.0966        .41770E-05   -1.5373    
   2  Index         3.3674        1.1123        .26796E-03   -.33262    
   3  Normalizat    1.5311        .31353        .79605E-04   -.76907    
   4  Prefactor     .88030        .11464        .38048E-04   -.96833    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0889e-09
Minuit parameter uncertainties:
  1  5.09737
  2  1.12281
  3  0.313929
  4  0.114673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554746': 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) = 7997.10335111
delta logL = 0.540097453463

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  2.807e+00  5.097e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  3.367e+00  1.123e+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:  8.803e-01  1.147e-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.531e+00  3.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.35
Ra Dec: 233.725 1.522
Photon Index (Free Index): 3.37 +/- 1.12
Photon Flux (Free Index): 1.35e-07 +/- 1.07e-07
Energy Flux (Free Index): 2.33e-05 +/- 1.79e-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/554746/cmap_HighResolution_498009601_498268801_4FGL_J1534.8+0131_daily_bin998.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.60e-02', comment='SUCCESS', photon_flux='6.29e-08', energy_flux2='2.33e-05', photon_flux_error='6.84e-08', dlogl='5.40e-01', energy_flux='2.01e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-09-12 04:39:41.425499', photon_index_error2='1.12', photon_index2='3.37', ts='1.17', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='2.06e-07', energy_flux_error2='1.79e-05', EG='1.61', time_epoch_completed='1631446781.43', return_code='0', job_id='554746', GAL2='0.88', EG2='1.53', return_code2='0', energy_flux_error='2.19e-05', photon_flux_error2='1.07e-07', ts2='2.35', photon_index='2.42' WHERE bin_id='998' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:39:41 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin998 233.725 1.5224 498009601 498268801 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 :                                   617.45 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            847 sec.

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

