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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1044
RA = 231.849, Dec = 31.2989
tmin = 509932801, tmax = 510192001
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='530655', job_status='RUN', time_executed='2021-09-12 03:18:45.640352', time_epoch_executed='1631441925.64' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1044'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530655

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530655/ft1_4FGL_J1527.3+3117_daily_bin1044.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530655/ft2_4FGL_J1527.3+3117_daily_bin1044.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530655/ft1_4FGL_J1527.3+3117_daily_bin1044.fits outfile=/scratch/kocevski/530655/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1044.fits ra=231.849 dec=31.2989 rad=12.0 tmin=509932801.0 tmax=510192001.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 3.61
user 3.29
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530655/ft1_filtered_4FGL_J1527.3+3117_daily_bin1044.fits" evtable="EVENTS" scfile=/scratch/kocevski/530655/ft2_4FGL_J1527.3+3117_daily_bin1044.fits sctable="SC_DATA" outfile=/scratch/kocevski/530655/ltcube_509932801_510192001_4FGL_J1527.3+3117_daily_bin1044.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/530655/ft2_4FGL_J1527.3+3117_daily_bin1044.fits
.....................!
real 12.61
user 12.17
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530655/ft1_filtered_4FGL_J1527.3+3117_daily_bin1044.fits evtable="EVENTS" scfile=/scratch/kocevski/530655/ft2_4FGL_J1527.3+3117_daily_bin1044.fits sctable="SC_DATA" expcube=/scratch/kocevski/530655/ltcube_509932801_510192001_4FGL_J1527.3+3117_daily_bin1044.fits outfile=/scratch/kocevski/530655/expmap_509932801_510192001_4FGL_J1527.3+3117_daily_bin1044.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/530655/ltcube_509932801_510192001_4FGL_J1527.3+3117_daily_bin1044.fits
.....................!
real 192.86
user 186.81
sys 5.32

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/530655/ft1_filtered_4FGL_J1527.3+3117_daily_bin1044.fits scfile=/scratch/kocevski/530655/ft2_4FGL_J1527.3+3117_daily_bin1044.fits outfile=/scratch/kocevski/530655/cmap_509932801_510192001_4FGL_J1527.3+3117_daily_bin1044.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530655/ft1_filtered_4FGL_J1527.3+3117_daily_bin1044.fits scfile=/scratch/kocevski/530655/ft2_4FGL_J1527.3+3117_daily_bin1044.fits outfile=/scratch/kocevski/530655/cmap_HighResolution_509932801_510192001_4FGL_J1527.3+3117_daily_bin1044.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=231.849 yref=31.2989 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.9556       1.0000         .10000E-03   10000.    
     2 'norm      '    3.0082       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .29853E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.144       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.9114       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.1239       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.185       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.8750       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .36970E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.1909       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .59223       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1315       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=   6661.130     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2561 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.9563        5.8020       -.27214E-06    .11457E-04
   2  norm          3.0069        1.7085        .17347E-06   -.19619E-02
   3  Prefactor     .10000E-03    28.578       -.39895E-06** at limit **
   4  norm          .10000E-03    4.5681       -.45624E-06** at limit **
   5  Prefactor     15.148        11.844        .14136E-05    .70213E-04
   6  Prefactor     3.9113        4.4575       -.65064E-07   -.20688E-03
   7  Prefactor     .10000E-03    2.2806        .70175E-07** at limit **
   8  norm          2.1239        1.1617       -.16693E-07   -.27020E-04
   9  Prefactor     .10000E-03    17.546        .61981E-05** at limit **
  10  Prefactor     .10000E-03    17.786       -.53841E-05** at limit **
  11  Prefactor     13.179        9.2784        .12500E-05    .41426E-04
  12  Prefactor     .10000E-03    3.7091        .73705E-07** at limit **
  13  norm          7.8750        1.6227       -.69828E-08   -.49911E-04
  14  Prefactor     .10000E-03    4.2232        .66031E-07** at limit **
  15  Prefactor     .10000E-03    10.418        .56283E-06** at limit **
  16  Prefactor     .10000E-03    11.974       -.90619E-06** at limit **
  17  norm          .10424E-03    10.765       -.85150E-07** at limit **
  18  Prefactor     .10000E-03    1.0095       -.26543E-07** at limit **
  19  Prefactor     .10000E-03    5.4771       -.67999E-07** at limit **
  20  Prefactor     .10000E-03    5.3293        .16048E-06** at limit **
  21  Prefactor     8.1896        3.7518        .60545E-07   -.54057E-03
  22  Normalizat    .59236        .16752       -.58287E-06    .16616E-04
  23  Prefactor     1.1316        .13625       -.73045E-07    .22159E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.95634
  norm       = 3.00689
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 15.1479
  Prefactor  = 3.91126
  Prefactor  = 0.0001
  norm       = 2.12392
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.1792
  Prefactor  = 0.0001
  norm       = 7.87496
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000104241
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.18959
  Normalizat = 0.592356
  Prefactor  = 1.13161
 **********
 **   18 **HESSE 
 **********

 FCN=   6661.130     FROM HESSE     STATUS=OK           378 CALLS     2939 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.9563        5.7927        .13393E-03   -1.5109    
   2  norm          3.0069        4.2750        .97647E-03   -1.5361    
   3  Prefactor     .10000E-03    28.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    16.104        .33743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.148        11.834        .10292E-03   -1.4929    
   6  Prefactor     3.9113        4.4728        .88491E-03   -1.5312    
   7  Prefactor     .10000E-03    2.2843        .12037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.1239        1.1637        .62126E-04   -1.5416    
   9  Prefactor     .10000E-03    17.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.179        9.2822        .11031E-03   -1.4982    
  12  Prefactor     .10000E-03    3.7106        .15351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.8750        1.6228        .44698E-04   -1.5147    
  14  Prefactor     .10000E-03    4.2399        .16357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10424E-03    13.158        .79532E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.0361        .16002E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.4795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.3771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.1896        3.8012        .51738E-03   -1.5136    
  22  Normalizat    .59236        .18907        .30705E-03   -1.0831    
  23  Prefactor     1.1316        .15461        .19335E-03   -.88463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50403e-09
