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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin160
RA = 231.849, Dec = 31.2989
tmin = 280800001, tmax = 281059201
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='524911', job_status='RUN', time_executed='2021-09-12 03:01:00.226377', time_epoch_executed='1631440860.23' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='160'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524911

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524911/ft1_4FGL_J1527.3+3117_daily_bin160.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524911/ft2_4FGL_J1527.3+3117_daily_bin160.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524911/ft1_4FGL_J1527.3+3117_daily_bin160.fits outfile=/scratch/kocevski/524911/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin160.fits ra=231.849 dec=31.2989 rad=12.0 tmin=280800001.0 tmax=281059201.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.80
user 3.57
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/524911/ft2_4FGL_J1527.3+3117_daily_bin160.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/524911/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin160.fits evtable="EVENTS" outfile="/scratch/kocevski/524911/ft1_filtered_4FGL_J1527.3+3117_daily_bin160.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.54
user 0.30
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524911/ft1_filtered_4FGL_J1527.3+3117_daily_bin160.fits evtable="EVENTS" scfile=/scratch/kocevski/524911/ft2_4FGL_J1527.3+3117_daily_bin160.fits sctable="SC_DATA" expcube=/scratch/kocevski/524911/ltcube_280800001_281059201_4FGL_J1527.3+3117_daily_bin160.fits outfile=/scratch/kocevski/524911/expmap_280800001_281059201_4FGL_J1527.3+3117_daily_bin160.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/524911/ltcube_280800001_281059201_4FGL_J1527.3+3117_daily_bin160.fits
.....................!
real 191.37
user 185.99
sys 5.04

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/524911/ft1_filtered_4FGL_J1527.3+3117_daily_bin160.fits scfile=/scratch/kocevski/524911/ft2_4FGL_J1527.3+3117_daily_bin160.fits outfile=/scratch/kocevski/524911/cmap_HighResolution_280800001_281059201_4FGL_J1527.3+3117_daily_bin160.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=231.849 yref=31.2989 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.629       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.405       1.0000         .10000E-03   10000.    
     4 'norm      '    5.2484       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.2645       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .38543E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.3861       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8674       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.224       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    19.151       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.216       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4139       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.375       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.6594       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0677       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83305       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=   6944.033     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2556 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.632        7.6071        .71148E-07    .60410E-05
   2  norm          .10000E-03    1.2693        .30539E-07** at limit **
   3  Prefactor     14.344        32.378        .44900E-05    .21992E-03
   4  norm          5.2488        8.1143       -.31122E-06   -.74095E-04
   5  Prefactor     9.2695        13.270        .16296E-06    .37035E-04
   6  Prefactor     .10000E-03    3.6584       -.16543E-06** at limit **
   7  Prefactor     .10000E-03    26.257       -.75183E-05** at limit **
   8  norm          1.3868        1.1478        .34760E-07    .93817E-04
   9  Prefactor     2.8623        84.560       -.12569E-05   -.10420E-04
  10  Prefactor     .10000E-03    71.286       -.18555E-05** at limit **
  11  Prefactor     11.224        8.3670        .41905E-08    .69703E-04
  12  Prefactor     .10000E-03    26.951       -.12584E-05** at limit **
  13  norm          19.153        2.3757        .78563E-07    .83016E-03
  14  Prefactor     .10000E-03    9.0922        .61001E-07** at limit **
  15  Prefactor     29.210        32.578        .39442E-06    .57877E-04
  16  Prefactor     .10000E-03    6.8622       -.21968E-06** at limit **
  17  norm          .10000E-03    4.5607       -.18329E-06** at limit **
  18  Prefactor     2.4138        2.0373       -.93942E-07   -.13126E-03
  19  Prefactor     .10000E-03    9.9971       -.43531E-06** at limit **
  20  Prefactor     11.372        9.6357       -.71103E-07    .14689E-04
  21  Prefactor     2.6596        2.8808       -.30465E-06   -.36983E-03
  22  Normalizat    1.0671        .20885       -.21776E-05    .45671E-03
  23  Prefactor     .83355        .15944        .20568E-05    .15633E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.6319
  norm       = 0.0001
  Prefactor  = 14.3438
  norm       = 5.24875
  Prefactor  = 9.26945
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 1.38679
  Prefactor  = 2.86229
  Prefactor  = 0.000100001
  Prefactor  = 11.2245
  Prefactor  = 0.0001
  norm       = 19.1527
  Prefactor  = 0.0001
  Prefactor  = 29.2101
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.41381
  Prefactor  = 0.0001
  Prefactor  = 11.3723
  Prefactor  = 2.65955
  Normalizat = 1.06714
  Prefactor  = 0.833554
 **********
 **   18 **HESSE 
 **********

 FCN=   6944.033     FROM HESSE     STATUS=OK           368 CALLS     2924 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.632        7.6057        .11748E-03   -1.5026    
   2  norm          .10000E-03    1.2721        .91681E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.344        33.054        .10553E-03   -1.4950    
   4  norm          5.2488        8.1093        .17545E-03   -1.5250    
   5  Prefactor     9.2695        13.246        .13167E-03   -1.5099    
   6  Prefactor     .10000E-03    3.6915        .15557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    26.410        .39296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.3868        1.1351        .77896E-04   -1.5472    
   9  Prefactor     2.8623        84.935        .24006E-03   -1.5370    
  10  Prefactor     .10000E-03    71.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.224        8.3663        .11958E-03   -1.5038    
  12  Prefactor     .10000E-03    27.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          19.153        2.3706        .42402E-04   -1.4832    
  14  Prefactor     .10000E-03    9.1517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.210        32.595        .74122E-04   -1.4627    
  16  Prefactor     .10000E-03    6.8705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.5678        .17384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4138        2.0365        .10535E-03   -1.5397    
  19  Prefactor     .10000E-03    10.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.372        9.6352        .11879E-03   -1.5033    
  21  Prefactor     2.6596        2.8979        .14299E-03   -1.5382    
  22  Normalizat    1.0671        .21485        .26598E-03   -.90814    
  23  Prefactor     .83355        .16348        .23656E-03   -.98503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18724e-10
