/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 141 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 = 7415
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1527.3+3117_daily_bin15
RA = 231.849, Dec = 31.2989
tmin = 243216001, tmax = 243475201
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='524662', job_status='RUN', time_executed='2021-09-12 03:02:56.835006', time_epoch_executed='1631440976.84' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524662

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524662/ft1_4FGL_J1527.3+3117_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524662/ft2_4FGL_J1527.3+3117_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524662/ft1_4FGL_J1527.3+3117_daily_bin15.fits outfile=/scratch/kocevski/524662/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin15.fits ra=231.849 dec=31.2989 rad=12.0 tmin=243216001.0 tmax=243475201.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 1.35
user 1.18
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/524662/ft1_filtered_4FGL_J1527.3+3117_daily_bin15.fits" evtable="EVENTS" scfile=/scratch/kocevski/524662/ft2_4FGL_J1527.3+3117_daily_bin15.fits sctable="SC_DATA" outfile=/scratch/kocevski/524662/ltcube_243216001_243475201_4FGL_J1527.3+3117_daily_bin15.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/524662/ft2_4FGL_J1527.3+3117_daily_bin15.fits
.....................!
real 12.51
user 12.08
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524662/ft1_filtered_4FGL_J1527.3+3117_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/524662/ft2_4FGL_J1527.3+3117_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/524662/ltcube_243216001_243475201_4FGL_J1527.3+3117_daily_bin15.fits outfile=/scratch/kocevski/524662/expmap_243216001_243475201_4FGL_J1527.3+3117_daily_bin15.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/524662/ltcube_243216001_243475201_4FGL_J1527.3+3117_daily_bin15.fits
.....................!
real 191.45
user 185.11
sys 5.88

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/524662/ft1_filtered_4FGL_J1527.3+3117_daily_bin15.fits scfile=/scratch/kocevski/524662/ft2_4FGL_J1527.3+3117_daily_bin15.fits outfile=/scratch/kocevski/524662/cmap_243216001_243475201_4FGL_J1527.3+3117_daily_bin15.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/524662/ft1_filtered_4FGL_J1527.3+3117_daily_bin15.fits scfile=/scratch/kocevski/524662/ft2_4FGL_J1527.3+3117_daily_bin15.fits outfile=/scratch/kocevski/524662/cmap_HighResolution_243216001_243475201_4FGL_J1527.3+3117_daily_bin15.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    11.057       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.361       1.0000         .10000E-03   10000.    
     4 'norm      '    11.590       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .43045       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4894       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12619E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.222       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.231       1.0000         .10000E-03   10000.    
    13 'norm      '    5.8743       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10527E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.0233       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9008       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.364       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.4187       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .81577       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96654       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=   6223.669     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2521 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.8037       -.36355E-08** at limit **
   2  norm          11.057        5.6130       -.61485E-07   -.49421E-04
   3  Prefactor     18.352        36.296       -.28389E-05   -.91129E-04
   4  norm          11.589        7.9421        .35675E-07   -.93375E-05
   5  Prefactor     .10000E-03    9.5623        .23853E-05** at limit **
   6  Prefactor     .10000E-03    5.2038       -.75395E-07** at limit **
   7  Prefactor     .44198        6.1486        .23587E-05   -.34756E-03
   8  norm          2.4892        1.9018        .52867E-07   -.10710E-03
   9  Prefactor     .10000E-03    29.521        .20761E-06** at limit **
  10  Prefactor     .10000E-03    97.422       -.36136E-06** at limit **
  11  Prefactor     14.222        9.8217       -.39232E-08   -.11568E-04
  12  Prefactor     20.232        19.151       -.13772E-06   -.10916E-04
  13  norm          5.8741        1.5663       -.75517E-08   -.28047E-04
  14  Prefactor     .10000E-03    3.0598       -.86963E-09** at limit **
  15  Prefactor     .10000E-03    12.663       -.44810E-06** at limit **
  16  Prefactor     .10000E-03    9.3903       -.19103E-05** at limit **
  17  norm          8.0162        13.420        .51827E-06    .66580E-04
  18  Prefactor     1.9010        1.9698        .46192E-07   -.76136E-04
  19  Prefactor     11.365        12.809       -.51210E-07   -.21531E-05
  20  Prefactor     .10000E-03    2.6982       -.22911E-08** at limit **
  21  Prefactor     1.4188        1.8826        .36027E-07   -.44394E-04
  22  Normalizat    .81586        .18123        .54694E-06   -.61474E-04
  23  Prefactor     .96642        .13638       -.40837E-06    .16260E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 11.057
  Prefactor  = 18.352
  norm       = 11.589
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.441982
  norm       = 2.48918
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.2221
  Prefactor  = 20.2322
  norm       = 5.87412
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.01619
  Prefactor  = 1.90098
  Prefactor  = 11.3645
  Prefactor  = 0.0001
  Prefactor  = 1.41882
  Normalizat = 0.815856
  Prefactor  = 0.966419
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.669     FROM HESSE     STATUS=OK           374 CALLS     2895 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8176        .12899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.057        5.6143        .12049E-03   -1.5043    
   3  Prefactor     18.352        37.265        .93471E-04   -1.4851    
   4  norm          11.589        7.9410        .11768E-03   -1.5027    
   5  Prefactor     .10000E-03    10.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.2361        .17547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .44198        8.1291        .42762E-03   -1.5575    
   8  norm          2.4892        1.9033        .88554E-04   -1.5392    
   9  Prefactor     .10000E-03    29.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    98.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.222        9.8232        .10621E-03   -1.4954    
  12  Prefactor     20.232        19.176        .89047E-04   -1.4808    
  13  norm          5.8741        1.5691        .48341E-04   -1.5223    
  14  Prefactor     .10000E-03    3.0668        .13469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.7343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.0162        13.470        .14155E-03   -1.5142    
  18  Prefactor     1.9010        1.9576        .10850E-03   -1.5432    
  19  Prefactor     11.365        12.809        .11884E-03   -1.5034    
  20  Prefactor     .10000E-03    2.7023        .12655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.4188        1.8583        .12123E-03   -1.5470    
  22  Normalizat    .81586        .20787        .27362E-03   -.99483    
  23  Prefactor     .96642        .15664        .20581E-03   -.93857    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.74931e-10
