/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 2 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 = 7469
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1514.8+4448_daily_bin221
RA = 228.719, Dec = 44.8105
tmin = 296611201, tmax = 296870401
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='362891', job_status='RUN', time_executed='2021-09-11 17:51:13.735393', time_epoch_executed='1631407873.74' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='221'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362891

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362891/ft1_4FGL_J1514.8+4448_daily_bin221.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362891/ft2_4FGL_J1514.8+4448_daily_bin221.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362891/ft1_4FGL_J1514.8+4448_daily_bin221.fits outfile=/scratch/kocevski/362891/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin221.fits ra=228.719 dec=44.8105 rad=12.0 tmin=296611201.0 tmax=296870401.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.32
user 4.07
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/362891/ft2_4FGL_J1514.8+4448_daily_bin221.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/362891/ft2_4FGL_J1514.8+4448_daily_bin221.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/362891/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin221.fits evtable="EVENTS" outfile="/scratch/kocevski/362891/ft1_filtered_4FGL_J1514.8+4448_daily_bin221.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/362891/ft1_filtered_4FGL_J1514.8+4448_daily_bin221.fits" evtable="EVENTS" scfile=/scratch/kocevski/362891/ft2_4FGL_J1514.8+4448_daily_bin221.fits sctable="SC_DATA" outfile=/scratch/kocevski/362891/ltcube_296611201_296870401_4FGL_J1514.8+4448_daily_bin221.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/362891/ft2_4FGL_J1514.8+4448_daily_bin221.fits
.....................!
real 11.79
user 11.45
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362891/ft1_filtered_4FGL_J1514.8+4448_daily_bin221.fits evtable="EVENTS" scfile=/scratch/kocevski/362891/ft2_4FGL_J1514.8+4448_daily_bin221.fits sctable="SC_DATA" expcube=/scratch/kocevski/362891/ltcube_296611201_296870401_4FGL_J1514.8+4448_daily_bin221.fits outfile=/scratch/kocevski/362891/expmap_296611201_296870401_4FGL_J1514.8+4448_daily_bin221.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/362891/ltcube_296611201_296870401_4FGL_J1514.8+4448_daily_bin221.fits
.....................!
real 191.39
user 185.82
sys 5.20

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

