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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin564
RA = 231.849, Dec = 31.2989
tmin = 385516801, tmax = 385776001
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='528226', job_status='RUN', time_executed='2021-09-12 03:10:37.109027', time_epoch_executed='1631441437.11' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='564'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/528226

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/528226/ft1_4FGL_J1527.3+3117_daily_bin564.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/528226/ft2_4FGL_J1527.3+3117_daily_bin564.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/528226/ft1_4FGL_J1527.3+3117_daily_bin564.fits outfile=/scratch/kocevski/528226/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin564.fits ra=231.849 dec=31.2989 rad=12.0 tmin=385516801.0 tmax=385776001.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.53
user 4.29
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/528226/ft2_4FGL_J1527.3+3117_daily_bin564.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/528226/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin564.fits evtable="EVENTS" outfile="/scratch/kocevski/528226/ft1_filtered_4FGL_J1527.3+3117_daily_bin564.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/528226/ft1_filtered_4FGL_J1527.3+3117_daily_bin564.fits" evtable="EVENTS" scfile=/scratch/kocevski/528226/ft2_4FGL_J1527.3+3117_daily_bin564.fits sctable="SC_DATA" outfile=/scratch/kocevski/528226/ltcube_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.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/528226/ft2_4FGL_J1527.3+3117_daily_bin564.fits
.....................!
real 12.04
user 11.70
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/528226/ft1_filtered_4FGL_J1527.3+3117_daily_bin564.fits evtable="EVENTS" scfile=/scratch/kocevski/528226/ft2_4FGL_J1527.3+3117_daily_bin564.fits sctable="SC_DATA" expcube=/scratch/kocevski/528226/ltcube_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.fits outfile=/scratch/kocevski/528226/expmap_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.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/528226/ltcube_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.fits
.....................!
real 191.17
user 185.88
sys 4.78

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/528226/ft1_filtered_4FGL_J1527.3+3117_daily_bin564.fits scfile=/scratch/kocevski/528226/ft2_4FGL_J1527.3+3117_daily_bin564.fits outfile=/scratch/kocevski/528226/cmap_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/528226/ft1_filtered_4FGL_J1527.3+3117_daily_bin564.fits scfile=/scratch/kocevski/528226/ft2_4FGL_J1527.3+3117_daily_bin564.fits outfile=/scratch/kocevski/528226/cmap_HighResolution_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.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.56
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/528226/ft1_filtered_4FGL_J1527.3+3117_daily_bin564.fits', '/scratch/kocevski/528226/ft2_4FGL_J1527.3+3117_daily_bin564.fits', expMap='/scratch/kocevski/528226/expmap_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.fits', expCube='/scratch/kocevski/528226/ltcube_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/528226/Model_4FGL_J1527.3+3117_daily_bin564.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/528226/ft1_filtered_4FGL_J1527.3+3117_daily_bin564.fits
Spacecraft file(s): /scratch/kocevski/528226/ft2_4FGL_J1527.3+3117_daily_bin564.fits
Exposure map: /scratch/kocevski/528226/expmap_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.fits
Exposure cube: /scratch/kocevski/528226/ltcube_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/528226/Model_4FGL_J1527.3+3117_daily_bin564.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) = 5959.60263848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6115       1.0000         .10000E-03   10000.    
     2 'norm      '    14.616       1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.323       1.0000         .10000E-03   10000.    
     4 'norm      '    .23197E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .35089E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.4162       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3612       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    136.79       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .49488       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.146       1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.867       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.718       1.0000         .10000E-03   10000.    
    17 'norm      '    .10392E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3561       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .59550       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=   5959.601     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2585 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6101        7.9419       -.19439E-05   -.13171E-03
   2  norm          14.616        6.9372       -.40589E-06    .20180E-04
   3  Prefactor     46.307        34.908       -.90867E-05    .25319E-04
   4  norm          .10000E-03    4.6685       -.67237E-07** at limit **
   5  Prefactor     .10000E-03    4.2739       -.12879E-06** at limit **
   6  Prefactor     .10000E-03    7.5534       -.92626E-07** at limit **
   7  Prefactor     7.4141        9.1564        .64145E-06   -.31696E-04
   8  norm          1.3616        1.5986       -.37115E-06   -.40691E-03
   9  Prefactor     .10000E-03    48.478       -.32584E-05** at limit **
  10  Prefactor     136.72        86.801       -.52337E-04    .15169E-04
  11  Prefactor     .10000E-03    3.8964        .11358E-06** at limit **
  12  Prefactor     .10000E-03    9.9419        .19128E-07** at limit **
  13  norm          .49478        1.3584       -.73802E-06   -.16641E-02
  14  Prefactor     14.147        12.437        .46159E-06    .23556E-03
  15  Prefactor     31.863        39.209       -.40241E-05    .73931E-04
  16  Prefactor     19.681        19.819        .15398E-05    .14749E-04
  17  norm          .10000E-03    34.472        .29211E-06** at limit **
  18  Prefactor     .10000E-03    1.4990       -.45707E-06** at limit **
  19  Prefactor     .10000E-03    6.0413       -.14939E-06** at limit **
  20  Prefactor     .10000E-03    4.4960        .67232E-07** at limit **
  21  Prefactor     .10000E-03    3.0320       -.15962E-06** at limit **
  22  Normalizat    1.3560        .18248        .25796E-05    .24991E-03
  23  Prefactor     .59554        .13564        .37891E-05    .27495E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.6101
  norm       = 14.6164
  Prefactor  = 46.3068
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.41407
  norm       = 1.36155
  Prefactor  = 0.0001
  Prefactor  = 136.716
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.494778
  Prefactor  = 14.1468
  Prefactor  = 31.8627
  Prefactor  = 19.6806
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.35599
  Prefactor  = 0.595541
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.601     FROM HESSE     STATUS=OK           380 CALLS     2965 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6101        7.9184        .16959E-03   -1.5234    
   2  norm          14.616        6.9362        .10477E-03   -1.4943    
   3  Prefactor     46.307        35.034        .58911E-04   -1.4346    
   4  norm          .10000E-03    18.511        .32297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.2768        .15585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.9048        .57025E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.4141        9.1514        .14727E-03   -1.5163    
   8  norm          1.3616        1.5770        .91420E-04   -1.5475    
   9  Prefactor     .10000E-03    48.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     136.72        86.685        .17219E-03   -1.3364    
  11  Prefactor     .10000E-03    3.9199        .14880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.9699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .49478        1.2412        .11232E-03   -1.5567    
  14  Prefactor     14.147        11.691        .10649E-03   -1.4956    
  15  Prefactor     31.863        39.093        .70980E-04   -1.4578    
  16  Prefactor     19.681        19.688        .90197E-04   -1.4820    
  17  norm          .10000E-03    34.817        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.3235        .17739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.0442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.5111        .15985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.1264        .26226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3560        .21144        .22577E-03   -.81910    
  23  Prefactor     .59554        .15546        .25011E-03   -1.0777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51755e-09
