/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 3 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 = 7388
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1527.3+3117_daily_bin169
RA = 231.849, Dec = 31.2989
tmin = 283132801, tmax = 283392001
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='524934', job_status='RUN', time_executed='2021-09-12 03:00:57.421194', time_epoch_executed='1631440857.42' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524934

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524934/ft1_4FGL_J1527.3+3117_daily_bin169.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524934/ft2_4FGL_J1527.3+3117_daily_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524934/ft1_4FGL_J1527.3+3117_daily_bin169.fits outfile=/scratch/kocevski/524934/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin169.fits ra=231.849 dec=31.2989 rad=12.0 tmin=283132801.0 tmax=283392001.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.77
user 3.56
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/524934/ft2_4FGL_J1527.3+3117_daily_bin169.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/524934/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/524934/ft1_filtered_4FGL_J1527.3+3117_daily_bin169.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/524934/ft1_filtered_4FGL_J1527.3+3117_daily_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/524934/ft2_4FGL_J1527.3+3117_daily_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/524934/ltcube_283132801_283392001_4FGL_J1527.3+3117_daily_bin169.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/524934/ft2_4FGL_J1527.3+3117_daily_bin169.fits
.....................!
real 11.72
user 11.38
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524934/ft1_filtered_4FGL_J1527.3+3117_daily_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/524934/ft2_4FGL_J1527.3+3117_daily_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/524934/ltcube_283132801_283392001_4FGL_J1527.3+3117_daily_bin169.fits outfile=/scratch/kocevski/524934/expmap_283132801_283392001_4FGL_J1527.3+3117_daily_bin169.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/524934/ltcube_283132801_283392001_4FGL_J1527.3+3117_daily_bin169.fits
.....................!
real 190.44
user 185.49
sys 4.57

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/524934/ft1_filtered_4FGL_J1527.3+3117_daily_bin169.fits scfile=/scratch/kocevski/524934/ft2_4FGL_J1527.3+3117_daily_bin169.fits outfile=/scratch/kocevski/524934/cmap_283132801_283392001_4FGL_J1527.3+3117_daily_bin169.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/524934/ft1_filtered_4FGL_J1527.3+3117_daily_bin169.fits scfile=/scratch/kocevski/524934/ft2_4FGL_J1527.3+3117_daily_bin169.fits outfile=/scratch/kocevski/524934/cmap_HighResolution_283132801_283392001_4FGL_J1527.3+3117_daily_bin169.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0514       1.0000         .10000E-03   10000.    
     2 'norm      '    .73667       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11759E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.626       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.7823       1.0000         .10000E-03   10000.    
     8 'norm      '    .10108E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17228E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16594E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7291       1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.087       1.0000         .10000E-03   10000.    
    13 'norm      '    14.914       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.8229       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11146E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.235       1.0000         .10000E-03   10000.    
    17 'norm      '    .12286E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4098       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.434       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.1783       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0233       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0771       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=   7267.132     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2572 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0529        7.0571        .89793E-05   -.76344E-04
   2  norm          .70715        3.1921       -.32727E-06   -.88817E-04
   3  Prefactor     .10000E-03    20.777       -.75300E-06** at limit **
   4  norm          .10000E-03    3.6225        .16102E-08** at limit **
   5  Prefactor     .10000E-03    10.830        .40547E-07** at limit **
   6  Prefactor     14.627        10.308        .18589E-06    .15850E-03
   7  Prefactor     6.7815        6.7120        .77385E-07   -.10337E-03
   8  norm          .10000E-03    .95273       -.74965E-07** at limit **
   9  Prefactor     .10000E-03    89.746       -.45425E-06** at limit **
  10  Prefactor     .10030E-03    184.94        .46261E-06** at limit **
  11  Prefactor     1.7267        15.351        .14648E-04   -.10773E-03
  12  Prefactor     27.073        24.345        .87458E-06   -.84814E-05
  13  norm          14.912        3.2504       -.14508E-06   -.14259E-02
  14  Prefactor     1.8384        47.234        .17741E-05   -.68396E-04
  15  Prefactor     .10001E-03    25.223        .12854E-05** at limit **
  16  Prefactor     24.254        20.646        .25811E-05    .69913E-03
  17  norm          .10000E-03    35.786       -.11096E-05** at limit **
  18  Prefactor     4.4096        2.6891       -.15378E-07   -.30402E-03
  19  Prefactor     .10000E-03    8.4751       -.23748E-07** at limit **
  20  Prefactor     19.435        15.376        .56158E-06   -.31430E-04
  21  Prefactor     6.1795        3.8968        .21180E-06   -.11548E-04
  22  Normalizat    1.0230        .21128       -.23715E-05   -.19395E-03
  23  Prefactor     1.0773        .15879       -.11302E-05   -.33945E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.05287
  norm       = 0.70715
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.6266
  Prefactor  = 6.78146
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100295
  Prefactor  = 1.72668
  Prefactor  = 27.073
  norm       = 14.9123
  Prefactor  = 1.83839
  Prefactor  = 0.000100009
  Prefactor  = 24.2541
  norm       = 0.000100002
  Prefactor  = 4.40964
  Prefactor  = 0.0001
  Prefactor  = 19.4349
  Prefactor  = 6.17949
  Normalizat = 1.02303
  Prefactor  = 1.07726
 **********
 **   18 **HESSE 
 **********

 FCN=   7267.132     FROM HESSE     STATUS=OK           370 CALLS     2942 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0529        7.0608        .14431E-02   -1.5421    
   2  norm          .70715        12.799        .29065E-02   -1.5540    
   3  Prefactor     .10000E-03    20.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.6294        .15845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.627        9.9730        .10473E-03   -1.4943    
   7  Prefactor     6.7815        6.7109        .77034E-03   -1.5187    
   8  norm          .10000E-03    1.4413        .15435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    89.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10030E-03    191.68        .20389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.7267        15.443        .15965E-02   -1.5445    
  12  Prefactor     27.073        24.398        .76974E-04   -1.4667    
  13  norm          14.912        3.0557        .50088E-04   -1.4935    
  14  Prefactor     1.8384        41.479        .30924E-03   -1.5437    
  15  Prefactor     .10001E-03    25.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.254        20.753        .81369E-04   -1.4723    
  17  norm          .10000E-03    36.310        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.4096        2.6875        .10486E-03   -1.5288    
  19  Prefactor     .10000E-03    8.4854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.435        15.412        .90853E-04   -1.4826    
  21  Prefactor     6.1795        3.8988        .12877E-03   -1.5211    
  22  Normalizat    1.0230        .24615        .31193E-03   -.92263    
  23  Prefactor     1.0773        .18668        .23668E-03   -.90197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14787e-08
