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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1024
RA = 231.849, Dec = 31.2989
tmin = 504748801, tmax = 505008001
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='530625', job_status='RUN', time_executed='2021-09-12 03:20:00.724642', time_epoch_executed='1631442000.72' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1024'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530625

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530625/ft1_4FGL_J1527.3+3117_daily_bin1024.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530625/ft2_4FGL_J1527.3+3117_daily_bin1024.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530625/ft1_4FGL_J1527.3+3117_daily_bin1024.fits outfile=/scratch/kocevski/530625/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1024.fits ra=231.849 dec=31.2989 rad=12.0 tmin=504748801.0 tmax=505008001.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 8.29
user 7.98
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530625/ft1_filtered_4FGL_J1527.3+3117_daily_bin1024.fits" evtable="EVENTS" scfile=/scratch/kocevski/530625/ft2_4FGL_J1527.3+3117_daily_bin1024.fits sctable="SC_DATA" outfile=/scratch/kocevski/530625/ltcube_504748801_505008001_4FGL_J1527.3+3117_daily_bin1024.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/530625/ft2_4FGL_J1527.3+3117_daily_bin1024.fits
.....................!
real 11.83
user 11.49
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530625/ft1_filtered_4FGL_J1527.3+3117_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/530625/ft2_4FGL_J1527.3+3117_daily_bin1024.fits sctable="SC_DATA" expcube=/scratch/kocevski/530625/ltcube_504748801_505008001_4FGL_J1527.3+3117_daily_bin1024.fits outfile=/scratch/kocevski/530625/expmap_504748801_505008001_4FGL_J1527.3+3117_daily_bin1024.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/530625/ltcube_504748801_505008001_4FGL_J1527.3+3117_daily_bin1024.fits
.....................!
real 191.17
user 185.55
sys 4.77

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/530625/ft1_filtered_4FGL_J1527.3+3117_daily_bin1024.fits scfile=/scratch/kocevski/530625/ft2_4FGL_J1527.3+3117_daily_bin1024.fits outfile=/scratch/kocevski/530625/cmap_504748801_505008001_4FGL_J1527.3+3117_daily_bin1024.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530625/ft1_filtered_4FGL_J1527.3+3117_daily_bin1024.fits scfile=/scratch/kocevski/530625/ft2_4FGL_J1527.3+3117_daily_bin1024.fits outfile=/scratch/kocevski/530625/cmap_HighResolution_504748801_505008001_4FGL_J1527.3+3117_daily_bin1024.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7206       1.0000         .10000E-03   10000.    
     2 'norm      '    6.7598       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.3144       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.036       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.337       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4779       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    49.175       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.5379       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.2570       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4761       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16566E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4776       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .56897       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=   5074.214     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     3136 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7205        6.9457        .16972E-05    .25805E-03
   2  norm          6.7598        5.2339        .17037E-08   -.83944E-05
   3  Prefactor     .10000E-03    69.094       -.47649E-06** at limit **
   4  norm          7.3143        9.0989       -.97821E-07   -.21438E-05
   5  Prefactor     15.035        14.092       -.71790E-07    .45233E-05
   6  Prefactor     .10000E-03    4.0057       -.10317E-07** at limit **
   7  Prefactor     15.337        11.734        .92766E-08   -.57478E-05
   8  norm          2.4777        1.7078        .17222E-07   -.17002E-04
   9  Prefactor     .10000E-03    21.802       -.11789E-05** at limit **
  10  Prefactor     49.170        73.693       -.44243E-06   -.47788E-04
  11  Prefactor     9.5389        10.311        .12132E-05    .39988E-04
  12  Prefactor     .10000E-03    4.5776       -.50438E-08** at limit **
  13  norm          2.2570        1.5354       -.43479E-07   -.25396E-03
  14  Prefactor     4.4754        10.745        .65266E-06   -.63701E-04
  15  Prefactor     .10000E-03    25.670        .11534E-05** at limit **
  16  Prefactor     .10000E-03    8.3425       -.42676E-06** at limit **
  17  norm          .10000E-03    6.0156       -.14458E-06** at limit **
  18  Prefactor     .10002E-03    2.6380        .10795E-05** at limit **
  19  Prefactor     .10000E-03    10.339        .19811E-06** at limit **
  20  Prefactor     .10000E-03    13.777        .23807E-06** at limit **
  21  Prefactor     .10000E-03    4.9466        .12613E-06** at limit **
  22  Normalizat    1.4776        .20301       -.32769E-06   -.21361E-03
  23  Prefactor     .56895        .15465       -.11259E-07   -.19400E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.72049
  norm       = 6.75981
  Prefactor  = 0.0001
  norm       = 7.31426
  Prefactor  = 15.0348
  Prefactor  = 0.0001
  Prefactor  = 15.3367
  norm       = 2.47769
  Prefactor  = 0.000100003
  Prefactor  = 49.1696
  Prefactor  = 9.53891
  Prefactor  = 0.0001
  norm       = 2.25705
  Prefactor  = 4.47536
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.47759
  Prefactor  = 0.568953
 **********
 **   18 **HESSE 
 **********

 FCN=   5074.214     FROM HESSE     STATUS=OK           368 CALLS     3504 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7205        7.0885        .77390E-03   -1.5189    
   2  norm          6.7598        5.2337        .13943E-03   -1.5188    
   3  Prefactor     .10000E-03    69.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.3143        9.0937        .14830E-03   -1.5167    
   5  Prefactor     15.035        14.114        .10329E-03   -1.4932    
   6  Prefactor     .10000E-03    4.0197        .13916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.337        11.733        .10227E-03   -1.4925    
   8  norm          2.4777        1.7047        .73849E-04   -1.5393    
   9  Prefactor     .10000E-03    22.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     49.170        73.729        .57185E-04   -1.4304    
  11  Prefactor     9.5389        10.348        .64880E-03   -1.5090    
  12  Prefactor     .10000E-03    4.5795        .14885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2570        1.5327        .61049E-04   -1.5407    
  14  Prefactor     4.4754        10.693        .19032E-03   -1.5285    
  15  Prefactor     .10000E-03    25.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.3911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.0325        .17067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    7.2110        .18585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.1702        .30896E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4776        .23853        .22128E-03   -.78410    
  23  Prefactor     .56895        .18117        .26378E-03   -1.0891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59382e-09