Minuit parameter uncertainties:
  1  7.91984
  2  6.9366
  3  35.0493
  4  0.000113037
  5  2.00302e-06
  6  0.000104008
  7  9.1531
  8  1.57703
  9  8.61853e-05
  10  86.766
  11  4.45929e-06
  12  3.57506e-05
  13  1.24122
  14  11.6931
  15  39.1246
  16  19.694
  17  0.000668403
  18  9.43877e-05
  19  7.21923e-06
  20  1.76248e-05
  21  4.75128e-05
  22  0.211571
  23  0.155576
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.415e+01  1.169e+01  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:  5.955e-01  1.556e-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:  1.356e+00  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.35
Ra Dec: 231.849 31.299
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 6.90e-08 +/- 5.70e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.54e-05

TS (Fixed Index): 3.35
Ra Dec: 231.849 31.299
Photon Flux Upper Limit: 1.64e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.28e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/528226/likelihoodResults_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5959.22074151
delta logL = 0.380299780893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5959.19152618
delta logL = 0.409515113456

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4457       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6142       1.0000          .0000       10.000    
     3 'Normalizat'    1.3066       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62431       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=   5959.192     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      258 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4367        22.873        .65398E-02   -.20550E-03
   2  Index         3.6161        2.4063        .94438E-01    .79216E-04
   3  Normalizat    1.3067        .62958E-01    .51835E-01   -.24371E-04
   4  Prefactor     .62419        .46141E-01    .41385E-01   -.12630E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.43667
  Index      = 3.61609
  Normalizat = 1.30673
  Prefactor  = 0.624191
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.192     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      291 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4367        39.659        .66260E-04   -1.5396    
   2  Index         3.6161        3.4754        .36251E-02   -.28044    
   3  Normalizat    1.3067        .20575        .22917E-03   -.83366    
   4  Prefactor     .62419        .15312        .24498E-03   -1.0658    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.36046e-10
Minuit parameter uncertainties:
  1  19.6757
  2  3.88518
  3  0.205882
  4  0.153227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/528226': 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) = 5959.19152428
delta logL = 0.409517013426

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  2.437e+00  1.968e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  3.616e+00  3.885e+00  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:  6.242e-01  1.532e-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:  1.307e+00  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.32
Ra Dec: 231.849 31.299
Photon Index (Free Index): 3.62 +/- 3.89
Photon Flux (Free Index): 1.07e-07 +/- 8.15e-08
Energy Flux (Free Index): 1.73e-05 +/- 1.23e-05

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/528226/cmap_HighResolution_385516801_385776001_4FGL_J1527.3+3117_daily_bin564.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', comment='SUCCESS', photon_flux='6.90e-08', energy_flux2='1.73e-05', photon_flux_error='5.70e-08', dlogl='4.10e-01', energy_flux='1.86e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-12 03:21:33.427779', photon_index_error2='3.89', photon_index2='3.62', ts='3.35', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', photon_flux_upper_limit='1.64e-07', energy_flux_error2='1.23e-05', EG='1.36', time_epoch_completed='1631442093.43', return_code='0', job_id='528226', GAL2='0.62', EG2='1.31', return_code2='102', energy_flux_error='1.54e-05', photon_flux_error2='8.15e-08', ts2='4.32', photon_index='2.57' WHERE bin_id='564' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:21:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 528226: <4FGL_J1527.3+3117_daily_bin564> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin564> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 03:10:20 2021
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:10:21 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:10:21 2021
Terminated at Sun Sep 12 03:21:34 2021
Results reported at Sun Sep 12 03:21:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin564 231.849 31.2989 385516801 385776001 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 :                                   654.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            674 sec.

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

