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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin959
RA = 231.849, Dec = 31.2989
tmin = 487900801, tmax = 488160001
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='530475', job_status='RUN', time_executed='2021-09-12 03:20:03.073244', time_epoch_executed='1631442003.07' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='959'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530475

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530475/ft1_4FGL_J1527.3+3117_daily_bin959.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530475/ft2_4FGL_J1527.3+3117_daily_bin959.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530475/ft1_4FGL_J1527.3+3117_daily_bin959.fits outfile=/scratch/kocevski/530475/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin959.fits ra=231.849 dec=31.2989 rad=12.0 tmin=487900801.0 tmax=488160001.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 4.49
user 4.26
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/530475/ft2_4FGL_J1527.3+3117_daily_bin959.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/530475/ft2_4FGL_J1527.3+3117_daily_bin959.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/530475/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin959.fits evtable="EVENTS" outfile="/scratch/kocevski/530475/ft1_filtered_4FGL_J1527.3+3117_daily_bin959.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.40
user 0.27
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530475/ft1_filtered_4FGL_J1527.3+3117_daily_bin959.fits" evtable="EVENTS" scfile=/scratch/kocevski/530475/ft2_4FGL_J1527.3+3117_daily_bin959.fits sctable="SC_DATA" outfile=/scratch/kocevski/530475/ltcube_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.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/530475/ft2_4FGL_J1527.3+3117_daily_bin959.fits
.....................!
real 8.84
user 8.47
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530475/ft1_filtered_4FGL_J1527.3+3117_daily_bin959.fits evtable="EVENTS" scfile=/scratch/kocevski/530475/ft2_4FGL_J1527.3+3117_daily_bin959.fits sctable="SC_DATA" expcube=/scratch/kocevski/530475/ltcube_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.fits outfile=/scratch/kocevski/530475/expmap_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.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/530475/ltcube_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.fits
.....................!
real 139.15
user 135.70
sys 3.23

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1527.3+3117 @ 231.849 31.2989

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/530475/ft1_filtered_4FGL_J1527.3+3117_daily_bin959.fits scfile=/scratch/kocevski/530475/ft2_4FGL_J1527.3+3117_daily_bin959.fits outfile=/scratch/kocevski/530475/cmap_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.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=231.849 yref=31.2989 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.44
user 0.30
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530475/ft1_filtered_4FGL_J1527.3+3117_daily_bin959.fits scfile=/scratch/kocevski/530475/ft2_4FGL_J1527.3+3117_daily_bin959.fits outfile=/scratch/kocevski/530475/cmap_HighResolution_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.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=231.849 yref=31.2989 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.48
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/530475/ft1_filtered_4FGL_J1527.3+3117_daily_bin959.fits evtable="EVENTS" scfile=/scratch/kocevski/530475/ft2_4FGL_J1527.3+3117_daily_bin959.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/530475/Model_4FGL_J1527.3+3117_daily_bin959.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/530475/ft1_filtered_4FGL_J1527.3+3117_daily_bin959.fits.....................!
real 34.57
user 33.53
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/530475/ft1_filtered_4FGL_J1527.3+3117_daily_bin959.fits', '/scratch/kocevski/530475/ft2_4FGL_J1527.3+3117_daily_bin959.fits', expMap='/scratch/kocevski/530475/expmap_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.fits', expCube='/scratch/kocevski/530475/ltcube_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/530475/Model_4FGL_J1527.3+3117_daily_bin959.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1527.3+3117'

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.294e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.570e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/530475/ft1_filtered_4FGL_J1527.3+3117_daily_bin959.fits
Spacecraft file(s): /scratch/kocevski/530475/ft2_4FGL_J1527.3+3117_daily_bin959.fits
Exposure map: /scratch/kocevski/530475/expmap_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.fits
Exposure cube: /scratch/kocevski/530475/ltcube_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/530475/Model_4FGL_J1527.3+3117_daily_bin959.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) = 5965.61289935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1271       1.0000         .10000E-03   10000.    
     2 'norm      '    7.1742       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.364       1.0000         .10000E-03   10000.    
     4 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.5011       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11713E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .88556E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.5507       1.0000         .10000E-03   10000.    
    13 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.534       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10584E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.4030       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .19530E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.2735       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88276       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5965.579     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2596 TOTAL
                     EDM=   .83E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1205        9.1955        .28897E-06   -.40548E-04
   2  norm          7.1732        5.0221        .16358E-05   -.44991E-04
   3  Prefactor     13.351        32.869        .55035E-05   -.65712E-05
   4  norm          .10000E-03    4.9993       -.10951E-06** at limit **
   5  Prefactor     .10000E-03    8.1226        .48050E-07** at limit **
   6  Prefactor     .10000E-03    4.4577       -.38532E-05** at limit **
   7  Prefactor     .10000E-03    2.2187       -.59110E-08** at limit **
   8  norm          5.5006        2.7404        .64232E-07    .10268E-03
   9  Prefactor     .10000E-03    59.000       -.10581E-06** at limit **
  10  Prefactor     .10000E-03    455.80       -.11162E-04** at limit **
  11  Prefactor     .10000E-03    4.1410        .54515E-09** at limit **
  12  Prefactor     9.5465        24.037       -.31727E-05   -.13041E-04
  13  norm          .10000E-03    .69565       -.17776E-06** at limit **
  14  Prefactor     .10000E-03    4.4790        .38300E-05** at limit **
  15  Prefactor     16.542        24.860        .66734E-05   -.21761E-04
  16  Prefactor     .10000E-03    12.462       -.74158E-07** at limit **
  17  norm          .10000E-03    10.678        .90420E-07** at limit **
  18  Prefactor     .10000E-03    .92979       -.10503E-07** at limit **
  19  Prefactor     9.3994        23.841       -.29662E-05   -.11518E-04
  20  Prefactor     .10001E-03    6.2344        .30292E-06** at limit **
  21  Prefactor     3.2722        3.9328       -.58441E-07   -.49433E-03
  22  Normalizat    .88279        .19252       -.86628E-06   -.71151E-05
  23  Prefactor     1.0209        .13927       -.22611E-07   -.40242E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.12047
  norm       = 7.17322
  Prefactor  = 13.3512
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.50058
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 9.54651
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.5417
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.39937
  Prefactor  = 0.000100013
  Prefactor  = 3.2722
  Normalizat = 0.882791
  Prefactor  = 1.02088
 **********
 **   18 **HESSE 
 **********

 FCN=   5965.579     FROM HESSE     STATUS=OK           376 CALLS     2972 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1205        9.1884        .14064E-03   -1.5138    
   2  norm          7.1732        5.0115        .14055E-03   -1.5172    
   3  Prefactor     13.351        32.887        .10957E-03   -1.4977    
   4  norm          .10000E-03    5.0059        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.1602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.4651        .15920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.2217        .11235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.5006        2.7484        .86118E-04   -1.5239    
   9  Prefactor     .10000E-03    59.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    465.08        .18298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.1688        .15346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.5465        24.082        .12967E-03   -1.5090    
  13  norm          .10000E-03    1.3449        .12363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.4681        .15890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.542        24.742        .98499E-04   -1.4894    
  16  Prefactor     .10000E-03    12.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    10.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .94279        .72670E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.3994        23.857        .13069E-03   -1.5095    
  20  Prefactor     .10001E-03    13.325        .55940E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.2722        3.9286        .15958E-03   -1.5346    
  22  Normalizat    .88279        .22507        .27766E-03   -.97067    
  23  Prefactor     1.0209        .16492        .19383E-03   -.92037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93336e-10
