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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin1561
RA = 183.625, Dec = -23.3113
tmin = 643939201, tmax = 644198401
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='433706', job_status='RUN', time_executed='2021-09-05 05:13:05.440699', time_epoch_executed='1630843985.44' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='1561'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433706

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433706/ft1_4FGL_J1214.5-2318_daily_bin1561.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433706/ft2_4FGL_J1214.5-2318_daily_bin1561.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433706/ft1_4FGL_J1214.5-2318_daily_bin1561.fits outfile=/scratch/kocevski/433706/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin1561.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=643939201.0 tmax=644198401.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.46
user 4.17
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433706/ft2_4FGL_J1214.5-2318_daily_bin1561.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/433706/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin1561.fits evtable="EVENTS" outfile="/scratch/kocevski/433706/ft1_filtered_4FGL_J1214.5-2318_daily_bin1561.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.61
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433706/ft1_filtered_4FGL_J1214.5-2318_daily_bin1561.fits" evtable="EVENTS" scfile=/scratch/kocevski/433706/ft2_4FGL_J1214.5-2318_daily_bin1561.fits sctable="SC_DATA" outfile=/scratch/kocevski/433706/ltcube_643939201_644198401_4FGL_J1214.5-2318_daily_bin1561.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/433706/ft2_4FGL_J1214.5-2318_daily_bin1561.fits
.....................!
real 12.59
user 12.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433706/ft1_filtered_4FGL_J1214.5-2318_daily_bin1561.fits evtable="EVENTS" scfile=/scratch/kocevski/433706/ft2_4FGL_J1214.5-2318_daily_bin1561.fits sctable="SC_DATA" expcube=/scratch/kocevski/433706/ltcube_643939201_644198401_4FGL_J1214.5-2318_daily_bin1561.fits outfile=/scratch/kocevski/433706/expmap_643939201_644198401_4FGL_J1214.5-2318_daily_bin1561.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/433706/ltcube_643939201_644198401_4FGL_J1214.5-2318_daily_bin1561.fits
.....................!
real 194.47
user 187.53
sys 5.95

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/433706/ft1_filtered_4FGL_J1214.5-2318_daily_bin1561.fits scfile=/scratch/kocevski/433706/ft2_4FGL_J1214.5-2318_daily_bin1561.fits outfile=/scratch/kocevski/433706/cmap_643939201_644198401_4FGL_J1214.5-2318_daily_bin1561.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.58
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433706/ft1_filtered_4FGL_J1214.5-2318_daily_bin1561.fits scfile=/scratch/kocevski/433706/ft2_4FGL_J1214.5-2318_daily_bin1561.fits outfile=/scratch/kocevski/433706/cmap_HighResolution_643939201_644198401_4FGL_J1214.5-2318_daily_bin1561.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/433706/ft1_filtered_4FGL_J1214.5-2318_daily_bin1561.fits evtable="EVENTS" scfile=/scratch/kocevski/433706/ft2_4FGL_J1214.5-2318_daily_bin1561.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433706/Model_4FGL_J1214.5-2318_daily_bin1561.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/433706/ft1_filtered_4FGL_J1214.5-2318_daily_bin1561.fits.....................!
real 49.38
user 47.82
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7984       1.0000         .10000E-03   10000.    
     2 'Prefactor '    93.936       1.0000         .10000E-03   10000.    
     3 'norm      '    3.2634       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9137       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3579       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.0142       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1187       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.232       1.0000         .10000E-03   10000.    
    11 'Prefactor '    37.922       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.973       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.908       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.2353       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    68.519       1.0000         .10000E-03   10000.    
    20 'norm      '    2.6461       1.0000         .10000E-03   10000.    
    21 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.4474       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5604       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .75236       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=   5048.775     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2708 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8085        39.559       -.23522E-05    .69009E-05
   2  Prefactor     93.929        83.021        .78161E-06    .38979E-05
   3  norm          3.2636        2.3654        .17069E-07    .62753E-04
   4  Prefactor     4.9143        6.1418        .11310E-05   -.15281E-04
   5  Prefactor     6.3496        39.633        .83566E-06   -.31548E-05
   6  norm          .10000E-03    17.770        .18277E-07** at limit **
   7  Prefactor     .10000E-03    7.9204       -.82510E-07** at limit **
   8  norm          7.0142        5.5982       -.15329E-07   -.35149E-05
   9  Prefactor     1.1191        6.4739        .53550E-06   -.47157E-04
  10  Prefactor     26.226        54.741        .11031E-05   -.23873E-05
  11  Prefactor     37.922        30.457       -.20633E-07    .91449E-05
  12  Prefactor     28.972        30.190        .10097E-06    .19372E-05
  13  Prefactor     .10000E-03    35.132       -.27092E-06** at limit **
  14  Prefactor     12.907        32.132        .55898E-06    .10020E-04
  15  Prefactor     .10000E-03    3.5666       -.56783E-08** at limit **
  16  Prefactor     8.2354        3.1509       -.31829E-07    .28871E-05
  17  Prefactor     .10000E-03    5.0147       -.10092E-06** at limit **
  18  norm          .10000E-03    .79888       -.27059E-06** at limit **
  19  Prefactor     68.495        91.957        .28619E-05    .85899E-05
  20  norm          2.6461        9.9560        .60259E-05   -.32458E-05
  21  norm          .10000E-03    4.3004       -.48120E-06** at limit **
  22  Prefactor     7.4472        7.2006       -.17087E-06    .56631E-04
  23  Normalizat    1.5604        .29380       -.10577E-05    .73388E-04
  24  Prefactor     .75236        .13769        .12760E-06    .17417E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.80849
  Prefactor  = 93.9291
  norm       = 3.26357
  Prefactor  = 4.91433
  Prefactor  = 6.34962
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.01421
  Prefactor  = 1.11908
  Prefactor  = 26.2262
  Prefactor  = 37.9222
  Prefactor  = 28.9719
  Prefactor  = 0.0001
  Prefactor  = 12.907
  Prefactor  = 0.0001
  Prefactor  = 8.23542
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 68.4946
  norm       = 2.64608
  norm       = 0.0001
  Prefactor  = 7.44716
  Normalizat = 1.5604
  Prefactor  = 0.752359
 **********
 **   18 **HESSE 
 **********

 FCN=   5048.775     FROM HESSE     STATUS=OK           405 CALLS     3113 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8085        39.556        .18366E-03   -1.5269    
   2  Prefactor     93.929        83.050        .20733E-03   -1.3767    
   3  norm          3.2636        2.3682        .87794E-04   -1.5347    
   4  Prefactor     4.9143        6.1239        .90724E-03   -1.5265    
   5  Prefactor     6.3496        39.482        .15918E-03   -1.5204    
   6  norm          .10000E-03    17.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.9298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.0142        5.5973        .14289E-03   -1.5178    
   9  Prefactor     1.1191        6.3999        .33865E-03   -1.5496    
  10  Prefactor     26.226        54.684        .78215E-04   -1.4683    
  11  Prefactor     37.922        30.297        .65084E-04   -1.4476    
  12  Prefactor     28.972        30.182        .74431E-04   -1.4631    
  13  Prefactor     .10000E-03    35.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.907        32.143        .11149E-03   -1.4989    
  15  Prefactor     .10000E-03    3.5855        .13100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.2354        3.1508        .37892E-03   -1.5134    
  17  Prefactor     .10000E-03    5.0180        .15542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.2902        .12186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     68.495        91.981        .48491E-04   -1.4051    
  20  norm          2.6461        9.9738        .12531E-02   -1.5383    
  21  norm          .10000E-03    4.3394        .14410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.4472        7.1804        .14696E-03   -1.5162    
  23  Normalizat    1.5604        .34833        .31988E-03   -.76095    
  24  Prefactor     .75236        .16354        .20726E-03   -1.0151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14757e-10