Minuit parameter uncertainties:
  1  7.60632
  2  1.08207e-06
  3  33.0961
  4  8.11097
  5  13.2506
  6  8.03747e-06
  7  0.000507421
  8  1.13515
  9  31.2321
  10  0.000584214
  11  8.3672
  12  0.000183155
  13  2.37057
  14  5.04704e-06
  15  32.6149
  16  1.72889e-05
  17  1.09421e-05
  18  2.03655
  19  4.83983e-05
  20  9.63654
  21  2.89806
  22  0.215022
  23  0.163579
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  5.047e-06  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.336e-01  1.636e-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.067e+00  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/524911/likelihoodResults_280800001_281059201_4FGL_J1527.3+3117_daily_bin160.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): 102
logL (Free Index) = 6944.03369609
delta logL = -0.000520837053045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6944.03317525
delta logL = -7.41238181945e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5715       1.0000          .0000       10.000    
     3 'Normalizat'    1.0671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83356       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=   6944.033     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    126.86        .90712E-02** at limit **
   2  Index         2.5735        8.4670        .50000       -.20515E-05
   3  Normalizat    1.0671        .17107E-01    .60140E-01    .72169E-05
   4  Prefactor     .83356        .13687E-01    .44152E-01    .92154E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.57348
  Normalizat = 1.06713
  Prefactor  = 0.833557
 **********
 **   18 **HESSE 
 **********

 FCN=   6944.033     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2077.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5735        7.3367        .50000       -.50671    
   3  Normalizat    1.0671        .17620        .26597E-03   -.90814    
   4  Prefactor     .83356        .14081        .23657E-03   -.98503    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.09156e-10
Minuit parameter uncertainties:
  1  0.000136734
  2  68.4932
  3  0.176294
  4  0.140874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524911': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6944.03317525
delta logL = 2.06364347832e-09

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  1.367e-04  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.573e+00  6.849e+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.336e-01  1.409e-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.067e+00  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 231.849 31.299

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/524911/cmap_HighResolution_280800001_281059201_4FGL_J1527.3+3117_daily_bin160.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.40e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-12 03:13:01.237931', job_id='524911', GAL2='0.83', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1631441581.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.06e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='160' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:13:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 524911: <4FGL_J1527.3+3117_daily_bin160> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin160 231.849 31.2989 280800001 281059201 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 :                                   717.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            739 sec.

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