Minuit parameter uncertainties:
  1  5.7931
  2  4.27541
  3  1.24993e-05
  4  0.000301205
  5  11.8357
  6  4.47314
  7  1.47933e-07
  8  1.16371
  9  6.79157e-05
  10  5.81456e-05
  11  9.28319
  12  9.49664e-07
  13  1.62285
  14  5.13759e-08
  15  4.47771e-06
  16  1.18653e-06
  17  0.0149432
  18  1.6449e-07
  19  2.62721e-07
  20  2.88642e-06
  21  3.80129
  22  0.189281
  23  0.154668
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  5.138e-08  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.132e+00  1.547e-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:  5.924e-01  1.893e-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.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530655/likelihoodResults_509932801_510192001_4FGL_J1527.3+3117_daily_bin1044.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) = 6661.13129958
delta logL = -0.00112274305957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6661.13017669
delta logL = 1.48590515892e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5451       1.0000          .0000       10.000    
     3 'Normalizat'    .59233       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1316       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=   6661.130     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10212E-03    1.0286        .16746E-01** at limit **
   2  Index         2.4697        5.2713        .50000        .40944E-04
   3  Normalizat    .59236        .19078E-02    .30705E-03    .23363E-04
   4  Prefactor     1.1316        .16293E-02    .19335E-03   -.64525E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102116
  Index      = 2.46968
  Normalizat = 0.592356
  Prefactor  = 1.13161
 **********
 **   18 **HESSE 
 **********

 FCN=   6661.130     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10212E-03    42.155        .17039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4697        8.3578        .50000       -.53062    
   3  Normalizat    .59236        .12221E-01    .12282E-04   -1.0831    
   4  Prefactor     1.1316        .10437E-01    .38670E-04   -.88463    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.96401e-08
Minuit parameter uncertainties:
  1  0.0189026
  2  232.306
  3  0.0122214
  4  0.0104373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530655': 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) = 6661.13017602
delta logL = 8.18687112769e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.132e+00  1.044e-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:  5.924e-01  1.222e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/530655/cmap_HighResolution_509932801_510192001_4FGL_J1527.3+3117_daily_bin1044.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.81e-03', job_status='DONE', photon_flux_upper_limit='7.43e-08', time_completed='2021-09-12 03:30:16.823471', job_id='530655', GAL2='1.13', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1631442616.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='8.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1044' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:30:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 530655: <4FGL_J1527.3+3117_daily_bin1044> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1044> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 03:15:50 2021
Job was executed on host(s) <bullet0133>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:16:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 03:16:40 2021
Terminated at Sun Sep 12 03:30:17 2021
Results reported at Sun Sep 12 03:30:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1044 231.849 31.2989 509932801 510192001 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 :                                   685.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            867 sec.

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

