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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin799
RA = 183.625, Dec = -23.3113
tmin = 446428801, tmax = 446688001
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='427855', job_status='RUN', time_executed='2021-09-05 04:59:41.828973', time_epoch_executed='1630843181.83' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='799'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/427855

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/427855/ft1_4FGL_J1214.5-2318_daily_bin799.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/427855/ft2_4FGL_J1214.5-2318_daily_bin799.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/427855/ft1_4FGL_J1214.5-2318_daily_bin799.fits outfile=/scratch/kocevski/427855/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin799.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=446428801.0 tmax=446688001.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 3.46
user 3.23
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/427855/ft1_filtered_4FGL_J1214.5-2318_daily_bin799.fits" evtable="EVENTS" scfile=/scratch/kocevski/427855/ft2_4FGL_J1214.5-2318_daily_bin799.fits sctable="SC_DATA" outfile=/scratch/kocevski/427855/ltcube_446428801_446688001_4FGL_J1214.5-2318_daily_bin799.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/427855/ft2_4FGL_J1214.5-2318_daily_bin799.fits
.....................!
real 12.32
user 11.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/427855/ft1_filtered_4FGL_J1214.5-2318_daily_bin799.fits evtable="EVENTS" scfile=/scratch/kocevski/427855/ft2_4FGL_J1214.5-2318_daily_bin799.fits sctable="SC_DATA" expcube=/scratch/kocevski/427855/ltcube_446428801_446688001_4FGL_J1214.5-2318_daily_bin799.fits outfile=/scratch/kocevski/427855/expmap_446428801_446688001_4FGL_J1214.5-2318_daily_bin799.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/427855/ltcube_446428801_446688001_4FGL_J1214.5-2318_daily_bin799.fits
.....................!
real 193.83
user 187.45
sys 5.12

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/427855/ft1_filtered_4FGL_J1214.5-2318_daily_bin799.fits scfile=/scratch/kocevski/427855/ft2_4FGL_J1214.5-2318_daily_bin799.fits outfile=/scratch/kocevski/427855/cmap_446428801_446688001_4FGL_J1214.5-2318_daily_bin799.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/427855/ft1_filtered_4FGL_J1214.5-2318_daily_bin799.fits scfile=/scratch/kocevski/427855/ft2_4FGL_J1214.5-2318_daily_bin799.fits outfile=/scratch/kocevski/427855/cmap_HighResolution_446428801_446688001_4FGL_J1214.5-2318_daily_bin799.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    69.211       1.0000         .10000E-03   10000.    
     3 'norm      '    1.7176       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    37.451       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15846       1.0000         .10000E-03   10000.    
     8 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5709       1.0000         .10000E-03   10000.    
    10 'Prefactor '    114.16       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.2203       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11995E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.544       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.9664       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.3713       1.0000         .10000E-03   10000.    
    18 'norm      '    2.3474       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.7682       1.0000         .10000E-03   10000.    
    21 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1370       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84008       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=   6409.618     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     2826 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.2644       -.54364E-07** at limit **
   2  Prefactor     69.220        60.114       -.96264E-07   -.21114E-05
   3  norm          1.7181        1.8008        .10755E-06    .13693E-03
   4  Prefactor     .10000E-03    3.7508       -.10831E-09** at limit **
   5  Prefactor     .10000E-03    14.367       -.13263E-07** at limit **
   6  norm          37.462        30.067       -.19356E-06   -.15195E-04
   7  Prefactor     .43382        13.521        .19997E-05   -.46708E-03
   8  norm          .10000E-03    1.5079       -.31540E-06** at limit **
   9  Prefactor     4.5741        6.0328        .14235E-05    .31241E-03
  10  Prefactor     113.76        73.824        .14986E-05    .55585E-05
  11  Prefactor     9.1345        55.478       -.54980E-05   -.18995E-04
  12  Prefactor     .10000E-03    26.964       -.21071E-05** at limit **
  13  Prefactor     .10000E-03    64.713       -.19957E-05** at limit **
  14  Prefactor     37.567        27.347        .27156E-06    .13287E-04
  15  Prefactor     .10000E-03    1.4997       -.11920E-07** at limit **
  16  Prefactor     5.9669        2.2527       -.21742E-07   -.16347E-05
  17  Prefactor     8.3758        11.147        .57881E-07    .40165E-04
  18  norm          2.3482        1.3614        .30231E-07    .22546E-03
  19  Prefactor     .10000E-03    68.791        .39388E-06** at limit **
  20  norm          4.7707        8.6847        .22467E-06    .51441E-04
  21  norm          .10000E-03    3.4895        .48357E-07** at limit **
  22  Prefactor     .10000E-03    2.2205        .12206E-07** at limit **
  23  Normalizat    1.1363        .23743       -.33409E-06    .87940E-04
  24  Prefactor     .84017        .11408        .80907E-06    .16756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 69.2203
  norm       = 1.71811
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 37.4621
  Prefactor  = 0.433824
  norm       = 0.0001
  Prefactor  = 4.57413
  Prefactor  = 113.757
  Prefactor  = 9.13447
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 37.5665
  Prefactor  = 0.0001
  Prefactor  = 5.96689
  Prefactor  = 8.37584
  norm       = 2.34821
  Prefactor  = 0.0001
  norm       = 4.77068
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.13632
  Prefactor  = 0.840169
 **********
 **   18 **HESSE 
 **********

 FCN=   6409.618     FROM HESSE     STATUS=OK           401 CALLS     3227 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.2755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     69.220        60.042        .24125E-03   -1.4042    
   3  norm          1.7181        1.7806        .10380E-03   -1.5446    
   4  Prefactor     .10000E-03    3.8023        .15134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          37.462        30.091        .65491E-04   -1.4483    
   7  Prefactor     .43382        98.205        .49476E-02   -1.5576    
   8  norm          .10000E-03    1.5156        .96098E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5741        6.0286        .18828E-03   -1.5280    
  10  Prefactor     113.76        74.736        .18827E-03   -1.3571    
  11  Prefactor     9.1345        54.853        .13199E-03   -1.5103    
  12  Prefactor     .10000E-03    27.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    64.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.567        27.298        .65410E-04   -1.4481    
  15  Prefactor     .10000E-03    1.5021        .95735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.9669        2.2531        .71900E-04   -1.5219    
  17  Prefactor     8.3758        11.144        .13856E-03   -1.5129    
  18  norm          2.3482        1.3545        .67043E-04   -1.5401    
  19  Prefactor     .10000E-03    68.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.7707        8.6736        .18425E-03   -1.5271    
  21  norm          .10000E-03    3.5362        .14598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.2306        .11648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1363        .27647        .33077E-03   -.88594    
  24  Prefactor     .84017        .13245        .18544E-03   -.98264    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54886e-09
