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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1153
RA = 231.849, Dec = 31.2989
tmin = 538185601, tmax = 538444801
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='532498', job_status='RUN', time_executed='2021-09-12 03:20:38.492044', time_epoch_executed='1631442038.49' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1153'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532498

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532498/ft1_4FGL_J1527.3+3117_daily_bin1153.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532498/ft2_4FGL_J1527.3+3117_daily_bin1153.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532498/ft1_4FGL_J1527.3+3117_daily_bin1153.fits outfile=/scratch/kocevski/532498/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1153.fits ra=231.849 dec=31.2989 rad=12.0 tmin=538185601.0 tmax=538444801.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 5.59
user 5.11
sys 0.26

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532498/ft1_filtered_4FGL_J1527.3+3117_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/532498/ft2_4FGL_J1527.3+3117_daily_bin1153.fits sctable="SC_DATA" expcube=/scratch/kocevski/532498/ltcube_538185601_538444801_4FGL_J1527.3+3117_daily_bin1153.fits outfile=/scratch/kocevski/532498/expmap_538185601_538444801_4FGL_J1527.3+3117_daily_bin1153.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/532498/ltcube_538185601_538444801_4FGL_J1527.3+3117_daily_bin1153.fits
.....................!
real 190.68
user 185.11
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/532498/ft1_filtered_4FGL_J1527.3+3117_daily_bin1153.fits scfile=/scratch/kocevski/532498/ft2_4FGL_J1527.3+3117_daily_bin1153.fits outfile=/scratch/kocevski/532498/cmap_538185601_538444801_4FGL_J1527.3+3117_daily_bin1153.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532498/ft1_filtered_4FGL_J1527.3+3117_daily_bin1153.fits scfile=/scratch/kocevski/532498/ft2_4FGL_J1527.3+3117_daily_bin1153.fits outfile=/scratch/kocevski/532498/cmap_HighResolution_538185601_538444801_4FGL_J1527.3+3117_daily_bin1153.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/532498/ft1_filtered_4FGL_J1527.3+3117_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/532498/ft2_4FGL_J1527.3+3117_daily_bin1153.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/532498/Model_4FGL_J1527.3+3117_daily_bin1153.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/532498/ft1_filtered_4FGL_J1527.3+3117_daily_bin1153.fits.....................!
real 26.20
user 24.99
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10686E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .80679E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    237.31       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.0451       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.2428       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69083       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2403       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=   2269.575     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2500 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.7900        .12742E-07** at limit **
   2  norm          .10000E-03    4.6215       -.14191E-07** at limit **
   3  Prefactor     .10000E-03    169.82        .85701E-05** at limit **
   4  norm          .10002E-03    119.89        .64258E-04** at limit **
   5  Prefactor     .10000E-03    9.1608       -.40550E-07** at limit **
   6  Prefactor     .10000E-03    13.920        .35559E-06** at limit **
   7  Prefactor     .10000E-03    5.8092        .33151E-07** at limit **
   8  norm          .10000E-03    1.5636       -.11535E-06** at limit **
   9  Prefactor     .10000E-03    50.064        .22267E-06** at limit **
  10  Prefactor     237.31        151.53        .34554E-06   -.10038E-04
  11  Prefactor     .10000E-03    11.059        .11336E-06** at limit **
  12  Prefactor     .10000E-03    45.293        .80168E-06** at limit **
  13  norm          6.0469        2.5701       -.26790E-06   -.29741E-02
  14  Prefactor     .10000E-03    25.731        .91252E-06** at limit **
  15  Prefactor     .10000E-03    33.464       -.87674E-06** at limit **
  16  Prefactor     .10000E-03    51.420       -.98067E-06** at limit **
  17  norm          .10000E-03    41.517        .45300E-06** at limit **
  18  Prefactor     .10000E-03    2.3489        .45946E-07** at limit **
  19  Prefactor     .10000E-03    29.080       -.10747E-05** at limit **
  20  Prefactor     .10000E-03    13.593       -.62440E-06** at limit **
  21  Prefactor     2.2430        3.0317        .19544E-06    .17868E-03
  22  Normalizat    .69083        .29898       -.37078E-05   -.80046E-03
  23  Prefactor     1.2403        .24883        .28271E-06   -.10874E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 237.313
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.04692
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.24295
  Normalizat = 0.69083
  Prefactor  = 1.24027
 **********
 **   18 **HESSE 
 **********

 FCN=   2269.575     FROM HESSE     STATUS=OK           350 CALLS     2850 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.7908        .11197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.6243        .10003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    170.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10002E-03    117.86        .39966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.1635        .14085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.087        .17351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.8107        .11215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.6062        .11625E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    50.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     237.31        151.58        .13140E-03   -1.2615    
  11  Prefactor     .10000E-03    11.146        .15474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    45.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.0469        2.5743        .47691E-04   -1.5216    
  14  Prefactor     .10000E-03    25.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    33.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    51.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    42.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.3945        .71278E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    29.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.665        .17147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.2430        3.0207        .93699E-04   -1.5408    
  22  Normalizat    .69083        .34372        .30364E-03   -1.0426    
  23  Prefactor     1.2403        .28626        .19377E-03   -.85101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4558e-09
