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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1301
RA = 231.849, Dec = 31.2989
tmin = 576547201, tmax = 576806401
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='532724', job_status='RUN', time_executed='2021-09-12 03:22:51.232627', time_epoch_executed='1631442171.23' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1301'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532724

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532724/ft1_4FGL_J1527.3+3117_daily_bin1301.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532724/ft2_4FGL_J1527.3+3117_daily_bin1301.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532724/ft1_4FGL_J1527.3+3117_daily_bin1301.fits outfile=/scratch/kocevski/532724/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1301.fits ra=231.849 dec=31.2989 rad=12.0 tmin=576547201.0 tmax=576806401.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.81
user 3.56
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532724/ft1_filtered_4FGL_J1527.3+3117_daily_bin1301.fits" evtable="EVENTS" scfile=/scratch/kocevski/532724/ft2_4FGL_J1527.3+3117_daily_bin1301.fits sctable="SC_DATA" outfile=/scratch/kocevski/532724/ltcube_576547201_576806401_4FGL_J1527.3+3117_daily_bin1301.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/532724/ft2_4FGL_J1527.3+3117_daily_bin1301.fits
.....................!
real 9.45
user 9.02
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532724/ft1_filtered_4FGL_J1527.3+3117_daily_bin1301.fits evtable="EVENTS" scfile=/scratch/kocevski/532724/ft2_4FGL_J1527.3+3117_daily_bin1301.fits sctable="SC_DATA" expcube=/scratch/kocevski/532724/ltcube_576547201_576806401_4FGL_J1527.3+3117_daily_bin1301.fits outfile=/scratch/kocevski/532724/expmap_576547201_576806401_4FGL_J1527.3+3117_daily_bin1301.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/532724/ltcube_576547201_576806401_4FGL_J1527.3+3117_daily_bin1301.fits
.....................!
real 141.07
user 136.94
sys 3.90

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/532724/ft1_filtered_4FGL_J1527.3+3117_daily_bin1301.fits scfile=/scratch/kocevski/532724/ft2_4FGL_J1527.3+3117_daily_bin1301.fits outfile=/scratch/kocevski/532724/cmap_576547201_576806401_4FGL_J1527.3+3117_daily_bin1301.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.44
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532724/ft1_filtered_4FGL_J1527.3+3117_daily_bin1301.fits scfile=/scratch/kocevski/532724/ft2_4FGL_J1527.3+3117_daily_bin1301.fits outfile=/scratch/kocevski/532724/cmap_HighResolution_576547201_576806401_4FGL_J1527.3+3117_daily_bin1301.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.44
user 0.30
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4699       1.0000         .10000E-03   10000.    
     2 'norm      '    3.1952       1.0000         .10000E-03   10000.    
     3 'Prefactor '    25.440       1.0000         .10000E-03   10000.    
     4 'norm      '    22.599       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5143       1.0000         .10000E-03   10000.    
     8 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.403       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.5497       1.0000         .10000E-03   10000.    
    13 'norm      '    1.9390       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10852       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8475       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.2173       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.9659       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4386       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .60485       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=   6283.880     FROM MIGRAD    STATUS=CONVERGED    889 CALLS     3131 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4688        9.1375        .78892E-03   -.20045E-03
   2  norm          3.1952        3.1357        .13551E-03    .25588E-04
   3  Prefactor     25.454        45.666        .79422E-04    .73375E-04
   4  norm          22.602        11.357        .84259E-04   -.18620E-04
   5  Prefactor     .10000E-03    5.7729        .18142E-02** at limit **
   6  Prefactor     .10000E-03    1.9352        .10764E-02** at limit **
   7  Prefactor     2.5164        13.743        .25767E-03   -.62212E-05
   8  norm          .10000E-03    .44327        .51282E-03** at limit **
   9  Prefactor     39.422        76.484        .63854E-04    .45828E-04
  10  Prefactor     .10000E-03    37.645        .18142E-02** at limit **
  11  Prefactor     .10000E-03    7.5863        .18142E-02** at limit **
  12  Prefactor     6.5530        17.687        .15681E-03    .13413E-04
  13  norm          1.9388        1.4596        .64323E-04    .19442E-02
  14  Prefactor     .90159E-01    20.370        .54366E-01    .32112E-03
  15  Prefactor     2.8574        38.508        .24095E-03    .85825E-04
  16  Prefactor     .10000E-03    41.691        .18142E-02** at limit **
  17  norm          .10000E-03    15.043        .18142E-02** at limit **
  18  Prefactor     3.2171        2.5032        .10557E-03    .25986E-03
  19  Prefactor     .10000E-03    9.1454        .18142E-02** at limit **
  20  Prefactor     9.9670        7.6153        .12693E-03    .71652E-05
  21  Prefactor     .10000E-03    2.3442        .17745E-02** at limit **
  22  Normalizat    1.4388        .22428        .22890E-03    .10293E-03
  23  Prefactor     .60469        .15616        .25201E-03    .22430E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.46876
  norm       = 3.19522
  Prefactor  = 25.4544
  norm       = 22.6021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.51641
  norm       = 0.0001
  Prefactor  = 39.4216
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 6.553
  norm       = 1.9388
  Prefactor  = 0.0901592
  Prefactor  = 2.85739
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.21712
  Prefactor  = 0.0001
  Prefactor  = 9.967
  Prefactor  = 0.000100001
  Normalizat = 1.43879
  Prefactor  = 0.60469
 **********
 **   18 **HESSE 
 **********

 FCN=   6283.880     FROM HESSE     STATUS=OK           356 CALLS     3487 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4688        9.1352        .31557E-04   -1.5199    
   2  norm          3.1952        3.1357        .54205E-05   -1.5350    
   3  Prefactor     25.454        45.658        .15884E-04   -1.4698    
   4  norm          22.602        11.356        .33704E-05   -1.4757    
   5  Prefactor     .10000E-03    5.7733        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.9352        .21528E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.5164        13.737        .10307E-04   -1.5391    
   8  norm          .10000E-03    .44328        .10256E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.422        76.479        .12771E-04   -1.4451    
  10  Prefactor     .10000E-03    37.646        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.5894        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.5530        17.685        .62724E-05   -1.5196    
  13  norm          1.9388        1.4119        .25729E-05   -1.5429    
  14  Prefactor     .90159E-01    13.915        .65639E-01   -1.5648    
  15  Prefactor     2.8574        37.830        .96380E-05   -1.5370    
  16  Prefactor     .10000E-03    41.715        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    15.047        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.2171        2.5027        .42227E-05   -1.5349    
  19  Prefactor     .10000E-03    9.1465        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.9670        7.6152        .25386E-04   -1.5076    
  21  Prefactor     .10000E-03    2.3507        .35491E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4388        .22399        .45779E-04   -.79513    
  23  Prefactor     .60469        .15616        .10080E-04   -1.0739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21622e-09
