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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1338
RA = 231.849, Dec = 31.2989
tmin = 586137601, tmax = 586396801
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='532781', job_status='RUN', time_executed='2021-09-12 03:23:23.100745', time_epoch_executed='1631442203.1' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1338'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532781

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532781/ft1_4FGL_J1527.3+3117_daily_bin1338.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532781/ft2_4FGL_J1527.3+3117_daily_bin1338.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532781/ft1_4FGL_J1527.3+3117_daily_bin1338.fits outfile=/scratch/kocevski/532781/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1338.fits ra=231.849 dec=31.2989 rad=12.0 tmin=586137601.0 tmax=586396801.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 4.52
user 4.29
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532781/ft2_4FGL_J1527.3+3117_daily_bin1338.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/532781/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1338.fits evtable="EVENTS" outfile="/scratch/kocevski/532781/ft1_filtered_4FGL_J1527.3+3117_daily_bin1338.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/532781/ft1_filtered_4FGL_J1527.3+3117_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/532781/ft2_4FGL_J1527.3+3117_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/532781/ltcube_586137601_586396801_4FGL_J1527.3+3117_daily_bin1338.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/532781/ft2_4FGL_J1527.3+3117_daily_bin1338.fits
.....................!
real 10.31
user 9.94
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532781/ft1_filtered_4FGL_J1527.3+3117_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/532781/ft2_4FGL_J1527.3+3117_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/532781/ltcube_586137601_586396801_4FGL_J1527.3+3117_daily_bin1338.fits outfile=/scratch/kocevski/532781/expmap_586137601_586396801_4FGL_J1527.3+3117_daily_bin1338.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/532781/ltcube_586137601_586396801_4FGL_J1527.3+3117_daily_bin1338.fits
.....................!
real 191.12
user 185.57
sys 5.22

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/532781/ft1_filtered_4FGL_J1527.3+3117_daily_bin1338.fits scfile=/scratch/kocevski/532781/ft2_4FGL_J1527.3+3117_daily_bin1338.fits outfile=/scratch/kocevski/532781/cmap_586137601_586396801_4FGL_J1527.3+3117_daily_bin1338.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532781/ft1_filtered_4FGL_J1527.3+3117_daily_bin1338.fits scfile=/scratch/kocevski/532781/ft2_4FGL_J1527.3+3117_daily_bin1338.fits outfile=/scratch/kocevski/532781/cmap_HighResolution_586137601_586396801_4FGL_J1527.3+3117_daily_bin1338.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6650       1.0000         .10000E-03   10000.    
     2 'norm      '    6.4545       1.0000         .10000E-03   10000.    
     3 'Prefactor '    52.984       1.0000         .10000E-03   10000.    
     4 'norm      '    15.923       1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.374       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .76835E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.2868       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .92668       1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.756       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.637       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.8467       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11059E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    77.787       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10240E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9273       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.7096       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .85732       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0840       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=   4728.793     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2606 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6635        12.345        .99627E-05    .12973E-03
   2  norm          6.4532        5.6905       -.10078E-06    .12858E-04
   3  Prefactor     52.966        57.613        .17277E-05    .27642E-04
   4  norm          15.924        11.578       -.47533E-06    .20104E-04
   5  Prefactor     40.373        28.013       -.12255E-05    .90767E-04
   6  Prefactor     .10001E-03    11.909       -.15259E-05** at limit **
   7  Prefactor     .10000E-03    19.708        .45217E-06** at limit **
   8  norm          2.2872        2.6226       -.50015E-06    .50511E-03
   9  Prefactor     .92145        82.662       -.72482E-05    .17835E-03
  10  Prefactor     40.933        116.17       -.28215E-04   -.17546E-04
  11  Prefactor     12.633        12.634        .18345E-06    .36431E-04
  12  Prefactor     .10000E-03    13.058       -.10979E-06** at limit **
  13  norm          1.8472        1.4582       -.26059E-07    .19066E-03
  14  Prefactor     .10000E-03    8.0699        .20927E-07** at limit **
  15  Prefactor     77.808        47.677       -.18778E-05    .40045E-05
  16  Prefactor     .10000E-03    66.077       -.12570E-05** at limit **
  17  norm          .10000E-03    27.217        .77767E-06** at limit **
  18  Prefactor     2.9280        3.2765        .56709E-07    .61269E-04
  19  Prefactor     8.7116        16.312       -.10468E-06    .77777E-05
  20  Prefactor     .10000E-03    6.8147       -.14424E-06** at limit **
  21  Prefactor     .10010E-03    3.4866        .59938E-06** at limit **
  22  Normalizat    .85765        .24238        .22323E-05    .16882E-03
  23  Prefactor     1.0841        .17795        .76232E-07    .10825E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.6635
  norm       = 6.45318
  Prefactor  = 52.9659
  norm       = 15.9236
  Prefactor  = 40.3732
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  norm       = 2.28721
  Prefactor  = 0.921446
  Prefactor  = 40.9334
  Prefactor  = 12.6332
  Prefactor  = 0.0001
  norm       = 1.84723
  Prefactor  = 0.0001
  Prefactor  = 77.8083
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.92803
  Prefactor  = 8.71158
  Prefactor  = 0.0001
  Prefactor  = 0.0001001
  Normalizat = 0.857655
  Prefactor  = 1.08408
 **********
 **   18 **HESSE 
 **********

 FCN=   4728.793     FROM HESSE     STATUS=OK           382 CALLS     2988 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6635        12.556        .16342E-02   -1.5450    
   2  norm          6.4532        5.6881        .14974E-03   -1.5200    
   3  Prefactor     52.966        57.700        .55101E-04   -1.4251    
   4  norm          15.924        11.576        .10037E-03   -1.4910    
   5  Prefactor     40.373        27.666        .63084E-04   -1.4436    
   6  Prefactor     .10001E-03    32.303        .40906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2872        2.4456        .10014E-03   -1.5405    
   9  Prefactor     .92145        81.310        .18733       -1.5516    
  10  Prefactor     40.933        116.09        .31395E-03   -1.4428    
  11  Prefactor     12.633        12.617        .11268E-03   -1.4997    
  12  Prefactor     .10000E-03    13.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.8472        1.4579        .69798E-04   -1.5436    
  14  Prefactor     .10000E-03    8.1022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     77.808        47.638        .22766E-03   -1.3941    
  16  Prefactor     .10000E-03    67.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    27.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.9280        3.2620        .12526E-03   -1.5366    
  19  Prefactor     8.7116        16.304        .13582E-03   -1.5118    
  20  Prefactor     .10000E-03    6.8396        .17532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10010E-03    31.108        .23937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .85765        .28009        .30525E-03   -.97964    
  23  Prefactor     1.0841        .20792        .21423E-03   -.89977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67682e-09
