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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin854
RA = 233.725, Dec = 1.5224
tmin = 460684801, tmax = 460944001
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='554399', job_status='RUN', time_executed='2021-09-12 04:28:38.737470', time_epoch_executed='1631446118.74' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='854'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554399

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554399/ft1_4FGL_J1534.8+0131_daily_bin854.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554399/ft2_4FGL_J1534.8+0131_daily_bin854.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554399/ft1_4FGL_J1534.8+0131_daily_bin854.fits outfile=/scratch/kocevski/554399/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin854.fits ra=233.725 dec=1.5224 rad=12.0 tmin=460684801.0 tmax=460944001.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.41
user 3.14
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554399/ft1_filtered_4FGL_J1534.8+0131_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/554399/ft2_4FGL_J1534.8+0131_daily_bin854.fits sctable="SC_DATA" expcube=/scratch/kocevski/554399/ltcube_460684801_460944001_4FGL_J1534.8+0131_daily_bin854.fits outfile=/scratch/kocevski/554399/expmap_460684801_460944001_4FGL_J1534.8+0131_daily_bin854.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/554399/ltcube_460684801_460944001_4FGL_J1534.8+0131_daily_bin854.fits
.....................!
real 191.07
user 185.51
sys 5.10

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

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/554399/ft1_filtered_4FGL_J1534.8+0131_daily_bin854.fits scfile=/scratch/kocevski/554399/ft2_4FGL_J1534.8+0131_daily_bin854.fits outfile=/scratch/kocevski/554399/cmap_HighResolution_460684801_460944001_4FGL_J1534.8+0131_daily_bin854.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3041       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.8544       1.0000         .10000E-03   10000.    
     4 'norm      '    8.4580       1.0000         .10000E-03   10000.    
     5 'norm      '    .10722E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.5380       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11396E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.0832       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.5434       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.4565       1.0000         .10000E-03   10000.    
    13 'norm      '    .24091       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10579E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.9956       1.0000         .10000E-03   10000.    
    16 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .79019       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1834       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=   10591.95     FROM MIGRAD    STATUS=CONVERGED    387 CALLS     1605 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3039        .39566        .80300E-08   -.16460E-03
   2  norm          .10000E-03    1.0845        .14074E-06** at limit **
   3  norm          6.8549        6.4128       -.75612E-07   -.36994E-05
   4  norm          8.4594        6.4098       -.49489E-07   -.63399E-04
   5  norm          .10000E-03    2.5563        .86124E-07** at limit **
   6  norm          7.5380        .50331       -.40173E-08    .12226E-03
   7  Prefactor     .10000E-03    94.508        .18753E-04** at limit **
   8  Prefactor     5.0839        5.2024        .28607E-07   -.49971E-03
   9  Prefactor     7.5314        53.810       -.17691E-04   -.10078E-03
  10  Prefactor     .10000E-03    12.009       -.13481E-05** at limit **
  11  Prefactor     .10000E-03    19.119       -.11539E-05** at limit **
  12  Prefactor     5.4601        5.1596        .25893E-06   -.74534E-03
  13  norm          .23339        4.7929        .15990E-05   -.45013E-03
  14  Prefactor     .10000E-03    105.31       -.20726E-04** at limit **
  15  norm          2.9960        1.7611       -.18262E-06   -.34612E-04
  16  norm          .10000E-03    41.173       -.16737E-05** at limit **
  17  Normalizat    .79016        .27435       -.22416E-05   -.23536E-03
  18  Prefactor     1.1833        .10636        .24739E-06   -.53240E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.30394
  norm       = 0.0001
  norm       = 6.85494
  norm       = 8.45937
  norm       = 0.0001
  norm       = 7.53805
  Prefactor  = 0.0001
  Prefactor  = 5.08395
  Prefactor  = 7.53141
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.46015
  norm       = 0.23339
  Prefactor  = 0.0001
  norm       = 2.99596
  norm       = 0.0001
  Normalizat = 0.790159
  Prefactor  = 1.1833
 **********
 **   18 **HESSE 
 **********

 FCN=   10591.95     FROM HESSE     STATUS=OK           260 CALLS     1865 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3039        .39670        .25764E-04   -1.5404    
   2  norm          .10000E-03    2.2258        .20504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.8549        6.4137        .15325E-03   -1.5184    
   4  norm          8.4594        6.4132        .13784E-03   -1.5126    
   5  norm          .10000E-03    2.6786        .54251E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.5380        .50377        .18048E-04   -1.5159    
   7  Prefactor     .10000E-03    95.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.0839        5.1913        .17834E-03   -1.5257    
   9  Prefactor     7.5314        55.368        .14602E-03   -1.5159    
  10  Prefactor     .10000E-03    12.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.4601        5.1304        .17202E-03   -1.5241    
  13  norm          .23339        38.006        .37783E-02   -1.5611    
  14  Prefactor     .10000E-03    103.78        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.9960        1.7596        .10181E-03   -1.5362    
  16  norm          .10000E-03    41.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .79016        .28867        .56698E-03   -1.0043    
  18  Prefactor     1.1833        .11438        .19148E-03   -.86847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4995e-09
