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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin611
RA = 233.725, Dec = 1.5224
tmin = 397699201, tmax = 397958401
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='552552', job_status='RUN', time_executed='2021-09-12 04:20:53.010639', time_epoch_executed='1631445653.01' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='611'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552552

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552552/ft1_4FGL_J1534.8+0131_daily_bin611.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552552/ft2_4FGL_J1534.8+0131_daily_bin611.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552552/ft1_4FGL_J1534.8+0131_daily_bin611.fits outfile=/scratch/kocevski/552552/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin611.fits ra=233.725 dec=1.5224 rad=12.0 tmin=397699201.0 tmax=397958401.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.55
user 3.31
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552552/ft1_filtered_4FGL_J1534.8+0131_daily_bin611.fits evtable="EVENTS" scfile=/scratch/kocevski/552552/ft2_4FGL_J1534.8+0131_daily_bin611.fits sctable="SC_DATA" expcube=/scratch/kocevski/552552/ltcube_397699201_397958401_4FGL_J1534.8+0131_daily_bin611.fits outfile=/scratch/kocevski/552552/expmap_397699201_397958401_4FGL_J1534.8+0131_daily_bin611.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/552552/ltcube_397699201_397958401_4FGL_J1534.8+0131_daily_bin611.fits
.....................!
real 192.28
user 187.71
sys 4.22

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/552552/ft1_filtered_4FGL_J1534.8+0131_daily_bin611.fits scfile=/scratch/kocevski/552552/ft2_4FGL_J1534.8+0131_daily_bin611.fits outfile=/scratch/kocevski/552552/cmap_397699201_397958401_4FGL_J1534.8+0131_daily_bin611.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.7323       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3184       1.0000         .10000E-03   10000.    
     4 'norm      '    .10881E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    6.5402       1.0000         .10000E-03   10000.    
     6 'norm      '    1.3467       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.710       1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.810       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.1782       1.0000         .10000E-03   10000.    
    13 'norm      '    2.4450       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.3960       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4908       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87584       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=   10899.59     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     1881 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .70512E-01    .60744E-09** at limit **
   2  norm          3.7317        2.4025       -.33882E-09    .67384E-04
   3  norm          1.3179        .31043       -.10061E-06   -.58178E-04
   4  norm          .10000E-03    1.6772       -.58009E-09** at limit **
   5  norm          6.5401        3.6284        .69760E-10    .85223E-05
   6  norm          1.3467        .20163       -.54905E-10    .89333E-03
   7  Prefactor     .10000E-03    9.2764        .40155E-10** at limit **
   8  Prefactor     .10000E-03    1.5240       -.83707E-10** at limit **
   9  Prefactor     .10000E-03    11.151       -.47206E-10** at limit **
  10  Prefactor     34.714        31.441       -.22385E-08    .28304E-03
  11  Prefactor     32.803        43.515       -.94043E-08    .70052E-03
  12  Prefactor     8.1785        4.0954       -.25611E-08   -.66461E-04
  13  norm          2.4447        3.3817       -.98428E-09   -.11997E-04
  14  Prefactor     .10000E-03    262.85        .58323E-10** at limit **
  15  norm          4.3961        1.9170       -.17151E-09   -.38787E-05
  16  norm          .10000E-03    72.672        .37307E-09** at limit **
  17  Normalizat    1.4911        .22058        .61213E-08   -.15440E-04
  18  Prefactor     .87572        .81108E-01    .16671E-08   -.59922E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.7317
  norm       = 1.31793
  norm       = 0.0001
  norm       = 6.5401
  norm       = 1.3467
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.7143
  Prefactor  = 32.8029
  Prefactor  = 8.1785
  norm       = 2.44471
  Prefactor  = 0.000100001
  norm       = 4.3961
  norm       = 0.0001
  Normalizat = 1.49108
  Prefactor  = 0.875723
 **********
 **   18 **HESSE 
 **********

 FCN=   10899.59     FROM HESSE     STATUS=OK           246 CALLS     2127 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .93955E-01    .53955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7317        2.4106        .12224E-03   -1.5322    
   3  norm          1.3179        4.3083        .19170E-02   -1.5478    
   4  norm          .10000E-03    24.415        .25934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.5401        3.6272        .71366E-03   -1.5196    
   6  norm          1.3467        .19989        .17306E-04   -1.5476    
   7  Prefactor     .10000E-03    9.2783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.5383        .12582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     34.714        31.467        .68020E-04   -1.4529    
  11  Prefactor     32.803        43.564        .69955E-04   -1.4562    
  12  Prefactor     8.1785        4.1024        .70097E-03   -1.5136    
  13  norm          2.4447        3.3634        .21640E-03   -1.5395    
  14  Prefactor     .10000E-03    267.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.3961        1.9165        .92871E-04   -1.5289    
  16  norm          .10000E-03    72.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.4911        .25473        .38197E-03   -.78029    
  18  Prefactor     .87572        .94067E-01    .18068E-03   -.96995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1109e-09
