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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1049
RA = 231.849, Dec = 31.2989
tmin = 511228801, tmax = 511488001
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='530662', job_status='RUN', time_executed='2021-09-12 03:18:38.462370', time_epoch_executed='1631441918.46' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1049'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530662

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530662/ft1_4FGL_J1527.3+3117_daily_bin1049.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530662/ft2_4FGL_J1527.3+3117_daily_bin1049.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530662/ft1_4FGL_J1527.3+3117_daily_bin1049.fits outfile=/scratch/kocevski/530662/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1049.fits ra=231.849 dec=31.2989 rad=12.0 tmin=511228801.0 tmax=511488001.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.24
user 3.28
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530662/ft1_filtered_4FGL_J1527.3+3117_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/530662/ft2_4FGL_J1527.3+3117_daily_bin1049.fits sctable="SC_DATA" expcube=/scratch/kocevski/530662/ltcube_511228801_511488001_4FGL_J1527.3+3117_daily_bin1049.fits outfile=/scratch/kocevski/530662/expmap_511228801_511488001_4FGL_J1527.3+3117_daily_bin1049.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/530662/ltcube_511228801_511488001_4FGL_J1527.3+3117_daily_bin1049.fits
.....................!
real 192.34
user 186.54
sys 5.28

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530662/ft1_filtered_4FGL_J1527.3+3117_daily_bin1049.fits scfile=/scratch/kocevski/530662/ft2_4FGL_J1527.3+3117_daily_bin1049.fits outfile=/scratch/kocevski/530662/cmap_HighResolution_511228801_511488001_4FGL_J1527.3+3117_daily_bin1049.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.041       1.0000         .10000E-03   10000.    
     2 'norm      '    .39858       1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.846       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.848       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3332       1.0000         .10000E-03   10000.    
     9 'Prefactor '    56.072       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .64211E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.2021       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.371       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.8316       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.3028       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .94173       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .80754       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2425       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=   7359.001     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2523 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.041        10.816        .18490E-07   -.42840E-04
   2  norm          .40617        2.5645        .88483E-07   -.56820E-04
   3  Prefactor     29.840        34.023       -.85774E-06   -.25526E-03
   4  norm          .10000E-03    2.4410        .30388E-08** at limit **
   5  Prefactor     .10000E-03    12.493       -.11405E-06** at limit **
   6  Prefactor     .10000E-03    3.3112        .52307E-07** at limit **
   7  Prefactor     14.848        10.803        .11684E-05    .45891E-03
   8  norm          3.3324        2.0626        .17864E-06    .14525E-03
   9  Prefactor     56.056        96.095       -.23773E-05   -.14103E-03
  10  Prefactor     .10001E-03    32.028        .21130E-05** at limit **
  11  Prefactor     .10051E-03    9.9531       -.31588E-05** at limit **
  12  Prefactor     .10000E-03    5.3449       -.21636E-06** at limit **
  13  norm          4.2013        1.3874        .17399E-07    .31990E-03
  14  Prefactor     .10000E-03    2.9286        .24052E-07** at limit **
  15  Prefactor     19.370        19.141       -.95936E-07   -.22993E-04
  16  Prefactor     .10000E-03    8.2062        .55223E-07** at limit **
  17  norm          5.8325        7.2202        .73263E-07    .46310E-05
  18  Prefactor     1.3025        1.8446        .42174E-06    .63380E-03
  19  Prefactor     .10000E-03    5.8601        .14989E-06** at limit **
  20  Prefactor     .10000E-03    4.8734        .21610E-06** at limit **
  21  Prefactor     .94252        2.5753        .16747E-05    .73543E-03
  22  Normalizat    .80773        .18634        .17661E-06    .84326E-04
  23  Prefactor     1.2422        .14602       -.94016E-06    .92193E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 33.0411
  norm       = 0.406172
  Prefactor  = 29.84
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8484
  norm       = 3.33244
  Prefactor  = 56.0563
  Prefactor  = 0.000100011
  Prefactor  = 0.000100514
  Prefactor  = 0.0001
  norm       = 4.20133
  Prefactor  = 0.0001
  Prefactor  = 19.3698
  Prefactor  = 0.0001
  norm       = 5.83249
  Prefactor  = 1.30246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.942525
  Normalizat = 0.807726
  Prefactor  = 1.24223
 **********
 **   18 **HESSE 
 **********

 FCN=   7359.001     FROM HESSE     STATUS=OK           370 CALLS     2893 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.041        10.832        .69711E-04   -1.4558    
   2  norm          .40617        11.887        .26424E-02   -1.5581    
   3  Prefactor     29.840        34.445        .73337E-04   -1.4615    
   4  norm          .10000E-03    2.4418        .13089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.3234        .15225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.848        10.894        .51971E-03   -1.4937    
   8  norm          3.3324        2.0646        .83349E-04   -1.5343    
   9  Prefactor     56.056        97.199        .53571E-04   -1.4209    
  10  Prefactor     .10001E-03    32.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10051E-03    37.976        .34099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.3652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.2013        1.3885        .54801E-04   -1.5298    
  14  Prefactor     .10000E-03    2.9375        .14324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.370        19.141        .91003E-04   -1.4827    
  16  Prefactor     .10000E-03    8.2185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.8325        7.2172        .16631E-03   -1.5225    
  18  Prefactor     1.3025        1.8293        .13395E-03   -1.5480    
  19  Prefactor     .10000E-03    5.8695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.9090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .94252        2.6315        .22382E-03   -1.5514    
  22  Normalizat    .80773        .21075        .30243E-03   -.99783    
  23  Prefactor     1.2422        .16514        .20884E-03   -.85041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67036e-08
