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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin735
RA = 183.625, Dec = -23.3113
tmin = 429840001, tmax = 430099201
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='427767', job_status='RUN', time_executed='2021-09-05 04:59:00.682327', time_epoch_executed='1630843140.68' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/427767

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/427767/ft1_4FGL_J1214.5-2318_daily_bin735.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/427767/ft2_4FGL_J1214.5-2318_daily_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/427767/ft1_4FGL_J1214.5-2318_daily_bin735.fits outfile=/scratch/kocevski/427767/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin735.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=429840001.0 tmax=430099201.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.90
user 5.62
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/427767/ft2_4FGL_J1214.5-2318_daily_bin735.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/427767/ft2_4FGL_J1214.5-2318_daily_bin735.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/427767/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin735.fits evtable="EVENTS" outfile="/scratch/kocevski/427767/ft1_filtered_4FGL_J1214.5-2318_daily_bin735.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.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/427767/ft1_filtered_4FGL_J1214.5-2318_daily_bin735.fits" evtable="EVENTS" scfile=/scratch/kocevski/427767/ft2_4FGL_J1214.5-2318_daily_bin735.fits sctable="SC_DATA" outfile=/scratch/kocevski/427767/ltcube_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.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/427767/ft2_4FGL_J1214.5-2318_daily_bin735.fits
.....................!
real 12.71
user 12.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/427767/ft1_filtered_4FGL_J1214.5-2318_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/427767/ft2_4FGL_J1214.5-2318_daily_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/427767/ltcube_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.fits outfile=/scratch/kocevski/427767/expmap_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.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/427767/ltcube_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.fits
.....................!
real 190.59
user 185.82
sys 4.33

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

Setting source of interest to:
4FGL J1214.5-2318 @ 183.625 -23.3113

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/427767/ft1_filtered_4FGL_J1214.5-2318_daily_bin735.fits scfile=/scratch/kocevski/427767/ft2_4FGL_J1214.5-2318_daily_bin735.fits outfile=/scratch/kocevski/427767/cmap_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.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=183.625 yref=-23.3113 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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/427767/ft1_filtered_4FGL_J1214.5-2318_daily_bin735.fits scfile=/scratch/kocevski/427767/ft2_4FGL_J1214.5-2318_daily_bin735.fits outfile=/scratch/kocevski/427767/cmap_HighResolution_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.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=183.625 yref=-23.3113 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.66
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/427767/ft1_filtered_4FGL_J1214.5-2318_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/427767/ft2_4FGL_J1214.5-2318_daily_bin735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/427767/Model_4FGL_J1214.5-2318_daily_bin735.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/427767/ft1_filtered_4FGL_J1214.5-2318_daily_bin735.fits.....................!
real 48.17
user 46.62
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/427767/ft1_filtered_4FGL_J1214.5-2318_daily_bin735.fits', '/scratch/kocevski/427767/ft2_4FGL_J1214.5-2318_daily_bin735.fits', expMap='/scratch/kocevski/427767/expmap_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.fits', expCube='/scratch/kocevski/427767/ltcube_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/427767/Model_4FGL_J1214.5-2318_daily_bin735.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1214.5-2318'

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  3.118e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.124e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  2.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/427767/ft1_filtered_4FGL_J1214.5-2318_daily_bin735.fits
Spacecraft file(s): /scratch/kocevski/427767/ft2_4FGL_J1214.5-2318_daily_bin735.fits
Exposure map: /scratch/kocevski/427767/expmap_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.fits
Exposure cube: /scratch/kocevski/427767/ltcube_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/427767/Model_4FGL_J1214.5-2318_daily_bin735.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) = 5065.72843241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.9814       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.104       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.6603       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.824       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8054       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.4433       1.0000         .10000E-03   10000.    
    18 'norm      '    1.5115       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .19296E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11907E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83024       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1891       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5065.724     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2695 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.570       -.23435E-06** at limit **
   2  Prefactor     .10000E-03    49.013       -.12164E-06** at limit **
   3  norm          3.9818        2.5633        .14379E-07   -.13479E-03
   4  Prefactor     14.107        10.727       -.17949E-06    .63083E-04
   5  Prefactor     .10000E-03    25.669        .20684E-07** at limit **
   6  norm          .10000E-03    13.017        .89328E-07** at limit **
   7  Prefactor     .10000E-03    11.642       -.20528E-06** at limit **
   8  norm          .10000E-03    3.0028       -.99833E-07** at limit **
   9  Prefactor     2.6560        7.5676        .52008E-05    .10769E-03
  10  Prefactor     .10000E-03    50.801       -.19354E-06** at limit **
  11  Prefactor     .10002E-03    74.817        .91820E-06** at limit **
  12  Prefactor     .10000E-03    14.010       -.11524E-06** at limit **
  13  Prefactor     .10003E-03    107.38       -.12849E-05** at limit **
  14  Prefactor     22.822        28.815        .39190E-06    .91371E-04
  15  Prefactor     .10000E-03    1.8345       -.17389E-07** at limit **
  16  Prefactor     5.8055        2.4376        .11382E-07    .19884E-04
  17  Prefactor     1.4396        61.744        .14207E-04   -.86932E-04
  18  norm          1.5115        1.0293        .48586E-07    .91027E-04
  19  Prefactor     .10000E-03    28.439       -.11219E-06** at limit **
  20  norm          .10000E-03    8.0138       -.65838E-07** at limit **
  21  norm          .10000E-03    6.7667        .13366E-06** at limit **
  22  Prefactor     .10000E-03    9.5425        .71201E-05** at limit **
  23  Normalizat    .82995        .31016       -.26025E-05    .56291E-04
  24  Prefactor     1.1891        .15177        .14586E-06    .16228E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.98181
  Prefactor  = 14.1074
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.656
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  Prefactor  = 22.8217
  Prefactor  = 0.0001
  Prefactor  = 5.80549
  Prefactor  = 1.4396
  norm       = 1.51149
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.829951
  Prefactor  = 1.18913
 **********
 **   18 **HESSE 
 **********

 FCN=   5065.724     FROM HESSE     STATUS=OK           391 CALLS     3086 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    49.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.9818        2.5644        .88757E-04   -1.5309    
   4  Prefactor     14.107        10.717        .10665E-03   -1.4957    
   5  Prefactor     .10000E-03    25.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    13.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.0313        .12044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.6560        8.0477        .12495E-02   -1.5382    
  10  Prefactor     .10000E-03    50.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    76.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10003E-03    108.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.822        28.816        .83844E-04   -1.4752    
  15  Prefactor     .10000E-03    1.8365        .94135E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.8055        2.4382        .70029E-04   -1.5226    
  17  Prefactor     1.4396        69.933        .17948E-02   -1.5468    
  18  norm          1.5115        1.0225        .57390E-04   -1.5462    
  19  Prefactor     .10000E-03    28.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    8.0503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    6.9905        .35989E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    19.923        .32215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .82995        .35295        .41545E-03   -.98967    
  24  Prefactor     1.1891        .17353        .17613E-03   -.86666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04383e-09