Minuit parameter uncertainties:
  1  6.31407e-06
  2  60.095
  3  1.78068
  4  1.05089e-05
  5  1.34043e-05
  6  30.1036
  7  13.0745
  8  1.34822e-05
  9  6.02944
  10  74.7984
  11  44.8299
  12  0.000304118
  13  0.000591038
  14  27.307
  15  6.40131e-07
  16  2.25311
  17  11.1465
  18  1.35448
  19  0.000183603
  20  8.67585
  21  2.41583e-06
  22  1.44382e-06
  23  0.276823
  24  0.132498
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  5.910e-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:  8.402e-01  1.325e-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.136e+00  2.768e-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.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/427855/likelihoodResults_446428801_446688001_4FGL_J1214.5-2318_daily_bin799.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) = 6409.61825095
delta logL = -7.32511316528e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6409.61817777
delta logL = -6.82721292833e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0741       1.0000          .0000       10.000    
     3 'Normalizat'    1.1363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84017       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=   6409.618     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      238 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1105.1        .90712E-02** at limit **
   2  Index         2.1110        8.8884        .50000       -.56500E-05
   3  Normalizat    1.1363        .26217E-01    .74739E-01   -.17706E-04
   4  Prefactor     .84017        .12913E-01    .44238E-01   -.29365E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.11104
  Normalizat = 1.13632
  Prefactor  = 0.840169
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6158.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1110        5.1877        .50000       -.61602    
   3  Normalizat    1.1363        .39756E-01    .33077E-03   -.88594    
   4  Prefactor     .84017        .19605E-01    .18544E-03   -.98264    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.14327e-09
Minuit parameter uncertainties:
  1  0.00254888
  2  26.0303
  3  0.0397567
  4  0.0196054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/427855': 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) = 6409.61817772
delta logL = -1.82781150215e-08

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  2.549e-03  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.111e+00  2.603e+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:  8.402e-01  1.961e-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.136e+00  3.976e-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/427855/cmap_HighResolution_446428801_446688001_4FGL_J1214.5-2318_daily_bin799.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.69e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-09-05 05:11:24.275780', job_id='427855', GAL2='0.84', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1630843884.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-1.83e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='799' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:11:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 427855: <4FGL_J1214.5-2318_daily_bin799> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin799 183.625 -23.3113 446428801 446688001 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 :                                   696.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             282.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            930 sec.

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

