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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin14
RA = 231.849, Dec = 31.2989
tmin = 242956801, tmax = 243216001
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='524661', job_status='RUN', time_executed='2021-09-12 03:04:15.509699', time_epoch_executed='1631441055.51' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='14'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524661

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524661/ft1_4FGL_J1527.3+3117_daily_bin14.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524661/ft2_4FGL_J1527.3+3117_daily_bin14.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524661/ft1_4FGL_J1527.3+3117_daily_bin14.fits outfile=/scratch/kocevski/524661/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin14.fits ra=231.849 dec=31.2989 rad=12.0 tmin=242956801.0 tmax=243216001.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.41
user 1.23
sys 0.17

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524661/ft1_filtered_4FGL_J1527.3+3117_daily_bin14.fits evtable="EVENTS" scfile=/scratch/kocevski/524661/ft2_4FGL_J1527.3+3117_daily_bin14.fits sctable="SC_DATA" expcube=/scratch/kocevski/524661/ltcube_242956801_243216001_4FGL_J1527.3+3117_daily_bin14.fits outfile=/scratch/kocevski/524661/expmap_242956801_243216001_4FGL_J1527.3+3117_daily_bin14.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/524661/ltcube_242956801_243216001_4FGL_J1527.3+3117_daily_bin14.fits
.....................!
real 191.08
user 185.27
sys 5.19

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/524661/ft1_filtered_4FGL_J1527.3+3117_daily_bin14.fits scfile=/scratch/kocevski/524661/ft2_4FGL_J1527.3+3117_daily_bin14.fits outfile=/scratch/kocevski/524661/cmap_242956801_243216001_4FGL_J1527.3+3117_daily_bin14.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.64
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/524661/ft1_filtered_4FGL_J1527.3+3117_daily_bin14.fits scfile=/scratch/kocevski/524661/ft2_4FGL_J1527.3+3117_daily_bin14.fits outfile=/scratch/kocevski/524661/cmap_HighResolution_242956801_243216001_4FGL_J1527.3+3117_daily_bin14.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.62
user 0.37
sys 0.20

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .51669       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.079       1.0000         .10000E-03   10000.    
     4 'norm      '    9.1867       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2977       1.0000         .10000E-03   10000.    
     8 'norm      '    2.0971       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1092       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.0073       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5068       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.462       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.8567       1.0000         .10000E-03   10000.    
    17 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6816       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.8135       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .75452       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0325       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87012       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=   7182.907     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2529 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.6650        .34950E-06** at limit **
   2  norm          .52527        3.2756        .10776E-05   -.39892E-03
   3  Prefactor     19.026        29.799       -.24434E-06   -.58550E-04
   4  norm          9.1853        7.9274        .22853E-06   -.13941E-04
   5  Prefactor     .10000E-03    3.1079       -.74266E-07** at limit **
   6  Prefactor     .10000E-03    4.0737        .12890E-06** at limit **
   7  Prefactor     7.2970        6.1285       -.64830E-07   -.38847E-04
   8  norm          2.0979        1.5544        .75936E-07   -.30379E-04
   9  Prefactor     .10000E-03    47.964        .41242E-06** at limit **
  10  Prefactor     3.0393        172.25       -.25836E-05   -.12766E-04
  11  Prefactor     .10000E-03    4.4122        .23932E-06** at limit **
  12  Prefactor     .10000E-03    16.903        .60943E-06** at limit **
  13  norm          7.0083        1.9015       -.48692E-07   -.13276E-03
  14  Prefactor     4.5024        10.376        .71961E-06   -.10599E-04
  15  Prefactor     10.467        30.367       -.12889E-06   -.51669E-05
  16  Prefactor     9.8549        14.943        .62320E-07   -.10764E-04
  17  norm          .10000E-03    7.2404        .13238E-06** at limit **
  18  Prefactor     .10000E-03    .83772        .25335E-06** at limit **
  19  Prefactor     3.6781        22.107        .82257E-06   -.23899E-05
  20  Prefactor     7.8126        6.7783        .83747E-07   -.11006E-04
  21  Prefactor     .75362        2.5843        .19686E-05    .11342E-05
  22  Normalizat    1.0321        .17070        .64173E-06   -.28214E-03
  23  Prefactor     .87053        .13172       -.17876E-05   -.13186E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.525275
  Prefactor  = 19.0261
  norm       = 9.18534
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.297
  norm       = 2.09786
  Prefactor  = 0.0001
  Prefactor  = 3.03934
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.0083
  Prefactor  = 4.50236
  Prefactor  = 10.4667
  Prefactor  = 9.85489
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.67811
  Prefactor  = 7.81261
  Prefactor  = 0.753623
  Normalizat = 1.03207
  Prefactor  = 0.870525
 **********
 **   18 **HESSE 
 **********

 FCN=   7182.907     FROM HESSE     STATUS=OK           376 CALLS     2905 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.9848        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .52527        6.1525        .27994E-02   -1.5563    
   3  Prefactor     19.026        29.951        .91696E-04   -1.4835    
   4  norm          9.1853        7.9216        .66115E-03   -1.5102    
   5  Prefactor     .10000E-03    3.1093        .14591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.1174        .16686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.2970        6.1290        .14848E-03   -1.5168    
   8  norm          2.0979        1.5530        .86199E-04   -1.5418    
   9  Prefactor     .10000E-03    48.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.0393        176.87        .22996E-03   -1.5359    
  11  Prefactor     .10000E-03    4.5041        .17397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.0083        1.8986        .50296E-04   -1.5178    
  14  Prefactor     4.5024        10.301        .18965E-03   -1.5284    
  15  Prefactor     10.467        30.170        .12387E-03   -1.5061    
  16  Prefactor     9.8549        14.926        .12764E-03   -1.5080    
  17  norm          .10000E-03    7.2498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .85437        .75867E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6781        22.136        .21050E-03   -1.5324    
  20  Prefactor     7.8126        6.7808        .14345E-03   -1.5149    
  21  Prefactor     .75362        2.6211        .24535E-03   -1.5534    
  22  Normalizat    1.0321        .19228        .25308E-03   -.91964    
  23  Prefactor     .87053        .14599        .21655E-03   -.97179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79627e-10