Minuit parameter uncertainties:
  1  7.08934
  2  5.23408
  3  0.000369873
  4  9.09541
  5  14.1167
  6  1.0504e-06
  7  11.7351
  8  1.7047
  9  0.000552402
  10  73.8667
  11  10.3501
  12  1.26299e-06
  13  1.53274
  14  10.698
  15  0.000580114
  16  0.000119019
  17  3.26659e-05
  18  0.000664048
  19  6.09529e-05
  20  6.60763e-05
  21  1.5681e-05
  22  0.238709
  23  0.181354
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  4.475e+00  1.070e+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:  5.690e-01  1.814e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.478e+00  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/530625/likelihoodResults_504748801_505008001_4FGL_J1527.3+3117_daily_bin1024.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) = 5074.16660178
delta logL = 0.0470709189294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5074.16516697
delta logL = 0.0485057302849

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9342       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9622       1.0000          .0000       10.000    
     3 'Normalizat'    1.4674       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57368       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=   5074.165     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      277 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9378        177.50        .59282E-02    .51486E-03
   2  Index         2.9606        6.4773        .15142        .86709E-04
   3  Normalizat    1.4672        .52670E-01    .50188E-01   -.25906E-04
   4  Prefactor     .57373        .39937E-01    .59395E-01    .17785E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.93775
  Index      = 2.96065
  Normalizat = 1.46724
  Prefactor  = 0.57373
 **********
 **   18 **HESSE 
 **********

 FCN=   5074.165     FROM HESSE     STATUS=OK            31 CALLS      308 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9378        10.983        .20434E-03   -1.5365    
   2  Index         2.9606        1.7060        .84127E-02   -.42012    
   3  Normalizat    1.4672        .23515        .22188E-03   -.78703    
   4  Prefactor     .57373        .17999        .26275E-03   -1.0870    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89074e-08
Minuit parameter uncertainties:
  1  10.9901
  2  1.74839
  3  0.235326
  4  0.180173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530625': 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) = 5074.16516442
delta logL = 0.0485082795385

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  2.938e+00  1.099e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.961e+00  1.748e+00  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:  5.737e-01  1.802e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.467e+00  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.27
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/530625/cmap_HighResolution_504748801_505008001_4FGL_J1527.3+3117_daily_bin1024.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-09-12 03:31:03.247153', job_id='530625', GAL2='0.57', fit_tolerance='1e-08', EG2='1.47', EG='1.48', time_epoch_completed='1631442663.25', return_code2='0', ts='0.27', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='4.85e-02', ts2='0.37', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1024' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:31:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 530625: <4FGL_J1527.3+3117_daily_bin1024> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1024> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 03:15:48 2021
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:16:36 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:36 2021
Terminated at Sun Sep 12 03:31:03 2021
Results reported at Sun Sep 12 03:31:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1024 231.849 31.2989 504748801 505008001 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 :                                   657.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            915 sec.

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

