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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin126
RA = 183.625, Dec = -23.3113
tmin = 271987201, tmax = 272246401
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='422943', job_status='RUN', time_executed='2021-09-05 04:40:47.652693', time_epoch_executed='1630842047.65' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='126'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/422943

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/422943/ft1_4FGL_J1214.5-2318_daily_bin126.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/422943/ft2_4FGL_J1214.5-2318_daily_bin126.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/422943/ft1_4FGL_J1214.5-2318_daily_bin126.fits outfile=/scratch/kocevski/422943/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin126.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=271987201.0 tmax=272246401.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 1.63
user 1.45
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/422943/ft1_filtered_4FGL_J1214.5-2318_daily_bin126.fits" evtable="EVENTS" scfile=/scratch/kocevski/422943/ft2_4FGL_J1214.5-2318_daily_bin126.fits sctable="SC_DATA" outfile=/scratch/kocevski/422943/ltcube_271987201_272246401_4FGL_J1214.5-2318_daily_bin126.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/422943/ft2_4FGL_J1214.5-2318_daily_bin126.fits
.....................!
real 12.90
user 12.53
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/422943/ft1_filtered_4FGL_J1214.5-2318_daily_bin126.fits evtable="EVENTS" scfile=/scratch/kocevski/422943/ft2_4FGL_J1214.5-2318_daily_bin126.fits sctable="SC_DATA" expcube=/scratch/kocevski/422943/ltcube_271987201_272246401_4FGL_J1214.5-2318_daily_bin126.fits outfile=/scratch/kocevski/422943/expmap_271987201_272246401_4FGL_J1214.5-2318_daily_bin126.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/422943/ltcube_271987201_272246401_4FGL_J1214.5-2318_daily_bin126.fits
.....................!
real 191.86
user 186.39
sys 4.99

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/422943/ft1_filtered_4FGL_J1214.5-2318_daily_bin126.fits scfile=/scratch/kocevski/422943/ft2_4FGL_J1214.5-2318_daily_bin126.fits outfile=/scratch/kocevski/422943/cmap_271987201_272246401_4FGL_J1214.5-2318_daily_bin126.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.54
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/422943/ft1_filtered_4FGL_J1214.5-2318_daily_bin126.fits evtable="EVENTS" scfile=/scratch/kocevski/422943/ft2_4FGL_J1214.5-2318_daily_bin126.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/422943/Model_4FGL_J1214.5-2318_daily_bin126.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/422943/ft1_filtered_4FGL_J1214.5-2318_daily_bin126.fits.....................!
real 68.29
user 66.97
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .27090E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8733       1.0000         .10000E-03   10000.    
     6 'norm      '    .10221E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.790       1.0000         .10000E-03   10000.    
     8 'norm      '    6.8954       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.7847       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    52.026       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.9342       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .34029E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.6321       1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.629       1.0000         .10000E-03   10000.    
    18 'norm      '    1.2305       1.0000         .10000E-03   10000.    
    19 'Prefactor '    43.857       1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10596E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3219       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90958       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8077.617     FROM MIGRAD    STATUS=CONVERGED    968 CALLS     3175 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.7220        .18142E-02** at limit **
   2  Prefactor     .10000E-03    25.438        .18142E-02** at limit **
   3  norm          .27669E-01    10.591        .13707E-02    .14312E-03
   4  Prefactor     .10003E-03    38.401        .35861E-02** at limit **
   5  Prefactor     2.8974        66.698        .23979E-03    .24132E-04
   6  norm          .10000E-03    42.476        .18142E-02** at limit **
   7  Prefactor     30.793        17.366        .72208E-04    .16799E-03
   8  norm          6.8950        4.7914        .14249E-03    .21781E-03
   9  Prefactor     3.7854        5.2914        .20750E-03    .22885E-03
  10  Prefactor     .10000E-03    23.097        .18142E-02** at limit **
  11  Prefactor     52.030        38.161        .55604E-04    .73360E-04
  12  Prefactor     7.8989        23.549        .14235E-03    .78907E-04
  13  Prefactor     .10000E-03    55.269        .15241    ** at limit **
  14  Prefactor     .10000E-03    7.3439        .18142E-02** at limit **
  15  Prefactor     .10000E-03    1.4388        .10514E-02** at limit **
  16  Prefactor     2.6321        1.4802        .79872E-04    .56934E-06
  17  Prefactor     27.628        15.362        .76216E-04    .75477E-04
  18  norm          1.2306        .81891        .64024E-04    .28713E-03
  19  Prefactor     43.874        77.013        .60537E-04    .65391E-04
  20  norm          .10000E-03    3.3080        .15952E-02** at limit **
  21  norm          .10000E-03    3.6871        .16730E-02** at limit **
  22  Prefactor     .10000E-03    1.7625        .11626E-02** at limit **
  23  Normalizat    1.3218        .27637        .33157E-03    .25277E-03
  24  Prefactor     .90960        .13160        .19170E-03    .63457E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0276685
  Prefactor  = 0.00010003
  Prefactor  = 2.89739
  norm       = 0.0001
  Prefactor  = 30.7929
  norm       = 6.89501
  Prefactor  = 3.78537
  Prefactor  = 0.0001
  Prefactor  = 52.0298
  Prefactor  = 7.89885
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.63209
  Prefactor  = 27.6283
  norm       = 1.23064
  Prefactor  = 43.8743
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.32179
  Prefactor  = 0.909604
 **********
 **   18 **HESSE 
 **********

 FCN=   8077.617     FROM HESSE     STATUS=OK           385 CALLS     3560 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.7236        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.439        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .27669E-01    10.873        .54827E-04   -1.5675    
   4  Prefactor     .10003E-03    39.470        .14345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8974        66.452        .95917E-05   -1.5368    
   6  norm          .10000E-03    42.500        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     30.793        17.364        .28883E-05   -1.4598    
   8  norm          6.8950        4.7911        .56997E-05   -1.5183    
   9  Prefactor     3.7854        5.2894        .83001E-05   -1.5319    
  10  Prefactor     .10000E-03    23.098        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     52.030        38.148        .11121E-04   -1.4264    
  12  Prefactor     7.8989        23.533        .56939E-05   -1.5146    
  13  Prefactor     .10000E-03    54.976        .15282       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.3443        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.4388        .21028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.6321        1.4802        .31949E-05   -1.5383    
  17  Prefactor     27.628        15.359        .30487E-05   -1.4656    
  18  norm          1.2306        .81884        .25610E-05   -1.5486    
  19  Prefactor     43.874        76.989        .12107E-04   -1.4382    
  20  norm          .10000E-03    3.3081        .31904E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.6878        .33460E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.7626        .23252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3218        .27580        .13263E-04   -.82918    
  24  Prefactor     .90960        .13168        .38341E-04   -.95806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18375e-09