Minuit parameter uncertainties:
  1  27.6074
  2  83.1529
  3  2.3683
  4  6.12463
  5  31.6976
  6  5.55949e-06
  7  1.2422e-05
  8  5.59775
  9  5.353
  10  54.7892
  11  30.3098
  12  30.1981
  13  6.18984e-05
  14  32.1861
  15  6.79842e-07
  16  3.15084
  17  8.96871e-06
  18  8.83837e-06
  19  92.1731
  20  9.98005
  21  5.34035e-05
  22  7.18127
  23  0.348866
  24  0.163641
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  6.190e-05  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.124e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  2.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  7.524e-01  1.636e-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.560e+00  3.489e-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.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433706/likelihoodResults_643939201_644198401_4FGL_J1214.5-2318_daily_bin1561.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) = 5048.77500679
delta logL = -0.000135454303745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5048.77487162
delta logL = -2.84675479634e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3094       1.0000          .0000       10.000    
     3 'Normalizat'    1.5604       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75236       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=   5048.775     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      243 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.660        .90712E-02** at limit **
   2  Index         2.2834        5.5092        .50000        .68863E-05
   3  Normalizat    1.5604        .53135E-02    .72299E-01    .74976E-05
   4  Prefactor     .75236        .25104E-02    .43094E-01    .89453E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.28342
  Normalizat = 1.5604
  Prefactor  = 0.752359
 **********
 **   18 **HESSE 
 **********

 FCN=   5048.775     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      276 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    118.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2834        5.5688        .50000       -.57438    
   3  Normalizat    1.5604        .14675E-01    .31988E-03   -.76095    
   4  Prefactor     .75236        .69372E-02    .20726E-03   -1.0151    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.63442e-08
Minuit parameter uncertainties:
  1  0.000314288
  2  165.329
  3  0.0146748
  4  0.00693722
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433706': 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) = 5048.77487153
delta logL = -1.97689587367e-07

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  3.143e-04  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.283e+00  1.653e+02  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:  7.524e-01  6.937e-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.560e+00  1.467e-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/433706/cmap_HighResolution_643939201_644198401_4FGL_J1214.5-2318_daily_bin1561.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.38e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-05 05:23:35.505231', job_id='433706', GAL2='0.75', fit_tolerance='1e-08', EG2='1.56', EG='1.56', time_epoch_completed='1630844615.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='-1.98e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1561' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:23:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 433706: <4FGL_J1214.5-2318_daily_bin1561> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin1561> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 05:10:55 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 05:10:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 05:10:56 2021
Terminated at Sun Sep  5 05:23:35 2021
Results reported at Sun Sep  5 05:23:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin1561 183.625 -23.3113 643939201 644198401 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 :                                   615.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            760 sec.

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