Setting source of interest to:
4FGL J1514.8+4448 @ 228.719 44.8105

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/362891/ft1_filtered_4FGL_J1514.8+4448_daily_bin221.fits scfile=/scratch/kocevski/362891/ft2_4FGL_J1514.8+4448_daily_bin221.fits outfile=/scratch/kocevski/362891/cmap_296611201_296870401_4FGL_J1514.8+4448_daily_bin221.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=228.719 yref=44.8105 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362891/ft1_filtered_4FGL_J1514.8+4448_daily_bin221.fits scfile=/scratch/kocevski/362891/ft2_4FGL_J1514.8+4448_daily_bin221.fits outfile=/scratch/kocevski/362891/cmap_HighResolution_296611201_296870401_4FGL_J1514.8+4448_daily_bin221.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=228.719 yref=44.8105 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/362891/ft1_filtered_4FGL_J1514.8+4448_daily_bin221.fits evtable="EVENTS" scfile=/scratch/kocevski/362891/ft2_4FGL_J1514.8+4448_daily_bin221.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/362891/Model_4FGL_J1514.8+4448_daily_bin221.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/362891/ft1_filtered_4FGL_J1514.8+4448_daily_bin221.fits.....................!
real 55.35
user 53.99
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/362891/ft1_filtered_4FGL_J1514.8+4448_daily_bin221.fits', '/scratch/kocevski/362891/ft2_4FGL_J1514.8+4448_daily_bin221.fits', expMap='/scratch/kocevski/362891/expmap_296611201_296870401_4FGL_J1514.8+4448_daily_bin221.fits', expCube='/scratch/kocevski/362891/ltcube_296611201_296870401_4FGL_J1514.8+4448_daily_bin221.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/362891/Model_4FGL_J1514.8+4448_daily_bin221.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1514.8+4448'

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.475e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.210e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/362891/ft1_filtered_4FGL_J1514.8+4448_daily_bin221.fits
Spacecraft file(s): /scratch/kocevski/362891/ft2_4FGL_J1514.8+4448_daily_bin221.fits
Exposure map: /scratch/kocevski/362891/expmap_296611201_296870401_4FGL_J1514.8+4448_daily_bin221.fits
Exposure cube: /scratch/kocevski/362891/ltcube_296611201_296870401_4FGL_J1514.8+4448_daily_bin221.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/362891/Model_4FGL_J1514.8+4448_daily_bin221.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) = 6919.57062887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4272       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.0128       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11332E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11733E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .63170E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.098       1.0000         .10000E-03   10000.    
    14 'norm      '    .12103E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4923       1.0000         .10000E-03   10000.    
    16 'Prefactor '    39.251       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.5876       1.0000         .10000E-03   10000.    
    18 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.2663       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    95.150       1.0000         .10000E-03   10000.    
    22 'Prefactor '    55.353       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.5111       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    5.1642       1.0000         .10000E-03   10000.    
    27 'Prefactor '    21.964       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.1115       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0078       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6919.553     FROM MIGRAD    STATUS=CONVERGED    850 CALLS     4170 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    56.374       -.42278E-05** at limit **
   2  Prefactor     1.4272        2.7066       -.36367E-06   -.42478E-03
   3  Prefactor     6.0134        20.619       -.17027E-05   -.29865E-04
   4  Prefactor     .10000E-03    7.5263       -.68860E-07** at limit **
   5  Prefactor     .10000E-03    46.201       -.70549E-05** at limit **
   6  Prefactor     .10000E-03    182.70       -.27547E-04** at limit **
   7  Prefactor     .10000E-03    50.976        .97963E-05** at limit **
   8  norm          .10000E-03    2.3285       -.55645E-07** at limit **
   9  Prefactor     .10000E-03    13.414        .11687E-07** at limit **
  10  Prefactor     .10561E-03    8.8192        .31593E-06** at limit **
  11  norm          .10000E-03    3.8280       -.44877E-07** at limit **
  12  Prefactor     .10000E-03    6.9867       -.45297E-07** at limit **
  13  Prefactor     16.077        17.528        .22828E-06    .93754E-04
  14  norm          .10000E-03    1.1156       -.31377E-06** at limit **
  15  Prefactor     5.4927        9.3065       -.71021E-06   -.13861E-03
  16  Prefactor     39.248        13.891       -.37432E-06    .77181E-04
  17  Prefactor     8.5880        7.9659       -.10134E-05   -.80113E-04
  18  norm          .10000E-03    .83587       -.49957E-07** at limit **
  19  norm          8.2667        4.5735       -.26671E-06   -.73986E-04
  20  Prefactor     .10000E-03    5.2175       -.43679E-07** at limit **
  21  Prefactor     95.150        69.646       -.22631E-05    .83574E-05
  22  Prefactor     55.355        25.217        .13674E-06    .20422E-04
  23  Prefactor     9.5128        13.454        .60384E-07   -.32251E-04
  24  Prefactor     .10000E-03    5.5504       -.18512E-07** at limit **
  25  norm          .10000E-03    3.7316       -.12264E-07** at limit **
  26  Prefactor     5.1635        22.022       -.24687E-05   -.28143E-04
  27  Prefactor     21.838        59.724       -.80378E-04    .88778E-05
  28  Prefactor     .10000E-03    2.1325        .20489E-06** at limit **
  29  Prefactor     .10000E-03    32.026        .10895E-05** at limit **
  30  Normalizat    1.1114        .17992        .12361E-05    .17021E-03
  31  Prefactor     1.0079        .18700        .37075E-05    .13705E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.42717
  Prefactor  = 6.01345
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010561
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0771
  norm       = 0.0001
  Prefactor  = 5.49272
  Prefactor  = 39.2481
  Prefactor  = 8.58799
  norm       = 0.0001
  norm       = 8.26671
  Prefactor  = 0.0001
  Prefactor  = 95.1498
  Prefactor  = 55.3552
  Prefactor  = 9.51278
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.16353
  Prefactor  = 21.838
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.11138
  Prefactor  = 1.00792
 **********
 **   18 **HESSE 
 **********

 FCN=   6919.553     FROM HESSE     STATUS=OK           626 CALLS     4796 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    57.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4272        2.6573        .18284E-03   -1.5469    
   3  Prefactor     6.0134        20.710        .16375E-03   -1.5217    
   4  Prefactor     .10000E-03    7.5615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    46.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    184.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    51.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.3345        .12395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10561E-03    18.558        .78366E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.8324        .15894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.0023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.077        17.264        .99824E-04   -1.4906    
  14  norm          .10000E-03    2.7938        .16650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.4927        9.2508        .17145E-03   -1.5239    
  16  Prefactor     39.248        13.919        .63977E-04   -1.4454    
  17  Prefactor     8.5880        7.9539        .13679E-03   -1.5122    
  18  norm          .10000E-03    .84573        .14748E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.2667        4.5650        .12316E-03   -1.5133    
  20  Prefactor     .10000E-03    5.2288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     95.150        69.626        .20602E-03   -1.3754    
  22  Prefactor     55.355        25.205        .53915E-04   -1.4219    
  23  Prefactor     9.5128        13.424        .12994E-03   -1.5091    
  24  Prefactor     .10000E-03    5.5519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    3.7336        .15694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     5.1635        22.110        .17691E-03   -1.5253    
  27  Prefactor     21.838        59.828        .85466E-04   -1.4773    
  28  Prefactor     .10000E-03    2.1400        .11863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    32.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1114        .22110        .24943E-03   -.89387    
  31  Prefactor     1.0079        .22826        .27675E-03   -.92466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35822e-09
