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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin20
RA = 231.849, Dec = 31.2989
tmin = 244512001, tmax = 244771201
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='524670', job_status='RUN', time_executed='2021-09-12 03:02:37.961254', time_epoch_executed='1631440957.96' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='20'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524670

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524670/ft1_4FGL_J1527.3+3117_daily_bin20.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524670/ft2_4FGL_J1527.3+3117_daily_bin20.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524670/ft1_4FGL_J1527.3+3117_daily_bin20.fits outfile=/scratch/kocevski/524670/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin20.fits ra=231.849 dec=31.2989 rad=12.0 tmin=244512001.0 tmax=244771201.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.45
user 1.25
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/524670/ft1_filtered_4FGL_J1527.3+3117_daily_bin20.fits" evtable="EVENTS" scfile=/scratch/kocevski/524670/ft2_4FGL_J1527.3+3117_daily_bin20.fits sctable="SC_DATA" outfile=/scratch/kocevski/524670/ltcube_244512001_244771201_4FGL_J1527.3+3117_daily_bin20.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/524670/ft2_4FGL_J1527.3+3117_daily_bin20.fits
.....................!
real 12.64
user 12.21
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524670/ft1_filtered_4FGL_J1527.3+3117_daily_bin20.fits evtable="EVENTS" scfile=/scratch/kocevski/524670/ft2_4FGL_J1527.3+3117_daily_bin20.fits sctable="SC_DATA" expcube=/scratch/kocevski/524670/ltcube_244512001_244771201_4FGL_J1527.3+3117_daily_bin20.fits outfile=/scratch/kocevski/524670/expmap_244512001_244771201_4FGL_J1527.3+3117_daily_bin20.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/524670/ltcube_244512001_244771201_4FGL_J1527.3+3117_daily_bin20.fits
.....................!
real 190.58
user 185.22
sys 5.02

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/524670/ft1_filtered_4FGL_J1527.3+3117_daily_bin20.fits scfile=/scratch/kocevski/524670/ft2_4FGL_J1527.3+3117_daily_bin20.fits outfile=/scratch/kocevski/524670/cmap_244512001_244771201_4FGL_J1527.3+3117_daily_bin20.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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/524670/ft1_filtered_4FGL_J1527.3+3117_daily_bin20.fits scfile=/scratch/kocevski/524670/ft2_4FGL_J1527.3+3117_daily_bin20.fits outfile=/scratch/kocevski/524670/cmap_HighResolution_244512001_244771201_4FGL_J1527.3+3117_daily_bin20.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4712       1.0000         .10000E-03   10000.    
     2 'norm      '    4.5900       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.5545       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9404       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.191       1.0000         .10000E-03   10000.    
     8 'norm      '    3.0103       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-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 '    22.375       1.0000         .10000E-03   10000.    
    13 'norm      '    7.7827       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.093       1.0000         .10000E-03   10000.    
    15 'Prefactor '    37.240       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.2922       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.7082       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .45987E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.7711       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .35186       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3852       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=   6068.902     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2185 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4704        4.6201        .25380E-06   -.15303E-04
   2  norm          4.5894        4.6365        .38753E-08   -.38789E-04
   3  Prefactor     .10000E-03    16.773       -.16848E-06** at limit **
   4  norm          6.5544        6.4704       -.52395E-06    .78312E-05
   5  Prefactor     4.9375        11.538       -.13109E-06   -.10869E-04
   6  Prefactor     .10000E-03    4.9182       -.16400E-07** at limit **
   7  Prefactor     10.189        9.0596       -.13050E-06   -.69221E-04
   8  norm          3.0097        1.6221        .21789E-07    .33890E-03
   9  Prefactor     .10000E-03    27.618       -.20285E-05** at limit **
  10  Prefactor     .10000E-03    26.448        .18955E-05** at limit **
  11  Prefactor     .10000E-03    3.0293       -.10849E-07** at limit **
  12  Prefactor     22.370        20.250       -.40580E-06    .21782E-05
  13  norm          7.7828        2.0915       -.16831E-07   -.39602E-03
  14  Prefactor     14.088        13.201       -.20348E-06   -.17220E-04
  15  Prefactor     37.240        35.258        .18419E-07   -.55312E-05
  16  Prefactor     .10000E-03    7.7144       -.53776E-08** at limit **
  17  norm          .10000E-03    6.4518       -.46090E-07** at limit **
  18  Prefactor     3.2919        2.4059       -.20704E-08   -.60582E-04
  19  Prefactor     1.7077        17.930        .11480E-04   -.85496E-05
  20  Prefactor     .10010E-03    7.2692       -.72282E-06** at limit **
  21  Prefactor     4.7689        4.5124       -.91510E-07   -.94163E-04
  22  Normalizat    .35205        .21899        .23835E-05    .11183E-03
  23  Prefactor     1.3852        .17571       -.99394E-06    .68950E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.47038
  norm       = 4.58937
  Prefactor  = 0.0001
  norm       = 6.55437
  Prefactor  = 4.93747
  Prefactor  = 0.0001
  Prefactor  = 10.1892
  norm       = 3.00973
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.3696
  norm       = 7.78276
  Prefactor  = 14.0879
  Prefactor  = 37.24
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.29193
  Prefactor  = 1.70768
  Prefactor  = 0.0001001
  Prefactor  = 4.76892
  Normalizat = 0.352048
  Prefactor  = 1.38516
 **********
 **   18 **HESSE 
 **********

 FCN=   6068.902     FROM HESSE     STATUS=OK           384 CALLS     2569 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4704        4.5620        .28771E-03   -1.5465    
   2  norm          4.5894        4.6313        .16367E-03   -1.5279    
   3  Prefactor     .10000E-03    16.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.5544        6.4733        .78375E-03   -1.5196    
   5  Prefactor     4.9375        11.503        .18095E-03   -1.5264    
   6  Prefactor     .10000E-03    4.9599        .16851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.189        9.0632        .12552E-03   -1.5069    
   8  norm          3.0097        1.6135        .69083E-04   -1.5361    
   9  Prefactor     .10000E-03    27.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.0423        .13241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.370        20.225        .84678E-04   -1.4762    
  13  norm          7.7828        2.1034        .48235E-04   -1.5150    
  14  Prefactor     14.088        13.263        .10669E-03   -1.4957    
  15  Prefactor     37.240        35.233        .65676E-04   -1.4487    
  16  Prefactor     .10000E-03    7.7238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.4727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.2919        2.3985        .98886E-04   -1.5345    
  19  Prefactor     1.7077        17.926        .16084E-02   -1.5447    
  20  Prefactor     .10010E-03    12.740        .63029E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.7689        4.4802        .14937E-03   -1.5271    
  22  Normalizat    .35205        .21727        .41993E-03   -1.1986    
  23  Prefactor     1.3852        .17878        .18758E-03   -.80809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17905e-10
