/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 84 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 = 7346
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1281
RA = 231.849, Dec = 31.2989
tmin = 571363201, tmax = 571622401
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='532694', job_status='RUN', time_executed='2021-09-12 03:22:17.544686', time_epoch_executed='1631442137.54' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1281'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532694

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532694/ft1_4FGL_J1527.3+3117_daily_bin1281.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532694/ft2_4FGL_J1527.3+3117_daily_bin1281.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532694/ft1_4FGL_J1527.3+3117_daily_bin1281.fits outfile=/scratch/kocevski/532694/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1281.fits ra=231.849 dec=31.2989 rad=12.0 tmin=571363201.0 tmax=571622401.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 2.89
user 2.67
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532694/ft1_filtered_4FGL_J1527.3+3117_daily_bin1281.fits" evtable="EVENTS" scfile=/scratch/kocevski/532694/ft2_4FGL_J1527.3+3117_daily_bin1281.fits sctable="SC_DATA" outfile=/scratch/kocevski/532694/ltcube_571363201_571622401_4FGL_J1527.3+3117_daily_bin1281.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/532694/ft2_4FGL_J1527.3+3117_daily_bin1281.fits
.....................!
real 14.50
user 14.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532694/ft1_filtered_4FGL_J1527.3+3117_daily_bin1281.fits evtable="EVENTS" scfile=/scratch/kocevski/532694/ft2_4FGL_J1527.3+3117_daily_bin1281.fits sctable="SC_DATA" expcube=/scratch/kocevski/532694/ltcube_571363201_571622401_4FGL_J1527.3+3117_daily_bin1281.fits outfile=/scratch/kocevski/532694/expmap_571363201_571622401_4FGL_J1527.3+3117_daily_bin1281.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/532694/ltcube_571363201_571622401_4FGL_J1527.3+3117_daily_bin1281.fits
.....................!
real 195.91
user 191.43
sys 4.16

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/532694/ft1_filtered_4FGL_J1527.3+3117_daily_bin1281.fits scfile=/scratch/kocevski/532694/ft2_4FGL_J1527.3+3117_daily_bin1281.fits outfile=/scratch/kocevski/532694/cmap_571363201_571622401_4FGL_J1527.3+3117_daily_bin1281.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/532694/ft1_filtered_4FGL_J1527.3+3117_daily_bin1281.fits scfile=/scratch/kocevski/532694/ft2_4FGL_J1527.3+3117_daily_bin1281.fits outfile=/scratch/kocevski/532694/cmap_HighResolution_571363201_571622401_4FGL_J1527.3+3117_daily_bin1281.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=231.849 yref=31.2989 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4838       1.0000         .10000E-03   10000.    
     2 'norm      '    5.1819       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.364       1.0000         .10000E-03   10000.    
     4 'norm      '    16.618       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9999       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.7148       1.0000         .10000E-03   10000.    
     8 'norm      '    .61777E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    74.998       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .12761E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.756       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6450       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6033       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.5326       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .82677       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0314       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=   8897.925     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2548 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4830        5.4326        .28678E-05   -.15506E-03
   2  norm          5.1819        4.1951        .20839E-06    .22087E-03
   3  Prefactor     16.338        31.363       -.21134E-05   -.29836E-03
   4  norm          16.618        8.8851       -.22857E-06   -.37002E-05
   5  Prefactor     .10000E-03    6.2060       -.23202E-06** at limit **
   6  Prefactor     5.9985        5.6375       -.14868E-06    .33012E-04
   7  Prefactor     9.7151        7.2414        .79591E-07   -.11026E-04
   8  norm          .62071E-01    .51809       -.19137E-07   -.54168E-04
   9  Prefactor     .10000E-03    23.885        .14869E-06** at limit **
  10  Prefactor     75.002        54.177        .39387E-06    .40585E-04
  11  Prefactor     .10000E-03    3.4278       -.27060E-07** at limit **
  12  Prefactor     .10000E-03    5.0271        .58372E-07** at limit **
  13  norm          .10000E-03    .42592        .43847E-07** at limit **
  14  Prefactor     20.744        8.5907       -.43554E-07   -.11566E-03
  15  Prefactor     .10000E-03    16.312        .96341E-07** at limit **
  16  Prefactor     .10000E-03    15.557        .23085E-06** at limit **
  17  norm          .10000E-03    11.003        .23417E-06** at limit **
  18  Prefactor     2.6453        2.0814        .17996E-06   -.43706E-05
  19  Prefactor     .10000E-03    3.4603        .12469E-06** at limit **
  20  Prefactor     5.6041        5.3278        .15828E-06   -.22716E-04
  21  Prefactor     1.5328        2.6880        .70134E-06   -.50283E-04
  22  Normalizat    .82700        .15488        .10919E-05   -.14759E-03
  23  Prefactor     1.0312        .12110       -.14027E-05    .39659E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.48303
  norm       = 5.18195
  Prefactor  = 16.3378
  norm       = 16.6175
  Prefactor  = 0.0001
  Prefactor  = 5.99848
  Prefactor  = 9.71509
  norm       = 0.062071
  Prefactor  = 0.0001
  Prefactor  = 75.002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.7438
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.64526
  Prefactor  = 0.0001
  Prefactor  = 5.60406
  Prefactor  = 1.53276
  Normalizat = 0.826999
  Prefactor  = 1.03118
 **********
 **   18 **HESSE 
 **********

 FCN=   8897.925     FROM HESSE     STATUS=OK           374 CALLS     2922 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4830        5.4908        .95074E-03   -1.5284    
   2  norm          5.1819        4.1927        .16863E-03   -1.5253    
   3  Prefactor     16.338        31.698        .99011E-04   -1.4899    
   4  norm          16.618        8.8823        .98251E-04   -1.4892    
   5  Prefactor     .10000E-03    6.2345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9985        5.8302        .16393E-03   -1.5218    
   7  Prefactor     9.7151        7.2411        .12857E-03   -1.5084    
   8  norm          .62071E-01    5.7382        .12369E-02   -1.5658    
   9  Prefactor     .10000E-03    23.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     75.002        54.187        .46364E-04   -1.3974    
  11  Prefactor     .10000E-03    3.4559        .17052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.0527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.5208        .10678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.744        7.7991        .87916E-04   -1.4797    
  15  Prefactor     .10000E-03    16.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    11.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.6453        2.0730        .11470E-03   -1.5383    
  19  Prefactor     .10000E-03    3.4612        .17138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6041        5.3272        .16971E-03   -1.5234    
  21  Prefactor     1.5328        2.6798        .19406E-03   -1.5460    
  22  Normalizat    .82700        .17765        .26936E-03   -.99075    
  23  Prefactor     1.0312        .13824        .20199E-03   -.91697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37366e-08
