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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1190
RA = 231.849, Dec = 31.2989
tmin = 547776001, tmax = 548035201
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='532555', job_status='RUN', time_executed='2021-09-12 03:22:43.920892', time_epoch_executed='1631442163.92' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1190'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532555

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532555/ft1_4FGL_J1527.3+3117_daily_bin1190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532555/ft2_4FGL_J1527.3+3117_daily_bin1190.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532555/ft1_4FGL_J1527.3+3117_daily_bin1190.fits outfile=/scratch/kocevski/532555/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1190.fits ra=231.849 dec=31.2989 rad=12.0 tmin=547776001.0 tmax=548035201.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.59
user 3.35
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532555/ft1_filtered_4FGL_J1527.3+3117_daily_bin1190.fits evtable="EVENTS" scfile=/scratch/kocevski/532555/ft2_4FGL_J1527.3+3117_daily_bin1190.fits sctable="SC_DATA" expcube=/scratch/kocevski/532555/ltcube_547776001_548035201_4FGL_J1527.3+3117_daily_bin1190.fits outfile=/scratch/kocevski/532555/expmap_547776001_548035201_4FGL_J1527.3+3117_daily_bin1190.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/532555/ltcube_547776001_548035201_4FGL_J1527.3+3117_daily_bin1190.fits
.....................!
real 189.73
user 185.23
sys 4.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/532555/ft1_filtered_4FGL_J1527.3+3117_daily_bin1190.fits scfile=/scratch/kocevski/532555/ft2_4FGL_J1527.3+3117_daily_bin1190.fits outfile=/scratch/kocevski/532555/cmap_547776001_548035201_4FGL_J1527.3+3117_daily_bin1190.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/532555/ft1_filtered_4FGL_J1527.3+3117_daily_bin1190.fits scfile=/scratch/kocevski/532555/ft2_4FGL_J1527.3+3117_daily_bin1190.fits outfile=/scratch/kocevski/532555/cmap_HighResolution_547776001_548035201_4FGL_J1527.3+3117_daily_bin1190.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3588       1.0000         .10000E-03   10000.    
     2 'norm      '    9.1019       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.643       1.0000         .10000E-03   10000.    
     4 'norm      '    6.2805       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8158       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.591       1.0000         .10000E-03   10000.    
     8 'norm      '    .15376       1.0000         .10000E-03   10000.    
     9 'Prefactor '    48.826       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11015E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21316E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    3.4273       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.1619       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13843E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .94604       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.258       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.3619       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2273       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .77138       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=   7523.632     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2561 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3576        5.3296        .93145E-06    .19219E-04
   2  norm          9.1015        4.8740       -.44866E-07    .37666E-05
   3  Prefactor     18.650        29.330       -.40646E-06   -.48115E-05
   4  norm          6.2812        9.0615       -.11412E-06    .40298E-06
   5  Prefactor     3.8136        12.430       -.87127E-06   -.16637E-04
   6  Prefactor     .10000E-03    3.5902        .93197E-08** at limit **
   7  Prefactor     14.593        9.0043        .28928E-06   -.11344E-04
   8  norm          .15283        .76275        .16762E-06   -.15717E-03
   9  Prefactor     48.807        67.731       -.28102E-05   -.12986E-04
  10  Prefactor     .10000E-03    272.31        .14680E-04** at limit **
  11  Prefactor     .10000E-03    4.2696       -.91766E-07** at limit **
  12  Prefactor     .10000E-03    6.3518       -.81529E-07** at limit **
  13  norm          3.4272        1.4060        .17584E-07    .67978E-04
  14  Prefactor     6.1699        8.9806       -.43217E-06    .22051E-04
  15  Prefactor     .10000E-03    80.079       -.35088E-05** at limit **
  16  Prefactor     .10000E-03    6.2102        .35787E-07** at limit **
  17  norm          .10000E-03    5.0283        .11610E-07** at limit **
  18  Prefactor     .94501        2.0957       -.34341E-06   -.45862E-04
  19  Prefactor     .10000E-03    5.4687        .48595E-07** at limit **
  20  Prefactor     14.255        11.919       -.21835E-06    .15523E-04
  21  Prefactor     3.3616        2.3553       -.52958E-07    .31491E-05
  22  Normalizat    1.2272        .16663       -.23282E-06    .55922E-04
  23  Prefactor     .77157        .12847        .14730E-05   -.23453E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35763
  norm       = 9.10147
  Prefactor  = 18.6504
  norm       = 6.2812
  Prefactor  = 3.8136
  Prefactor  = 0.0001
  Prefactor  = 14.5932
  norm       = 0.152833
  Prefactor  = 48.8066
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.42722
  Prefactor  = 6.1699
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.945013
  Prefactor  = 0.0001
  Prefactor  = 14.2552
  Prefactor  = 3.36159
  Normalizat = 1.22722
  Prefactor  = 0.771574
 **********
 **   18 **HESSE 
 **********

 FCN=   7523.632     FROM HESSE     STATUS=OK           378 CALLS     2939 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3576        5.3411        .18739E-02   -1.5475    
   2  norm          9.1015        4.8728        .13285E-03   -1.5105    
   3  Prefactor     18.650        29.577        .92760E-04   -1.4844    
   4  norm          6.2812        9.0306        .80087E-03   -1.5207    
   5  Prefactor     3.8136        12.400        .10331E-02   -1.5317    
   6  Prefactor     .10000E-03    3.6157        .16025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.593        9.0035        .10486E-03   -1.4944    
   8  norm          .15283        2.7350        .13407E-02   -1.5630    
   9  Prefactor     48.807        67.767        .57388E-04   -1.4310    
  10  Prefactor     .10000E-03    271.73        .20698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.3461        .17505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    32.741        .42420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.4272        1.4115        .54490E-04   -1.5338    
  14  Prefactor     6.1699        8.9950        .16173E-03   -1.5211    
  15  Prefactor     .10000E-03    80.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.2179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.0419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .94501        2.0786        .17644E-03   -1.5514    
  19  Prefactor     .10000E-03    5.4710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.255        11.940        .10607E-03   -1.4953    
  21  Prefactor     3.3616        2.3549        .10791E-03   -1.5341    
  22  Normalizat    1.2272        .19385        .23464E-03   -.85766    
  23  Prefactor     .77157        .14689        .23224E-03   -1.0078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07134e-08
