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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin23
RA = 231.849, Dec = 31.2989
tmin = 245289601, tmax = 245548801
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='524675', job_status='RUN', time_executed='2021-09-12 03:04:02.526941', time_epoch_executed='1631441042.53' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='23'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524675

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524675/ft1_4FGL_J1527.3+3117_daily_bin23.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524675/ft2_4FGL_J1527.3+3117_daily_bin23.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524675/ft1_4FGL_J1527.3+3117_daily_bin23.fits outfile=/scratch/kocevski/524675/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin23.fits ra=231.849 dec=31.2989 rad=12.0 tmin=245289601.0 tmax=245548801.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.47
user 1.29
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/524675/ft2_4FGL_J1527.3+3117_daily_bin23.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/524675/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin23.fits evtable="EVENTS" outfile="/scratch/kocevski/524675/ft1_filtered_4FGL_J1527.3+3117_daily_bin23.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/524675/ft1_filtered_4FGL_J1527.3+3117_daily_bin23.fits" evtable="EVENTS" scfile=/scratch/kocevski/524675/ft2_4FGL_J1527.3+3117_daily_bin23.fits sctable="SC_DATA" outfile=/scratch/kocevski/524675/ltcube_245289601_245548801_4FGL_J1527.3+3117_daily_bin23.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/524675/ft2_4FGL_J1527.3+3117_daily_bin23.fits
.....................!
real 13.02
user 12.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524675/ft1_filtered_4FGL_J1527.3+3117_daily_bin23.fits evtable="EVENTS" scfile=/scratch/kocevski/524675/ft2_4FGL_J1527.3+3117_daily_bin23.fits sctable="SC_DATA" expcube=/scratch/kocevski/524675/ltcube_245289601_245548801_4FGL_J1527.3+3117_daily_bin23.fits outfile=/scratch/kocevski/524675/expmap_245289601_245548801_4FGL_J1527.3+3117_daily_bin23.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/524675/ltcube_245289601_245548801_4FGL_J1527.3+3117_daily_bin23.fits
.....................!
real 191.38
user 185.67
sys 5.33

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/524675/ft1_filtered_4FGL_J1527.3+3117_daily_bin23.fits scfile=/scratch/kocevski/524675/ft2_4FGL_J1527.3+3117_daily_bin23.fits outfile=/scratch/kocevski/524675/cmap_245289601_245548801_4FGL_J1527.3+3117_daily_bin23.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.57
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/524675/ft1_filtered_4FGL_J1527.3+3117_daily_bin23.fits scfile=/scratch/kocevski/524675/ft2_4FGL_J1527.3+3117_daily_bin23.fits outfile=/scratch/kocevski/524675/cmap_HighResolution_245289601_245548801_4FGL_J1527.3+3117_daily_bin23.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.224       1.0000         .10000E-03   10000.    
     4 'norm      '    4.8262       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5783       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11920E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.627       1.0000         .10000E-03   10000.    
     8 'norm      '    2.0771       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.064       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2019       1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.718       1.0000         .10000E-03   10000.    
    13 'norm      '    7.6231       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.496       1.0000         .10000E-03   10000.    
    16 'Prefactor '    48.216       1.0000         .10000E-03   10000.    
    17 'norm      '    .10210E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0039       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.4839       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .13612E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.5062       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .77833       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0741       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=   8393.721     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2189 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5202        .54310E-07** at limit **
   2  norm          .10000E-03    1.5413        .13802E-08** at limit **
   3  Prefactor     32.212        26.671       -.13300E-04    .30777E-04
   4  norm          4.8261        6.1143        .14881E-05   -.47394E-04
   5  Prefactor     6.5690        16.838       -.98488E-05   -.15501E-03
   6  Prefactor     .10000E-03    4.2386        .10935E-05** at limit **
   7  Prefactor     22.626        9.3604       -.48054E-06    .10061E-04
   8  norm          2.0767        1.5224        .12442E-06   -.10354E-02
   9  Prefactor     .10000E-03    19.220        .21217E-05** at limit **
  10  Prefactor     28.063        30.175       -.14401E-05    .27275E-05
  11  Prefactor     3.2005        8.2732       -.26319E-05   -.31437E-03
  12  Prefactor     31.710        19.794       -.62523E-05    .70076E-04
  13  norm          7.6226        1.5920       -.10325E-06    .24152E-03
  14  Prefactor     .10000E-03    3.6998       -.12734E-06** at limit **
  15  Prefactor     10.495        23.443       -.21130E-05   -.90355E-05
  16  Prefactor     48.208        21.736       -.51985E-05    .18312E-03
  17  norm          .10000E-03    14.458       -.43635E-05** at limit **
  18  Prefactor     1.0039        1.0515       -.16010E-06    .10023E-03
  19  Prefactor     2.4709        47.927       -.43295E-04   -.30120E-04
  20  Prefactor     .10007E-03    4.6282        .76060E-06** at limit **
  21  Prefactor     1.5061        1.7087       -.32097E-06   -.18184E-03
  22  Normalizat    .77857        .17453        .96119E-05   -.30725E-03
  23  Prefactor     1.0740        .12865       -.18139E-05    .44699E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 32.2122
  norm       = 4.82608
  Prefactor  = 6.56901
  Prefactor  = 0.000100004
  Prefactor  = 22.6263
  norm       = 2.0767
  Prefactor  = 0.0001
  Prefactor  = 28.0634
  Prefactor  = 3.20052
  Prefactor  = 31.7102
  norm       = 7.62264
  Prefactor  = 0.0001
  Prefactor  = 10.4946
  Prefactor  = 48.2078
  norm       = 0.000100002
  Prefactor  = 1.00393
  Prefactor  = 2.47087
  Prefactor  = 0.000100065
  Prefactor  = 1.50606
  Normalizat = 0.778575
  Prefactor  = 1.07401
 **********
 **   18 **HESSE 
 **********

 FCN=   8393.721     FROM HESSE     STATUS=OK           376 CALLS     2565 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5268        .14201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.5490        .11107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     32.212        26.607        .70587E-04   -1.4572    
   4  norm          4.8261        6.1026        .18312E-03   -1.5269    
   5  Prefactor     6.5690        16.605        .15646E-03   -1.5195    
   6  Prefactor     .10000E-03    18.934        .33239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.626        9.3588        .84206E-04   -1.4756    
   8  norm          2.0767        1.4344        .86222E-04   -1.5420    
   9  Prefactor     .10000E-03    19.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     28.063        30.177        .75625E-04   -1.4648    
  11  Prefactor     3.2005        8.2702        .22643E-03   -1.5350    
  12  Prefactor     31.710        19.769        .71146E-04   -1.4581    
  13  norm          7.6226        1.5927        .49608E-04   -1.5156    
  14  Prefactor     .10000E-03    3.7098        .17187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.495        23.432        .12367E-03   -1.5060    
  16  Prefactor     48.208        21.628        .57748E-04   -1.4318    
  17  norm          .10000E-03    14.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.0039        1.0636        .93213E-04   -1.5508    
  19  Prefactor     2.4709        48.750        .25939E-03   -1.5394    
  20  Prefactor     .10007E-03    15.063        .37869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.5061        1.7026        .12361E-03   -1.5463    
  22  Normalizat    .77857        .19956        .30017E-03   -1.0087    
  23  Prefactor     1.0740        .14860        .20726E-03   -.90302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.68746e-09
