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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1069
RA = 231.849, Dec = 31.2989
tmin = 516412801, tmax = 516672001
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='530694', job_status='RUN', time_executed='2021-09-12 03:19:21.152121', time_epoch_executed='1631441961.15' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1069'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530694

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530694/ft1_4FGL_J1527.3+3117_daily_bin1069.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530694/ft2_4FGL_J1527.3+3117_daily_bin1069.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530694/ft1_4FGL_J1527.3+3117_daily_bin1069.fits outfile=/scratch/kocevski/530694/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1069.fits ra=231.849 dec=31.2989 rad=12.0 tmin=516412801.0 tmax=516672001.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.56
user 3.31
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/530694/ft2_4FGL_J1527.3+3117_daily_bin1069.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/530694/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1069.fits evtable="EVENTS" outfile="/scratch/kocevski/530694/ft1_filtered_4FGL_J1527.3+3117_daily_bin1069.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530694/ft1_filtered_4FGL_J1527.3+3117_daily_bin1069.fits" evtable="EVENTS" scfile=/scratch/kocevski/530694/ft2_4FGL_J1527.3+3117_daily_bin1069.fits sctable="SC_DATA" outfile=/scratch/kocevski/530694/ltcube_516412801_516672001_4FGL_J1527.3+3117_daily_bin1069.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/530694/ft2_4FGL_J1527.3+3117_daily_bin1069.fits
.....................!
real 14.60
user 14.23
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530694/ft1_filtered_4FGL_J1527.3+3117_daily_bin1069.fits evtable="EVENTS" scfile=/scratch/kocevski/530694/ft2_4FGL_J1527.3+3117_daily_bin1069.fits sctable="SC_DATA" expcube=/scratch/kocevski/530694/ltcube_516412801_516672001_4FGL_J1527.3+3117_daily_bin1069.fits outfile=/scratch/kocevski/530694/expmap_516412801_516672001_4FGL_J1527.3+3117_daily_bin1069.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/530694/ltcube_516412801_516672001_4FGL_J1527.3+3117_daily_bin1069.fits
.....................!
real 190.84
user 185.30
sys 5.13

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/530694/ft1_filtered_4FGL_J1527.3+3117_daily_bin1069.fits scfile=/scratch/kocevski/530694/ft2_4FGL_J1527.3+3117_daily_bin1069.fits outfile=/scratch/kocevski/530694/cmap_516412801_516672001_4FGL_J1527.3+3117_daily_bin1069.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530694/ft1_filtered_4FGL_J1527.3+3117_daily_bin1069.fits scfile=/scratch/kocevski/530694/ft2_4FGL_J1527.3+3117_daily_bin1069.fits outfile=/scratch/kocevski/530694/cmap_HighResolution_516412801_516672001_4FGL_J1527.3+3117_daily_bin1069.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.783       1.0000         .10000E-03   10000.    
     2 'norm      '    .48637       1.0000         .10000E-03   10000.    
     3 'Prefactor '    114.63       1.0000         .10000E-03   10000.    
     4 'norm      '    4.7800       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.957       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2170       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.385       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.455       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.297       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.763       1.0000         .10000E-03   10000.    
    13 'norm      '    .67621       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.0055       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8189       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8938       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .97689       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0329       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=   6599.585     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2503 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.783        9.2439       -.31455E-07   -.17618E-04
   2  norm          .48625        4.1986        .31035E-05   -.16544E-04
   3  Prefactor     114.63        44.542        .15181E-06   -.23635E-04
   4  norm          4.7800        5.1582       -.93674E-07    .95567E-05
   5  Prefactor     13.957        11.167       -.14408E-06   -.22216E-04
   6  Prefactor     7.2174        6.8742        .18631E-05   -.64394E-04
   7  Prefactor     12.386        9.1478       -.12293E-08   -.20460E-04
   8  norm          .10000E-03    .59911       -.30239E-07** at limit **
   9  Prefactor     .10000E-03    23.573        .48279E-07** at limit **
  10  Prefactor     41.342        73.076       -.56519E-06   -.80140E-04
  11  Prefactor     14.298        10.173       -.28144E-08   -.58856E-04
  12  Prefactor     13.763        14.838        .15526E-06   -.82688E-05
  13  norm          .67558        1.1114        .56424E-06    .90985E-03
  14  Prefactor     8.0078        8.9317       -.45338E-06   -.88368E-04
  15  Prefactor     .10000E-03    16.785        .11337E-06** at limit **
  16  Prefactor     .10000E-03    11.382        .21126E-06** at limit **
  17  norm          .10000E-03    8.3023        .35986E-06** at limit **
  18  Prefactor     1.8187        2.7620        .43085E-06   -.37635E-04
  19  Prefactor     .10000E-03    15.846        .29494E-06** at limit **
  20  Prefactor     .10000E-03    7.8953        .17137E-06** at limit **
  21  Prefactor     2.8935        3.2781        .29742E-06   -.86754E-05
  22  Normalizat    .97686        .19374       -.20930E-05   -.86599E-04
  23  Prefactor     1.0330        .14873        .52442E-06   -.20117E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 21.7831
  norm       = 0.486254
  Prefactor  = 114.63
  norm       = 4.77999
  Prefactor  = 13.9574
  Prefactor  = 7.2174
  Prefactor  = 12.3861
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.3422
  Prefactor  = 14.2982
  Prefactor  = 13.7634
  norm       = 0.675584
  Prefactor  = 8.00776
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.81873
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.89351
  Normalizat = 0.976857
  Prefactor  = 1.03301
 **********
 **   18 **HESSE 
 **********

 FCN=   6599.585     FROM HESSE     STATUS=OK           376 CALLS     2879 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.783        9.2489        .85820E-04   -1.4774    
   2  norm          .48625        4.1341        .32101E-03   -1.5569    
   3  Prefactor     114.63        44.683        .37577E-04   -1.3563    
   4  norm          4.7800        5.1603        .18402E-03   -1.5271    
   5  Prefactor     13.957        11.171        .10721E-03   -1.4961    
   6  Prefactor     7.2174        6.7970        .74655E-03   -1.5171    
   7  Prefactor     12.386        9.1489        .11382E-03   -1.5004    
   8  norm          .10000E-03    .61391        .12249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    23.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.342        73.316        .31130E-03   -1.4421    
  11  Prefactor     14.298        10.170        .10593E-03   -1.4952    
  12  Prefactor     13.763        14.852        .10797E-03   -1.4966    
  13  norm          .67558        1.0040        .95515E-03   -1.5544    
  14  Prefactor     8.0078        8.6825        .14171E-03   -1.5142    
  15  Prefactor     .10000E-03    16.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.3386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.8187        2.7406        .15672E-03   -1.5438    
  19  Prefactor     .10000E-03    15.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.9607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.8935        3.2721        .14974E-03   -1.5368    
  22  Normalizat    .97686        .22026        .27705E-03   -.93810    
  23  Prefactor     1.0330        .17022        .21859E-03   -.91637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55153e-10
