/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 175 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 = 7480
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1527.3+3117_daily_bin53
RA = 231.849, Dec = 31.2989
tmin = 253065601, tmax = 253324801
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='524723', job_status='RUN', time_executed='2021-09-12 03:03:33.545657', time_epoch_executed='1631441013.55' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524723

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524723/ft1_4FGL_J1527.3+3117_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524723/ft2_4FGL_J1527.3+3117_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524723/ft1_4FGL_J1527.3+3117_daily_bin53.fits outfile=/scratch/kocevski/524723/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin53.fits ra=231.849 dec=31.2989 rad=12.0 tmin=253065601.0 tmax=253324801.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 1.40
user 1.24
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/524723/ft2_4FGL_J1527.3+3117_daily_bin53.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/524723/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin53.fits evtable="EVENTS" outfile="/scratch/kocevski/524723/ft1_filtered_4FGL_J1527.3+3117_daily_bin53.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524723/ft1_filtered_4FGL_J1527.3+3117_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/524723/ft2_4FGL_J1527.3+3117_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/524723/ltcube_253065601_253324801_4FGL_J1527.3+3117_daily_bin53.fits outfile=/scratch/kocevski/524723/expmap_253065601_253324801_4FGL_J1527.3+3117_daily_bin53.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/524723/ltcube_253065601_253324801_4FGL_J1527.3+3117_daily_bin53.fits
.....................!
real 191.62
user 186.51
sys 4.76

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

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/524723/ft1_filtered_4FGL_J1527.3+3117_daily_bin53.fits scfile=/scratch/kocevski/524723/ft2_4FGL_J1527.3+3117_daily_bin53.fits outfile=/scratch/kocevski/524723/cmap_HighResolution_253065601_253324801_4FGL_J1527.3+3117_daily_bin53.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.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.2986       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.3297       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .17952E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    3.3547       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    97.310       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.986       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.390       1.0000         .10000E-03   10000.    
    17 'norm      '    .10410E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.1844       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.7014       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.1217       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4116       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76862       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=   6354.876     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2548 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.4331       -.50675E-07** at limit **
   2  norm          .10000E-03    1.8601        .44387E-07** at limit **
   3  Prefactor     7.2452        64.326       -.45738E-05   -.16243E-03
   4  norm          .10000E-03    5.0500       -.37811E-07** at limit **
   5  Prefactor     .10000E-03    18.543       -.46245E-06** at limit **
   6  Prefactor     7.3308        6.7068       -.56912E-06   -.27923E-03
   7  Prefactor     .10020E-03    5.9247        .72887E-06** at limit **
   8  norm          3.3555        2.0303        .74425E-06    .49903E-05
   9  Prefactor     .10000E-03    34.253        .27011E-06** at limit **
  10  Prefactor     97.305        68.749       -.30069E-07   -.35070E-04
  11  Prefactor     .10000E-03    4.9658        .16645E-06** at limit **
  12  Prefactor     .10000E-03    16.036       -.10148E-06** at limit **
  13  norm          10.986        2.1484       -.39955E-07    .85533E-05
  14  Prefactor     .10000E-03    3.2000        .39480E-07** at limit **
  15  Prefactor     .10000E-03    25.420       -.25803E-06** at limit **
  16  Prefactor     22.398        21.704       -.26706E-06   -.45099E-04
  17  norm          .10000E-03    14.730       -.18494E-07** at limit **
  18  Prefactor     2.1842        2.4585        .15893E-06   -.32646E-04
  19  Prefactor     .10000E-03    32.551        .24813E-06** at limit **
  20  Prefactor     5.6995        9.9027        .49510E-05   -.37562E-04
  21  Prefactor     5.1216        3.4996        .56447E-07    .94971E-05
  22  Normalizat    1.4113        .21158        .23276E-05   -.22701E-03
  23  Prefactor     .76889        .15683       -.34403E-05    .21003E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 7.24524
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.3308
  Prefactor  = 0.000100199
  norm       = 3.35554
  Prefactor  = 0.0001
  Prefactor  = 97.3047
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.986
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.3978
  norm       = 0.0001
  Prefactor  = 2.18423
  Prefactor  = 0.0001
  Prefactor  = 5.69951
  Prefactor  = 5.12164
  Normalizat = 1.41129
  Prefactor  = 0.768893
 **********
 **   18 **HESSE 
 **********

 FCN=   6354.876     FROM HESSE     STATUS=OK           370 CALLS     2918 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4372        .12144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.8758        .10618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.2452        65.920        .14847E-03   -1.5170    
   4  norm          .10000E-03    5.0852        .17496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.3308        6.7050        .14815E-03   -1.5166    
   7  Prefactor     .10020E-03    9.9164        .61949E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.3555        2.0618        .41496E-03   -1.5342    
   9  Prefactor     .10000E-03    34.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     97.305        68.762        .40749E-04   -1.3732    
  11  Prefactor     .10000E-03    5.0048        .17348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.986        2.1569        .48858E-04   -1.5045    
  14  Prefactor     .10000E-03    3.2041        .13921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.398        21.721        .84650E-04   -1.4761    
  17  norm          .10000E-03    14.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.1842        2.4462        .12699E-03   -1.5412    
  19  Prefactor     .10000E-03    32.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6995        9.9619        .84111E-03   -1.5230    
  21  Prefactor     5.1216        3.5003        .11924E-03   -1.5255    
  22  Normalizat    1.4113        .24301        .25410E-03   -.80303    
  23  Prefactor     .76889        .17670        .25731E-03   -1.0089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.64014e-10
