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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin93
RA = 231.849, Dec = 31.2989
tmin = 263433601, tmax = 263692801
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='524793', job_status='RUN', time_executed='2021-09-12 03:02:54.273135', time_epoch_executed='1631440974.27' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='93'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524793

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524793/ft1_4FGL_J1527.3+3117_daily_bin93.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524793/ft2_4FGL_J1527.3+3117_daily_bin93.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524793/ft1_4FGL_J1527.3+3117_daily_bin93.fits outfile=/scratch/kocevski/524793/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin93.fits ra=231.849 dec=31.2989 rad=12.0 tmin=263433601.0 tmax=263692801.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.45
user 3.24
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/524793/ft1_filtered_4FGL_J1527.3+3117_daily_bin93.fits" evtable="EVENTS" scfile=/scratch/kocevski/524793/ft2_4FGL_J1527.3+3117_daily_bin93.fits sctable="SC_DATA" outfile=/scratch/kocevski/524793/ltcube_263433601_263692801_4FGL_J1527.3+3117_daily_bin93.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/524793/ft2_4FGL_J1527.3+3117_daily_bin93.fits
.....................!
real 12.08
user 11.67
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524793/ft1_filtered_4FGL_J1527.3+3117_daily_bin93.fits evtable="EVENTS" scfile=/scratch/kocevski/524793/ft2_4FGL_J1527.3+3117_daily_bin93.fits sctable="SC_DATA" expcube=/scratch/kocevski/524793/ltcube_263433601_263692801_4FGL_J1527.3+3117_daily_bin93.fits outfile=/scratch/kocevski/524793/expmap_263433601_263692801_4FGL_J1527.3+3117_daily_bin93.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/524793/ltcube_263433601_263692801_4FGL_J1527.3+3117_daily_bin93.fits
.....................!
real 189.82
user 184.73
sys 4.73

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

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

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

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.381       1.0000         .10000E-03   10000.    
     2 'norm      '    16.596       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.302       1.0000         .10000E-03   10000.    
     4 'norm      '    9.7058       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.546       1.0000         .10000E-03   10000.    
     8 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.334       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5727       1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.071       1.0000         .10000E-03   10000.    
    13 'norm      '    15.076       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-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 '    .14711E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .59531       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2126       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=   6744.133     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2516 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.381        8.7989       -.26522E-07   -.27676E-04
   2  norm          16.596        6.5139       -.14700E-06   -.87331E-05
   3  Prefactor     20.302        23.634       -.63138E-06    .40403E-05
   4  norm          9.7057        9.3392       -.41135E-06   -.22198E-04
   5  Prefactor     .10000E-03    7.7176       -.18908E-05** at limit **
   6  Prefactor     .10000E-03    8.5364        .17999E-05** at limit **
   7  Prefactor     24.544        10.207        .71863E-06    .17241E-04
   8  norm          .10000E-03    .36200        .13919E-06** at limit **
   9  Prefactor     16.295        45.750       -.66166E-04   -.37850E-05
  10  Prefactor     .10000E-03    96.253        .23357E-05** at limit **
  11  Prefactor     6.5730        10.076       -.93309E-06   -.60348E-04
  12  Prefactor     34.070        25.193       -.32763E-06    .10895E-04
  13  norm          15.076        2.2040        .46006E-07    .33290E-03
  14  Prefactor     .10000E-03    8.6537        .15654E-05** at limit **
  15  Prefactor     .10000E-03    12.746        .31980E-05** at limit **
  16  Prefactor     .10000E-03    5.2363        .12836E-05** at limit **
  17  norm          .10000E-03    4.8669        .17354E-05** at limit **
  18  Prefactor     .10001E-03    1.2852       -.99325E-06** at limit **
  19  Prefactor     .10000E-03    11.778       -.46155E-05** at limit **
  20  Prefactor     .10000E-03    7.9418       -.22172E-06** at limit **
  21  Prefactor     .10000E-03    1.1206       -.18474E-07** at limit **
  22  Normalizat    .59533        .18903        .31955E-05    .13693E-03
  23  Prefactor     1.2126        .14929        .28580E-06    .32141E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.3807
  norm       = 16.5964
  Prefactor  = 20.3017
  norm       = 9.70573
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.5442
  norm       = 0.0001
  Prefactor  = 16.2955
  Prefactor  = 0.0001
  Prefactor  = 6.57304
  Prefactor  = 34.0704
  norm       = 15.076
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.595329
  Prefactor  = 1.21261
 **********
 **   18 **HESSE 
 **********

 FCN=   6744.133     FROM HESSE     STATUS=OK           366 CALLS     2882 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.381        8.8099        .10562E-03   -1.4949    
   2  norm          16.596        6.5131        .98313E-04   -1.4893    
   3  Prefactor     20.302        23.638        .88893E-04   -1.4807    
   4  norm          9.7057        9.3335        .12863E-03   -1.5085    
   5  Prefactor     .10000E-03    7.7393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.8626        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.544        10.205        .80852E-04   -1.4717    
   8  norm          .10000E-03    .36462        .48244E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.295        45.803        .99099E-04   -1.4900    
  10  Prefactor     .10000E-03    96.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.5730        10.068        .15653E-03   -1.5195    
  12  Prefactor     34.070        25.237        .68652E-04   -1.4540    
  13  norm          15.076        2.2039        .43808E-04   -1.4931    
  14  Prefactor     .10000E-03    8.7193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.2391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.8833        .17695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    4.9618        .17750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.1162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.1386        .84866E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .59533        .20906        .34064E-03   -1.0818    
  23  Prefactor     1.2126        .16663        .20319E-03   -.85944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76513e-09
