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


Performing analysis on: 4FGL_J1015.6+5553_daily_bin1528
RA = 153.911, Dec = 55.8893
tmin = 635385601, tmax = 635644801
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='769250', job_status='RUN', time_executed='2021-09-01 15:43:07.343247', time_epoch_executed='1630536187.34' WHERE source_name='4FGL J1015.6+5553' and cadence='daily' and bin_id='1528'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/769250

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/769250/ft1_4FGL_J1015.6+5553_daily_bin1528.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/769250/ft2_4FGL_J1015.6+5553_daily_bin1528.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/769250/ft1_4FGL_J1015.6+5553_daily_bin1528.fits outfile=/scratch/kocevski/769250/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1528.fits ra=153.911 dec=55.8893 rad=12.0 tmin=635385601.0 tmax=635644801.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 2.84
user 2.60
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/769250/ft2_4FGL_J1015.6+5553_daily_bin1528.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/769250/ft2_4FGL_J1015.6+5553_daily_bin1528.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/769250/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1528.fits evtable="EVENTS" outfile="/scratch/kocevski/769250/ft1_filtered_4FGL_J1015.6+5553_daily_bin1528.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/769250/ft1_filtered_4FGL_J1015.6+5553_daily_bin1528.fits" evtable="EVENTS" scfile=/scratch/kocevski/769250/ft2_4FGL_J1015.6+5553_daily_bin1528.fits sctable="SC_DATA" outfile=/scratch/kocevski/769250/ltcube_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.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/769250/ft2_4FGL_J1015.6+5553_daily_bin1528.fits
.....................!
real 15.21
user 14.85
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/769250/ft1_filtered_4FGL_J1015.6+5553_daily_bin1528.fits evtable="EVENTS" scfile=/scratch/kocevski/769250/ft2_4FGL_J1015.6+5553_daily_bin1528.fits sctable="SC_DATA" expcube=/scratch/kocevski/769250/ltcube_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.fits outfile=/scratch/kocevski/769250/expmap_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.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/769250/ltcube_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.fits
.....................!
real 192.35
user 186.77
sys 5.13

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 240 point sources and 0 extended sources

