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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin32
RA = 231.849, Dec = 31.2989
tmin = 247622401, tmax = 247881601
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='524690', job_status='RUN', time_executed='2021-09-12 03:03:22.504786', time_epoch_executed='1631441002.5' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='32'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524690

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524690/ft1_4FGL_J1527.3+3117_daily_bin32.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524690/ft2_4FGL_J1527.3+3117_daily_bin32.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524690/ft1_4FGL_J1527.3+3117_daily_bin32.fits outfile=/scratch/kocevski/524690/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin32.fits ra=231.849 dec=31.2989 rad=12.0 tmin=247622401.0 tmax=247881601.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.18
user 1.00
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/524690/ft2_4FGL_J1527.3+3117_daily_bin32.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/524690/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin32.fits evtable="EVENTS" outfile="/scratch/kocevski/524690/ft1_filtered_4FGL_J1527.3+3117_daily_bin32.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.44
user 0.27
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/524690/ft1_filtered_4FGL_J1527.3+3117_daily_bin32.fits" evtable="EVENTS" scfile=/scratch/kocevski/524690/ft2_4FGL_J1527.3+3117_daily_bin32.fits sctable="SC_DATA" outfile=/scratch/kocevski/524690/ltcube_247622401_247881601_4FGL_J1527.3+3117_daily_bin32.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/524690/ft2_4FGL_J1527.3+3117_daily_bin32.fits
.....................!
real 11.22
user 10.58
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524690/ft1_filtered_4FGL_J1527.3+3117_daily_bin32.fits evtable="EVENTS" scfile=/scratch/kocevski/524690/ft2_4FGL_J1527.3+3117_daily_bin32.fits sctable="SC_DATA" expcube=/scratch/kocevski/524690/ltcube_247622401_247881601_4FGL_J1527.3+3117_daily_bin32.fits outfile=/scratch/kocevski/524690/expmap_247622401_247881601_4FGL_J1527.3+3117_daily_bin32.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/524690/ltcube_247622401_247881601_4FGL_J1527.3+3117_daily_bin32.fits
.....................!
real 155.27
user 150.10
sys 4.74

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/524690/ft1_filtered_4FGL_J1527.3+3117_daily_bin32.fits scfile=/scratch/kocevski/524690/ft2_4FGL_J1527.3+3117_daily_bin32.fits outfile=/scratch/kocevski/524690/cmap_247622401_247881601_4FGL_J1527.3+3117_daily_bin32.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.45
user 0.30
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/524690/ft1_filtered_4FGL_J1527.3+3117_daily_bin32.fits scfile=/scratch/kocevski/524690/ft2_4FGL_J1527.3+3117_daily_bin32.fits outfile=/scratch/kocevski/524690/cmap_HighResolution_247622401_247881601_4FGL_J1527.3+3117_daily_bin32.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.46
user 0.31
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.073       1.0000         .10000E-03   10000.    
     4 'norm      '    1.9356       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2466       1.0000         .10000E-03   10000.    
     8 'norm      '    1.2380       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.671       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.878       1.0000         .10000E-03   10000.    
    13 'norm      '    7.3857       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.3632       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.4579       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.1474       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99492       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .77409       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=   6431.775     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2500 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7595       -.54143E-07** at limit **
   2  norm          .10000E-03    1.3934        .79473E-07** at limit **
   3  Prefactor     28.076        28.284        .12763E-06    .27072E-04
   4  norm          1.9352        4.3022        .10220E-04   -.84144E-03
   5  Prefactor     .10000E-03    10.347        .64318E-07** at limit **
   6  Prefactor     .10000E-03    3.7023        .23891E-07** at limit **
   7  Prefactor     2.2459        3.2864        .19405E-07   -.46381E-04
   8  norm          1.2409        1.4207       -.50149E-07    .30745E-03
   9  Prefactor     17.528        53.108       -.22910E-04   -.38214E-03
  10  Prefactor     .10000E-03    41.367        .17662E-05** at limit **
  11  Prefactor     .10000E-03    2.2021        .96310E-07** at limit **
  12  Prefactor     14.878        20.969        .37935E-06    .42532E-06
  13  norm          7.3863        1.5779        .22413E-07    .47454E-04
  14  Prefactor     .10000E-03    4.4320        .43120E-07** at limit **
  15  Prefactor     .10000E-03    21.263       -.55183E-06** at limit **
  16  Prefactor     .10000E-03    6.6528       -.60299E-06** at limit **
  17  norm          .10000E-03    6.2935        .19611E-06** at limit **
  18  Prefactor     2.3635        2.2301        .66998E-07   -.42067E-04
  19  Prefactor     .10000E-03    8.8756       -.12776E-06** at limit **
  20  Prefactor     9.4544        9.4952        .75767E-08   -.11059E-04
  21  Prefactor     1.1470        3.5269        .11817E-05   -.12036E-03
  22  Normalizat    .99407        .17201        .69793E-06   -.93419E-04
  23  Prefactor     .77478        .12862       -.56858E-06    .24224E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 28.0763
  norm       = 1.93522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.24586
  norm       = 1.2409
  Prefactor  = 17.5279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8778
  norm       = 7.38633
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.36349
  Prefactor  = 0.0001
  Prefactor  = 9.4544
  Prefactor  = 1.14701
  Normalizat = 0.994072
  Prefactor  = 0.774777
 **********
 **   18 **HESSE 
 **********

 FCN=   6431.775     FROM HESSE     STATUS=OK           368 CALLS     2868 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7614        .10389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.4002        .92446E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.076        28.411        .75612E-04   -1.4648    
   4  norm          1.9352        4.3642        .12376E-02   -1.5430    
   5  Prefactor     .10000E-03    10.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.7178        .15052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2459        3.2715        .17138E-03   -1.5408    
   8  norm          1.2409        1.3988        .94954E-04   -1.5485    
   9  Prefactor     17.528        55.825        .95276E-04   -1.4870    
  10  Prefactor     .10000E-03    41.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.2073        .11621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.878        21.089        .10384E-03   -1.4936    
  13  norm          7.3863        1.5800        .44288E-04   -1.5164    
  14  Prefactor     .10000E-03    4.4535        .16468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    21.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.6627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.3215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.3635        2.2186        .11101E-03   -1.5400    
  19  Prefactor     .10000E-03    8.8830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.4544        9.5019        .13031E-03   -1.5093    
  21  Prefactor     1.1470        3.5295        .24816E-03   -1.5494    
  22  Normalizat    .99407        .20181        .24071E-03   -.93229    
  23  Prefactor     .77478        .15116        .21387E-03   -1.0066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47471e-09
