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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1013
RA = 231.849, Dec = 31.2989
tmin = 501897601, tmax = 502156801
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='530609', job_status='RUN', time_executed='2021-09-12 03:19:58.458556', time_epoch_executed='1631441998.46' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1013'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530609

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530609/ft1_4FGL_J1527.3+3117_daily_bin1013.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530609/ft2_4FGL_J1527.3+3117_daily_bin1013.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530609/ft1_4FGL_J1527.3+3117_daily_bin1013.fits outfile=/scratch/kocevski/530609/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1013.fits ra=231.849 dec=31.2989 rad=12.0 tmin=501897601.0 tmax=502156801.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.46
user 3.24
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530609/ft1_filtered_4FGL_J1527.3+3117_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/530609/ft2_4FGL_J1527.3+3117_daily_bin1013.fits sctable="SC_DATA" expcube=/scratch/kocevski/530609/ltcube_501897601_502156801_4FGL_J1527.3+3117_daily_bin1013.fits outfile=/scratch/kocevski/530609/expmap_501897601_502156801_4FGL_J1527.3+3117_daily_bin1013.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/530609/ltcube_501897601_502156801_4FGL_J1527.3+3117_daily_bin1013.fits
.....................!
real 190.30
user 185.25
sys 4.67

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/530609/ft1_filtered_4FGL_J1527.3+3117_daily_bin1013.fits scfile=/scratch/kocevski/530609/ft2_4FGL_J1527.3+3117_daily_bin1013.fits outfile=/scratch/kocevski/530609/cmap_501897601_502156801_4FGL_J1527.3+3117_daily_bin1013.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530609/ft1_filtered_4FGL_J1527.3+3117_daily_bin1013.fits scfile=/scratch/kocevski/530609/ft2_4FGL_J1527.3+3117_daily_bin1013.fits outfile=/scratch/kocevski/530609/cmap_HighResolution_501897601_502156801_4FGL_J1527.3+3117_daily_bin1013.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21095E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    25.875       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6703       1.0000         .10000E-03   10000.    
     4 'norm      '    6.2413       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .63027E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.1820       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5105       1.0000         .10000E-03   10000.    
     8 'norm      '    1.4049       1.0000         .10000E-03   10000.    
     9 'Prefactor '    108.13       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2426       1.0000         .10000E-03   10000.    
    13 'norm      '    2.4364       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.530       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    17.612       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.5154       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 '    10.234       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .67789       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0638       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=   6154.645     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2615 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.6644       -.17687E-06** at limit **
   2  norm          25.875        7.7904       -.81465E-06    .73308E-05
   3  Prefactor     1.6244        70.472        .22829E-04   -.78519E-04
   4  norm          6.2392        6.1447        .14273E-05    .13237E-03
   5  Prefactor     .99662E-01    8.3993       -.17514E-06   -.27867E-03
   6  Prefactor     6.1805        6.2398        .92221E-06    .33498E-04
   7  Prefactor     5.5098        8.6041       -.12081E-04   -.13389E-03
   8  norm          1.4041        2.1384       -.84385E-06   -.11989E-02
   9  Prefactor     108.14        107.46        .34983E-05    .39870E-05
  10  Prefactor     .10000E-03    33.992       -.59093E-05** at limit **
  11  Prefactor     .10000E-03    2.9505        .63943E-07** at limit **
  12  Prefactor     5.2429        22.424        .72478E-05   -.34197E-04
  13  norm          2.4363        1.1748       -.29311E-07   -.24170E-03
  14  Prefactor     .10000E-03    3.8097       -.60622E-07** at limit **
  15  Prefactor     12.532        13.994        .44814E-06    .11734E-04
  16  Prefactor     .10000E-03    30.967        .45750E-05** at limit **
  17  norm          17.607        13.462        .12208E-05   -.13970E-03
  18  Prefactor     1.5150        1.9925       -.23979E-06   -.69675E-03
  19  Prefactor     .10000E-03    5.3274       -.11746E-06** at limit **
  20  Prefactor     .10000E-03    3.2633       -.16155E-07** at limit **
  21  Prefactor     10.234        3.9562       -.10169E-06   -.79088E-04
  22  Normalizat    .67788        .18116       -.20385E-05    .61850E-04
  23  Prefactor     1.0638        .13775        .18402E-05   -.17076E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 25.8753
  Prefactor  = 1.62444
  norm       = 6.23919
  Prefactor  = 0.0996615
  Prefactor  = 6.18051
  Prefactor  = 5.50978
  norm       = 1.40413
  Prefactor  = 108.136
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.24286
  norm       = 2.43628
  Prefactor  = 0.0001
  Prefactor  = 12.5316
  Prefactor  = 0.000100001
  norm       = 17.6067
  Prefactor  = 1.51504
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2339
  Normalizat = 0.677884
  Prefactor  = 1.06383
 **********
 **   18 **HESSE 
 **********

 FCN=   6154.645     FROM HESSE     STATUS=OK           382 CALLS     2997 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.4822        .29128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          25.875        7.7919        .78753E-04   -1.4690    
   3  Prefactor     1.6244        69.165        .32620E-03   -1.5453    
   4  norm          6.2392        6.1614        .16068E-03   -1.5208    
   5  Prefactor     .99662E-01    11.719        .71978E-01   -1.5645    
   6  Prefactor     6.1805        6.2082        .16146E-03   -1.5211    
   7  Prefactor     5.5098        8.6838        .17116E-03   -1.5238    
   8  norm          1.4041        2.0850        .11339E-03   -1.5471    
   9  Prefactor     108.14        106.21        .38676E-04   -1.3624    
  10  Prefactor     .10000E-03    34.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.9649        .13159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2429        22.483        .17555E-03   -1.5250    
  13  norm          2.4363        1.1738        .55749E-04   -1.5396    
  14  Prefactor     .10000E-03    3.8290        .14930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.532        13.994        .11316E-03   -1.5000    
  16  Prefactor     .10000E-03    30.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          17.607        13.395        .95438E-04   -1.4869    
  18  Prefactor     1.5150        1.9719        .12129E-03   -1.5462    
  19  Prefactor     .10000E-03    5.3290        .17685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.2773        .13840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.234        3.9602        .92903E-04   -1.5068    
  22  Normalizat    .67788        .20716        .28811E-03   -1.0477    
  23  Prefactor     1.0638        .15838        .19576E-03   -.90631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25588e-09
