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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin485
RA = 183.625, Dec = -23.3113
tmin = 365040001, tmax = 365299201
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='425881', job_status='RUN', time_executed='2021-09-05 04:54:46.355253', time_epoch_executed='1630842886.36' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/425881

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/425881/ft1_4FGL_J1214.5-2318_daily_bin485.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/425881/ft2_4FGL_J1214.5-2318_daily_bin485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/425881/ft1_4FGL_J1214.5-2318_daily_bin485.fits outfile=/scratch/kocevski/425881/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin485.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=365040001.0 tmax=365299201.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.60
user 3.42
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/425881/ft2_4FGL_J1214.5-2318_daily_bin485.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/425881/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin485.fits evtable="EVENTS" outfile="/scratch/kocevski/425881/ft1_filtered_4FGL_J1214.5-2318_daily_bin485.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/425881/ft1_filtered_4FGL_J1214.5-2318_daily_bin485.fits" evtable="EVENTS" scfile=/scratch/kocevski/425881/ft2_4FGL_J1214.5-2318_daily_bin485.fits sctable="SC_DATA" outfile=/scratch/kocevski/425881/ltcube_365040001_365299201_4FGL_J1214.5-2318_daily_bin485.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/425881/ft2_4FGL_J1214.5-2318_daily_bin485.fits
.....................!
real 11.72
user 11.35
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/425881/ft1_filtered_4FGL_J1214.5-2318_daily_bin485.fits evtable="EVENTS" scfile=/scratch/kocevski/425881/ft2_4FGL_J1214.5-2318_daily_bin485.fits sctable="SC_DATA" expcube=/scratch/kocevski/425881/ltcube_365040001_365299201_4FGL_J1214.5-2318_daily_bin485.fits outfile=/scratch/kocevski/425881/expmap_365040001_365299201_4FGL_J1214.5-2318_daily_bin485.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/425881/ltcube_365040001_365299201_4FGL_J1214.5-2318_daily_bin485.fits
.....................!
real 189.81
user 185.13
sys 4.26

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/425881/ft1_filtered_4FGL_J1214.5-2318_daily_bin485.fits scfile=/scratch/kocevski/425881/ft2_4FGL_J1214.5-2318_daily_bin485.fits outfile=/scratch/kocevski/425881/cmap_365040001_365299201_4FGL_J1214.5-2318_daily_bin485.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/425881/ft1_filtered_4FGL_J1214.5-2318_daily_bin485.fits scfile=/scratch/kocevski/425881/ft2_4FGL_J1214.5-2318_daily_bin485.fits outfile=/scratch/kocevski/425881/cmap_HighResolution_365040001_365299201_4FGL_J1214.5-2318_daily_bin485.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/425881/ft1_filtered_4FGL_J1214.5-2318_daily_bin485.fits evtable="EVENTS" scfile=/scratch/kocevski/425881/ft2_4FGL_J1214.5-2318_daily_bin485.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/425881/Model_4FGL_J1214.5-2318_daily_bin485.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/425881/ft1_filtered_4FGL_J1214.5-2318_daily_bin485.fits.....................!
real 56.33
user 55.00
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.561       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.455       1.0000         .10000E-03   10000.    
     3 'norm      '    3.6151       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    17.618       1.0000         .10000E-03   10000.    
     7 'Prefactor '    66.685       1.0000         .10000E-03   10000.    
     8 'norm      '    .91619E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4894       1.0000         .10000E-03   10000.    
    10 'Prefactor '    138.59       1.0000         .10000E-03   10000.    
    11 'Prefactor '    37.022       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.123       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.2778       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.4672       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11271E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    43.840       1.0000         .10000E-03   10000.    
    21 'norm      '    10.354       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3345       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83886       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=   6556.912     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     2814 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.566        12.356        .20526E-06   -.32330E-03
   2  Prefactor     17.397        66.038        .18754E-05   -.12078E-03
   3  norm          3.6154        2.1761       -.28820E-07   -.81536E-04
   4  Prefactor     .10000E-03    3.4643        .55221E-06** at limit **
   5  Prefactor     .10000E-03    12.219        .20138E-06** at limit **
   6  norm          17.625        24.888        .48866E-07    .15847E-04
   7  Prefactor     66.606        25.161       -.96497E-06   -.35942E-03
   8  norm          .10000E-03    17.034        .98320E-05** at limit **
   9  Prefactor     4.4891        5.5493        .12814E-06    .32759E-03
  10  Prefactor     138.61        82.355       -.61826E-06    .91654E-04
  11  Prefactor     37.017        45.728        .84735E-08   -.17271E-04
  12  Prefactor     .10000E-03    15.417        .34197E-06** at limit **
  13  Prefactor     .10000E-03    43.267        .42122E-06** at limit **
  14  Prefactor     27.128        37.423        .39070E-07   -.30363E-05
  15  Prefactor     .10000E-03    3.1118        .14975E-07** at limit **
  16  Prefactor     9.2781        3.2391        .72433E-08   -.15305E-04
  17  Prefactor     .10000E-03    18.197        .83517E-07** at limit **
  18  norm          1.4674        1.2328        .41523E-07    .77382E-03
  19  Prefactor     .10000E-03    373.67        .19555E-06** at limit **
  20  norm          43.842        18.415       -.82618E-07    .20485E-03
  21  norm          10.353        7.8114        .52796E-07    .62981E-04
  22  Prefactor     .10000E-03    3.8792       -.12765E-07** at limit **
  23  Normalizat    1.3345        .27642        .41014E-06   -.25148E-04
  24  Prefactor     .83881        .13007       -.39635E-06   -.14582E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.5664
  Prefactor  = 17.3966
  norm       = 3.61543
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 17.6248
  Prefactor  = 66.6057
  norm       = 0.0001
  Prefactor  = 4.48908
  Prefactor  = 138.612
  Prefactor  = 37.017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.1281
  Prefactor  = 0.0001
  Prefactor  = 9.27809
  Prefactor  = 0.0001
  norm       = 1.46736
  Prefactor  = 0.000100001
  norm       = 43.8424
  norm       = 10.3535
  Prefactor  = 0.0001
  Normalizat = 1.33446
  Prefactor  = 0.838812
 **********
 **   18 **HESSE 
 **********

 FCN=   6556.912     FROM HESSE     STATUS=OK           397 CALLS     3211 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.566        12.369        .11302E-03   -1.4999    
   2  Prefactor     17.397        66.306        .95864E-04   -1.4874    
   3  norm          3.6154        2.1750        .88218E-04   -1.5328    
   4  Prefactor     .10000E-03    11.645        .28972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          17.625        24.915        .95420E-04   -1.4868    
   7  Prefactor     66.606        25.349        .49149E-04   -1.4074    
   8  norm          .10000E-03    17.082        .37259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4891        5.5368        .19002E-03   -1.5284    
  10  Prefactor     138.61        82.489        .17108E-03   -1.3348    
  11  Prefactor     37.017        45.619        .65868E-04   -1.4490    
  12  Prefactor     .10000E-03    15.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    43.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.128        37.459        .76923E-04   -1.4666    
  15  Prefactor     .10000E-03    3.1232        .13944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.2781        3.2389        .83372E-04   -1.5099    
  17  Prefactor     .10000E-03    18.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.4674        1.2179        .78100E-04   -1.5466    
  19  Prefactor     .10000E-03    375.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          43.842        18.422        .60549E-04   -1.4383    
  21  norm          10.353        7.7742        .12452E-03   -1.5064    
  22  Prefactor     .10000E-03    3.9076        .15529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3345        .32688        .35674E-03   -.82543    
  24  Prefactor     .83881        .15432        .20937E-03   -.98313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02751e-09
