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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1032
RA = 231.849, Dec = 31.2989
tmin = 506822401, tmax = 507081601
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='530637', job_status='RUN', time_executed='2021-09-12 03:18:26.491521', time_epoch_executed='1631441906.49' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1032'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530637

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530637/ft1_4FGL_J1527.3+3117_daily_bin1032.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530637/ft2_4FGL_J1527.3+3117_daily_bin1032.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530637/ft1_4FGL_J1527.3+3117_daily_bin1032.fits outfile=/scratch/kocevski/530637/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1032.fits ra=231.849 dec=31.2989 rad=12.0 tmin=506822401.0 tmax=507081601.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.48
user 3.27
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530637/ft1_filtered_4FGL_J1527.3+3117_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/530637/ft2_4FGL_J1527.3+3117_daily_bin1032.fits sctable="SC_DATA" expcube=/scratch/kocevski/530637/ltcube_506822401_507081601_4FGL_J1527.3+3117_daily_bin1032.fits outfile=/scratch/kocevski/530637/expmap_506822401_507081601_4FGL_J1527.3+3117_daily_bin1032.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/530637/ltcube_506822401_507081601_4FGL_J1527.3+3117_daily_bin1032.fits
.....................!
real 192.39
user 187.27
sys 4.79

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/530637/ft1_filtered_4FGL_J1527.3+3117_daily_bin1032.fits scfile=/scratch/kocevski/530637/ft2_4FGL_J1527.3+3117_daily_bin1032.fits outfile=/scratch/kocevski/530637/cmap_506822401_507081601_4FGL_J1527.3+3117_daily_bin1032.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.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.5833       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.162       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1541       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.079       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9479       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.3146       1.0000         .10000E-03   10000.    
    13 'norm      '    4.0206       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .78930E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .81427E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    .11490       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.4417       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2987       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .68150       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6125.285     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     2211 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.0127        .45938E-06** at limit **
   2  norm          1.5827        4.5349       -.70713E-06   -.22359E-04
   3  Prefactor     11.144        5.0862        .31887E-05   -.30132E-02
   4  norm          .10000E-03    2.5584        .10546E-05** at limit **
   5  Prefactor     3.1534        6.1491        .77174E-05    .13748E-03
   6  Prefactor     .10000E-03    1.3196        .23566E-06** at limit **
   7  Prefactor     .10000E-03    11.037        .57241E-06** at limit **
   8  norm          .10000E-03    .79745       -.90387E-07** at limit **
   9  Prefactor     .10001E-03    39.838       -.24581E-05** at limit **
  10  Prefactor     23.030        9.0815        .18546E-05    .13895E-02
  11  Prefactor     3.9468        6.0347       -.84016E-06   -.18229E-03
  12  Prefactor     6.3130        3.2843       -.21267E-05    .10690E-02
  13  norm          4.0213        1.3312       -.93029E-07    .40052E-04
  14  Prefactor     .10011E-03    47.467        .20321E-04** at limit **
  15  Prefactor     .10000E-03    31.638        .12442E-05** at limit **
  16  Prefactor     .10000E-03    150.39        .17340E-04** at limit **
  17  norm          .10027E-03    6370.5        .13811E-03** at limit **
  18  Prefactor     .10000E-03    2.3716       -.16100E-06** at limit **
  19  Prefactor     .10000E-03    5.6751        .29283E-06** at limit **
  20  Prefactor     .10000E-03    2.4380       -.16910E-05** at limit **
  21  Prefactor     3.4408        3.1265        .48760E-06   -.42568E-04
  22  Normalizat    1.2989        .19891       -.22161E-05   -.10367E-03
  23  Prefactor     .68151        .15800        .16921E-05   -.82756E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.58268
  Prefactor  = 11.1444
  norm       = 0.0001
  Prefactor  = 3.1534
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 23.03
  Prefactor  = 3.94684
  Prefactor  = 6.31298
  norm       = 4.02131
  Prefactor  = 0.000100112
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.000100268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.44075
  Normalizat = 1.29887
  Prefactor  = 0.681511
 **********
 **   18 **HESSE 
 **********

 FCN=   6125.285     FROM HESSE     STATUS=OK           438 CALLS     2649 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.0067        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5827        4.5632        .84361E-02   -1.5456    
   3  Prefactor     11.144        26.662        .29978E-02   -1.5040    
   4  norm          .10000E-03    2.5578        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1534        6.1804        .57057E-02   -1.5353    
   6  Prefactor     .10000E-03    1.3193        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.874        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .50352        .29770E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    40.015        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.030        71.465        .20845E-02   -1.4748    
  11  Prefactor     3.9468        6.0596        .50755E-02   -1.5311    
  12  Prefactor     6.3130        18.452        .39934E-02   -1.5205    
  13  norm          4.0213        1.4450        .50279E-02   -1.5307    
  14  Prefactor     .10011E-03    7.0075        .59980E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    31.413        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.776        .11344       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10027E-03    19.079        .95820E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.3745        .33874E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.6778        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.4437        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.4408        3.1403        .54504E-02   -1.5337    
  22  Normalizat    1.2989        .17735        .49481E-01   -.83600    
  23  Prefactor     .68151        .13573        .42154E-01   -1.0426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35172e-07
