/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 33 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 = 7644
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1527.3+3117_daily_bin951
RA = 231.849, Dec = 31.2989
tmin = 485827201, tmax = 486086401
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='530463', job_status='RUN', time_executed='2021-09-12 03:17:00.184080', time_epoch_executed='1631441820.18' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='951'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530463

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530463/ft1_4FGL_J1527.3+3117_daily_bin951.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530463/ft2_4FGL_J1527.3+3117_daily_bin951.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530463/ft1_4FGL_J1527.3+3117_daily_bin951.fits outfile=/scratch/kocevski/530463/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin951.fits ra=231.849 dec=31.2989 rad=12.0 tmin=485827201.0 tmax=486086401.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.72
user 3.51
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/530463/ft2_4FGL_J1527.3+3117_daily_bin951.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/530463/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin951.fits evtable="EVENTS" outfile="/scratch/kocevski/530463/ft1_filtered_4FGL_J1527.3+3117_daily_bin951.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/530463/ft1_filtered_4FGL_J1527.3+3117_daily_bin951.fits" evtable="EVENTS" scfile=/scratch/kocevski/530463/ft2_4FGL_J1527.3+3117_daily_bin951.fits sctable="SC_DATA" outfile=/scratch/kocevski/530463/ltcube_485827201_486086401_4FGL_J1527.3+3117_daily_bin951.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/530463/ft2_4FGL_J1527.3+3117_daily_bin951.fits
.....................!
real 14.27
user 13.93
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530463/ft1_filtered_4FGL_J1527.3+3117_daily_bin951.fits evtable="EVENTS" scfile=/scratch/kocevski/530463/ft2_4FGL_J1527.3+3117_daily_bin951.fits sctable="SC_DATA" expcube=/scratch/kocevski/530463/ltcube_485827201_486086401_4FGL_J1527.3+3117_daily_bin951.fits outfile=/scratch/kocevski/530463/expmap_485827201_486086401_4FGL_J1527.3+3117_daily_bin951.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/530463/ltcube_485827201_486086401_4FGL_J1527.3+3117_daily_bin951.fits
.....................!
real 189.62
user 184.95
sys 4.35

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/530463/ft1_filtered_4FGL_J1527.3+3117_daily_bin951.fits scfile=/scratch/kocevski/530463/ft2_4FGL_J1527.3+3117_daily_bin951.fits outfile=/scratch/kocevski/530463/cmap_485827201_486086401_4FGL_J1527.3+3117_daily_bin951.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530463/ft1_filtered_4FGL_J1527.3+3117_daily_bin951.fits scfile=/scratch/kocevski/530463/ft2_4FGL_J1527.3+3117_daily_bin951.fits outfile=/scratch/kocevski/530463/cmap_HighResolution_485827201_486086401_4FGL_J1527.3+3117_daily_bin951.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=231.849 yref=31.2989 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15372E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.2448       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.067       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.6111       1.0000         .10000E-03   10000.    
     8 'norm      '    .52285       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.1244       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10513E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11061E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3782       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .73478       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=   6071.845     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2560 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10005E-03    5.7460        .15418E-05** at limit **
   2  norm          7.2447        4.6506       -.11335E-06   -.44398E-03
   3  Prefactor     .10000E-03    17.876        .39373E-06** at limit **
   4  norm          .10000E-03    2.7848        .63282E-08** at limit **
   5  Prefactor     .10000E-03    16.435       -.60619E-06** at limit **
   6  Prefactor     12.076        12.580       -.21847E-05   -.53548E-03
   7  Prefactor     6.6093        11.595        .27109E-06   -.27437E-04
   8  norm          .52104        2.0533        .21404E-05   -.94077E-04
   9  Prefactor     .10000E-03    17.699        .16865E-06** at limit **
  10  Prefactor     .10001E-03    77.217       -.16763E-05** at limit **
  11  Prefactor     .10000E-03    7.9038        .24138E-07** at limit **
  12  Prefactor     .10000E-03    9.8290        .28957E-07** at limit **
  13  norm          1.1241        1.2402       -.41520E-08    .82758E-03
  14  Prefactor     .10005E-03    6.8586       -.10737E-05** at limit **
  15  Prefactor     .10000E-03    47.614        .11672E-05** at limit **
  16  Prefactor     .10000E-03    7.3792        .37647E-08** at limit **
  17  norm          .10000E-03    4.6164       -.82328E-07** at limit **
  18  Prefactor     .10000E-03    2.3721        .43349E-06** at limit **
  19  Prefactor     .10001E-03    50.100        .18074E-05** at limit **
  20  Prefactor     .10000E-03    36.870       -.14930E-05** at limit **
  21  Prefactor     .10000E-03    1.6308        .66605E-07** at limit **
  22  Normalizat    1.3783        .18747       -.57507E-06   -.19995E-03
  23  Prefactor     .73470        .13740       -.86957E-07   -.13146E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100048
  norm       = 7.24472
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 12.0759
  Prefactor  = 6.60925
  norm       = 0.521041
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.12411
  Prefactor  = 0.000100051
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Normalizat = 1.37832
  Prefactor  = 0.734699
 **********
 **   18 **HESSE 
 **********

 FCN=   6071.845     FROM HESSE     STATUS=OK           364 CALLS     2924 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10005E-03    21.449        .33420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.2447        4.6647        .13143E-03   -1.5170    
   3  Prefactor     .10000E-03    17.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.7856        .12699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.076        12.788        .11532E-03   -1.5013    
   7  Prefactor     6.6093        11.584        .15607E-03   -1.5194    
   8  norm          .52104        2.1202        .17544E-03   -1.5564    
   9  Prefactor     .10000E-03    17.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    78.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.1145        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.8425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1241        1.1109        .79317E-04   -1.5496    
  14  Prefactor     .10005E-03    25.107        .34114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    48.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.3936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.6260        .16354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.6293        .22661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    51.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    38.124        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.8122        .19338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3783        .21652        .23388E-03   -.81258    
  23  Prefactor     .73470        .16058        .23411E-03   -1.0218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10148e-09