Minuit parameter uncertainties:
  1  12.3713
  2  66.5889
  3  2.17502
  4  0.000154894
  5  0.00010415
  6  24.9301
  7  25.3532
  8  2.14058e-05
  9  5.53739
  10  82.5579
  11  45.6622
  12  0.000127454
  13  0.000289648
  14  37.491
  15  1.50078e-06
  16  3.23897
  17  6.02563e-05
  18  1.21794
  19  0.000972101
  20  18.4241
  21  7.77497
  22  1.28258e-05
  23  0.32739
  24  0.154401
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  2.896e-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.388e-01  1.544e-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.334e+00  3.274e-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.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/425881/likelihoodResults_365040001_365299201_4FGL_J1214.5-2318_daily_bin485.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) = 6556.91212636
delta logL = -0.000109438815343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6556.91202045
delta logL = -3.53168707079e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39086E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2135       1.0000          .0000       10.000    
     3 'Normalizat'    1.3345       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83881       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=   6556.912     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      230 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.264        .10637E-01** at limit **
   2  Index         2.2131        5.9112        .50000        .32045E-05
   3  Normalizat    1.3345        .40134E-02    .80589E-01   -.33510E-04
   4  Prefactor     .83881        .19274E-02    .44220E-01    .65649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.21306
  Normalizat = 1.33446
  Prefactor  = 0.838814
 **********
 **   18 **HESSE 
 **********

 FCN=   6556.912     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      263 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    88.066        .21274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2131        6.3622        .50000       -.59124    
   3  Normalizat    1.3345        .99338E-02    .35674E-03   -.82544    
   4  Prefactor     .83881        .47763E-02    .20937E-03   -.98313    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.95515e-09
Minuit parameter uncertainties:
  1  0.000722014
  2  88.7846
  3  0.00993378
  4  0.00477634
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/425881': 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) = 6556.91201697
delta logL = -4.94273990626e-08

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  7.220e-04  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.213e+00  8.878e+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.388e-01  4.776e-03  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.334e+00  9.934e-03  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/425881/cmap_HighResolution_365040001_365299201_4FGL_J1214.5-2318_daily_bin485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.34e-03', job_status='DONE', photon_flux_upper_limit='8.36e-08', time_completed='2021-09-05 05:06:39.510566', job_id='425881', GAL2='0.84', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1630843599.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-4.94e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='485' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:06:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 425881: <4FGL_J1214.5-2318_daily_bin485> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin485> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep  5 04:50:58 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:50:59 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:50:59 2021
Terminated at Sun Sep  5 05:06:40 2021
Results reported at Sun Sep  5 05:06:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin485 183.625 -23.3113 365040001 365299201 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 :                                   705.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             252.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            942 sec.

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

