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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin64
RA = 231.849, Dec = 31.2989
tmin = 255916801, tmax = 256176001
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='524742', job_status='RUN', time_executed='2021-09-12 03:02:52.858296', time_epoch_executed='1631440972.86' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='64'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524742

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524742/ft1_4FGL_J1527.3+3117_daily_bin64.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524742/ft2_4FGL_J1527.3+3117_daily_bin64.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524742/ft1_4FGL_J1527.3+3117_daily_bin64.fits outfile=/scratch/kocevski/524742/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin64.fits ra=231.849 dec=31.2989 rad=12.0 tmin=255916801.0 tmax=256176001.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.48
user 1.27
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524742/ft1_filtered_4FGL_J1527.3+3117_daily_bin64.fits evtable="EVENTS" scfile=/scratch/kocevski/524742/ft2_4FGL_J1527.3+3117_daily_bin64.fits sctable="SC_DATA" expcube=/scratch/kocevski/524742/ltcube_255916801_256176001_4FGL_J1527.3+3117_daily_bin64.fits outfile=/scratch/kocevski/524742/expmap_255916801_256176001_4FGL_J1527.3+3117_daily_bin64.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/524742/ltcube_255916801_256176001_4FGL_J1527.3+3117_daily_bin64.fits
.....................!
real 191.95
user 186.37
sys 5.25

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/524742/ft1_filtered_4FGL_J1527.3+3117_daily_bin64.fits scfile=/scratch/kocevski/524742/ft2_4FGL_J1527.3+3117_daily_bin64.fits outfile=/scratch/kocevski/524742/cmap_255916801_256176001_4FGL_J1527.3+3117_daily_bin64.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/524742/ft1_filtered_4FGL_J1527.3+3117_daily_bin64.fits scfile=/scratch/kocevski/524742/ft2_4FGL_J1527.3+3117_daily_bin64.fits outfile=/scratch/kocevski/524742/cmap_HighResolution_255916801_256176001_4FGL_J1527.3+3117_daily_bin64.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4719       1.0000         .10000E-03   10000.    
     2 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.054       1.0000         .10000E-03   10000.    
     4 'norm      '    6.0480       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .98167       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.523       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3244       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.3005       1.0000         .10000E-03   10000.    
    13 'norm      '    6.3132       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.601       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10473E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .33121       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.7632       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4380       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82880       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=   10077.61     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2595 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4691        6.3695        .24461E-05   -.87508E-05
   2  norm          .10000E-03    3.4551       -.53980E-07** at limit **
   3  Prefactor     28.002        33.224        .41145E-05   -.99595E-05
   4  norm          6.0479        5.4981       -.12683E-06   -.64038E-05
   5  Prefactor     .10000E-03    5.3071       -.62279E-07** at limit **
   6  Prefactor     .98135        4.1847        .59701E-06   -.12328E-04
   7  Prefactor     12.522        6.3944        .35494E-07    .17218E-06
   8  norm          3.3237        1.5620       -.42234E-07   -.59611E-04
   9  Prefactor     .10000E-03    28.611       -.59287E-06** at limit **
  10  Prefactor     .10000E-03    63.604       -.20097E-05** at limit **
  11  Prefactor     .10000E-03    2.5755        .14332E-07** at limit **
  12  Prefactor     3.2991        11.774        .26517E-06   -.11446E-05
  13  norm          6.3126        1.5833        .19386E-08   -.85058E-04
  14  Prefactor     15.598        9.0297       -.75427E-07   -.15731E-04
  15  Prefactor     .10000E-03    9.3789        .10759E-06** at limit **
  16  Prefactor     .10000E-03    35.911        .15016E-05** at limit **
  17  norm          .10000E-03    8.8754       -.87337E-07** at limit **
  18  Prefactor     .33151        1.2531        .42393E-06    .42596E-04
  19  Prefactor     .10000E-03    4.6463        .72277E-08** at limit **
  20  Prefactor     .10000E-03    3.1903        .22300E-07** at limit **
  21  Prefactor     1.7629        2.1710        .75622E-07    .83253E-05
  22  Normalizat    1.4386        .16632        .20573E-06    .41695E-04
  23  Prefactor     .82836        .12115       -.83713E-06   -.54810E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.46908
  norm       = 0.0001
  Prefactor  = 28.0018
  norm       = 6.04787
  Prefactor  = 0.0001
  Prefactor  = 0.981352
  Prefactor  = 12.5221
  norm       = 3.32371
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.29911
  norm       = 6.31257
  Prefactor  = 15.5976
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.331512
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.76295
  Normalizat = 1.43861
  Prefactor  = 0.828365
 **********
 **   18 **HESSE 
 **********

 FCN=   10077.61     FROM HESSE     STATUS=OK           372 CALLS     2967 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4691        6.4200        .10851E-02   -1.5335    
   2  norm          .10000E-03    3.5922        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.002        33.377        .75638E-04   -1.4649    
   4  norm          6.0479        5.4963        .16326E-03   -1.5216    
   5  Prefactor     .10000E-03    5.3382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .98135        3.9609        .38857E-03   -1.5510    
   7  Prefactor     12.522        6.3951        .11320E-03   -1.5000    
   8  norm          3.3237        1.5543        .80513E-04   -1.5343    
   9  Prefactor     .10000E-03    28.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    63.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.5857        .15731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.2991        11.771        .22285E-03   -1.5345    
  13  norm          6.3126        1.5894        .55943E-04   -1.5205    
  14  Prefactor     15.598        9.0523        .10140E-03   -1.4918    
  15  Prefactor     .10000E-03    9.3841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    37.038        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.9705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .33151        1.2225        .21080E-03   -1.5593    
  19  Prefactor     .10000E-03    4.6471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.2006        .17510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.7629        2.1581        .15890E-03   -1.5442    
  22  Normalizat    1.4386        .19687        .25633E-03   -.79518    
  23  Prefactor     .82836        .14219        .24902E-03   -.98691    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61493e-10