Minuit parameter uncertainties:
  1  4.37562e-05
  2  7.7922
  3  21.225
  4  6.16205
  5  2.16076
  6  6.20887
  7  8.68577
  8  2.08512
  9  106.396
  10  7.33664e-05
  11  5.24573e-06
  12  21.7279
  13  1.17378
  14  3.42797e-07
  15  13.9979
  16  0.000314553
  17  13.3974
  18  1.972
  19  3.15815e-06
  20  1.68448e-06
  21  3.96033
  22  0.207399
  23  0.158449
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  3.428e-07  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.064e+00  1.584e-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:  6.779e-01  2.074e-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: 6.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530609/likelihoodResults_501897601_502156801_4FGL_J1527.3+3117_daily_bin1013.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) = 6154.64578152
delta logL = -0.0012435087865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6154.64453838
delta logL = -3.68972905562e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5631       1.0000          .0000       10.000    
     3 'Normalizat'    .67780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0639       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=   6154.645     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    79.766        .90712E-02** at limit **
   2  Index         2.5567        8.5412        .50000        .14808E-04
   3  Normalizat    .67788        .19641E-01    .65116E-01    .30564E-03
   4  Prefactor     1.0638        .16494E-01    .39156E-01    .27533E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.5567
  Normalizat = 0.677883
  Prefactor  = 1.06383
 **********
 **   18 **HESSE 
 **********

 FCN=   6154.645     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      234 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    261.69        .14958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5567        5.2276        .50000       -.51055    
   3  Normalizat    .67788        .37710E-01    .28811E-03   -1.0477    
   4  Prefactor     1.0638        .31722E-01    .19576E-03   -.90631    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.53105e-08
Minuit parameter uncertainties:
  1  0.00050072
  2  36.1897
  3  0.0377116
  4  0.0317227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530609': 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) = 6154.64453797
delta logL = 4.38776623923e-08

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  5.007e-04  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.557e+00  3.619e+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.064e+00  3.172e-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:  6.779e-01  3.771e-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/530609/cmap_HighResolution_501897601_502156801_4FGL_J1527.3+3117_daily_bin1013.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.23e-03', job_status='DONE', photon_flux_upper_limit='6.69e-08', time_completed='2021-09-12 03:31:18.098537', job_id='530609', GAL2='1.06', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1631442678.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='4.39e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1013' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:31:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 530609: <4FGL_J1527.3+3117_daily_bin1013> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1013 231.849 31.2989 501897601 502156801 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 :                                   676.00 sec.
    Max Memory :                                 1024 MB
    Average Memory :                             245.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            931 sec.

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

