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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1343
RA = 231.849, Dec = 31.2989
tmin = 587433601, tmax = 587692801
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='532788', job_status='RUN', time_executed='2021-09-12 03:23:22.226646', time_epoch_executed='1631442202.23' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1343'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532788

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532788/ft1_4FGL_J1527.3+3117_daily_bin1343.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532788/ft2_4FGL_J1527.3+3117_daily_bin1343.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532788/ft1_4FGL_J1527.3+3117_daily_bin1343.fits outfile=/scratch/kocevski/532788/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1343.fits ra=231.849 dec=31.2989 rad=12.0 tmin=587433601.0 tmax=587692801.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.94
user 3.30
sys 0.57

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532788/ft1_filtered_4FGL_J1527.3+3117_daily_bin1343.fits evtable="EVENTS" scfile=/scratch/kocevski/532788/ft2_4FGL_J1527.3+3117_daily_bin1343.fits sctable="SC_DATA" expcube=/scratch/kocevski/532788/ltcube_587433601_587692801_4FGL_J1527.3+3117_daily_bin1343.fits outfile=/scratch/kocevski/532788/expmap_587433601_587692801_4FGL_J1527.3+3117_daily_bin1343.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/532788/ltcube_587433601_587692801_4FGL_J1527.3+3117_daily_bin1343.fits
.....................!
real 197.70
user 186.07
sys 4.98

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/532788/ft1_filtered_4FGL_J1527.3+3117_daily_bin1343.fits scfile=/scratch/kocevski/532788/ft2_4FGL_J1527.3+3117_daily_bin1343.fits outfile=/scratch/kocevski/532788/cmap_587433601_587692801_4FGL_J1527.3+3117_daily_bin1343.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532788/ft1_filtered_4FGL_J1527.3+3117_daily_bin1343.fits scfile=/scratch/kocevski/532788/ft2_4FGL_J1527.3+3117_daily_bin1343.fits outfile=/scratch/kocevski/532788/cmap_HighResolution_587433601_587692801_4FGL_J1527.3+3117_daily_bin1343.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.57
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0148       1.0000         .10000E-03   10000.    
     2 'norm      '    5.7900       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.291       1.0000         .10000E-03   10000.    
     4 'norm      '    6.4576       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.581       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8558       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    136.24       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.687       1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.781       1.0000         .10000E-03   10000.    
    13 'norm      '    3.3251       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.794       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.3343       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8400       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.7957       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .17798       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .76354       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88537       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=   5965.410     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2607 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0130        6.6168        .17979E-06    .11412E-04
   2  norm          5.7898        4.1559        .19198E-07    .10418E-03
   3  Prefactor     20.268        42.152       -.15184E-05   -.11881E-03
   4  norm          6.4575        5.8860       -.14146E-05   -.22532E-03
   5  Prefactor     13.578        13.384       -.22915E-07   -.60687E-05
   6  Prefactor     5.8555        5.2310       -.34194E-07   -.67520E-04
   7  Prefactor     .10000E-03    8.7624        .20161E-06** at limit **
   8  norm          .10000E-03    .60693       -.64904E-07** at limit **
   9  Prefactor     .10000E-03    31.961        .59225E-07** at limit **
  10  Prefactor     136.25        79.066        .21929E-06    .29135E-04
  11  Prefactor     14.686        9.6502        .70730E-06    .93216E-04
  12  Prefactor     27.776        17.884       -.16715E-06   -.56210E-04
  13  norm          3.3249        1.6131       -.12573E-07   -.17787E-04
  14  Prefactor     19.792        12.251       -.11715E-06   -.16118E-04
  15  Prefactor     .10000E-03    16.866        .41315E-07** at limit **
  16  Prefactor     .10000E-03    4.9181        .97049E-08** at limit **
  17  norm          4.3335        4.9945       -.74035E-07   -.22696E-04
  18  Prefactor     .10000E-03    1.0967        .91262E-07** at limit **
  19  Prefactor     7.8397        9.2415       -.27628E-07   -.31434E-05
  20  Prefactor     8.7956        8.1101        .51336E-07   -.11244E-04
  21  Prefactor     .17341        2.0003        .67967E-06   -.54226E-03
  22  Normalizat    .76389        .18491        .19855E-05   -.11975E-03
  23  Prefactor     .88514        .13902       -.16684E-05   -.12748E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.01303
  norm       = 5.78983
  Prefactor  = 20.2676
  norm       = 6.4575
  Prefactor  = 13.5778
  Prefactor  = 5.85552
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 136.25
  Prefactor  = 14.6863
  Prefactor  = 27.776
  norm       = 3.32491
  Prefactor  = 19.7916
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.3335
  Prefactor  = 0.0001
  Prefactor  = 7.83968
  Prefactor  = 8.79559
  Prefactor  = 0.173407
  Normalizat = 0.763889
  Prefactor  = 0.885139
 **********
 **   18 **HESSE 
 **********

 FCN=   5965.410     FROM HESSE     STATUS=OK           380 CALLS     2987 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0130        6.6271        .17957E-03   -1.5260    
   2  norm          5.7898        4.1562        .12986E-03   -1.5227    
   3  Prefactor     20.268        42.670        .88917E-04   -1.4807    
   4  norm          6.4575        6.0293        .78968E-03   -1.5200    
   5  Prefactor     13.578        13.393        .10869E-03   -1.4971    
   6  Prefactor     5.8555        5.1982        .15980E-03   -1.5224    
   7  Prefactor     .10000E-03    8.8456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.7510        .11466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    31.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     136.25        79.087        .34505E-04   -1.3368    
  11  Prefactor     14.686        9.7092        .52255E-03   -1.4941    
  12  Prefactor     27.776        17.927        .76008E-04   -1.4653    
  13  norm          3.3249        1.6187        .55815E-04   -1.5343    
  14  Prefactor     19.792        12.323        .90024E-04   -1.4818    
  15  Prefactor     .10000E-03    16.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.9221        .16726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3335        4.9941        .18079E-03   -1.5292    
  18  Prefactor     .10000E-03    1.1160        .78923E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.8397        9.2414        .14321E-03   -1.5148    
  20  Prefactor     8.7956        8.1100        .13515E-03   -1.5115    
  21  Prefactor     .17341        4.5495        .19680E-02   -1.5625    
  22  Normalizat    .76389        .20524        .26360E-03   -1.0142    
  23  Prefactor     .88514        .15377        .20206E-03   -.96662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.46995e-10
