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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin858
RA = 183.625, Dec = -23.3113
tmin = 461721601, tmax = 461980801
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='427958', job_status='RUN', time_executed='2021-09-05 04:58:52.566557', time_epoch_executed='1630843132.57' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='858'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/427958

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/427958/ft1_4FGL_J1214.5-2318_daily_bin858.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/427958/ft2_4FGL_J1214.5-2318_daily_bin858.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/427958/ft1_4FGL_J1214.5-2318_daily_bin858.fits outfile=/scratch/kocevski/427958/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin858.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=461721601.0 tmax=461980801.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.09
user 3.82
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/427958/ft1_filtered_4FGL_J1214.5-2318_daily_bin858.fits" evtable="EVENTS" scfile=/scratch/kocevski/427958/ft2_4FGL_J1214.5-2318_daily_bin858.fits sctable="SC_DATA" outfile=/scratch/kocevski/427958/ltcube_461721601_461980801_4FGL_J1214.5-2318_daily_bin858.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/427958/ft2_4FGL_J1214.5-2318_daily_bin858.fits
.....................!
real 11.91
user 11.57
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/427958/ft1_filtered_4FGL_J1214.5-2318_daily_bin858.fits evtable="EVENTS" scfile=/scratch/kocevski/427958/ft2_4FGL_J1214.5-2318_daily_bin858.fits sctable="SC_DATA" expcube=/scratch/kocevski/427958/ltcube_461721601_461980801_4FGL_J1214.5-2318_daily_bin858.fits outfile=/scratch/kocevski/427958/expmap_461721601_461980801_4FGL_J1214.5-2318_daily_bin858.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/427958/ltcube_461721601_461980801_4FGL_J1214.5-2318_daily_bin858.fits
.....................!
real 189.51
user 185.06
sys 3.97

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/427958/ft1_filtered_4FGL_J1214.5-2318_daily_bin858.fits scfile=/scratch/kocevski/427958/ft2_4FGL_J1214.5-2318_daily_bin858.fits outfile=/scratch/kocevski/427958/cmap_461721601_461980801_4FGL_J1214.5-2318_daily_bin858.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.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/427958/ft1_filtered_4FGL_J1214.5-2318_daily_bin858.fits scfile=/scratch/kocevski/427958/ft2_4FGL_J1214.5-2318_daily_bin858.fits outfile=/scratch/kocevski/427958/cmap_HighResolution_461721601_461980801_4FGL_J1214.5-2318_daily_bin858.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/427958/ft1_filtered_4FGL_J1214.5-2318_daily_bin858.fits evtable="EVENTS" scfile=/scratch/kocevski/427958/ft2_4FGL_J1214.5-2318_daily_bin858.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/427958/Model_4FGL_J1214.5-2318_daily_bin858.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/427958/ft1_filtered_4FGL_J1214.5-2318_daily_bin858.fits.....................!
real 59.70
user 58.08
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.314       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.4951       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.332       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28618E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.0333       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.794       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.2136       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .45112E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.172       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1497       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .71498       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    14.319       1.0000         .10000E-03   10000.    
    21 'norm      '    24.943       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.9415       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .63575       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=   6843.471     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2735 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.315        16.374       -.40666E-07   -.42169E-05
   2  Prefactor     .10000E-03    19.413       -.78164E-06** at limit **
   3  norm          1.4952        1.3590       -.14581E-07    .18181E-04
   4  Prefactor     11.332        7.4383       -.50042E-06    .29019E-03
   5  Prefactor     .10000E-03    12.123       -.70320E-07** at limit **
   6  norm          .10000E-03    8.5203        .43201E-07** at limit **
   7  Prefactor     .10000E-03    50.318       -.37388E-05** at limit **
   8  norm          1.0320        3.2797        .12184E-05    .14496E-03
   9  Prefactor     .10000E-03    2.1446       -.46946E-07** at limit **
  10  Prefactor     15.764        32.247       -.23096E-06   -.75117E-04
  11  Prefactor     8.2064        38.581        .20738E-06    .17505E-05
  12  Prefactor     .10023E-03    16.694       -.61369E-06** at limit **
  13  Prefactor     .10000E-03    18.312        .58995E-06** at limit **
  14  Prefactor     21.173        20.563       -.40736E-07    .10768E-04
  15  Prefactor     .10000E-03    7.1779        .11073E-07** at limit **
  16  Prefactor     2.1495        1.5998       -.12085E-07   -.22240E-05
  17  Prefactor     .10000E-03    8.2073       -.40499E-07** at limit **
  18  norm          .71498        .63317       -.91112E-08   -.52095E-04
  19  Prefactor     .10000E-03    60.457       -.43036E-06** at limit **
  20  norm          14.319        12.025       -.11661E-06   -.57969E-05
  21  norm          24.942        7.8979       -.36942E-07    .51579E-04
  22  Prefactor     .10000E-03    1.9316        .62849E-08** at limit **
  23  Normalizat    1.9414        .25622        .45418E-06    .72065E-05
  24  Prefactor     .63574        .11903        .20006E-06    .27614E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3149
  Prefactor  = 0.0001
  norm       = 1.49518
  Prefactor  = 11.3324
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.032
  Prefactor  = 0.0001
  Prefactor  = 15.7638
  Prefactor  = 8.20637
  Prefactor  = 0.000100232
  Prefactor  = 0.0001
  Prefactor  = 21.173
  Prefactor  = 0.0001
  Prefactor  = 2.14947
  Prefactor  = 0.0001
  norm       = 0.714984
  Prefactor  = 0.0001
  norm       = 14.3193
  norm       = 24.9416
  Prefactor  = 0.0001
  Normalizat = 1.9414
  Prefactor  = 0.635741
 **********
 **   18 **HESSE 
 **********

 FCN=   6843.471     FROM HESSE     STATUS=OK           411 CALLS     3146 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.315        16.375        .91135E-04   -1.4829    
   2  Prefactor     .10000E-03    19.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4952        1.3560        .89436E-04   -1.5463    
   4  Prefactor     11.332        7.6517        .59504E-03   -1.5035    
   5  Prefactor     .10000E-03    12.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.5277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    50.269        .45426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.0320        3.3087        .26133E-03   -1.5505    
   9  Prefactor     .10000E-03    2.1516        .11814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.764        33.669        .10078E-03   -1.4914    
  11  Prefactor     8.2064        38.471        .13989E-03   -1.5135    
  12  Prefactor     .10023E-03    18.952        .10736       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.173        20.563        .87049E-04   -1.4787    
  15  Prefactor     .10000E-03    7.3431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.1495        1.5998        .87834E-04   -1.5415    
  17  Prefactor     .10000E-03    8.2321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .71498        .65797        .59946E-03   -1.5539    
  19  Prefactor     .10000E-03    60.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          14.319        12.023        .10585E-03   -1.4951    
  21  norm          24.942        7.8916        .80208E-04   -1.4709    
  22  Prefactor     .10000E-03    1.9348        .11221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.9414        .30346        .29614E-03   -.66027    
  24  Prefactor     .63574        .14083        .22413E-03   -1.0610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27996e-10
