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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1590
RA = 231.849, Dec = 31.2989
tmin = 651456001, tmax = 651715201
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='534224', job_status='RUN', time_executed='2021-09-12 03:25:29.418212', time_epoch_executed='1631442329.42' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1590'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534224

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534224/ft1_4FGL_J1527.3+3117_daily_bin1590.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534224/ft2_4FGL_J1527.3+3117_daily_bin1590.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534224/ft1_4FGL_J1527.3+3117_daily_bin1590.fits outfile=/scratch/kocevski/534224/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1590.fits ra=231.849 dec=31.2989 rad=12.0 tmin=651456001.0 tmax=651715201.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.49
user 3.26
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534224/ft2_4FGL_J1527.3+3117_daily_bin1590.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/534224/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1590.fits evtable="EVENTS" outfile="/scratch/kocevski/534224/ft1_filtered_4FGL_J1527.3+3117_daily_bin1590.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534224/ft1_filtered_4FGL_J1527.3+3117_daily_bin1590.fits evtable="EVENTS" scfile=/scratch/kocevski/534224/ft2_4FGL_J1527.3+3117_daily_bin1590.fits sctable="SC_DATA" expcube=/scratch/kocevski/534224/ltcube_651456001_651715201_4FGL_J1527.3+3117_daily_bin1590.fits outfile=/scratch/kocevski/534224/expmap_651456001_651715201_4FGL_J1527.3+3117_daily_bin1590.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/534224/ltcube_651456001_651715201_4FGL_J1527.3+3117_daily_bin1590.fits
.....................!
real 191.29
user 185.92
sys 5.00

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/534224/ft1_filtered_4FGL_J1527.3+3117_daily_bin1590.fits scfile=/scratch/kocevski/534224/ft2_4FGL_J1527.3+3117_daily_bin1590.fits outfile=/scratch/kocevski/534224/cmap_651456001_651715201_4FGL_J1527.3+3117_daily_bin1590.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534224/ft1_filtered_4FGL_J1527.3+3117_daily_bin1590.fits scfile=/scratch/kocevski/534224/ft2_4FGL_J1527.3+3117_daily_bin1590.fits outfile=/scratch/kocevski/534224/cmap_HighResolution_651456001_651715201_4FGL_J1527.3+3117_daily_bin1590.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1629       1.0000         .10000E-03   10000.    
     2 'norm      '    5.8273       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26338E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.7289       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1436       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.654       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    62.139       1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.644       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17096E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .31564       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10570E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.070       1.0000         .10000E-03   10000.    
    17 'norm      '    .10112E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.5362       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96224       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0925       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=   6573.872     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2502 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1620        5.8542        .90170E-07    .15748E-03
   2  norm          5.8293        4.5082        .16512E-05    .10322E-03
   3  Prefactor     .10009E-03    142.00       -.14414E-03** at limit **
   4  norm          8.7296        8.6230        .68214E-07    .44505E-04
   5  Prefactor     .10000E-03    6.3080       -.10663E-05** at limit **
   6  Prefactor     3.1437        3.3540       -.73150E-06    .26010E-03
   7  Prefactor     11.651        10.151       -.55732E-06   -.29966E-04
   8  norm          .10000E-03    .47201       -.42580E-07** at limit **
   9  Prefactor     62.147        61.060        .93952E-05    .24286E-04
  10  Prefactor     29.662        51.299        .30423E-04    .45354E-07
  11  Prefactor     .10000E-03    6.7502        .25205E-05** at limit **
  12  Prefactor     .10000E-03    10.991       -.61032E-05** at limit **
  13  norm          .31581        .63254       -.15335E-06   -.20096E-02
  14  Prefactor     .10000E-03    1.7866       -.47139E-08** at limit **
  15  Prefactor     .10000E-03    16.645        .34229E-05** at limit **
  16  Prefactor     13.081        12.603        .48396E-05   -.79541E-04
  17  norm          .10000E-03    12.509        .27648E-05** at limit **
  18  Prefactor     .10000E-03    .95597        .57246E-07** at limit **
  19  Prefactor     .10000E-03    7.4551       -.35091E-06** at limit **
  20  Prefactor     7.5369        9.1344        .95096E-07   -.97737E-04
  21  Prefactor     .10000E-03    .87367       -.34323E-07** at limit **
  22  Normalizat    .96197        .17061        .21036E-06    .87191E-03
  23  Prefactor     1.0926        .14391       -.15286E-05    .82072E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.16196
  norm       = 5.82931
  Prefactor  = 0.000100093
  norm       = 8.72961
  Prefactor  = 0.0001
  Prefactor  = 3.14367
  Prefactor  = 11.6511
  norm       = 0.0001
  Prefactor  = 62.147
  Prefactor  = 29.6619
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.315806
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.0807
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.53686
  Prefactor  = 0.0001
  Normalizat = 0.96197
  Prefactor  = 1.09256
 **********
 **   18 **HESSE 
 **********

 FCN=   6573.872     FROM HESSE     STATUS=OK           366 CALLS     2868 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1620        5.8576        .16171E-03   -1.5211    
   2  norm          5.8293        4.5087        .14726E-03   -1.5225    
   3  Prefactor     .10009E-03    142.44        .42888E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.7296        8.6175        .13567E-03   -1.5117    
   5  Prefactor     .10000E-03    6.3289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1437        3.3570        .14926E-03   -1.5353    
   7  Prefactor     11.651        10.152        .11735E-03   -1.5025    
   8  norm          .10000E-03    .48083        .54296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     62.147        61.044        .50903E-04   -1.4130    
  10  Prefactor     29.662        51.346        .73587E-04   -1.4618    
  11  Prefactor     .10000E-03    7.0355        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .31581        .51542        .87821E-03   -1.5596    
  14  Prefactor     .10000E-03    1.7915        .10580E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    16.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.081        12.559        .11080E-03   -1.4984    
  17  norm          .10000E-03    12.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.6366        .15387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.4594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.5369        9.1414        .14609E-03   -1.5159    
  21  Prefactor     .10000E-03    .87807        .73997E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .96197        .19493        .26057E-03   -.94316    
  23  Prefactor     1.0926        .16532        .20763E-03   -.89705    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16696e-09