Minuit parameter uncertainties:
  1  3.02627e-07
  2  5.61458
  3  37.3123
  4  7.9417
  5  0.000149165
  6  6.91962e-06
  7  3.79116
  8  1.90333
  9  1.80062e-05
  10  8.74305e-05
  11  9.82431
  12  19.1814
  13  1.56907
  14  5.67083e-07
  15  3.28371e-05
  16  0.00013216
  17  13.475
  18  1.95768
  19  12.8125
  20  4.26502e-07
  21  1.85841
  22  0.208077
  23  0.156716
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  5.671e-07  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:  9.664e-01  1.567e-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.159e-01  2.081e-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: 6.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/524662/likelihoodResults_243216001_243475201_4FGL_J1527.3+3117_daily_bin15.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) = 6223.6708997
delta logL = -0.00155058541714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6223.66934859
delta logL = 5.25455106981e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5412       1.0000          .0000       10.000    
     3 'Normalizat'    .81586       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96642       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6223.669     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      257 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    17.263        .13918E-01** at limit **
   2  Index         1.7104        8.9527        .50000        .46343E-06
   3  Normalizat    .81586        .74861E-02    .27362E-03    .43877E-04
   4  Prefactor     .96642        .61168E-02    .20581E-03    .75237E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010001
  Index      = 1.71037
  Normalizat = 0.815857
  Prefactor  = 0.966419
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.669     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      286 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    180.38        .18508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7104        6.7262        .50000       -.71806    
   3  Normalizat    .81586        .24991E-01    .10945E-04   -.99483    
   4  Prefactor     .96642        .20420E-01    .82322E-05   -.93857    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.85297e-08
Minuit parameter uncertainties:
  1  0.00263185
  2  742.67
  3  0.0249915
  4  0.0204203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524662': 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) = 6223.66934145
delta logL = 7.6616070146e-06

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  2.632e-03  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  1.710e+00  7.427e+02  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:  9.664e-01  2.042e-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.159e-01  2.499e-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/524662/cmap_HighResolution_243216001_243475201_4FGL_J1527.3+3117_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.30e-03', job_status='DONE', photon_flux_upper_limit='6.78e-08', time_completed='2021-09-12 03:13:48.869930', job_id='524662', GAL2='0.97', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1631441628.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='7.66e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='15' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:13:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 524662: <4FGL_J1527.3+3117_daily_bin15> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin15 231.849 31.2989 243216001 243475201 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 :                                   649.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            805 sec.

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

