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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin12
RA = 231.849, Dec = 31.2989
tmin = 242438401, tmax = 242697601
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='524658', job_status='RUN', time_executed='2021-09-12 03:02:17.632807', time_epoch_executed='1631440937.63' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='12'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524658

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524658/ft1_4FGL_J1527.3+3117_daily_bin12.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524658/ft2_4FGL_J1527.3+3117_daily_bin12.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524658/ft1_4FGL_J1527.3+3117_daily_bin12.fits outfile=/scratch/kocevski/524658/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin12.fits ra=231.849 dec=31.2989 rad=12.0 tmin=242438401.0 tmax=242697601.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.43
user 1.24
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524658/ft1_filtered_4FGL_J1527.3+3117_daily_bin12.fits evtable="EVENTS" scfile=/scratch/kocevski/524658/ft2_4FGL_J1527.3+3117_daily_bin12.fits sctable="SC_DATA" expcube=/scratch/kocevski/524658/ltcube_242438401_242697601_4FGL_J1527.3+3117_daily_bin12.fits outfile=/scratch/kocevski/524658/expmap_242438401_242697601_4FGL_J1527.3+3117_daily_bin12.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/524658/ltcube_242438401_242697601_4FGL_J1527.3+3117_daily_bin12.fits
.....................!
real 191.55
user 185.93
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/524658/ft1_filtered_4FGL_J1527.3+3117_daily_bin12.fits scfile=/scratch/kocevski/524658/ft2_4FGL_J1527.3+3117_daily_bin12.fits outfile=/scratch/kocevski/524658/cmap_242438401_242697601_4FGL_J1527.3+3117_daily_bin12.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.58
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/524658/ft1_filtered_4FGL_J1527.3+3117_daily_bin12.fits scfile=/scratch/kocevski/524658/ft2_4FGL_J1527.3+3117_daily_bin12.fits outfile=/scratch/kocevski/524658/cmap_HighResolution_242438401_242697601_4FGL_J1527.3+3117_daily_bin12.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.4318       1.0000         .10000E-03   10000.    
     2 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.791       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.4882       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.998       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3706       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    12.758       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .28442E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1659       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.0097       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3416       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .72162       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=   9375.021     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2161 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.4306        7.3803        .34514E-02    .26336E-02
   2  norm          .10000E-03    1.7194        .90712E-02** at limit **
   3  Prefactor     .10000E-03    8.3321        .90712E-02** at limit **
   4  norm          10.790        7.4494        .30492E-02    .16451E-03
   5  Prefactor     9.4872        9.7832        .32525E-02   -.53870E-04
   6  Prefactor     .10000E-03    1.6474        .90712E-02** at limit **
   7  Prefactor     15.000        7.6368        .25855E-02    .31197E-03
   8  norm          1.3703        1.3529        .93100E-02    .65247E-03
   9  Prefactor     .10000E-03    23.579        .90712E-02** at limit **
  10  Prefactor     .10000E-03    178.14        .90712E-02** at limit **
  11  Prefactor     .10000E-03    1.5874        .90712E-02** at limit **
  12  Prefactor     .10000E-03    6.8202        .90712E-02** at limit **
  13  norm          12.760        1.9983        .28037E-02    .36569E-03
  14  Prefactor     .10000E-03    5.0007        .99427E-01** at limit **
  15  Prefactor     .10000E-03    9.6680        .90712E-02** at limit **
  16  Prefactor     .10000E-03    6.3156        .90712E-02** at limit **
  17  norm          .10000E-03    6.1436        .90712E-02** at limit **
  18  Prefactor     1.1655        2.1817        .10645E-01    .17034E-02
  19  Prefactor     .10000E-03    6.0099        .90712E-02** at limit **
  20  Prefactor     .10000E-03    3.1867        .90712E-02** at limit **
  21  Prefactor     1.0094        2.0277        .35668E-01    .94731E-03
  22  Normalizat    1.3417        .16093        .55878E-01   -.14521E-03
  23  Prefactor     .72165        .11769        .42688E-01   -.86442E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.4306
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.7904
  Prefactor  = 9.4872
  Prefactor  = 0.0001
  Prefactor  = 15.0001
  norm       = 1.3703
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.7601
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.16554
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.00938
  Normalizat = 1.34171
  Prefactor  = 0.721651
 **********
 **   18 **HESSE 
 **********

 FCN=   9375.021     FROM HESSE     STATUS=OK           366 CALLS     2527 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.4306        7.3944        .69027E-03   -1.5127    
   2  norm          .10000E-03    1.7362        .12397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.3440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.790        7.4477        .12197E-03   -1.5051    
   5  Prefactor     9.4872        9.7791        .13010E-03   -1.5092    
   6  Prefactor     .10000E-03    1.6487        .12133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.000        7.6354        .10342E-03   -1.4933    
   8  norm          1.3703        1.3383        .10618E-03   -1.5474    
   9  Prefactor     .10000E-03    23.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    180.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.5910        .11913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.8463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.760        1.8021        .45975E-04   -1.4993    
  14  Prefactor     .10000E-03    36.968        .37054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.6737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.3213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.1652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.1655        2.1575        .18401E-03   -1.5492    
  19  Prefactor     .10000E-03    6.0147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.2090        .16878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.0094        1.6077        .18836E-02   -1.5507    
  22  Normalizat    1.3417        .18895        .24709E-03   -.82330    
  23  Prefactor     .72165        .13847        .24785E-03   -1.0268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29114e-09