Minuit parameter uncertainties:
  1  6.62809
  2  4.15641
  3  42.7344
  4  6.02984
  5  13.396
  6  5.19862
  7  1.01003e-05
  8  6.60167e-05
  9  1.74226e-06
  10  79.149
  11  9.71024
  12  17.9306
  13  1.61868
  14  12.3249
  15  5.8581e-06
  16  1.85253e-06
  17  4.99456
  18  1.52332e-06
  19  9.24304
  20  8.111
  21  1.77605
  22  0.205447
  23  0.153845
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  8.851e-01  1.538e-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:  7.639e-01  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.07
Ra Dec: 231.849 31.299
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 9.65e-08 +/- 6.01e-08
Energy Flux (Fixed Index): 2.61e-05 +/- 1.62e-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) = 5965.22362251
delta logL = 0.186347074622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5965.19754842
delta logL = 0.212421171956

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8213       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0434       1.0000          .0000       10.000    
     3 'Normalizat'    .72573       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90669       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=   5965.198     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      242 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8213        72.651        .31967E-02    .80919E-03
   2  Index         3.0435        2.3647        .89322E-01    .17963E-03
   3  Normalizat    .72571        .74253E-01    .60996E-01    .21631E-04
   4  Prefactor     .90672        .51702E-01    .45090E-01    .45897E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.82126
  Index      = 3.04349
  Normalizat = 0.725707
  Prefactor  = 0.906722
 **********
 **   18 **HESSE 
 **********

 FCN=   5965.198     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8213        184.46        .10999E-03   -1.5081    
   2  Index         3.0435        6.4908        .34561E-02   -.40205    
   3  Normalizat    .72571        .32113        .26981E-03   -1.0289    
   4  Prefactor     .90672        .23276        .19994E-03   -.95907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26838e-07
Minuit parameter uncertainties:
  1  85.4324
  2  4.65328
  3  0.321965
  4  0.233014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532788': 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) = 5965.19754834
delta logL = 0.212421246984

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  9.821e+00  8.543e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  3.043e+00  4.653e+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:  9.067e-01  2.330e-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:  7.257e-01  3.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.83
Ra Dec: 231.849 31.299
Photon Index (Free Index): 3.04 +/- 4.65
Photon Flux (Free Index): 1.25e-07 +/- 1.47e-07
Energy Flux (Free Index): 2.45e-05 +/- 2.94e-05

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/532788/cmap_HighResolution_587433601_587692801_4FGL_J1527.3+3117_daily_bin1343.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.65e-08', energy_flux2='2.45e-05', photon_flux_error='6.01e-08', dlogl='2.12e-01', energy_flux='2.61e-05', photon_flux2='1.25e-07', job_status='DONE', time_completed='2021-09-12 03:36:59.593225', photon_index_error2='4.65', photon_index2='3.04', ts='5.07', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='2.94e-05', EG='0.76', time_epoch_completed='1631443019.59', return_code='0', job_id='532788', GAL2='0.91', EG2='0.73', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='1.47e-07', ts2='5.83', photon_index='2.57' WHERE bin_id='1343' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:36:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 532788: <4FGL_J1527.3+3117_daily_bin1343> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1343 231.849 31.2989 587433601 587692801 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 :                                   597.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            977 sec.

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