Minuit parameter uncertainties:
  1  3.80695e-06
  2  5.2574e-06
  3  26.6172
  4  6.10338
  5  16.6164
  6  0.000580139
  7  9.35942
  8  1.43443
  9  5.03904e-06
  10  30.1935
  11  8.27316
  12  19.773
  13  1.5927
  14  5.55056e-06
  15  23.4523
  16  21.6319
  17  0.000342424
  18  1.06357
  19  21.9706
  20  0.00198179
  21  1.70264
  22  0.199748
  23  0.148654
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  5.551e-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.074e+00  1.487e-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:  7.786e-01  1.997e-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.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/524675/likelihoodResults_245289601_245548801_4FGL_J1527.3+3117_daily_bin23.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) = 8393.72252402
delta logL = -0.00128373035841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8393.72123973
delta logL = 5.54569851374e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5359       1.0000          .0000       10.000    
     3 'Normalizat'    .77860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0740       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=   8393.721     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10178E-03    24.050        .17967E-02** at limit **
   2  Index         2.4725        6.1842        .50000        .63575E-04
   3  Normalizat    .77858        .95796E-02    .30017E-03   -.17119E-04
   4  Prefactor     1.0740        .77053E-02    .20726E-03   -.55268E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101785
  Index      = 2.47254
  Normalizat = 0.778582
  Prefactor  = 1.07401
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10178E-03    105.74        .35934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4725        8.7569        .50000       -.52995    
   3  Normalizat    .77858        .20541E-01    .12007E-04   -1.0087    
   4  Prefactor     1.0740        .16522E-01    .41453E-04   -.90302    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.30034e-08
Minuit parameter uncertainties:
  1  0.0275251
  2  235.217
  3  0.0205413
  4  0.016522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524675': 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) = 8393.7212389
delta logL = 1.38986069942e-06

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.018e-04  2.753e-02  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.473e+00  2.352e+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.074e+00  1.652e-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:  7.786e-01  2.054e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/524675/cmap_HighResolution_245289601_245548801_4FGL_J1527.3+3117_daily_bin23.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.55e-03', job_status='DONE', photon_flux_upper_limit='7.10e-08', time_completed='2021-09-12 03:16:30.787252', job_id='524675', GAL2='1.07', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1631441790.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.39e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='23' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:16:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 524675: <4FGL_J1527.3+3117_daily_bin23> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin23> 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) <bullet0131>, 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:16:31 2021
Results reported at Sun Sep 12 03:16:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin23 231.849 31.2989 245289601 245548801 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 :                                   731.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   964 sec.
    Turnaround time :                            966 sec.

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