Minuit parameter uncertainties:
  1  3.90936e-06
  2  2.70682e-06
  3  0.000346696
  4  0.00284147
  5  1.23931e-05
  6  0.000147871
  7  5.21655e-06
  8  1.21903e-05
  9  1.62037e-05
  10  151.831
  11  9.44733e-06
  12  7.06379e-05
  13  2.57436
  14  0.000123266
  15  6.00055e-05
  16  0.000392696
  17  0.000264259
  18  7.07987e-06
  19  4.19647e-05
  20  7.7548e-05
  21  3.02088
  22  0.344799
  23  0.286619
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  1.233e-04  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.240e+00  2.866e-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:  6.908e-01  3.448e-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.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.55e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532498/likelihoodResults_538185601_538444801_4FGL_J1527.3+3117_daily_bin1153.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) = 2269.57470648
delta logL = -0.000183515640401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2269.57452875
delta logL = -5.78429535381e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39252E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8017       1.0000          .0000       10.000    
     3 'Normalizat'    .69082       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2403       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=   2269.575     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      229 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.9294        .10636E-01** at limit **
   2  Index         2.8014        8.5877        .50000        .29162E-05
   3  Normalizat    .69084        .29463E-02    .68615E-01    .93874E-04
   4  Prefactor     1.2403        .24617E-02    .33741E-01    .12831E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.80144
  Normalizat = 0.690839
  Prefactor  = 1.24028
 **********
 **   18 **HESSE 
 **********

 FCN=   2269.575     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      260 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    575.64        .42545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8014        6.6797        .50000       -.45528    
   3  Normalizat    .69084        .36058E-01    .30364E-03   -1.0426    
   4  Prefactor     1.2403        .30178E-01    .19377E-03   -.85101    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28098e-07
Minuit parameter uncertainties:
  1  0.000331059
  2  561.22
  3  0.0360592
  4  0.0301785
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532498': 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) = 2269.574523
delta logL = -3.77390279027e-08

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  3.311e-04  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.801e+00  5.612e+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.240e+00  3.018e-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:  6.908e-01  3.606e-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/532498/cmap_HighResolution_538185601_538444801_4FGL_J1527.3+3117_daily_bin1153.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.55e-02', job_status='DONE', photon_flux_upper_limit='1.99e-07', time_completed='2021-09-12 03:28:24.525595', job_id='532498', GAL2='1.24', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1631442504.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='-3.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1153' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:28:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 532498: <4FGL_J1527.3+3117_daily_bin1153> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1153 231.849 31.2989 538185601 538444801 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 :                                   451.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   480 sec.
    Turnaround time :                            482 sec.

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