Minuit parameter uncertainties:
  1  6.80853e-05
  2  2.65749
  3  20.7348
  4  1.32271e-05
  5  6.99803e-05
  6  0.000556564
  7  0.000475074
  8  6.68339e-06
  9  1.36992e-05
  10  0.0204129
  11  5.42789e-06
  12  1.1399e-05
  13  17.2698
  14  4.79838e-05
  15  9.25319
  16  13.9197
  17  7.95493
  18  3.53345e-06
  19  4.56524
  20  1.01646e-05
  21  69.6862
  22  25.2101
  23  13.4287
  24  6.27351e-06
  25  5.07872e-06
  26  21.3828
  27  59.9927
  28  2.88455e-05
  29  0.000309149
  30  0.221284
  31  0.228479
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  8.267e+00  4.565e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.210e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  1.008e+00  2.285e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.111e+00  2.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.83
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 5.49e-08 +/- 3.03e-08
Energy Flux (Fixed Index): 2.31e-05 +/- 1.28e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6919.50593303
delta logL = 0.0468549467878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6919.50478456
delta logL = 0.0480034134898

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.6161       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3784       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1020       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0146       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6919.505     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      259 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.6200        81.032        .36328E-02    .14162E-03
   2  alpha         2.3790        3.5753        .33549        .43980E-04
   3  Normalizat    1.1021        .10288        .56600E-01    .11392E-04
   4  Prefactor     1.0143        .80535E-01    .62398E-01    .12832E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.62001
  alpha      = 2.37903
  Normalizat = 1.10208
  Prefactor  = 1.01433
 **********
 **   18 **HESSE 
 **********

 FCN=   6919.505     FROM HESSE     STATUS=OK            33 CALLS      292 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.6200        4.8728        .11600E-03   -1.5156    
   2  alpha         2.3790        .56464        .12488E-01   -.48409E-01
   3  Normalizat    1.1021        .21153        .25029E-03   -.89685    
   4  Prefactor     1.0143        .22438        .27596E-03   -.92253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77376e-12
Minuit parameter uncertainties:
  1  4.87309
  2  0.56957
  3  0.211688
  4  0.224584
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362891': 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) = 6919.50478181
delta logL = 0.04800616799

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  7.620e+00  4.873e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.379e+00  5.696e-01  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  1.014e+00  2.246e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.102e+00  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.94
Ra Dec: 228.719 44.810
Photon Index (Free Index): 2.38 +/- 0.57
Photon Flux (Free Index): 6.25e-08 +/- 4.01e-08
Energy Flux (Free Index): 2.20e-05 +/- 1.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/362891/cmap_HighResolution_296611201_296870401_4FGL_J1514.8+4448_daily_bin221.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.49e-08', energy_flux2='2.20e-05', photon_flux_error='3.03e-08', dlogl='4.80e-02', energy_flux='2.31e-05', photon_flux2='6.25e-08', job_status='DONE', time_completed='2021-09-11 18:05:56.449516', photon_index_error2='0.57', photon_index2='2.38', ts='6.83', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.22e-05', EG='1.11', time_epoch_completed='1631408756.45', return_code='0', job_id='362891', GAL2='1.01', EG2='1.10', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='4.01e-08', ts2='6.94', photon_index='2.21' WHERE bin_id='221' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:05:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 362891: <4FGL_J1514.8+4448_daily_bin221> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin221> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 11 17:51:02 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 17:51:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 17:51:03 2021
Terminated at Sat Sep 11 18:05:57 2021
Results reported at Sat Sep 11 18:05:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin221 228.719 44.8105 296611201 296870401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1514.8+4448 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   879.00 sec.
    Max Memory :                                 1194 MB
    Average Memory :                             343.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            895 sec.

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

