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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin477
RA = 233.725, Dec = 1.5224
tmin = 362966401, tmax = 363225601
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='552279', job_status='RUN', time_executed='2021-09-12 04:22:41.610218', time_epoch_executed='1631445761.61' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='477'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552279

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552279/ft1_4FGL_J1534.8+0131_daily_bin477.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552279/ft2_4FGL_J1534.8+0131_daily_bin477.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552279/ft1_4FGL_J1534.8+0131_daily_bin477.fits outfile=/scratch/kocevski/552279/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin477.fits ra=233.725 dec=1.5224 rad=12.0 tmin=362966401.0 tmax=363225601.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 6.53
user 5.77
sys 0.35

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/552279/ft1_filtered_4FGL_J1534.8+0131_daily_bin477.fits" evtable="EVENTS" scfile=/scratch/kocevski/552279/ft2_4FGL_J1534.8+0131_daily_bin477.fits sctable="SC_DATA" outfile=/scratch/kocevski/552279/ltcube_362966401_363225601_4FGL_J1534.8+0131_daily_bin477.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/552279/ft2_4FGL_J1534.8+0131_daily_bin477.fits
.....................!
real 12.43
user 11.91
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552279/ft1_filtered_4FGL_J1534.8+0131_daily_bin477.fits evtable="EVENTS" scfile=/scratch/kocevski/552279/ft2_4FGL_J1534.8+0131_daily_bin477.fits sctable="SC_DATA" expcube=/scratch/kocevski/552279/ltcube_362966401_363225601_4FGL_J1534.8+0131_daily_bin477.fits outfile=/scratch/kocevski/552279/expmap_362966401_363225601_4FGL_J1534.8+0131_daily_bin477.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/552279/ltcube_362966401_363225601_4FGL_J1534.8+0131_daily_bin477.fits
.....................!
real 193.68
user 187.60
sys 5.27

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/552279/ft1_filtered_4FGL_J1534.8+0131_daily_bin477.fits scfile=/scratch/kocevski/552279/ft2_4FGL_J1534.8+0131_daily_bin477.fits outfile=/scratch/kocevski/552279/cmap_362966401_363225601_4FGL_J1534.8+0131_daily_bin477.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/552279/ft1_filtered_4FGL_J1534.8+0131_daily_bin477.fits scfile=/scratch/kocevski/552279/ft2_4FGL_J1534.8+0131_daily_bin477.fits outfile=/scratch/kocevski/552279/cmap_HighResolution_362966401_363225601_4FGL_J1534.8+0131_daily_bin477.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.4952       1.0000         .10000E-03   10000.    
     3 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.4711       1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .58785       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.143       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10384E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17695E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.9327       1.0000         .10000E-03   10000.    
    13 'norm      '    3.3678       1.0000         .10000E-03   10000.    
    14 'Prefactor '    52.532       1.0000         .10000E-03   10000.    
    15 'norm      '    1.9118       1.0000         .10000E-03   10000.    
    16 'norm      '    67.121       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .99037       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1171       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=   6554.073     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1718 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .17609        .42829E-07** at limit **
   2  norm          9.4971        4.2637        .18404E-06    .84845E-04
   3  norm          .10000E-03    2.6553        .40349E-08** at limit **
   4  norm          5.4712        7.5220        .41313E-05   -.12103E-02
   5  norm          .10000E-03    3.3034       -.35113E-07** at limit **
   6  norm          .58786        .23173       -.99543E-07   -.46394E-03
   7  Prefactor     15.114        43.945       -.11188E-04   -.29701E-03
   8  Prefactor     .10000E-03    2.0748        .84161E-08** at limit **
   9  Prefactor     .10000E-03    9.5872       -.15899E-07** at limit **
  10  Prefactor     .10000E-03    12.791        .12134E-07** at limit **
  11  Prefactor     .10000E-03    173.03        .23409E-05** at limit **
  12  Prefactor     5.9328        5.6970        .48180E-06    .13082E-03
  13  norm          3.3682        3.4002        .76509E-07    .40796E-05
  14  Prefactor     52.514        64.503       -.46146E-05   -.21700E-03
  15  norm          1.9120        1.6639        .55207E-07   -.33637E-04
  16  norm          67.153        193.64        .10152E-04    .62415E-04
  17  Normalizat    .99003        .29738       -.14864E-06   -.43213E-04
  18  Prefactor     1.1171        .11258       -.31929E-06   -.24773E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.49713
  norm       = 0.0001
  norm       = 5.4712
  norm       = 0.0001
  norm       = 0.587855
  Prefactor  = 15.1144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 5.9328
  norm       = 3.36815
  Prefactor  = 52.5142
  norm       = 1.91201
  norm       = 67.1527
  Normalizat = 0.990029
  Prefactor  = 1.11712
 **********
 **   18 **HESSE 
 **********

 FCN=   6554.073     FROM HESSE     STATUS=OK           244 CALLS     1962 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .57165        .65159E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.4971        4.2771        .10411E-03   -1.5092    
   3  norm          .10000E-03    2.6559        .12883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.4712        8.2611        .85892E-03   -1.5240    
   5  norm          .10000E-03    3.3263        .14359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .58786        .23191        .22807E-04   -1.5555    
   7  Prefactor     15.114        46.813        .10293E-03   -1.4930    
   8  Prefactor     .10000E-03    2.0831        .11385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.5899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    179.39        .40672E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.9328        5.6879        .16486E-03   -1.5221    
  13  norm          3.3682        3.3942        .14518E-03   -1.5341    
  14  Prefactor     52.514        65.781        .55337E-04   -1.4257    
  15  norm          1.9120        1.6521        .94826E-04   -1.5431    
  16  norm          67.153        195.40        .48990E-04   -1.4067    
  17  Normalizat    .99003        .32478        .45405E-03   -.93365    
  18  Prefactor     1.1171        .12518        .16951E-03   -.88921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73011e-09