Minuit parameter uncertainties:
  1  5.85814
  2  4.509
  3  0.00728772
  4  8.61872
  5  2.0096e-05
  6  3.35723
  7  10.1537
  8  3.62732e-06
  9  61.1051
  10  51.4229
  11  2.22025e-05
  12  7.61972e-06
  13  0.515426
  14  1.29135e-06
  15  6.32383e-06
  16  12.5617
  17  0.000302917
  18  9.06608e-06
  19  4.04137e-07
  20  9.14305
  21  8.94556e-07
  22  0.195076
  23  0.165395
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  1.291e-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.093e+00  1.654e-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:  9.620e-01  1.951e-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: 4.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534224/likelihoodResults_651456001_651715201_4FGL_J1527.3+3117_daily_bin1590.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) = 6573.87502595
delta logL = -0.00263624648778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6573.87238879
delta logL = 9.15211785468e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5293       1.0000          .0000       10.000    
     3 'Normalizat'    .96188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0926       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=   6573.872     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      252 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.674        .11321E-01** at limit **
   2  Index         1.6684        8.6185        .50000        .12133E-06
   3  Normalizat    .96196        .66589E-02    .26057E-03   -.18696E-02
   4  Prefactor     1.0926        .56453E-02    .20763E-03   -.24125E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.66835
  Normalizat = 0.961964
  Prefactor  = 1.09256
 **********
 **   18 **HESSE 
 **********

 FCN=   6573.872     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      281 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    73.000        .16788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6684        7.7778        .50000       -.72928    
   3  Normalizat    .96196        .17674E-01    .52114E-04   -.94316    
   4  Prefactor     1.0926        .14984E-01    .41525E-04   -.89705    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.63949e-10
Minuit parameter uncertainties:
  1  7.06907e-05
  2  338.67
  3  0.0176742
  4  0.0149838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534224': 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) = 6573.8723729
delta logL = 1.67988173416e-05

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  7.069e-05  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  1.668e+00  3.387e+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.093e+00  1.498e-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:  9.620e-01  1.767e-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/534224/cmap_HighResolution_651456001_651715201_4FGL_J1527.3+3117_daily_bin1590.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.45e-03', job_status='DONE', photon_flux_upper_limit='4.41e-08', time_completed='2021-09-12 03:36:59.592643', job_id='534224', GAL2='1.09', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1631443019.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.68e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1590' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:36:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 534224: <4FGL_J1527.3+3117_daily_bin1590> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1590 231.849 31.2989 651456001 651715201 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 :                                   678.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            701 sec.

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