Minuit parameter uncertainties:
  1  4.58159e-06
  2  3.59555
  3  29.9746
  4  7.92247
  5  5.42101e-07
  6  4.51245e-07
  7  6.12956
  8  1.553
  9  4.20307e-05
  10  46.5148
  11  1.0282e-05
  12  2.70864e-09
  13  1.89864
  14  10.3052
  15  30.2142
  16  14.9315
  17  2.20743e-06
  18  1.50678e-06
  19  18.0563
  20  6.7815
  21  2.62146
  22  0.19241
  23  0.146057
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  4.502e+00  1.031e+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:  8.705e-01  1.461e-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.032e+00  1.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.32
Ra Dec: 231.849 31.299
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/524661/likelihoodResults_242956801_243216001_4FGL_J1527.3+3117_daily_bin14.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) = 7182.86092591
delta logL = 0.0461747037843

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7182.83983596
delta logL = 0.0672646563062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8927       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9656       1.0000          .0000       10.000    
     3 'Normalizat'    1.0235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87439       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=   7182.840     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      229 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8758        136.87        .59734E-02    .69803E-03
   2  Index         2.9682        3.6662        .15328        .11740E-03
   3  Normalizat    1.0238        .42343E-01    .42883E-01    .57909E-04
   4  Prefactor     .87421        .32793E-01    .44678E-01    .25156E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.87578
  Index      = 2.96817
  Normalizat = 1.02381
  Prefactor  = 0.874212
 **********
 **   18 **HESSE 
 **********

 FCN=   7182.840     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8758        9.8835        .21698E-03   -1.5369    
   2  Index         2.9682        1.5182        .86087E-02   -.41847    
   3  Normalizat    1.0238        .18302        .25389E-03   -.92237    
   4  Prefactor     .87421        .14351        .21611E-03   -.97048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84764e-08
Minuit parameter uncertainties:
  1  9.88908
  2  1.5476
  3  0.183129
  4  0.143573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524661': 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) = 7182.83983118
delta logL = 0.0672694335835

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  2.876e+00  9.889e+00  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.968e+00  1.548e+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:  8.742e-01  1.436e-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.024e+00  1.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
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/524661/cmap_HighResolution_242956801_243216001_4FGL_J1527.3+3117_daily_bin14.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.23e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2021-09-12 03:16:01.882220', job_id='524661', GAL2='0.87', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1631441761.88', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='6.73e-02', ts2='0.47', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='14' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:16:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 524661: <4FGL_J1527.3+3117_daily_bin14> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin14 231.849 31.2989 242956801 243216001 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 :                                   701.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            938 sec.

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