Minuit parameter uncertainties:
  1  1.21315e-06
  2  3.83698e-06
  3  43.7721
  4  2.53789e-06
  5  0.000146834
  6  6.70568
  7  0.0028115
  8  2.06185
  9  0.000146701
  10  68.818
  11  9.3514e-06
  12  0.000109956
  13  2.15695
  14  7.72056e-07
  15  0.000172968
  16  21.7283
  17  1.84062e-05
  18  2.44636
  19  4.04906e-05
  20  9.96475
  21  3.5004
  22  0.243213
  23  0.176827
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  7.721e-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:  7.689e-01  1.768e-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.411e+00  2.432e-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: 7.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/524723/likelihoodResults_253065601_253324801_4FGL_J1527.3+3117_daily_bin53.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) = 6354.87725867
delta logL = -0.00147079206181

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6354.87578971
delta logL = -1.83003157872e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10898E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5341       1.0000          .0000       10.000    
     3 'Normalizat'    1.4116       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76864       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=   6354.876     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      239 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10263E-03    2.1656        .14614E-01** at limit **
   2  Index         2.4596        5.6957        .50000        .77746E-04
   3  Normalizat    1.4113        .38654E-02    .25410E-03   -.47539E-03
   4  Prefactor     .76889        .30062E-02    .25732E-03   -.21543E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102629
  Index      = 2.45961
  Normalizat = 1.41129
  Prefactor  = 0.768892
 **********
 **   18 **HESSE 
 **********

 FCN=   6354.876     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10263E-03    28.380        .14994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4596        5.2785        .50000       -.53295    
   3  Normalizat    1.4113        .14067E-01    .50820E-04   -.80303    
   4  Prefactor     .76889        .10940E-01    .10293E-04   -1.0089    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.4409e-08
Minuit parameter uncertainties:
  1  0.0172835
  2  134.756
  3  0.0140673
  4  0.0109403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524723': 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) = 6354.87578605
delta logL = 1.83318115887e-06

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.026e-04  1.728e-02  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.460e+00  1.348e+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:  7.689e-01  1.094e-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.411e+00  1.407e-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/524723/cmap_HighResolution_253065601_253324801_4FGL_J1527.3+3117_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.93e-03', job_status='DONE', photon_flux_upper_limit='7.59e-08', time_completed='2021-09-12 03:14:40.975642', job_id='524723', GAL2='0.77', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1631441680.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.83e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='53' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:14:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 524723: <4FGL_J1527.3+3117_daily_bin53> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin53> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sun Sep 12 03:00:29 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:00:30 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:00:30 2021
Terminated at Sun Sep 12 03:14:41 2021
Results reported at Sun Sep 12 03:14:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin53 231.849 31.2989 253065601 253324801 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 :                                   665.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             262.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            852 sec.

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