Minuit parameter uncertainties:
  1  0.000287009
  2  0.000306664
  3  2.56446
  4  10.7186
  5  0.000117039
  6  0.000175673
  7  0.000112098
  8  1.31445e-05
  9  8.05095
  10  0.000117589
  11  0.00249945
  12  4.99944e-05
  13  0.00333935
  14  28.8336
  15  1.75958e-06
  16  2.43823
  17  20.0916
  18  1.02253
  19  0.000352392
  20  1.83604e-05
  21  2.96351e-05
  22  0.000265568
  23  0.353936
  24  0.173613
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  3.339e-03  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.124e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  2.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  1.189e+00  1.736e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  8.300e-01  3.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 183.625 -23.311
Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/427767/likelihoodResults_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.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) = 5065.72427111
delta logL = -4.3658087634e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5065.72422738
delta logL = 7.03594196239e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1635       1.0000          .0000       10.000    
     3 'Normalizat'    .82995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1891       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5065.724     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      256 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10112E-03    6993.1        .90712E-02** at limit **
   2  Index         2.2858        8.5273        .50000       -.11174E-04
   3  Normalizat    .82995        .26826E-01    .93777E-01    .29522E-04
   4  Prefactor     1.1891        .13444E-01    .34893E-01   -.15849E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101124
  Index      = 2.28575
  Normalizat = 0.829954
  Prefactor  = 1.18913
 **********
 **   18 **HESSE 
 **********

 FCN=   5065.724     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      287 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10112E-03    9214.9        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2858        8.8463        .50000       -.57383    
   3  Normalizat    .82995        .87337E-01    .41545E-03   -.98967    
   4  Prefactor     1.1891        .43904E-01    .17613E-03   -.86667    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.63609e-07
Minuit parameter uncertainties:
  1  0.419542
  2  43.3711
  3  0.0873519
  4  0.0439051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/427767': 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) = 5065.72422711
delta logL = 3.40250153386e-07

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.011e-04  4.195e-01  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.286e+00  4.337e+01  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  2.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  1.189e+00  4.391e-02  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  8.300e-01  8.735e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 183.625 -23.311

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/427767/cmap_HighResolution_429840001_430099201_4FGL_J1214.5-2318_daily_bin735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.42e-07', time_completed='2021-09-05 05:09:23.936057', job_id='427767', GAL2='1.19', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1630843763.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='3.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='735' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:09:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 427767: <4FGL_J1214.5-2318_daily_bin735> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin735> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 04:55:47 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:55:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 04:55:50 2021
Terminated at Sun Sep  5 05:09:24 2021
Results reported at Sun Sep  5 05:09:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin735 183.625 -23.3113 429840001 430099201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1214.5-2318 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   619.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            817 sec.

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