Minuit parameter uncertainties:
  1  7.06367
  2  6.01793
  3  0.000423606
  4  3.5903e-06
  5  3.01728e-05
  6  9.97409
  7  6.71167
  8  3.51633e-06
  9  0.000503302
  10  0.0151004
  11  10.3308
  12  24.4074
  13  3.0557
  14  17.4781
  15  0.000968463
  16  20.7593
  17  0.000587993
  18  2.6876
  19  4.45396e-06
  20  15.4156
  21  3.89898
  22  0.246426
  23  0.186797
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.838e+00  1.748e+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:  1.077e+00  1.868e-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.023e+00  2.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/524934/likelihoodResults_283132801_283392001_4FGL_J1527.3+3117_daily_bin169.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) = 7267.03432934
delta logL = 0.097484473933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7267.00115315
delta logL = 0.13066066071

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41448       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0535       1.0000          .0000       10.000    
     3 'Normalizat'    .99105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0924       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=   7267.001     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      245 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41272        6.6850        .21584E-01    .35634E-02
   2  Index         4.0562        2.3902        .13450        .27234E-03
   3  Normalizat    .99132        .25552E-01    .71398E-01   -.42664E-03
   4  Prefactor     1.0924        .19957E-01    .37882E-01   -.41084E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.41272
  Index      = 4.0562
  Normalizat = 0.991317
  Prefactor  = 1.09236
 **********
 **   18 **HESSE 
 **********

 FCN=   7267.001     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41272        67.023        .87261E-03   -1.5579    
   2  Index         4.0562        6.1246        .85784E-02   -.18990    
   3  Normalizat    .99132        .13609        .31589E-03   -.93322    
   4  Prefactor     1.0924        .10544        .23514E-03   -.89711    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.57373e-10
Minuit parameter uncertainties:
  1  10.5296
  2  11.0922
  3  0.136142
  4  0.10546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524934': 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) = 7267.00115031
delta logL = 0.130663498217

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  4.127e-01  1.053e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  4.056e+00  1.109e+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.092e+00  1.055e-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.913e-01  1.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 231.849 31.299

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/524934/cmap_HighResolution_283132801_283392001_4FGL_J1527.3+3117_daily_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', job_status='DONE', photon_flux_upper_limit='1.56e-07', time_completed='2021-09-12 03:12:53.082522', job_id='524934', GAL2='1.09', fit_tolerance='1e-08', EG2='0.99', EG='1.02', time_epoch_completed='1631441573.08', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.31e-01', ts2='0.30', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='169' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:12:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 524934: <4FGL_J1527.3+3117_daily_bin169> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin169> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sun Sep 12 03:00:43 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:00:45 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:00:45 2021
Terminated at Sun Sep 12 03:12:53 2021
Results reported at Sun Sep 12 03:12:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin169 231.849 31.2989 283132801 283392001 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 :                                   710.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            730 sec.

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

