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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin723
RA = 183.625, Dec = -23.3113
tmin = 426729601, tmax = 426988801
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='427749', job_status='RUN', time_executed='2021-09-05 04:58:00.997260', time_epoch_executed='1630843081.0' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/427749

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/427749/ft1_4FGL_J1214.5-2318_daily_bin723.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/427749/ft2_4FGL_J1214.5-2318_daily_bin723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/427749/ft1_4FGL_J1214.5-2318_daily_bin723.fits outfile=/scratch/kocevski/427749/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin723.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=426729601.0 tmax=426988801.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.63
user 5.27
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/427749/ft2_4FGL_J1214.5-2318_daily_bin723.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/427749/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin723.fits evtable="EVENTS" outfile="/scratch/kocevski/427749/ft1_filtered_4FGL_J1214.5-2318_daily_bin723.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.54
user 0.34
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/427749/ft1_filtered_4FGL_J1214.5-2318_daily_bin723.fits" evtable="EVENTS" scfile=/scratch/kocevski/427749/ft2_4FGL_J1214.5-2318_daily_bin723.fits sctable="SC_DATA" outfile=/scratch/kocevski/427749/ltcube_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.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/427749/ft2_4FGL_J1214.5-2318_daily_bin723.fits
.....................!
real 13.46
user 13.00
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/427749/ft1_filtered_4FGL_J1214.5-2318_daily_bin723.fits evtable="EVENTS" scfile=/scratch/kocevski/427749/ft2_4FGL_J1214.5-2318_daily_bin723.fits sctable="SC_DATA" expcube=/scratch/kocevski/427749/ltcube_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.fits outfile=/scratch/kocevski/427749/expmap_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.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/427749/ltcube_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.fits
.....................!
real 191.20
user 185.42
sys 5.21

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/427749/ft1_filtered_4FGL_J1214.5-2318_daily_bin723.fits scfile=/scratch/kocevski/427749/ft2_4FGL_J1214.5-2318_daily_bin723.fits outfile=/scratch/kocevski/427749/cmap_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/427749/ft1_filtered_4FGL_J1214.5-2318_daily_bin723.fits scfile=/scratch/kocevski/427749/ft2_4FGL_J1214.5-2318_daily_bin723.fits outfile=/scratch/kocevski/427749/cmap_HighResolution_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.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.67
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/427749/ft1_filtered_4FGL_J1214.5-2318_daily_bin723.fits evtable="EVENTS" scfile=/scratch/kocevski/427749/ft2_4FGL_J1214.5-2318_daily_bin723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/427749/Model_4FGL_J1214.5-2318_daily_bin723.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/427749/ft1_filtered_4FGL_J1214.5-2318_daily_bin723.fits.....................!
real 62.45
user 60.93
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/427749/ft1_filtered_4FGL_J1214.5-2318_daily_bin723.fits', '/scratch/kocevski/427749/ft2_4FGL_J1214.5-2318_daily_bin723.fits', expMap='/scratch/kocevski/427749/expmap_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.fits', expCube='/scratch/kocevski/427749/ltcube_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/427749/Model_4FGL_J1214.5-2318_daily_bin723.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/427749/ft1_filtered_4FGL_J1214.5-2318_daily_bin723.fits
Spacecraft file(s): /scratch/kocevski/427749/ft2_4FGL_J1214.5-2318_daily_bin723.fits
Exposure map: /scratch/kocevski/427749/expmap_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.fits
Exposure cube: /scratch/kocevski/427749/ltcube_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/427749/Model_4FGL_J1214.5-2318_daily_bin723.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) = 7411.45555786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.363       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3341       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0303       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10768E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .39791       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.7722       1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.424       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.5003       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18512E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7535       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.4166       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.500       1.0000         .10000E-03   10000.    
    18 'norm      '    1.7248       1.0000         .10000E-03   10000.    
    19 'Prefactor '    38.609       1.0000         .10000E-03   10000.    
    20 'norm      '    1.2698       1.0000         .10000E-03   10000.    
    21 'norm      '    .10135E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .22120E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92788       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0321       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=   7411.442     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2782 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.753        .16017E-06** at limit **
   2  Prefactor     11.419        27.128        .66250E-05    .12047E-03
   3  norm          2.3341        1.4439       -.36481E-07   -.46983E-05
   4  Prefactor     1.0335        4.1683        .76484E-06    .14984E-03
   5  Prefactor     .10000E-03    11.767        .47879E-06** at limit **
   6  norm          .10000E-03    9.7585       -.12615E-06** at limit **
   7  Prefactor     .10000E-03    18.934        .94356E-06** at limit **
   8  norm          .41644        2.0083        .71697E-07    .43409E-04
   9  Prefactor     8.7703        5.9665        .16905E-06    .44191E-03
  10  Prefactor     30.352        45.627        .36961E-05    .40118E-03
  11  Prefactor     8.5075        32.853        .69276E-06    .59193E-04
  12  Prefactor     .11536E-03    24.405       -.76013E-05** at limit **
  13  Prefactor     .10000E-03    20.721       -.93922E-06** at limit **
  14  Prefactor     .10000E-03    14.104       -.10110E-05** at limit **
  15  Prefactor     3.7568        6.8103        .34057E-05    .86844E-03
  16  Prefactor     8.4165        2.9114       -.31076E-06    .24952E-04
  17  Prefactor     11.506        13.501        .83526E-06    .83954E-04
  18  norm          1.7249        .91511        .22787E-07    .10365E-03
  19  Prefactor     38.611        49.286       -.29016E-07   -.21220E-05
  20  norm          1.2727        9.4848        .11523E-05    .75302E-04
  21  norm          .10000E-03    4.0431        .23587E-07** at limit **
  22  Prefactor     .10000E-03    2.1694        .85301E-07** at limit **
  23  Normalizat    .92792        .21898       -.12828E-05    .28017E-03
  24  Prefactor     1.0319        .10928        .43984E-07    .49266E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.4188
  norm       = 2.33406
  Prefactor  = 1.03347
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.416443
  Prefactor  = 8.77032
  Prefactor  = 30.3524
  Prefactor  = 8.50753
  Prefactor  = 0.000115356
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.75683
  Prefactor  = 8.41654
  Prefactor  = 11.5061
  norm       = 1.72493
  Prefactor  = 38.6108
  norm       = 1.27268
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.927917
  Prefactor  = 1.03189
 **********
 **   18 **HESSE 
 **********

 FCN=   7411.442     FROM HESSE     STATUS=OK           411 CALLS     3193 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.419        27.028        .11884E-03   -1.5032    
   3  norm          2.3341        1.4401        .78236E-04   -1.5402    
   4  Prefactor     1.0335        4.2323        .32861E-03   -1.5505    
   5  Prefactor     .10000E-03    11.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.7732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.118        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .41644        7.8153        .22366E-02   -1.5579    
   9  Prefactor     8.7703        5.9176        .13533E-03   -1.5116    
  10  Prefactor     30.352        46.351        .72640E-04   -1.4606    
  11  Prefactor     8.5075        32.641        .13749E-03   -1.5125    
  12  Prefactor     .11536E-03    16.399        .99525E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7568        6.8596        .10420E-02   -1.5320    
  16  Prefactor     8.4165        2.9159        .79238E-04   -1.5128    
  17  Prefactor     11.506        13.495        .11813E-03   -1.5029    
  18  norm          1.7249        .91152        .57840E-04   -1.5445    
  19  Prefactor     38.611        48.884        .64505E-04   -1.4464    
  20  norm          1.2727        9.5114        .39491E-03   -1.5482    
  21  norm          .10000E-03    4.2088        .33698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.2823        .24489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .92792        .25267        .34532E-03   -.95486    
  24  Prefactor     1.0319        .12783        .17332E-03   -.91674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14818e-09