Minuit parameter uncertainties:
  1  6.42124
  2  1.05734e-06
  3  33.3994
  4  5.49674
  5  1.22873e-05
  6  3.94339
  7  6.39547
  8  1.55431
  9  3.07232e-06
  10  6.22219e-05
  11  9.84693e-07
  12  11.7796
  13  1.58938
  14  9.05312
  15  2.40352e-06
  16  1.13835e-05
  17  3.80489e-07
  18  1.22259
  19  5.80808e-07
  20  2.31956e-06
  21  2.15818
  22  0.196977
  23  0.142249
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.560e+01  9.053e+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:  8.284e-01  1.422e-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.439e+00  1.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.77
Ra Dec: 231.849 31.299
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 7.61e-08 +/- 4.41e-08
Energy Flux (Fixed Index): 2.05e-05 +/- 1.19e-05

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) = 10077.5054047
delta logL = 0.105584285493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10077.4180309
delta logL = 0.192958031485

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.673       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1853       1.0000          .0000       10.000    
     3 'Normalizat'    1.4668       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81539       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=   10077.42     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      262 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.685        13.402        .88091E-04    .33854E-03
   2  Index         2.1853        .61458        .92051E-02    .10395E-03
   3  Normalizat    1.4668        .18721        .25448E-03    .38955E-04
   4  Prefactor     .81543        .14007        .25082E-03   -.13118E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.6851
  Index      = 2.18525
  Normalizat = 1.4668
  Prefactor  = 0.815428
 **********
 **   18 **HESSE 
 **********

 FCN=   10077.42     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.685        13.071        .17618E-04   -1.4798    
   2  Index         2.1853        .59819        .36821E-03   -.59795    
   3  Normalizat    1.4668        .18693        .10179E-04   -.78716    
   4  Prefactor     .81543        .14006        .10033E-04   -.99162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11012e-10
Minuit parameter uncertainties:
  1  13.0732
  2  0.600296
  3  0.187015
  4  0.140122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524742': 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): 0
logL (Free Index) = 10077.4180304
delta logL = 0.192958528249

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  2.069e+01  1.307e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.185e+00  6.003e-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:  8.154e-01  1.401e-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.467e+00  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.27
Ra Dec: 231.849 31.299
Photon Index (Free Index): 2.19 +/- 0.60
Photon Flux (Free Index): 4.95e-08 +/- 4.95e-08
Energy Flux (Free Index): 2.28e-05 +/- 1.53e-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/524742/cmap_HighResolution_255916801_256176001_4FGL_J1527.3+3117_daily_bin64.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.61e-08', energy_flux2='2.28e-05', photon_flux_error='4.41e-08', dlogl='1.93e-01', energy_flux='2.05e-05', photon_flux2='4.95e-08', job_status='DONE', time_completed='2021-09-12 03:15:49.628900', photon_index_error2='0.60', photon_index2='2.19', ts='6.77', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.53e-05', EG='1.44', time_epoch_completed='1631441749.63', return_code='0', job_id='524742', GAL2='0.82', EG2='1.47', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='4.95e-08', ts2='7.27', photon_index='2.57' WHERE bin_id='64' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:15:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 524742: <4FGL_J1527.3+3117_daily_bin64> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin64 231.849 31.2989 255916801 256176001 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 :                                   774.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            919 sec.

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