Minuit parameter uncertainties:
  1  10.8329
  2  4.39503
  3  34.4677
  4  2.97272e-07
  5  3.28484e-05
  6  1.92759e-06
  7  10.8951
  8  2.06469
  9  97.4754
  10  0.00118154
  11  0.00883994
  12  5.3048e-05
  13  1.38855
  14  3.94198e-06
  15  19.1467
  16  1.9308e-05
  17  7.21826
  18  1.82934
  19  3.24722e-05
  20  3.77806e-05
  21  2.6318
  22  0.210959
  23  0.16521
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  3.942e-06  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.570e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.242e+00  1.652e-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:  8.077e-01  2.110e-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.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530662/likelihoodResults_511228801_511488001_4FGL_J1527.3+3117_daily_bin1049.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) = 7359.00265928
delta logL = -0.00161607003247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7359.00104309
delta logL = 1.23655809148e-07

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     '    2.5441       1.0000          .0000       10.000    
     3 'Normalizat'    .80759       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2424       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=   7359.001     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      241 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10452E-03    1.2812        .14705E-01** at limit **
   2  Index         2.4196        5.3240        .50000        .59043E-04
   3  Normalizat    .80773        .26892E-02    .30243E-03   -.26051E-04
   4  Prefactor     1.2422        .22658E-02    .20884E-03   -.26739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104519
  Index      = 2.41956
  Normalizat = 0.807726
  Prefactor  = 1.24223
 **********
 **   18 **HESSE 
 **********

 FCN=   7359.001     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10452E-03    45.998        .15380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4196        7.9244        .50000       -.54228    
   3  Normalizat    .80773        .16273E-01    .12097E-04   -.99783    
   4  Prefactor     1.2422        .13711E-01    .41769E-04   -.85041    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.65321e-08
Minuit parameter uncertainties:
  1  0.0288574
  2  317.533
  3  0.0162729
  4  0.0137107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530662': 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) = 7359.00104156
delta logL = 1.65426081367e-06

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.045e-04  2.886e-02  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.420e+00  3.175e+02  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.242e+00  1.371e-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:  8.077e-01  1.627e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/530662/cmap_HighResolution_511228801_511488001_4FGL_J1527.3+3117_daily_bin1049.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.83e-03', job_status='DONE', photon_flux_upper_limit='6.18e-08', time_completed='2021-09-12 03:30:52.749611', job_id='530662', GAL2='1.24', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1631442652.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.65e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1049' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:30:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 530662: <4FGL_J1527.3+3117_daily_bin1049> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1049 231.849 31.2989 511228801 511488001 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 :                                   727.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            902 sec.

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