Minuit parameter uncertainties:
  1  7.39525
  2  5.59981e-06
  3  1.17649e-05
  4  7.4483
  5  9.78079
  6  9.23497e-07
  7  7.63588
  8  1.33831
  9  0.000164032
  10  0.000101695
  11  1.23274e-06
  12  5.64548e-05
  13  1.80212
  14  0.000143134
  15  5.8411e-05
  16  0.000107677
  17  0.000108201
  18  2.15763
  19  4.43914e-05
  20  5.23109e-07
  21  1.6078
  22  0.189051
  23  0.13854
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  1.431e-04  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.217e-01  1.385e-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.342e+00  1.891e-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: 9.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/524658/likelihoodResults_242438401_242697601_4FGL_J1527.3+3117_daily_bin12.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) = 9375.02143109
delta logL = -0.000127870896904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9375.02143088
delta logL = -0.000127655714095

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96103E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5695       1.0000          .0000       10.000    
     3 'Normalizat'    1.3416       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72173       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=   9375.021     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      220 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.0198        .90738E-01** at limit **
   2  Index         2.5456        1.9883        .50000        .58668E-05
   3  Normalizat    1.3417        .18792E-02    .55878E-01    .14915E-03
   4  Prefactor     .72165        .14365E-02    .42690E-01    .98126E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.54564
  Normalizat = 1.34171
  Prefactor  = 0.721651
 **********
 **   18 **HESSE 
 **********

 FCN=   9375.021     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      253 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6487.9        .40329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5456        7.5708        .50000       -.51309    
   3  Normalizat    1.3417        .42432E-01    .24709E-03   -.82330    
   4  Prefactor     .72165        .32343E-01    .24785E-03   -1.0268    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.23204e-10
Minuit parameter uncertainties:
  1  0.00315983
  2  41.2925
  3  0.0424332
  4  0.0323434
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524658': 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) = 9375.02130319
delta logL = 3.20433173329e-08

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  3.160e-03  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.546e+00  4.129e+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.217e-01  3.234e-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.342e+00  4.243e-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/524658/cmap_HighResolution_242438401_242697601_4FGL_J1527.3+3117_daily_bin12.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.48e-08', time_completed='2021-09-12 03:15:28.066876', job_id='524658', GAL2='0.72', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1631441728.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='3.20e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='12' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:15:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 524658: <4FGL_J1527.3+3117_daily_bin12> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin12 231.849 31.2989 242438401 242697601 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 :                                   784.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