Minuit parameter uncertainties:
  1  9.18999
  2  5.01179
  3  32.9313
  4  8.83667e-07
  5  2.0947e-06
  6  1.0792e-06
  7  1.21542e-07
  8  2.74847
  9  1.2204e-05
  10  0.00119243
  11  1.22668e-07
  12  24.1067
  13  1.96274e-05
  14  1.80759e-05
  15  24.7572
  16  5.92058e-06
  17  8.13879e-06
  18  1.29603e-06
  19  23.8809
  20  0.000830883
  21  3.92889
  22  0.225312
  23  0.165002
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  1.808e-05  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.570e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.021e+00  1.650e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  8.828e-01  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 231.849 31.299
Photon Flux Upper Limit: 7.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530475/likelihoodResults_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.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) = 5965.58001282
delta logL = -0.00106679195233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5965.57894768
delta logL = -1.64503489941e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10861E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5522       1.0000          .0000       10.000    
     3 'Normalizat'    .88253       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0211       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5965.579     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      198 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    103.57        .90712E-02** at limit **
   2  Index         2.5354        8.3115        .50000        .32473E-04
   3  Normalizat    .88279        .22741E-01    .44678E-01    .68745E-04
   4  Prefactor     1.0209        .17042E-01    .42034E-01    .58017E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.53544
  Normalizat = 0.882791
  Prefactor  = 1.02088
 **********
 **   18 **HESSE 
 **********

 FCN=   5965.579     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      229 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    463.36        .16083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5354        8.5994        .50000       -.51543    
   3  Normalizat    .88279        .54208E-01    .27766E-03   -.97067    
   4  Prefactor     1.0209        .40635E-01    .19383E-03   -.92037    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49024e-07
Minuit parameter uncertainties:
  1  0.000516544
  2  44.1679
  3  0.0542115
  4  0.0406361
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530475': 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) = 5965.57894577
delta logL = 2.59817170445e-07

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  5.165e-04  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.535e+00  4.417e+01  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.021e+00  4.064e-02  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  8.828e-01  5.421e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 231.849 31.299

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/530475/cmap_HighResolution_487900801_488160001_4FGL_J1527.3+3117_daily_bin959.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.14e-03', job_status='DONE', photon_flux_upper_limit='7.85e-08', time_completed='2021-09-12 03:27:54.547626', job_id='530475', GAL2='1.02', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1631442474.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.60e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='959' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:27:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 530475: <4FGL_J1527.3+3117_daily_bin959> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin959> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 03:15:41 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:16:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 03:16:15 2021
Terminated at Sun Sep 12 03:27:55 2021
Results reported at Sun Sep 12 03:27:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin959 231.849 31.2989 487900801 488160001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1527.3+3117 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   467.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            734 sec.

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