Minuit parameter uncertainties:
  1  2.81203e-05
  2  5.32329e-05
  3  1.09519
  4  0.00219173
  5  27.7859
  6  0.000148883
  7  17.3663
  8  4.79137
  9  5.29009
  10  7.25842e-05
  11  38.1658
  12  23.5602
  13  0.000396202
  14  7.64737e-06
  15  3.71426e-06
  16  1.48019
  17  15.3616
  18  0.81885
  19  77.1642
  20  2.60828e-07
  21  6.50433e-05
  22  1.28476e-05
  23  0.276109
  24  0.131724
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  3.962e-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:  9.096e-01  1.317e-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.322e+00  2.761e-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: 8.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/422943/likelihoodResults_271987201_272246401_4FGL_J1214.5-2318_daily_bin126.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) = 8077.61733407
delta logL = -9.6447283795e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8077.61733407
delta logL = -9.64368518908e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96363E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1242       1.0000          .0000       10.000    
     3 'Normalizat'    1.3218       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90961       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=   8077.505     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      307 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3995        346.85        .90712E-02    .86153E-03
   2  Index         3.0047        6.4786        .87958E-01    .25304E-03
   3  Normalizat    1.3014        .64630E-01    .75379E-01    .10558E-04
   4  Prefactor     .91175        .30543E-01    .45127E-01    .47894E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.39954
  Index      = 3.00473
  Normalizat = 1.30141
  Prefactor  = 0.911748
 **********
 **   18 **HESSE 
 **********

 FCN=   8077.505     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      340 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3995        756.43        .34419E-03   -1.5339    
   2  Index         3.0047        5.2769        .11908E-01   -.41048    
   3  Normalizat    1.3014        .23591        .33360E-03   -.83524    
   4  Prefactor     .91175        .11404        .19142E-03   -.95732    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.1523e-06
Minuit parameter uncertainties:
  1  102.761
  2  11.1804
  3  0.236102
  4  0.114074
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/422943': 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) = 8077.50511733
delta logL = 0.112207088754

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  3.400e+00  1.028e+02  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  3.005e+00  1.118e+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:  9.117e-01  1.141e-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.301e+00  2.361e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/422943/cmap_HighResolution_271987201_272246401_4FGL_J1214.5-2318_daily_bin126.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.79e-03', job_status='DONE', photon_flux_upper_limit='8.96e-08', time_completed='2021-09-05 04:54:51.595799', job_id='422943', GAL2='0.91', fit_tolerance='1e-08', EG2='1.30', EG='1.32', time_epoch_completed='1630842891.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.12e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='126' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:54:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 422943: <4FGL_J1214.5-2318_daily_bin126> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin126> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep  5 04:40:27 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:40:29 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:40:29 2021
Terminated at Sun Sep  5 04:54:52 2021
Results reported at Sun Sep  5 04:54:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin126 183.625 -23.3113 271987201 272246401 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 :                                   840.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             305.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            865 sec.

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