Setting source of interest to:
4FGL J1015.6+5553 @ 153.911 55.8893

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/769250/ft1_filtered_4FGL_J1015.6+5553_daily_bin1528.fits scfile=/scratch/kocevski/769250/ft2_4FGL_J1015.6+5553_daily_bin1528.fits outfile=/scratch/kocevski/769250/cmap_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.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=153.911 yref=55.8893 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/769250/ft1_filtered_4FGL_J1015.6+5553_daily_bin1528.fits scfile=/scratch/kocevski/769250/ft2_4FGL_J1015.6+5553_daily_bin1528.fits outfile=/scratch/kocevski/769250/cmap_HighResolution_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.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=153.911 yref=55.8893 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/769250/ft1_filtered_4FGL_J1015.6+5553_daily_bin1528.fits evtable="EVENTS" scfile=/scratch/kocevski/769250/ft2_4FGL_J1015.6+5553_daily_bin1528.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/769250/Model_4FGL_J1015.6+5553_daily_bin1528.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/769250/ft1_filtered_4FGL_J1015.6+5553_daily_bin1528.fits.....................!
real 29.03
user 27.73
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/769250/ft1_filtered_4FGL_J1015.6+5553_daily_bin1528.fits', '/scratch/kocevski/769250/ft2_4FGL_J1015.6+5553_daily_bin1528.fits', expMap='/scratch/kocevski/769250/expmap_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.fits', expCube='/scratch/kocevski/769250/ltcube_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/769250/Model_4FGL_J1015.6+5553_daily_bin1528.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1015.6+5553'

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  7.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
393        Scale:  7.469e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/769250/ft1_filtered_4FGL_J1015.6+5553_daily_bin1528.fits
Spacecraft file(s): /scratch/kocevski/769250/ft2_4FGL_J1015.6+5553_daily_bin1528.fits
Exposure map: /scratch/kocevski/769250/expmap_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.fits
Exposure cube: /scratch/kocevski/769250/ltcube_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/769250/Model_4FGL_J1015.6+5553_daily_bin1528.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) = 1589.21963361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9996.8       1.0000         .10000E-03   10000.    
     2 'Prefactor '    46.006       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9998.8       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9998.5       1.0000         .10000E-03   10000.    
     5 'norm      '    5.2159       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9861.5       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8602.0       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9999.6       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .44078E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23661E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    97.487       1.0000         .10000E-03   10000.    
    12 'norm      '    .22167E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .12226E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    436.55       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .36981E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.4867       1.0000         .10000E-03   10000.    
    18 'norm      '    .18537E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .37134E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .22811E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11798E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.4947       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .32303E-01   1.0000         .10000E-03   10000.    
    25 'Prefactor '    262.65       1.0000         .10000E-03   10000.    
    26 'norm      '    .81708       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10857E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    17.435       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .13779E-02   1.0000         .10000E-03   10000.    
    30 'Prefactor '    22.190       1.0000         .10000E-03   10000.    
    31 'Prefactor '    49.156       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .27664       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84289       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1588.955     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     3597 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        1158.8        .26840E-05** at limit **
   2  Prefactor     44.024        43.204       -.27099E-06   -.81874E-05
   3  Prefactor    10000.0        6524.0        .14463E-05** at limit **
   4  Prefactor    10000.0        9998.6       -.64173E-05** at limit **
   5  norm          5.0694        3.4983        .21924E-08    .97137E-04
   6  Prefactor    10000.0        1581.4       -.44392E-05** at limit **
   7  Prefactor     9966.6        9944.1        .31283E-04   -.83762E-02
   8  Prefactor    10000.0        2084.0        .19044E-04** at limit **
   9  Prefactor     .10000E-03    24.852       -.29793E-06** at limit **
  10  Prefactor     .10000E-03    9.1308       -.59417E-07** at limit **
  11  Prefactor     .10851E-03    1523.3        .65868E-06** at limit **
  12  norm          .10000E-03    26.518       -.11096E-07** at limit **
  13  Prefactor     .10000E-03    53.314       -.14865E-06** at limit **
  14  norm          .10000E-03    19.981       -.39316E-05** at limit **
  15  norm          72.918        5931.5       -.11806E-04   -.22058E-01
  16  Prefactor     .10000E-03    67.262       -.21583E-05** at limit **
  17  norm          7.3982        1.8593        .23080E-07    .39888E-03
  18  norm          .10000E-03    11.876       -.27077E-06** at limit **
  19  Prefactor     .10000E-03    41.430        .32559E-07** at limit **
  20  norm          .10000E-03    12.574        .37488E-08** at limit **
  21  Prefactor     .10000E-03    11.424        .35356E-06** at limit **
  22  norm          .10000E-03    1.6694       -.46827E-07** at limit **
  23  norm          3.4481        3.7662       -.16289E-06   -.77291E-05
  24  Prefactor     .10000E-03    373.92       -.25488E-05** at limit **
  25  Prefactor     274.25        437.14       -.34871E-05   -.39991E-04
  26  norm          .66560        9.7547        .12832E-05    .78712E-04
  27  Prefactor     .10000E-03    81.096       -.51976E-06** at limit **
  28  Prefactor     18.153        39.680        .60773E-08    .26669E-04
  29  Prefactor     .10000E-03    125.19        .56260E-06** at limit **
  30  Prefactor     22.752        18.875        .53849E-06    .13655E-03
  31  Prefactor     51.133        46.746        .67894E-06    .62485E-04
  32  Normalizat    .19195        .43069       -.42196E-05    .42307E-04
  33  Prefactor     .90047        .44810        .46991E-05    .90481E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  Prefactor  = 44.0242
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 5.06942
  Prefactor  = 10000
  Prefactor  = 9966.6
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010851
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 72.9179
  Prefactor  = 0.0001
  norm       = 7.39824
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.44812
  Prefactor  = 0.0001
  Prefactor  = 274.25
  norm       = 0.665601
  Prefactor  = 0.0001
  Prefactor  = 18.1528
  Prefactor  = 0.0001
  Prefactor  = 22.752
  Prefactor  = 51.1333
  Normalizat = 0.191952
  Prefactor  = 0.90047
 **********
 **   18 **HESSE 
 **********

 FCN=   1588.955     FROM HESSE     STATUS=OK           759 CALLS     4356 TOTAL
                     EDM=   .52E-02    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        1211.7        .56225E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     44.024        43.023        .14778E-02   -1.4380    
   3  Prefactor    10000.0        6582.8        .10659E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor    10000.0        9999.1        .87070E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.0694        3.4878        .44002E-02   -1.5258    
   6  Prefactor    10000.0        1654.3        .85553E-02    1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9966.6        9946.4        .28837E-03    1.4551    
   8  Prefactor    10000.0        2155.7        .10671E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    23.614        .96856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.7072        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10851E-03    1648.1        .10178E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    26.334        .10067E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    51.999        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.9320        .30879E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          72.918        9940.0        .48942E-03   -1.3998    
  16  Prefactor     .10000E-03    67.925        .10650E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.3982        1.8528        .36643E-02   -1.5164    
  18  norm          .10000E-03    12.172        .10148E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    40.939        .10649E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    12.422        .10054E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.845        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.6038        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.4481        3.7938        .54071E-02   -1.5337    
  24  Prefactor     .10000E-03    402.35        .91834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     274.25        499.06        .62530E-03   -1.2381    
  26  norm          .66560        12.947        .12503E-01   -1.5545    
  27  Prefactor     .10000E-03    81.477        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     18.153        41.394        .23980E-02   -1.4856    
  29  Prefactor     .10000E-03    126.47        .10268E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     22.752        19.882        .21258E-02   -1.4754    
  31  Prefactor     51.133        47.755        .14299E-02   -1.4277    
  32  Normalizat    .19195        .56735        .12850       -1.3001    
  33  Prefactor     .90047        .55325        .65743E-01   -.96125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.00521531