Minuit parameter uncertainties:
  1  8.81065
  2  6.5134
  3  23.649
  4  9.33492
  5  1.1206e-05
  6  3.6077e-05
  7  10.2059
  8  8.40341e-06
  9  45.9018
  10  0.000223508
  11  10.0703
  12  25.245
  13  2.20392
  14  9.01818e-06
  15  3.44377e-06
  16  8.917e-06
  17  7.93114e-06
  18  0.000390707
  19  7.32915e-06
  20  1.7575e-05
  21  4.1934e-06
  22  0.209341
  23  0.166704
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  9.018e-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:  1.213e+00  1.667e-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.953e-01  2.093e-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: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/524793/likelihoodResults_263433601_263692801_4FGL_J1527.3+3117_daily_bin93.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) = 6744.1337506
delta logL = -0.000546620242858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6744.13320394
delta logL = 3.78331606044e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5826       1.0000          .0000       10.000    
     3 'Normalizat'    .59533       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2126       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=   6744.133     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    132.07        .90712E-02** at limit **
   2  Index         2.5960        8.5852        .50000       -.14467E-04
   3  Normalizat    .59533        .17649E-01    .76932E-01    .40761E-04
   4  Prefactor     1.2126        .14654E-01    .34339E-01   -.52930E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.59599
  Normalizat = 0.59533
  Prefactor  = 1.21261
 **********
 **   18 **HESSE 
 **********

 FCN=   6744.133     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      243 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1167.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5960        6.9918        .50000       -.50157    
   3  Normalizat    .59533        .64827E-01    .34064E-03   -1.0818    
   4  Prefactor     1.2126        .53936E-01    .20319E-03   -.85944    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.01545e-08
Minuit parameter uncertainties:
  1  6.65564e-05
  2  51.4847
  3  0.0648356
  4  0.0539384
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524793': 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) = 6744.13320389
delta logL = 8.40418579173e-08

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  6.656e-05  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.596e+00  5.148e+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.213e+00  5.394e-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.953e-01  6.484e-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/524793/cmap_HighResolution_263433601_263692801_4FGL_J1527.3+3117_daily_bin93.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-12 03:14:22.770641', job_id='524793', GAL2='1.21', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1631441662.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='8.40e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='93' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:14:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 524793: <4FGL_J1527.3+3117_daily_bin93> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin93 231.849 31.2989 263433601 263692801 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 :                                   686.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            829 sec.

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