Minuit parameter uncertainties:
  1  9.2495
  2  2.83564
  3  44.6958
  4  5.16077
  5  11.1726
  6  6.7977
  7  9.14995
  8  4.78059e-06
  9  2.16827e-05
  10  73.4761
  11  10.1714
  12  14.8562
  13  1.00402
  14  8.6839
  15  2.029e-05
  16  1.18567e-05
  17  2.70664e-05
  18  2.74081
  19  1.99739e-05
  20  7.64938e-06
  21  3.2723
  22  0.22046
  23  0.170308
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  8.008e+00  8.684e+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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.033e+00  1.703e-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:  9.769e-01  2.205e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.49
Ra Dec: 231.849 31.299
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 3.91e-08 +/- 4.23e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 1.14e-05

TS (Fixed Index): 1.49
Ra Dec: 231.849 31.299
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530694/likelihoodResults_516412801_516672001_4FGL_J1527.3+3117_daily_bin1069.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) = 6599.51986116
delta logL = 0.0648791789026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6599.51187513
delta logL = 0.0728652086964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3980       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9873       1.0000          .0000       10.000    
     3 'Normalizat'    .96100       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0421       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=   6599.512     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      247 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3836        100.32        .48010E-02    .58348E-03
   2  Index         2.9891        3.5547        .11346        .19855E-03
   3  Normalizat    .96120        .66775E-01    .45676E-01    .34029E-04
   4  Prefactor     1.0419        .49247E-01    .40396E-01    .11157E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.38356
  Index      = 2.98914
  Normalizat = 0.961203
  Prefactor  = 1.04188
 **********
 **   18 **HESSE 
 **********

 FCN=   6599.512     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      278 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3836        174.49        .14641E-03   -1.5289    
   2  Index         2.9891        6.3707        .64686E-02   -.41389    
   3  Normalizat    .96120        .26605        .27902E-03   -.94342    
   4  Prefactor     1.0419        .20314        .21779E-03   -.91346    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.77385e-09
Minuit parameter uncertainties:
  1  55.4878
  2  6.74337
  3  0.266419
  4  0.203287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530694': 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) = 6599.51187292
delta logL = 0.0728674162583

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  4.384e+00  5.549e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.989e+00  6.743e+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:  1.042e+00  2.033e-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:  9.612e-01  2.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.66
Ra Dec: 231.849 31.299
Photon Index (Free Index): 2.99 +/- 6.74
Photon Flux (Free Index): 4.99e-08 +/- 8.36e-08
Energy Flux (Free Index): 1.00e-05 +/- 2.17e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/530694/cmap_HighResolution_516412801_516672001_4FGL_J1527.3+3117_daily_bin1069.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.71e-03', comment='SUCCESS', photon_flux='3.91e-08', energy_flux2='1.00e-05', photon_flux_error='4.23e-08', dlogl='7.29e-02', energy_flux='1.05e-05', photon_flux2='4.99e-08', job_status='DONE', time_completed='2021-09-12 03:30:54.825581', photon_index_error2='6.74', photon_index2='2.99', ts='1.49', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='2.17e-05', EG='0.98', time_epoch_completed='1631442654.83', return_code='0', job_id='530694', GAL2='1.04', EG2='0.96', return_code2='102', energy_flux_error='1.14e-05', photon_flux_error2='8.36e-08', ts2='1.66', photon_index='2.57' WHERE bin_id='1069' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:30:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 530694: <4FGL_J1527.3+3117_daily_bin1069> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1069> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 03:15:52 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:16:40 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:40 2021
Terminated at Sun Sep 12 03:30:55 2021
Results reported at Sun Sep 12 03:30:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1069 231.849 31.2989 516412801 516672001 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 :                                   683.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            903 sec.

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