Minuit parameter uncertainties:
  1  0.0025907
  2  43.0538
  3  0.00283037
  4  0.243469
  5  3.48798
  6  0.963233
  7  1845.19
  8  0.0174117
  9  2.60263e-05
  10  3.47285e-06
  11  0.243904
  12  9.55812e-07
  13  2.27134e-05
  14  6.3259e-05
  15  2701.41
  16  0.000342752
  17  1.85285
  18  1.55206e-05
  19  3.3423e-06
  20  7.82236e-07
  21  2.13162e-05
  22  8.96911e-07
  23  3.79403
  24  0.000490296
  25  507.175
  26  5.87222
  27  6.4742e-05
  28  41.4594
  29  0.00012339
  30  19.8883
  31  47.791
  32  0.585962
  33  0.556751
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.000e-04  3.342e-06  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
393        Scale:  7.469e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
767    Prefactor:  9.005e-01  5.568e-01  0.000e+00  1.000e+01 ( 1.000e+00)
768        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
769        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
766   Normalization:  1.920e-01  5.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 153.911 55.889
Photon Flux Upper Limit: 2.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/769250/likelihoodResults_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.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) = 1588.95469021
delta logL = -0.000112967678888

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1588.95457873
delta logL = -1.48272602019e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11472E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2037       1.0000          .0000       10.000    
     3 'Normalizat'    .19194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90048       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7700E+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=   1588.955     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      299 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    347.97        .18142E-01** at limit **
   2  Index         1.7323        7.4971        .50000        .37642E-07
   3  Normalizat    .19195        .20851E-01    .56691E-03   -.18620E-04
   4  Prefactor     .90047        .22847E-01    .29070E-03   -.37421E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 1.73231
  Normalizat = 0.191952
  Prefactor  = 0.900468
 **********
 **   18 **HESSE 
 **********

 FCN=   1588.955     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      328 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1846.0        .30686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7323        5.7577        .50000       -.71225    
   3  Normalizat    .19195        .50777E-01    .22676E-04   -1.3001    
   4  Prefactor     .90047        .55645E-01    .58139E-04   -.96125    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11035e-11
Minuit parameter uncertainties:
  1  0.0036266
  2  2501.11
  3  0.0507889
  4  0.0556489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/769250': 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) = 1588.95457683
delta logL = 4.14871010435e-07

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.000e-04  3.627e-03  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  1.732e+00  2.501e+03  0.000e+00  1.000e+01 (-1.000e+00)
393        Scale:  7.469e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
767    Prefactor:  9.005e-01  5.565e-02  0.000e+00  1.000e+01 ( 1.000e+00)
768        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
769        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
766   Normalization:  1.920e-01  5.079e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 153.911 55.889

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/769250/cmap_HighResolution_635385601_635644801_4FGL_J1015.6+5553_daily_bin1528.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.03e-02', job_status='DONE', photon_flux_upper_limit='2.60e-07', time_completed='2021-09-01 15:52:05.253636', job_id='769250', GAL2='0.90', fit_tolerance='1e-08', EG2='0.19', EG='0.19', time_epoch_completed='1630536725.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.15e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1528' AND source_name='4FGL J1015.6+5553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 15:52:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 769250: <4FGL_J1015.6+5553_daily_bin1528> in cluster <slac> Done

Job <4FGL_J1015.6+5553_daily_bin1528> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 15:40:25 2021
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 15:40:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 15:40:30 2021
Terminated at Wed Sep  1 15:52:05 2021
Results reported at Wed Sep  1 15:52:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_daily_bin1528 153.911 55.8893 635385601 635644801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1015.6+5553 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   536.21 sec.
    Max Memory :                                 1138 MB
    Average Memory :                             244.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            700 sec.

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