Minuit parameter uncertainties:
  1  5.34296
  2  4.87304
  3  29.6002
  4  9.03257
  5  12.4083
  6  2.10014e-06
  7  9.00436
  8  1.29269
  9  67.8741
  10  9.91044e-06
  11  8.49251e-06
  12  2.1421e-05
  13  1.41154
  14  8.99692
  15  2.14665e-06
  16  2.45595e-06
  17  3.77211e-06
  18  2.07878
  19  9.38657e-07
  20  11.9424
  21  2.35501
  22  0.19396
  23  0.146968
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  6.170e+00  8.997e+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:  7.716e-01  1.470e-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.227e+00  1.940e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/532555/likelihoodResults_547776001_548035201_4FGL_J1527.3+3117_daily_bin1190.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) = 7523.29669519
delta logL = 0.33506095513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7523.27000337
delta logL = 0.36175277551

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7752       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4905       1.0000          .0000       10.000    
     3 'Normalizat'    1.1956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78679       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=   7523.270     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      257 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7737        30.134        .78554E-02    .10511E-02
   2  Index         3.4908        2.9101        .10071        .23049E-03
   3  Normalizat    1.1956        .46064E-01    .53615E-01    .16290E-04
   4  Prefactor     .78677        .36201E-01    .43545E-01    .42459E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.77371
  Index      = 3.49078
  Normalizat = 1.19563
  Prefactor  = 0.786769
 **********
 **   18 **HESSE 
 **********

 FCN=   7523.270     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      290 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7737        65.266        .96034E-04   -1.5442    
   2  Index         3.4908        6.7420        .57342E-02   -.30663    
   3  Normalizat    1.1956        .17513        .23707E-03   -.86738    
   4  Prefactor     .78677        .13615        .23016E-03   -1.0022    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72511e-09
Minuit parameter uncertainties:
  1  21.5435
  2  5.7772
  3  0.175216
  4  0.136207
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532555': 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) = 7523.27000329
delta logL = 0.361752847479

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.774e+00  2.154e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  3.491e+00  5.777e+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:  7.868e-01  1.362e-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.196e+00  1.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.58
Ra Dec: 231.849 31.299
Photon Index (Free Index): 3.49 +/- 5.78
Photon Flux (Free Index): 5.90e-08 +/- 5.90e-08
Energy Flux (Free Index): 9.85e-06 +/- 1.35e-05

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/532555/cmap_HighResolution_547776001_548035201_4FGL_J1527.3+3117_daily_bin1190.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.74e-03', comment='SUCCESS', energy_flux2='9.85e-06', dlogl='3.62e-01', photon_flux2='5.90e-08', job_status='DONE', time_completed='2021-09-12 03:35:17.974633', photon_index_error2='5.78', photon_index2='3.49', ts='0.78', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='1.35e-05', EG='1.23', time_epoch_completed='1631442917.97', return_code='0', job_id='532555', GAL2='0.79', EG2='1.20', return_code2='102', photon_flux_error2='5.90e-08', ts2='1.58', photon_index='2.57' WHERE bin_id='1190' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:35:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 532555: <4FGL_J1527.3+3117_daily_bin1190> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1190> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 03:20:27 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:20:28 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:20:28 2021
Terminated at Sun Sep 12 03:35:18 2021
Results reported at Sun Sep 12 03:35:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1190 231.849 31.2989 547776001 548035201 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 :                                   742.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            891 sec.

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