Minuit parameter uncertainties:
  1  6.89246e-07
  2  27.057
  3  1.44009
  4  4.1831
  5  1.97962e-05
  6  2.32077e-06
  7  1.32558e-05
  8  3.60822
  9  5.91803
  10  46.4058
  11  32.7098
  12  0.0317471
  13  1.95565e-05
  14  3.71752e-05
  15  6.86108
  16  2.9159
  17  13.4983
  18  0.911526
  19  48.9351
  20  6.95971
  21  2.34909e-06
  22  1.82868e-06
  23  0.252992
  24  0.127868
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  1.956e-05  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.032e+00  1.279e-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:  9.279e-01  2.530e-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: 6.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/427749/likelihoodResults_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.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) = 7411.44244957
delta logL = -0.000229587192734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7411.44222009
delta logL = -1.0315579857e-07

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.2131       1.0000          .0000       10.000    
     3 'Normalizat'    .92791       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0319       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=   7411.442     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      238 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    369.85        .90712E-02** at limit **
   2  Index         2.2009        8.8355        .50000        .50817E-05
   3  Normalizat    .92792        .23454E-01    .78020E-01    .18037E-04
   4  Prefactor     1.0319        .12417E-01    .41112E-01   -.98652E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.20086
  Normalizat = 0.927915
  Prefactor  = 1.03189
 **********
 **   18 **HESSE 
 **********

 FCN=   7411.442     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6205.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2009        7.5088        .50000       -.59418    
   3  Normalizat    .92792        .74616E-01    .34532E-03   -.95486    
   4  Prefactor     1.0319        .39580E-01    .17332E-03   -.91674    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.42126e-09
Minuit parameter uncertainties:
  1  0.000320577
  2  47.6968
  3  0.0746245
  4  0.0395811
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/427749': 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) = 7411.44222007
delta logL = -8.69022187544e-08

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  3.206e-04  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.201e+00  4.770e+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.032e+00  3.958e-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:  9.279e-01  7.462e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/427749/cmap_HighResolution_426729601_426988801_4FGL_J1214.5-2318_daily_bin723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-03', job_status='DONE', photon_flux_upper_limit='6.39e-08', time_completed='2021-09-05 05:11:21.227998', job_id='427749', GAL2='1.03', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1630843881.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-8.69e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='723' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:11:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 427749: <4FGL_J1214.5-2318_daily_bin723> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin723> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 04:55:46 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:55:47 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:47 2021
Terminated at Sun Sep  5 05:11:21 2021
Results reported at Sun Sep  5 05:11:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin723 183.625 -23.3113 426729601 426988801 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 :                                   791.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            935 sec.

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

