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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin544
RA = 233.725, Dec = 1.5224
tmin = 380332801, tmax = 380592001
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='552430', job_status='RUN', time_executed='2021-09-12 04:22:52.892071', time_epoch_executed='1631445772.89' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552430

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552430/ft1_4FGL_J1534.8+0131_daily_bin544.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552430/ft2_4FGL_J1534.8+0131_daily_bin544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552430/ft1_4FGL_J1534.8+0131_daily_bin544.fits outfile=/scratch/kocevski/552430/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin544.fits ra=233.725 dec=1.5224 rad=12.0 tmin=380332801.0 tmax=380592001.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.47
user 3.26
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/552430/ft2_4FGL_J1534.8+0131_daily_bin544.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/552430/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin544.fits evtable="EVENTS" outfile="/scratch/kocevski/552430/ft1_filtered_4FGL_J1534.8+0131_daily_bin544.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.54
user 0.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552430/ft1_filtered_4FGL_J1534.8+0131_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/552430/ft2_4FGL_J1534.8+0131_daily_bin544.fits sctable="SC_DATA" expcube=/scratch/kocevski/552430/ltcube_380332801_380592001_4FGL_J1534.8+0131_daily_bin544.fits outfile=/scratch/kocevski/552430/expmap_380332801_380592001_4FGL_J1534.8+0131_daily_bin544.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/552430/ltcube_380332801_380592001_4FGL_J1534.8+0131_daily_bin544.fits
.....................!
real 190.94
user 186.08
sys 4.35

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/552430/ft1_filtered_4FGL_J1534.8+0131_daily_bin544.fits scfile=/scratch/kocevski/552430/ft2_4FGL_J1534.8+0131_daily_bin544.fits outfile=/scratch/kocevski/552430/cmap_380332801_380592001_4FGL_J1534.8+0131_daily_bin544.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.58
user 0.39
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0901       1.0000         .10000E-03   10000.    
     2 'norm      '    .39530       1.0000         .10000E-03   10000.    
     3 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .47433       1.0000         .10000E-03   10000.    
     5 'norm      '    7.6039       1.0000         .10000E-03   10000.    
     6 'norm      '    .65834       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23281E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .28685E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.189       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.0465       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.6282       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4477       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90830       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=   12682.13     FROM MIGRAD    STATUS=CONVERGED    395 CALLS     1588 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0901        .25634        .60506E-02   -.18235E-02
   2  norm          .39027        1.1268        .50602E-01    .12560E-02
   3  norm          .10000E-03    4.4429        .90712E-02** at limit **
   4  norm          .47744        1.8406        .47836E-01    .18243E-02
   5  norm          7.6037        3.6856        .36358E-02    .24580E-02
   6  norm          .65834        .13296        .39588E-02    .42527E-02
   7  Prefactor     .10000E-03    14.737        .90712E-02** at limit **
   8  Prefactor     .10000E-03    1.9282        .48966E-01** at limit **
   9  Prefactor     .10000E-03    10.388        .13774    ** at limit **
  10  Prefactor     .10000E-03    16.716        .90712E-02** at limit **
  11  Prefactor     25.189        26.707        .19954E-02    .37444E-04
  12  Prefactor     3.0464        3.4413        .58113E-02    .11445E-02
  13  norm          .10000E-03    .70772        .90712E-02** at limit **
  14  Prefactor     .10000E-03    14.862        .90712E-02** at limit **
  15  norm          1.6282        .98223        .82869E-02    .30765E-03
  16  norm          .10000E-03    30.501        .90712E-02** at limit **
  17  Normalizat    1.4480        .20087        .82921E-01    .12309E-04
  18  Prefactor     .90821        .73148E-01    .45111E-01    .69070E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.09013
  norm       = 0.390268
  norm       = 0.0001
  norm       = 0.477438
  norm       = 7.60367
  norm       = 0.658335
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.1892
  Prefactor  = 3.04642
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 1.62816
  norm       = 0.0001
  Normalizat = 1.44799
  Prefactor  = 0.90821
 **********
 **   18 **HESSE 
 **********

 FCN=   12682.13     FROM HESSE     STATUS=OK           256 CALLS     1844 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0901        .25698        .26736E-04   -1.5499    
   2  norm          .39027        2.4924        .18588E-02   -1.5583    
   3  norm          .10000E-03    4.5621        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .47744        3.6362        .28330E-02   -1.5570    
   5  norm          7.6037        3.6820        .71641E-03   -1.5156    
   6  norm          .65834        .13197        .17528E-04   -1.5546    
   7  Prefactor     .10000E-03    14.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.9155        .29840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.254        .12698       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.189        26.727        .79815E-04   -1.4704    
  12  Prefactor     3.0464        3.4234        .20859E-03   -1.5359    
  13  norm          .10000E-03    .70965        .92498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.6282        .98585        .84588E-04   -1.5453    
  16  norm          .10000E-03    30.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.4480        .23206        .36707E-03   -.79251    
  18  Prefactor     .90821        .85562E-01    .17284E-03   -.95855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25645e-08
Minuit parameter uncertainties:
  1  0.25698
  2  1.97239
  3  5.4509e-06
  4  2.63514
  5  3.68208
  6  0.131965
  7  0.000403717
  8  5.97432e-05
  9  1.46361e-05
  10  0.000131145
  11  26.7401
  12  3.42364
  13  4.62047e-06
  14  0.00034444
  15  0.985858
  16  0.000117647
  17  0.232225
  18  0.0855744
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  5.974e-05  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.082e-01  8.557e-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.448e+00  2.322e-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: 8.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/552430/likelihoodResults_380332801_380592001_4FGL_J1534.8+0131_daily_bin544.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) = 12682.134145
delta logL = -0.000683981879774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12682.1334584
delta logL = 2.65481503448e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15803E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5368       1.0000          .0000       10.000    
     3 'Normalizat'    1.4478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90826       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=   12681.95     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      289 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21414        3.8888        .90712E-02    .47574E-02
   2  Index         4.0783        2.3116        .23408        .10970E-03
   3  Normalizat    1.4077        .28533E-01    .83915E-01   -.21155E-03
   4  Prefactor     .91587        .11011E-01    .45110E-01   -.51356E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.214138
  Index      = 4.07835
  Normalizat = 1.40768
  Prefactor  = 0.915873
 **********
 **   18 **HESSE 
 **********

 FCN=   12681.95     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      320 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21414        29.252        .82021E-04   -1.5615    
   2  Index         4.0783        5.3540        .10184E-01   -.18539    
   3  Normalizat    1.4077        .18828        .37150E-03   -.80407    
   4  Prefactor     .91587        .71883E-01    .17219E-03   -.95589    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.66297e-06
Minuit parameter uncertainties:
  1  5.00687
  2  12.8962
  3  0.188371
  4  0.0718902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552430': 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): 102
logL (Free Index) = 12681.953049
delta logL = 0.180412033478

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  2.141e-01  5.007e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  4.078e+00  1.290e+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.159e-01  7.189e-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.408e+00  1.884e-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/552430/cmap_HighResolution_380332801_380592001_4FGL_J1534.8+0131_daily_bin544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', job_status='DONE', photon_flux_upper_limit='8.24e-08', time_completed='2021-09-12 04:35:27.210065', job_id='552430', GAL2='0.92', fit_tolerance='1e-08', EG2='1.41', EG='1.45', time_epoch_completed='1631446527.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.80e-01', ts2='0.39', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='544' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:35:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 552430: <4FGL_J1534.8+0131_daily_bin544> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin544 233.725 1.5224 380332801 380592001 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 :                                   751.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            897 sec.

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