Minuit parameter uncertainties:
  1  3.94455e-10
  2  2.41065
  3  4.30936
  4  3.96222e-07
  5  3.62735
  6  0.199888
  7  9.43771e-06
  8  9.66428e-07
  9  8.97981e-06
  10  31.4823
  11  43.6058
  12  4.10258
  13  3.36371
  14  0.00106108
  15  1.91648
  16  0.000215283
  17  0.254951
  18  0.0940846
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  9.664e-07  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.757e-01  9.408e-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.491e+00  2.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 233.725 1.522
Photon Flux Upper Limit: 7.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/552552/likelihoodResults_397699201_397958401_4FGL_J1534.8+0131_daily_bin611.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): 102
logL (Free Index) = 10899.5926627
delta logL = -0.00309965649649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10899.589563
delta logL = 2.98186932923e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4137       1.0000          .0000       10.000    
     3 'Normalizat'    1.4911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87572       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10899.59     FROM MIGRAD    STATUS=FAILED        84 CALLS      238 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10073E-03    208.96        .12607E-02** at limit **
   2  Index         2.3245        5.7318        .50000        .24184E-04
   3  Normalizat    1.4911        .84250E-01    .38197E-03   -.89766E-04
   4  Prefactor     .87572        .31746E-01    .18068E-03   -.12018E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10899.59     FROM SIMPLEX   STATUS=UNCHANGED    143 CALLS      381 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10073E-03    208.96        .23035E-03** at limit **
   2  Index         2.3245        5.7318        .55214E-04    .24184E-04
   3  Normalizat    1.4911        .84250E-01    .45509E-05   -.89766E-04
   4  Prefactor     .87572        .31746E-01    .10583E-05   -.12018E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10899.59     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      431 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0189        .25215E-03** at limit **
   2  Index         2.1870        5.3220        .50000       -.82309E-07
   3  Normalizat    1.4911        .24546        .15279E-04    .18900E-03
   4  Prefactor     .87572        .92639E-01    .36135E-04    .40334E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.187
  Normalizat = 1.49108
  Prefactor  = 0.875723
 **********
 **   18 **HESSE 
 **********

 FCN=   10899.59     FROM HESSE     STATUS=OK            29 CALLS      460 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6071        .50429E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1870        8.7161        .50000       -.59753    
   3  Normalizat    1.4911        .24552        .30558E-05   -.78029    
   4  Prefactor     .87572        .92657E-01    .72270E-05   -.96995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98156e-11
Minuit parameter uncertainties:
  1  3.7106e-06
  2  93.3033
  3  0.245717
  4  0.0926737
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552552': 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) = 10899.5895619
delta logL = 1.12466477731e-06

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  3.711e-06  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.187e+00  9.330e+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:  8.757e-01  9.267e-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.491e+00  2.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 233.725 1.522

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/552552/cmap_HighResolution_397699201_397958401_4FGL_J1534.8+0131_daily_bin611.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.60e-03', job_status='DONE', photon_flux_upper_limit='7.24e-08', time_completed='2021-09-12 04:33:12.447175', job_id='552552', GAL2='0.88', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1631446392.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.12e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='611' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:33:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 552552: <4FGL_J1534.8+0131_daily_bin611> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin611 233.725 1.5224 397699201 397958401 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 :                                   730.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             327.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            753 sec.

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