Minuit parameter uncertainties:
  1  0.00203182
  2  4.66493
  3  0.000161438
  4  3.58159e-07
  5  0.000251667
  6  12.791
  7  11.5883
  8  2.10203
  9  8.35737e-05
  10  0.00144809
  11  5.16685e-06
  12  9.43817e-06
  13  1.11095
  14  0.00226825
  15  0.000822891
  16  1.38142e-06
  17  1.76999e-05
  18  3.30431e-06
  19  0.00115262
  20  0.000703803
  21  5.39609e-06
  22  0.216662
  23  0.160677
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.001e-04  2.268e-03  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:  7.347e-01  1.607e-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.378e+00  2.167e-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.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530463/likelihoodResults_485827201_486086401_4FGL_J1527.3+3117_daily_bin951.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) = 6071.84471378
delta logL = -0.000189125495126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6071.84452445
delta logL = 2.0426705305e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12219E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6567       1.0000          .0000       10.000    
     3 'Normalizat'    1.3785       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73462       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=   6071.816     FROM MIGRAD    STATUS=CONVERGED    140 CALLS      308 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35343        3.0804        .14332E-02   -.25934E-03
   2  Index         3.6130        2.2901        .10279E-01    .16300E-03
   3  Normalizat    1.3625        .21870        .23500E-03    .80566E-04
   4  Prefactor     .74082        .16042        .23321E-03    .15014E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.353426
  Index      = 3.61299
  Normalizat = 1.36253
  Prefactor  = 0.740825
 **********
 **   18 **HESSE 
 **********

 FCN=   6071.816     FROM HESSE     STATUS=OK            27 CALLS      335 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35343        4.7745        .57330E-04   -1.5827    
   2  Index         3.6130        2.7606        .20558E-02   -.28109    
   3  Normalizat    1.3625        .21860        .47001E-04   -.81719    
   4  Prefactor     .74082        .16041        .93285E-05   -1.0195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60551e-11
Minuit parameter uncertainties:
  1  2.5979
  2  2.9409
  3  0.218748
  4  0.160514
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530463': 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) = 6071.81632701
delta logL = 0.0281976424485

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  3.534e-01  2.598e+00  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  3.613e+00  2.941e+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:  7.408e-01  1.605e-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.363e+00  2.187e-01  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/530463/cmap_HighResolution_485827201_486086401_4FGL_J1527.3+3117_daily_bin951.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.35e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-09-12 03:27:59.795614', job_id='530463', GAL2='0.74', fit_tolerance='1e-08', EG2='1.36', EG='1.38', time_epoch_completed='1631442479.8', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='2.82e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='951' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:27:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 530463: <4FGL_J1527.3+3117_daily_bin951> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin951> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 03:15:40 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 03:16:13 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:16:13 2021
Terminated at Sun Sep 12 03:28:00 2021
Results reported at Sun Sep 12 03:28:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin951 231.849 31.2989 485827201 486086401 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 :                                   649.15 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             324.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            740 sec.

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

