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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1040
RA = 231.849, Dec = 31.2989
tmin = 508896001, tmax = 509155201
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='530649', job_status='RUN', time_executed='2021-09-12 03:19:18.181166', time_epoch_executed='1631441958.18' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1040'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530649

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530649/ft1_4FGL_J1527.3+3117_daily_bin1040.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530649/ft2_4FGL_J1527.3+3117_daily_bin1040.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530649/ft1_4FGL_J1527.3+3117_daily_bin1040.fits outfile=/scratch/kocevski/530649/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1040.fits ra=231.849 dec=31.2989 rad=12.0 tmin=508896001.0 tmax=509155201.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.66
user 3.46
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/530649/ft2_4FGL_J1527.3+3117_daily_bin1040.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/530649/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1040.fits evtable="EVENTS" outfile="/scratch/kocevski/530649/ft1_filtered_4FGL_J1527.3+3117_daily_bin1040.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/530649/ft1_filtered_4FGL_J1527.3+3117_daily_bin1040.fits" evtable="EVENTS" scfile=/scratch/kocevski/530649/ft2_4FGL_J1527.3+3117_daily_bin1040.fits sctable="SC_DATA" outfile=/scratch/kocevski/530649/ltcube_508896001_509155201_4FGL_J1527.3+3117_daily_bin1040.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/530649/ft2_4FGL_J1527.3+3117_daily_bin1040.fits
.....................!
real 11.83
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530649/ft1_filtered_4FGL_J1527.3+3117_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/530649/ft2_4FGL_J1527.3+3117_daily_bin1040.fits sctable="SC_DATA" expcube=/scratch/kocevski/530649/ltcube_508896001_509155201_4FGL_J1527.3+3117_daily_bin1040.fits outfile=/scratch/kocevski/530649/expmap_508896001_509155201_4FGL_J1527.3+3117_daily_bin1040.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/530649/ltcube_508896001_509155201_4FGL_J1527.3+3117_daily_bin1040.fits
.....................!
real 190.47
user 185.97
sys 4.18

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/530649/ft1_filtered_4FGL_J1527.3+3117_daily_bin1040.fits scfile=/scratch/kocevski/530649/ft2_4FGL_J1527.3+3117_daily_bin1040.fits outfile=/scratch/kocevski/530649/cmap_508896001_509155201_4FGL_J1527.3+3117_daily_bin1040.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530649/ft1_filtered_4FGL_J1527.3+3117_daily_bin1040.fits scfile=/scratch/kocevski/530649/ft2_4FGL_J1527.3+3117_daily_bin1040.fits outfile=/scratch/kocevski/530649/cmap_HighResolution_508896001_509155201_4FGL_J1527.3+3117_daily_bin1040.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.41
sys 0.12

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .19505       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.407       1.0000         .10000E-03   10000.    
     4 'norm      '    6.6692       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.915       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .73572       1.0000         .10000E-03   10000.    
     9 'Prefactor '    107.04       1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.706       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5471       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.7502       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.3217       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.940       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.3145       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10520E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.7294       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.1832       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93821       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1487       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=   6770.774     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2539 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.8536        .35127E-07** at limit **
   2  norm          .13430        4.7151        .72560E-07   -.14798E-05
   3  Prefactor     14.399        47.759       -.18004E-05   -.27470E-04
   4  norm          6.6684        6.6279        .45940E-07    .29439E-05
   5  Prefactor     19.907        17.576       -.71546E-06   -.13863E-03
   6  Prefactor     .10000E-03    2.9549       -.94822E-07** at limit **
   7  Prefactor     .10000E-03    11.396        .56362E-07** at limit **
   8  norm          .73683        1.6887        .40855E-06    .69612E-04
   9  Prefactor     107.00        78.972       -.41274E-05   -.18189E-03
  10  Prefactor     32.675        64.486       -.61594E-05   -.12438E-03
  11  Prefactor     6.5451        8.2425        .13798E-06   -.35668E-04
  12  Prefactor     .10000E-03    9.9376        .23425E-07** at limit **
  13  norm          2.7501        1.4504        .11033E-07   -.96094E-04
  14  Prefactor     9.3208        9.5481       -.14121E-08   -.57790E-04
  15  Prefactor     10.937        27.633       -.10869E-05   -.54494E-04
  16  Prefactor     .10000E-03    7.2264        .29538E-06** at limit **
  17  norm          8.3143        10.362       -.45933E-07   -.40380E-04
  18  Prefactor     .10000E-03    1.7414        .39389E-06** at limit **
  19  Prefactor     .10000E-03    7.0285       -.26230E-06** at limit **
  20  Prefactor     5.7255        10.235        .64672E-07   -.44982E-04
  21  Prefactor     4.1825        3.3542        .17699E-05   -.84168E-03
  22  Normalizat    .93806        .20202        .12872E-05   -.17172E-03
  23  Prefactor     1.1489        .15199       -.10600E-05   -.34067E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.134298
  Prefactor  = 14.3993
  norm       = 6.66845
  Prefactor  = 19.9071
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.73683
  Prefactor  = 107.002
  Prefactor  = 32.6754
  Prefactor  = 6.54513
  Prefactor  = 0.0001
  norm       = 2.75007
  Prefactor  = 9.32079
  Prefactor  = 10.9366
  Prefactor  = 0.0001
  norm       = 8.31432
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.72554
  Prefactor  = 4.18245
  Normalizat = 0.938065
  Prefactor  = 1.1489
 **********
 **   18 **HESSE 
 **********

 FCN=   6770.774     FROM HESSE     STATUS=OK           378 CALLS     2917 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8606        .13574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .13430        45.738        .34315E-02   -1.5635    
   3  Prefactor     14.399        48.075        .10552E-03   -1.4949    
   4  norm          6.6684        6.6280        .15538E-03   -1.5191    
   5  Prefactor     19.907        17.621        .89752E-04   -1.4815    
   6  Prefactor     .10000E-03    2.9586        .13801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .73683        1.6503        .14699E-03   -1.5536    
   9  Prefactor     107.00        80.743        .19436E-03   -1.3635    
  10  Prefactor     32.675        66.579        .70066E-04   -1.4564    
  11  Prefactor     6.5451        8.2409        .15684E-03   -1.5196    
  12  Prefactor     .10000E-03    9.9527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.7501        1.4470        .64494E-04   -1.5376    
  14  Prefactor     9.3208        9.5299        .13126E-03   -1.5097    
  15  Prefactor     10.937        27.663        .12113E-03   -1.5046    
  16  Prefactor     .10000E-03    7.2351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.3143        10.361        .13903E-03   -1.5131    
  18  Prefactor     .10000E-03    3.0350        .20721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.0372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.7255        10.257        .16780E-03   -1.5229    
  21  Prefactor     4.1825        3.4902        .67575E-03   -1.5299    
  22  Normalizat    .93806        .23225        .29401E-03   -.95135    
  23  Prefactor     1.1489        .17652        .21444E-03   -.87919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45082e-08