Minuit parameter uncertainties:
  1  4.43653e-07
  2  4.56418
  3  26.6904
  4  5.48017e-08
  5  6.18168
  6  1.01102e-06
  7  3.1923e-06
  8  5.09273e-07
  9  0.000959422
  10  71.7321
  11  6.06055
  12  18.4691
  13  1.44502
  14  0.0017695
  15  0.000219259
  16  0.000390517
  17  0.00452491
  18  4.28113e-06
  19  1.83556e-05
  20  3.03804e-06
  21  3.14047
  22  0.177434
  23  0.1358
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.001e-04  1.769e-03  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:  6.815e-01  1.358e-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.299e+00  1.774e-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: 8.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530637/likelihoodResults_506822401_507081601_4FGL_J1527.3+3117_daily_bin1032.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) = 6125.28466538
delta logL = -9.69086495388e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6125.28466524
delta logL = -9.67720143308e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96179E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5696       1.0000          .0000       10.000    
     3 'Normalizat'    1.2988       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68159       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=   6125.285     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    .82446E-01    .58808E-01** at limit **
   2  Index         2.6612        5.5319        .50000       -.14397E-04
   3  Normalizat    1.2989        .55298E-03    .49481E-01    .18202E-04
   4  Prefactor     .68151        .44521E-03    .42156E-01    .29122E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100051
  Index      = 2.66118
  Normalizat = 1.29887
  Prefactor  = 0.681511
 **********
 **   18 **HESSE 
 **********

 FCN=   6125.285     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      276 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    .10491        .52093E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6612        5.7621        .50000       -.48676    
   3  Normalizat    1.2989        .57436E-03    .21875E-03   -.83600    
   4  Prefactor     .68151        .46232E-03    .23404E-03   -1.0426    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21636e-09
Minuit parameter uncertainties:
  1  0.000146557
  2  11.0092
  3  0.000574356
  4  0.000462319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530637': 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) = 6125.28456814
delta logL = 3.3096421248e-07

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.001e-04  1.466e-04  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.661e+00  1.101e+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:  6.815e-01  4.623e-04  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.299e+00  5.744e-04  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/530637/cmap_HighResolution_506822401_507081601_4FGL_J1527.3+3117_daily_bin1032.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-03', job_status='DONE', photon_flux_upper_limit='8.45e-08', time_completed='2021-09-12 03:29:25.251115', job_id='530637', GAL2='0.68', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1631442565.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='3.31e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1032' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:29:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 530637: <4FGL_J1527.3+3117_daily_bin1032> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1032> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 03:15:49 2021
Job was executed on host(s) <bullet0185>, 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:29:26 2021
Results reported at Sun Sep 12 03:29:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1032 231.849 31.2989 506822401 507081601 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 :                                   654.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            817 sec.

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

