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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin837
RA = 231.849, Dec = 31.2989
tmin = 456278401, tmax = 456537601
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='530244', job_status='RUN', time_executed='2021-09-12 03:15:53.326169', time_epoch_executed='1631441753.33' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='837'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530244

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530244/ft1_4FGL_J1527.3+3117_daily_bin837.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530244/ft2_4FGL_J1527.3+3117_daily_bin837.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530244/ft1_4FGL_J1527.3+3117_daily_bin837.fits outfile=/scratch/kocevski/530244/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin837.fits ra=231.849 dec=31.2989 rad=12.0 tmin=456278401.0 tmax=456537601.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 4.01
user 3.78
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530244/ft1_filtered_4FGL_J1527.3+3117_daily_bin837.fits" evtable="EVENTS" scfile=/scratch/kocevski/530244/ft2_4FGL_J1527.3+3117_daily_bin837.fits sctable="SC_DATA" outfile=/scratch/kocevski/530244/ltcube_456278401_456537601_4FGL_J1527.3+3117_daily_bin837.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/530244/ft2_4FGL_J1527.3+3117_daily_bin837.fits
.....................!
real 9.51
user 9.20
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530244/ft1_filtered_4FGL_J1527.3+3117_daily_bin837.fits evtable="EVENTS" scfile=/scratch/kocevski/530244/ft2_4FGL_J1527.3+3117_daily_bin837.fits sctable="SC_DATA" expcube=/scratch/kocevski/530244/ltcube_456278401_456537601_4FGL_J1527.3+3117_daily_bin837.fits outfile=/scratch/kocevski/530244/expmap_456278401_456537601_4FGL_J1527.3+3117_daily_bin837.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/530244/ltcube_456278401_456537601_4FGL_J1527.3+3117_daily_bin837.fits
.....................!
real 149.66
user 145.80
sys 3.58

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/530244/ft1_filtered_4FGL_J1527.3+3117_daily_bin837.fits scfile=/scratch/kocevski/530244/ft2_4FGL_J1527.3+3117_daily_bin837.fits outfile=/scratch/kocevski/530244/cmap_456278401_456537601_4FGL_J1527.3+3117_daily_bin837.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.46
user 0.30
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530244/ft1_filtered_4FGL_J1527.3+3117_daily_bin837.fits scfile=/scratch/kocevski/530244/ft2_4FGL_J1527.3+3117_daily_bin837.fits outfile=/scratch/kocevski/530244/cmap_HighResolution_456278401_456537601_4FGL_J1527.3+3117_daily_bin837.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.47
user 0.32
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    87.588       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.1316       1.0000         .10000E-03   10000.    
     9 'Prefactor '    44.079       1.0000         .10000E-03   10000.    
    10 'Prefactor '    227.86       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7660       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    13.386       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.001       1.0000         .10000E-03   10000.    
    15 'Prefactor '    52.866       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-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 '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .97586       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .75237       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=   6832.636     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2547 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.1671        .30794E-06** at limit **
   2  norm          87.589        11.041        .40575E-08   -.61734E-05
   3  Prefactor     .10000E-03    9.5865        .85891E-06** at limit **
   4  norm          .10000E-03    2.5736       -.25674E-07** at limit **
   5  Prefactor     .10000E-03    13.912       -.10562E-05** at limit **
   6  Prefactor     .10000E-03    4.3611       -.49720E-06** at limit **
   7  Prefactor     .10000E-03    4.0847        .20094E-06** at limit **
   8  norm          9.1319        2.8205       -.81360E-08    .12571E-03
   9  Prefactor     44.077        49.516       -.33650E-06   -.14770E-04
  10  Prefactor     227.87        95.238        .29626E-06    .24234E-04
  11  Prefactor     7.7663        8.7961        .20177E-05   -.28164E-03
  12  Prefactor     .10000E-03    16.785       -.43401E-06** at limit **
  13  norm          13.387        2.8467       -.20745E-07    .27095E-04
  14  Prefactor     16.001        15.027       -.58752E-07   -.27054E-05
  15  Prefactor     52.867        37.180        .10198E-06    .16399E-04
  16  Prefactor     .10000E-03    33.463       -.20145E-05** at limit **
  17  norm          .10000E-03    6.3350       -.62016E-06** at limit **
  18  Prefactor     .10000E-03    1.6212       -.29440E-07** at limit **
  19  Prefactor     .10000E-03    22.189        .29161E-05** at limit **
  20  Prefactor     .10000E-03    4.9615        .26764E-06** at limit **
  21  Prefactor     .10000E-03    .89017       -.69163E-08** at limit **
  22  Normalizat    .97578        .19623       -.13198E-06    .73414E-05
  23  Prefactor     .75243        .13925       -.37551E-06    .14451E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 87.5887
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.13193
  Prefactor  = 44.0767
  Prefactor  = 227.869
  Prefactor  = 7.76625
  Prefactor  = 0.0001
  norm       = 13.3866
  Prefactor  = 16.0008
  Prefactor  = 52.8668
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.975783
  Prefactor  = 0.75243
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.636     FROM HESSE     STATUS=OK           360 CALLS     2907 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.2270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          87.589        11.047        .42929E-04   -1.3833    
   3  Prefactor     .10000E-03    9.7231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.5743        .12951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.4125        .16922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.1227        .16321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.1319        2.8366        .72845E-04   -1.5103    
   9  Prefactor     44.077        49.559        .60385E-04   -1.4379    
  10  Prefactor     227.87        95.405        .26806E-04   -1.2677    
  11  Prefactor     7.7663        9.1222        .71946E-03   -1.5151    
  12  Prefactor     .10000E-03    16.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.387        2.8647        .53106E-04   -1.4976    
  14  Prefactor     16.001        15.084        .10013E-03   -1.4908    
  15  Prefactor     52.867        37.183        .55162E-04   -1.4252    
  16  Prefactor     .10000E-03    34.694        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.4014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.6541        .10268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    23.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.9970        .18002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .89091        .76162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .97578        .22751        .30114E-03   -.93846    
  23  Prefactor     .75243        .16073        .25002E-03   -1.0151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50988e-10