Minuit parameter uncertainties:
  1  1.64395e-06
  2  4.9588
  3  48.2048
  4  6.6287
  5  17.6253
  6  3.82583e-06
  7  2.78401e-05
  8  1.65041
  9  80.826
  10  66.7307
  11  8.24232
  12  5.32376e-06
  13  1.44704
  14  9.53149
  15  27.6954
  16  2.60789e-05
  17  10.3631
  18  4.95375e-05
  19  2.13981e-05
  20  10.2603
  21  3.49041
  22  0.232498
  23  0.176614
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  9.321e+00  9.531e+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.149e+00  1.766e-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:  9.381e-01  2.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.67
Ra Dec: 231.849 31.299
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 4.55e-08 +/- 4.64e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 1.26e-05

TS (Fixed Index): 1.67
Ra Dec: 231.849 31.299
Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530649/likelihoodResults_508896001_509155201_4FGL_J1527.3+3117_daily_bin1040.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) = 6770.67539651
delta logL = 0.0983061050256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6770.5800485
delta logL = 0.193654107221

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.581       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1532       1.0000          .0000       10.000    
     3 'Normalizat'    .95064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1416       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=   6770.580     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      251 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.580        16.419        .10147E-03    .27450E-04
   2  Index         2.1532        .63997        .88913E-02    .15653E-04
   3  Normalizat    .95062        .21161        .29228E-03    .47805E-04
   4  Prefactor     1.1416        .16895        .21498E-03    .13664E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.5798
  Index      = 2.15319
  Normalizat = 0.950621
  Prefactor  = 1.14164
 **********
 **   18 **HESSE 
 **********

 FCN=   6770.580     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.580        15.931        .40587E-05   -1.4918    
   2  Index         2.1532        .62085        .35565E-03   -.60573    
   3  Normalizat    .95062        .21167        .11691E-04   -.94704    
   4  Prefactor     1.1416        .16903        .42997E-04   -.88147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16938e-11
Minuit parameter uncertainties:
  1  15.9349
  2  0.623236
  3  0.211852
  4  0.169113
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530649': 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) = 6770.58004849
delta logL = 0.19365411632

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.558e+01  1.593e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.153e+00  6.232e-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.142e+00  1.691e-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:  9.506e-01  2.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.07
Ra Dec: 231.849 31.299
Photon Index (Free Index): 2.15 +/- 0.62
Photon Flux (Free Index): 3.52e-08 +/- 3.90e-08
Energy Flux (Free Index): 1.73e-05 +/- 1.92e-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/530649/cmap_HighResolution_508896001_509155201_4FGL_J1527.3+3117_daily_bin1040.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', photon_flux='4.55e-08', energy_flux2='1.73e-05', photon_flux_error='4.64e-08', dlogl='1.94e-01', energy_flux='1.23e-05', photon_flux2='3.52e-08', job_status='DONE', time_completed='2021-09-12 03:30:44.835676', photon_index_error2='0.62', photon_index2='2.15', ts='1.67', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.92e-05', EG='0.94', time_epoch_completed='1631442644.84', return_code='0', job_id='530649', GAL2='1.14', EG2='0.95', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='3.90e-08', ts2='2.07', photon_index='2.57' WHERE bin_id='1040' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:30:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 530649: <4FGL_J1527.3+3117_daily_bin1040> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1040> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 03:15:50 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:16:37 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:16:37 2021
Terminated at Sun Sep 12 03:30:45 2021
Results reported at Sun Sep 12 03:30:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1040 231.849 31.2989 508896001 509155201 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 :                                   680.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            895 sec.

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