Minuit parameter uncertainties:
  1  2.63173e-06
  2  4.27728
  3  2.61556e-07
  4  8.26281
  5  8.29508e-06
  6  0.231909
  7  46.9273
  8  2.98956e-06
  9  1.11314e-06
  10  3.74841e-07
  11  0.000884946
  12  5.68841
  13  3.3944
  14  65.8726
  15  1.65219
  16  197.319
  17  0.325435
  18  0.125215
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  2.990e-06  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.117e+00  1.252e-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:  9.900e-01  3.254e-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: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/552279/likelihoodResults_362966401_363225601_4FGL_J1534.8+0131_daily_bin477.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) = 6554.07575652
delta logL = -0.00227813777292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6554.0734784
delta logL = -1.4119905245e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4154       1.0000          .0000       10.000    
     3 'Normalizat'    .99002       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1171       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=   6554.073     FROM MIGRAD    STATUS=FAILED        86 CALLS      237 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10053E-03    373.42        .11398E-02** at limit **
   2  Index         2.3323        7.1488        .50000        .13924E-04
   3  Normalizat    .99003        .14331        .45405E-03    .29270E-04
   4  Prefactor     1.1171        .56772E-01    .16951E-03    .51843E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6554.073     FROM SIMPLEX   STATUS=UNCHANGED    164 CALLS      401 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10053E-03    373.42        .20994E-03** at limit **
   2  Index         2.3323        7.1488        .38345E-04    .13924E-04
   3  Normalizat    .99003        .14331        .35438E-05    .29270E-04
   4  Prefactor     1.1171        .56772E-01    .81104E-06    .51843E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6554.073     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      441 TOTAL
                     EDM=   .68E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3869        .22797E-03** at limit **
   2  Index         2.1939        6.2882        .50000       -.75738E-07
   3  Normalizat    .99003        .31002        .18162E-04    .18904E-04
   4  Prefactor     1.1171        .12328        .67805E-05    .24815E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.19388
  Normalizat = 0.99003
  Prefactor  = 1.11712
 **********
 **   18 **HESSE 
 **********

 FCN=   6554.073     FROM HESSE     STATUS=OK            29 CALLS      470 TOTAL
                     EDM=   .68E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1462        .45594E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1939        8.9026        .50000       -.59586    
   3  Normalizat    .99003        .31013        .36324E-05   -.93365    
   4  Prefactor     1.1171        .12335        .13561E-05   -.88921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80093e-12
Minuit parameter uncertainties:
  1  1.23031e-06
  2  121.124
  3  0.310699
  4  0.123383
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552279': 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) = 6554.07347778
delta logL = 6.07731635682e-07

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  1.230e-06  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.194e+00  1.211e+02  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.117e+00  1.234e-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:  9.900e-01  3.107e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/552279/cmap_HighResolution_362966401_363225601_4FGL_J1534.8+0131_daily_bin477.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.27e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-09-12 04:32:03.991081', job_id='552279', GAL2='1.12', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1631446323.99', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='6.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='477' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:32:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 552279: <4FGL_J1534.8+0131_daily_bin477> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin477 233.725 1.5224 362966401 363225601 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 :                                   554.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            700 sec.

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