Minuit parameter uncertainties:
  1  5.49141
  2  4.19292
  3  31.7309
  4  8.883
  5  9.72116e-07
  6  5.83078
  7  7.2418
  8  1.19276
  9  3.07798e-05
  10  54.2224
  11  1.50692e-05
  12  4.71033e-06
  13  9.35198e-06
  14  7.79948
  15  2.46461e-05
  16  1.34617e-05
  17  1.01045e-05
  18  2.07309
  19  1.97357e-05
  20  5.32761
  21  2.68004
  22  0.17778
  23  0.138288
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  2.074e+01  7.799e+00  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.570e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.031e+00  1.383e-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.270e-01  1.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.34
Ra Dec: 231.849 31.299
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 3.80e-08
Energy Flux (Fixed Index): 2.73e-05 +/- 1.03e-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) = 8897.85836159
delta logL = 0.0666307822466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8897.85216319
delta logL = 0.0728291835385

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.456       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7298       1.0000          .0000       10.000    
     3 'Normalizat'    .81434       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0383       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=   8897.852     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      236 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.445        78.389        .24683E-02    .17368E-03
   2  Index         2.7300        2.1110        .90890E-01    .27508E-03
   3  Normalizat    .81436        .74886E-01    .43797E-01    .47692E-04
   4  Prefactor     1.0383        .51531E-01    .40648E-01   -.86793E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.4453
  Index      = 2.73002
  Normalizat = 0.814361
  Prefactor  = 1.03829
 **********
 **   18 **HESSE 
 **********

 FCN=   8897.852     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.445        14.944        .98733E-04   -1.4897    
   2  Index         2.7300        .51524        .36201E-02   -.47125    
   3  Normalizat    .81436        .16761        .27118E-03   -.99538    
   4  Prefactor     1.0383        .13608        .20138E-03   -.91464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95429e-11
Minuit parameter uncertainties:
  1  14.9471
  2  0.516391
  3  0.167717
  4  0.136128
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532694': 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) = 8897.85216279
delta logL = 0.07282958012

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.645e+01  1.495e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.730e+00  5.164e-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.038e+00  1.361e-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.144e-01  1.677e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.50
Ra Dec: 231.849 31.299
Photon Index (Free Index): 2.73 +/- 0.52
Photon Flux (Free Index): 1.10e-07 +/- 4.58e-08
Energy Flux (Free Index): 2.59e-05 +/- 1.05e-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/532694/cmap_HighResolution_571363201_571622401_4FGL_J1527.3+3117_daily_bin1281.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='2.59e-05', photon_flux_error='3.80e-08', dlogl='7.28e-02', energy_flux='2.73e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-09-12 03:35:58.634725', photon_index_error2='0.52', photon_index2='2.73', ts='13.34', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.05e-05', EG='0.83', time_epoch_completed='1631442958.63', return_code='0', job_id='532694', GAL2='1.04', EG2='0.81', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='4.58e-08', ts2='13.50', photon_index='2.57' WHERE bin_id='1281' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:35:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0142>
Subject: Job 532694: <4FGL_J1527.3+3117_daily_bin1281> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1281 231.849 31.2989 571363201 571622401 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 :                                   714.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            922 sec.

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