Minuit parameter uncertainties:
  1  0.396698
  2  6.31854e-06
  3  6.41439
  4  6.41372
  5  2.06541e-05
  6  0.503773
  7  0.000188956
  8  5.19174
  9  40.8941
  10  1.22205e-06
  11  2.21198e-06
  12  5.1308
  13  5.95914
  14  0.000187836
  15  1.75965
  16  1.13529e-06
  17  0.289232
  18  0.114402
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  5.084e+00  5.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:  1.183e+00  1.144e-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:  7.902e-01  2.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 5.63e-08 +/- 5.74e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.83e-05

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

Saving results to:
/scratch/kocevski/554399/likelihoodResults_460684801_460944001_4FGL_J1534.8+0131_daily_bin854.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) = 10591.9432971
delta logL = 0.00450298821306

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10591.9419218
delta logL = 0.00587828998323

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8308       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5069       1.0000          .0000       10.000    
     3 'Normalizat'    .78510       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1845       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=   10591.94     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      237 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8304        5.8657        .18303E-03    .31268E-03
   2  Index         2.5070        .84845        .10096E-01    .87922E-04
   3  Normalizat    .78503        .28448        .56868E-03   -.16129E-03
   4  Prefactor     1.1845        .11439        .19140E-03   -.51206E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.83041
  Index      = 2.50695
  Normalizat = 0.785029
  Prefactor  = 1.18448
 **********
 **   18 **HESSE 
 **********

 FCN=   10591.94     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8304        5.5686        .73212E-05   -1.5268    
   2  Index         2.5070        .80482        .40383E-03   -.52199    
   3  Normalizat    .78503        .28429        .22747E-04   -1.0063    
   4  Prefactor     1.1845        .11432        .38280E-04   -.86810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05223e-10
Minuit parameter uncertainties:
  1  5.56916
  2  0.809518
  3  0.28483
  4  0.114346
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554399': 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) = 10591.9419217
delta logL = 0.00587832734163

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  4.830e+00  5.569e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.507e+00  8.095e-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.184e+00  1.143e-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:  7.850e-01  2.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.32
Ra Dec: 233.725 1.522
Photon Index (Free Index): 2.51 +/- 0.81
Photon Flux (Free Index): 6.03e-08 +/- 7.00e-08
Energy Flux (Free Index): 1.74e-05 +/- 1.82e-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/554399/cmap_HighResolution_460684801_460944001_4FGL_J1534.8+0131_daily_bin854.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.38e-02', comment='SUCCESS', photon_flux='5.63e-08', energy_flux2='1.74e-05', photon_flux_error='5.74e-08', dlogl='5.88e-03', energy_flux='1.79e-05', photon_flux2='6.03e-08', job_status='DONE', time_completed='2021-09-12 04:40:17.884577', photon_index_error2='0.81', photon_index2='2.51', ts='1.32', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.78e-07', energy_flux_error2='1.82e-05', EG='0.79', time_epoch_completed='1631446817.88', return_code='0', job_id='554399', GAL2='1.18', EG2='0.79', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='7.00e-08', ts2='1.32', photon_index='2.42' WHERE bin_id='854' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:40:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 554399: <4FGL_J1534.8+0131_daily_bin854> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin854 233.725 1.5224 460684801 460944001 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 :                                   695.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            901 sec.

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