Minuit parameter uncertainties:
  1  9.14269
  2  5.68858
  3  57.7609
  4  11.5774
  5  27.6752
  6  0.00131631
  7  0.000135626
  8  2.44572
  9  17.335
  10  116.736
  11  12.6192
  12  1.55352e-05
  13  1.45794
  14  2.52961e-06
  15  47.6615
  16  0.000261299
  17  8.77446e-05
  18  3.26217
  19  16.3128
  20  1.22026e-05
  21  0.00352192
  22  0.280565
  23  0.208071
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  2.530e-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.084e+00  2.081e-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:  8.577e-01  2.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/532781/likelihoodResults_586137601_586396801_4FGL_J1527.3+3117_daily_bin1338.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) = 4728.79347929
delta logL = -0.00058802298372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4728.79289143
delta logL = -1.6062767827e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5508       1.0000          .0000       10.000    
     3 'Normalizat'    .85752       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0842       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=   4728.793     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    295.09        .90712E-02** at limit **
   2  Index         2.5323        5.6380        .50000        .19939E-04
   3  Normalizat    .85765        .35322E-01    .68991E-01    .74491E-04
   4  Prefactor     1.0841        .27693E-01    .38220E-01    .66086E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.5323
  Normalizat = 0.857653
  Prefactor  = 1.08408
 **********
 **   18 **HESSE 
 **********

 FCN=   4728.793     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      237 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1280.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5323        5.2695        .50000       -.51615    
   3  Normalizat    .85765        .95409E-01    .30525E-03   -.97965    
   4  Prefactor     1.0841        .74905E-01    .21424E-03   -.89977    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.33701e-07
Minuit parameter uncertainties:
  1  0.0018803
  2  55.2074
  3  0.0954275
  4  0.0749122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532781': 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) = 4728.79289109
delta logL = 1.72994987224e-07

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  1.880e-03  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.532e+00  5.521e+01  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.084e+00  7.491e-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:  8.577e-01  9.543e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/532781/cmap_HighResolution_586137601_586396801_4FGL_J1527.3+3117_daily_bin1338.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.38e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2021-09-12 03:35:40.291886', job_id='532781', GAL2='1.08', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1631442940.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1338' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:35:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 532781: <4FGL_J1527.3+3117_daily_bin1338> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1338> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 03:20:42 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:20:51 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:20:51 2021
Terminated at Sun Sep 12 03:35:40 2021
Results reported at Sun Sep 12 03:35:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1338 231.849 31.2989 586137601 586396801 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 :                                   567.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             221.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            898 sec.

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