Minuit parameter uncertainties:
  1  4.56304
  2  4.63162
  3  2.26616e-05
  4  6.47402
  5  11.5081
  6  3.6438e-06
  7  9.06443
  8  1.61351
  9  4.25535e-05
  10  9.10662e-05
  11  8.14495e-07
  12  20.2312
  13  2.10341
  14  13.2661
  15  35.2528
  16  4.43973e-06
  17  5.94223e-06
  18  2.39857
  19  11.0694
  20  0.00225817
  21  4.48048
  22  0.21779
  23  0.178859
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.385e+00  1.789e-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:  3.520e-01  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.10
Ra Dec: 231.849 31.299
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 6.87e-08 +/- 6.46e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.75e-05

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

Saving results to:
/scratch/kocevski/524670/likelihoodResults_244512001_244771201_4FGL_J1527.3+3117_daily_bin20.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6068.80588861
delta logL = 0.0956858043792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6068.78713144
delta logL = 0.114442974002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6756       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9844       1.0000          .0000       10.000    
     3 'Normalizat'    .33226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3965       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=   6068.787     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      287 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6685        45.542        .14474E-03    .11891E-03
   2  Index         2.9847        2.4177        .50359E-02    .67596E-04
   3  Normalizat    .33228        .22423        .43155E-03    .80138E-04
   4  Prefactor     1.3964        .18439        .18690E-03   -.35011E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.66849
  Index      = 2.98475
  Normalizat = 0.332277
  Prefactor  = 1.39644
 **********
 **   18 **HESSE 
 **********

 FCN=   6068.787     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6685        14.676        .57898E-05   -1.5154    
   2  Index         2.9847        .99016        .20143E-03   -.41485    
   3  Normalizat    .33228        .21120        .17262E-04   -1.2096    
   4  Prefactor     1.3964        .17639        .37380E-04   -.80483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.81442e-10
Minuit parameter uncertainties:
  1  14.6832
  2  0.998056
  3  0.211706
  4  0.176465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524670': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6068.78713129
delta logL = 0.114443119064

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  7.668e+00  1.468e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.985e+00  9.981e-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:  1.396e+00  1.765e-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:  3.323e-01  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.53
Ra Dec: 231.849 31.299
Photon Index (Free Index): 2.98 +/- 1.00
Photon Flux (Free Index): 8.66e-08 +/- 6.90e-08
Energy Flux (Free Index): 1.74e-05 +/- 1.33e-05

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/524670/cmap_HighResolution_244512001_244771201_4FGL_J1527.3+3117_daily_bin20.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.40e-02', comment='SUCCESS', photon_flux='6.87e-08', energy_flux2='1.74e-05', photon_flux_error='6.46e-08', dlogl='1.14e-01', energy_flux='1.86e-05', photon_flux2='8.66e-08', job_status='DONE', time_completed='2021-09-12 03:12:59.442392', photon_index_error2='1.00', photon_index2='2.98', ts='2.10', fit_tolerance='1e-08', GAL='1.39', photon_index_error='0.00', photon_flux_upper_limit='1.79e-07', energy_flux_error2='1.33e-05', EG='0.35', time_epoch_completed='1631441579.44', return_code='0', job_id='524670', GAL2='1.40', EG2='0.33', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='6.90e-08', ts2='2.53', photon_index='2.57' WHERE bin_id='20' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:12:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 524670: <4FGL_J1527.3+3117_daily_bin20> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin20 231.849 31.2989 244512001 244771201 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 :                                   619.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            755 sec.

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