Minuit parameter uncertainties:
  1  9.13713
  2  3.13582
  3  45.7207
  4  11.3572
  5  1.54799e-05
  6  2.87258e-06
  7  11.7627
  8  2.96373e-06
  9  76.6702
  10  0.000279196
  11  2.65287e-06
  12  17.6995
  13  1.41197
  14  2.2394
  15  20.8096
  16  0.00020398
  17  2.08246e-05
  18  2.5028
  19  1.90684e-05
  20  7.61595
  21  0.000112779
  22  0.224146
  23  0.156269
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  9.016e-02  2.239e+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:  6.047e-01  1.563e-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.439e+00  2.241e-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.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532724/likelihoodResults_576547201_576806401_4FGL_J1527.3+3117_daily_bin1301.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) = 6283.39486345
delta logL = 0.485187731631

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6283.21116001
delta logL = 0.668891179576

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.7035       1.0000          .0000       10.000    
     3 'Normalizat'    1.3762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63486       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=   6283.880     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      364 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.2012        .48345E-05** at limit **
   2  Index         1.8570        .34382        .13860E-05   -.27487E-04
   3  Normalizat    1.4392        .20270        .45891E-05   -.46202E-03
   4  Prefactor     .60457        .15072       -.15202E-04   -.35243E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.85698
  Normalizat = 1.4392
  Prefactor  = 0.604566
 **********
 **   18 **HESSE 
 **********

 FCN=   6283.880     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      401 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    798.93        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8570        9.0238        .50000       -.67976    
   3  Normalizat    1.4392        .53613E-01    .51768E-01   -.79501    
   4  Prefactor     .60457        .40210E-01    .41527E-01   -1.0739    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.13405e-07
Minuit parameter uncertainties:
  1  0.000927244
  2  39.3536
  3  0.0536148
  4  0.0402115
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532724': 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) = 6283.88011104
delta logL = -5.98505439484e-05

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  9.272e-04  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  1.857e+00  3.935e+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.046e-01  4.021e-02  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.439e+00  5.361e-02  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/532724/cmap_HighResolution_576547201_576806401_4FGL_J1527.3+3117_daily_bin1301.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.20e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-12 03:34:34.499392', job_id='532724', GAL2='0.60', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1631442874.5', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.60', dlogl='-5.99e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1301' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:34:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 532724: <4FGL_J1527.3+3117_daily_bin1301> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1301 231.849 31.2989 576547201 576806401 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 :                                   531.56 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             224.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            835 sec.

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