Minuit parameter uncertainties:
  1  2.20112e-05
  2  11.0471
  3  8.33857e-05
  4  1.02905e-06
  5  0.000107913
  6  3.03045e-05
  7  1.047e-05
  8  2.83667
  9  49.605
  10  95.4703
  11  9.12387
  12  5.0996e-05
  13  2.86475
  14  15.0876
  15  37.1988
  16  0.000231408
  17  4.02107e-05
  18  1.5019e-06
  19  0.000431369
  20  1.87316e-05
  21  1.52449e-07
  22  0.227737
  23  0.160826
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.600e+01  1.509e+01  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:  7.524e-01  1.608e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  9.758e-01  2.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.64
Ra Dec: 231.849 31.299
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 7.81e-08 +/- 7.35e-08
Energy Flux (Fixed Index): 2.11e-05 +/- 1.99e-05

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

Saving results to:
/scratch/kocevski/530244/likelihoodResults_456278401_456537601_4FGL_J1527.3+3117_daily_bin837.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6832.62230805
delta logL = 0.013274702027

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6832.61595061
delta logL = 0.0196321426811

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.762       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4383       1.0000          .0000       10.000    
     3 'Normalizat'    .98422       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74901       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=   6832.616     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      234 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.774        415.31        .23758E-02    .36582E-03
   2  Index         2.4372        6.1937        .14588        .10828E-03
   3  Normalizat    .98423        .11978        .67839E-01    .16171E-04
   4  Prefactor     .74902        .57847E-01    .43050E-01    .13987E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.7738
  Index      = 2.43724
  Normalizat = 0.984234
  Prefactor  = 0.749024
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.616     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.774        17.597        .47516E-03   -1.4865    
   2  Index         2.4372        .70216        .80017E-02   -.53815    
   3  Normalizat    .98423        .22060        .30009E-03   -.93560    
   4  Prefactor     .74902        .15956        .25057E-03   -1.0164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02754e-09
Minuit parameter uncertainties:
  1  17.6021
  2  0.705329
  3  0.220801
  4  0.159657
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530244': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6832.61594934
delta logL = 0.0196334133989

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.777e+01  1.760e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.437e+00  7.053e-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:  7.490e-01  1.597e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  9.842e-01  2.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.79
Ra Dec: 231.849 31.299
Photon Index (Free Index): 2.44 +/- 0.71
Photon Flux (Free Index): 6.73e-08 +/- 7.97e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.79e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/530244/cmap_HighResolution_456278401_456537601_4FGL_J1527.3+3117_daily_bin837.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.67e-02', comment='SUCCESS', photon_flux='7.81e-08', energy_flux2='2.10e-05', photon_flux_error='7.35e-08', dlogl='1.96e-02', energy_flux='2.11e-05', photon_flux2='6.73e-08', job_status='DONE', time_completed='2021-09-12 03:25:28.372169', photon_index_error2='0.71', photon_index2='2.44', ts='2.64', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='2.13e-07', energy_flux_error2='1.79e-05', EG='0.98', time_epoch_completed='1631442328.37', return_code='0', job_id='530244', GAL2='0.75', EG2='0.98', return_code2='0', energy_flux_error='1.99e-05', photon_flux_error2='7.97e-08', ts2='2.79', photon_index='2.57' WHERE bin_id='837' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:25:28 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin837 231.849 31.2989 456278401 456537601 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 :                                   568.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   589 sec.
    Turnaround time :                            601 sec.

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