Minuit parameter uncertainties:
  1  6.36474e-06
  2  7.46571e-07
  3  28.4243
  4  4.36494
  5  4.95831e-05
  6  3.77735e-07
  7  3.27181
  8  1.39887
  9  55.9924
  10  0.000244251
  11  1.30425e-06
  12  21.0998
  13  1.58
  14  1.33227e-06
  15  9.28652e-05
  16  2.01333e-05
  17  4.12608e-05
  18  2.21864
  19  1.46927e-05
  20  9.50338
  21  3.53016
  22  0.201966
  23  0.151238
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  1.332e-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:  7.748e-01  1.512e-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.941e-01  2.020e-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.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/524690/likelihoodResults_247622401_247881601_4FGL_J1527.3+3117_daily_bin32.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) = 6431.77636611
delta logL = -0.00107027875492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6431.7752979
delta logL = -2.07099765248e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5268       1.0000          .0000       10.000    
     3 'Normalizat'    .99402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77464       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=   6431.775     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      236 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10243E-03    1.5815        .17703E-01** at limit **
   2  Index         2.4528        5.5108        .50000        .64230E-04
   3  Normalizat    .99407        .22348E-02    .24071E-03    .19690E-03
   4  Prefactor     .77478        .17833E-02    .21387E-03    .25312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102434
  Index      = 2.45276
  Normalizat = 0.994073
  Prefactor  = 0.774776
 **********
 **   18 **HESSE 
 **********

 FCN=   6431.775     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10243E-03    28.021        .18011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4528        5.1538        .50000       -.53454    
   3  Normalizat    .99407        .93434E-02    .96283E-05   -.93229    
   4  Prefactor     .77478        .74556E-02    .42774E-04   -1.0066    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.39034e-08
Minuit parameter uncertainties:
  1  0.0165254
  2  108.449
  3  0.00934343
  4  0.00745559
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524690': 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) = 6431.77529406
delta logL = 1.77410220203e-06

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.024e-04  1.653e-02  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.453e+00  1.084e+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.748e-01  7.456e-03  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.941e-01  9.343e-03  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/524690/cmap_HighResolution_247622401_247881601_4FGL_J1527.3+3117_daily_bin32.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-03', job_status='DONE', photon_flux_upper_limit='7.63e-08', time_completed='2021-09-12 03:12:26.160751', job_id='524690', GAL2='0.77', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1631441546.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.77e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='32' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:12:26 PDT 2021


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

Job <4FGL_J1527.3+3117_daily_bin32> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sun Sep 12 03:00:26 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:00:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 03:00:28 2021
Terminated at Sun Sep 12 03:12:26 2021
Results reported at Sun Sep 12 03:12:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin32 231.849 31.2989 247622401 247881601 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 :                                   541.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            720 sec.

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