Minuit parameter uncertainties:
  1  16.3784
  2  0.0001274
  3  1.35606
  4  7.65238
  5  1.26638e-05
  6  2.27731e-06
  7  0.000195561
  8  3.30931
  9  4.08687e-07
  10  33.7099
  11  35.5736
  12  0.00419125
  13  0.000108289
  14  20.5694
  15  1.51564e-05
  16  1.59981
  17  1.24122e-05
  18  0.657978
  19  0.000145158
  20  12.0252
  21  7.89189
  22  1.33421e-06
  23  0.303756
  24  0.140912
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  1.083e-04  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:  6.357e-01  1.409e-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:  1.941e+00  3.038e-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: 7.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/427958/likelihoodResults_461721601_461980801_4FGL_J1214.5-2318_daily_bin858.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) = 6843.47106007
delta logL = -0.000257166662777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6843.47080308
delta logL = -1.76964931597e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2183       1.0000          .0000       10.000    
     3 'Normalizat'    1.9414       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63574       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=   6843.471     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      233 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    705.54        .90712E-02** at limit **
   2  Index         2.2017        5.2908        .50000        .78389E-05
   3  Normalizat    1.9414        .43486E-01    .66961E-01    .27179E-06
   4  Prefactor     .63574        .20359E-01    .41539E-01    .32480E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.20173
  Normalizat = 1.9414
  Prefactor  = 0.635741
 **********
 **   18 **HESSE 
 **********

 FCN=   6843.471     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6255.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2017        5.0365        .50000       -.59397    
   3  Normalizat    1.9414        .10674        .29615E-03   -.66027    
   4  Prefactor     .63574        .49973E-01    .22413E-03   -1.0610    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.37283e-08
Minuit parameter uncertainties:
  1  0.000663104
  2  51.9979
  3  0.106751
  4  0.0499763
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/427958': 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) = 6843.47080304
delta logL = -1.39538315125e-07

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  6.631e-04  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.202e+00  5.200e+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:  6.357e-01  4.998e-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:  1.941e+00  1.068e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/427958/cmap_HighResolution_461721601_461980801_4FGL_J1214.5-2318_daily_bin858.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-03', job_status='DONE', photon_flux_upper_limit='7.17e-08', time_completed='2021-09-05 05:11:02.327235', job_id='427958', GAL2='0.64', fit_tolerance='1e-08', EG2='1.94', EG='1.94', time_epoch_completed='1630843862.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='-1.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='858' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:11:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 427958: <4FGL_J1214.5-2318_daily_bin858> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin858 183.625 -23.3113 461721601 461980801 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 :                                   726.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            901 sec.

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

