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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin1432
RA = 183.625, Dec = -23.3113
tmin = 610502401, tmax = 610761601
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='433509', job_status='RUN', time_executed='2021-09-05 05:12:01.893520', time_epoch_executed='1630843921.89' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='1432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433509

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433509/ft1_4FGL_J1214.5-2318_daily_bin1432.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433509/ft2_4FGL_J1214.5-2318_daily_bin1432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433509/ft1_4FGL_J1214.5-2318_daily_bin1432.fits outfile=/scratch/kocevski/433509/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin1432.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=610502401.0 tmax=610761601.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.57
user 3.35
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433509/ft1_filtered_4FGL_J1214.5-2318_daily_bin1432.fits" evtable="EVENTS" scfile=/scratch/kocevski/433509/ft2_4FGL_J1214.5-2318_daily_bin1432.fits sctable="SC_DATA" outfile=/scratch/kocevski/433509/ltcube_610502401_610761601_4FGL_J1214.5-2318_daily_bin1432.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/433509/ft2_4FGL_J1214.5-2318_daily_bin1432.fits
.....................!
real 12.52
user 12.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433509/ft1_filtered_4FGL_J1214.5-2318_daily_bin1432.fits evtable="EVENTS" scfile=/scratch/kocevski/433509/ft2_4FGL_J1214.5-2318_daily_bin1432.fits sctable="SC_DATA" expcube=/scratch/kocevski/433509/ltcube_610502401_610761601_4FGL_J1214.5-2318_daily_bin1432.fits outfile=/scratch/kocevski/433509/expmap_610502401_610761601_4FGL_J1214.5-2318_daily_bin1432.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/433509/ltcube_610502401_610761601_4FGL_J1214.5-2318_daily_bin1432.fits
.....................!
real 191.45
user 186.27
sys 4.62

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/433509/ft1_filtered_4FGL_J1214.5-2318_daily_bin1432.fits scfile=/scratch/kocevski/433509/ft2_4FGL_J1214.5-2318_daily_bin1432.fits outfile=/scratch/kocevski/433509/cmap_610502401_610761601_4FGL_J1214.5-2318_daily_bin1432.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433509/ft1_filtered_4FGL_J1214.5-2318_daily_bin1432.fits scfile=/scratch/kocevski/433509/ft2_4FGL_J1214.5-2318_daily_bin1432.fits outfile=/scratch/kocevski/433509/cmap_HighResolution_610502401_610761601_4FGL_J1214.5-2318_daily_bin1432.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4321       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.264       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3487       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .24108E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    24.005       1.0000         .10000E-03   10000.    
     7 'Prefactor '    50.286       1.0000         .10000E-03   10000.    
     8 'norm      '    6.1424       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.417       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .30800       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4818       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.0638       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .37642       1.0000         .10000E-03   10000.    
    18 'norm      '    .24567       1.0000         .10000E-03   10000.    
    19 'Prefactor '    134.72       1.0000         .10000E-03   10000.    
    20 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .25919E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3547       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82974       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=   8082.631     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2779 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4320        8.0512       -.11621E-08   -.34164E-05
   2  Prefactor     22.235        50.941        .54828E-05   -.99310E-05
   3  norm          1.3486        1.1240       -.58895E-07   -.31972E-04
   4  Prefactor     .10000E-03    3.6370        .12372E-06** at limit **
   5  Prefactor     .10000E-03    6.6413       -.29927E-07** at limit **
   6  norm          24.004        16.849        .85837E-07    .25804E-06
   7  Prefactor     50.286        20.092        .29443E-06   -.14489E-04
   8  norm          6.1415        5.3176        .26860E-06   -.18436E-04
   9  Prefactor     .10000E-03    1.4780        .40859E-06** at limit **
  10  Prefactor     .10000E-03    30.585       -.59455E-07** at limit **
  11  Prefactor     10.432        28.534       -.44347E-05   -.30485E-04
  12  Prefactor     .10000E-03    5.0619        .24098E-07** at limit **
  13  Prefactor     .10000E-03    9.9145       -.20541E-06** at limit **
  14  Prefactor     .15886        10.573        .46522E-06   -.11277E-04
  15  Prefactor     3.4803        7.1929        .40687E-05   -.34547E-04
  16  Prefactor     7.0635        3.1254       -.52556E-06   -.10179E-05
  17  Prefactor     .37200        5.2658        .34776E-06   -.10863E-03
  18  norm          .24530        .70352        .22606E-06   -.22225E-03
  19  Prefactor     134.73        72.664       -.94612E-06   -.70711E-04
  20  norm          .10000E-03    9.3675        .17325E-06** at limit **
  21  norm          .10000E-03    2.4621        .66921E-06** at limit **
  22  Prefactor     .10000E-03    1.3678        .30013E-07** at limit **
  23  Normalizat    1.3549        .21674       -.72435E-06   -.12538E-03
  24  Prefactor     .82978        .10440        .12536E-06   -.21342E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.43204
  Prefactor  = 22.2346
  norm       = 1.34861
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.0037
  Prefactor  = 50.2857
  norm       = 6.14149
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4317
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.158857
  Prefactor  = 3.48033
  Prefactor  = 7.06346
  Prefactor  = 0.371997
  norm       = 0.245305
  Prefactor  = 134.728
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.35485
  Prefactor  = 0.829776
 **********
 **   18 **HESSE 
 **********

 FCN=   8082.631     FROM HESSE     STATUS=OK           415 CALLS     3194 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4320        8.0483        .15825E-03   -1.5201    
   2  Prefactor     22.235        50.849        .84890E-04   -1.4765    
   3  norm          1.3486        1.1242        .37687E-04   -1.5476    
   4  Prefactor     .10000E-03    16.449        .32617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.6420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          24.004        16.852        .81757E-04   -1.4728    
   7  Prefactor     50.286        20.095        .56552E-04   -1.4289    
   8  norm          6.1415        5.3066        .16019E-03   -1.5212    
   9  Prefactor     .10000E-03    1.4926        .10697E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    30.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.432        28.660        .12414E-03   -1.5062    
  12  Prefactor     .10000E-03    5.0643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.9170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .15886        11.471        .97009E-01   -1.5628    
  15  Prefactor     3.4803        7.2247        .10835E-02   -1.5335    
  16  Prefactor     7.0635        3.1289        .92012E-04   -1.5176    
  17  Prefactor     .37200        41.635        .39600E-02   -1.5586    
  18  norm          .24530        .84906        .11943E-02   -1.5609    
  19  Prefactor     134.73        71.157        .17349E-03   -1.3381    
  20  norm          .10000E-03    9.5234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    6.5105        .26594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.3701        .10265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3549        .25441        .31228E-03   -.81943    
  24  Prefactor     .82978        .12441        .19268E-03   -.98640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49891e-08
Minuit parameter uncertainties:
  1  8.04966
  2  50.9486
  3  1.1242
  4  5.34177e-05
  5  7.09473e-07
  6  16.8549
  7  20.0973
  8  5.30704
  9  2.13122e-05
  10  3.75157e-05
  11  28.6977
  12  5.94659e-07
  13  3.43514e-06
  14  2.69951
  15  7.22649
  16  3.12894
  17  7.87552
  18  0.849097
  19  71.2024
  20  7.90417e-06
  21  8.92664e-05
  22  7.68034e-07
  23  0.254649
  24  0.124454
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  3.435e-06  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.298e-01  1.245e-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.355e+00  2.546e-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: 4.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433509/likelihoodResults_610502401_610761601_4FGL_J1214.5-2318_daily_bin1432.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) = 8082.63155638
delta logL = -0.000478977521198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8082.63107745
delta logL = -5.51308403374e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0975       1.0000          .0000       10.000    
     3 'Normalizat'    1.3550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82972       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=   8082.631     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      248 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10539E-03    3.1003        .18142E-01** at limit **
   2  Index         1.9569        8.7540        .50000        .16168E-04
   3  Normalizat    1.3549        .27864E-02    .31228E-03    .71719E-05
   4  Prefactor     .82978        .13919E-02    .19268E-03    .87914E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105385
  Index      = 1.95693
  Normalizat = 1.35485
  Prefactor  = 0.829776
 **********
 **   18 **HESSE 
 **********

 FCN=   8082.631     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      277 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10539E-03    86.106        .30034E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9569        7.3599        .50000       -.65431    
   3  Normalizat    1.3549        .14806E-01    .12491E-04   -.81943    
   4  Prefactor     .82978        .73963E-02    .77073E-05   -.98640    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.24037e-08
Minuit parameter uncertainties:
  1  0.0431304
  2  469.67
  3  0.0148063
  4  0.00739634
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433509': 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) = 8082.63107686
delta logL = 5.40490873391e-07

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.054e-04  4.313e-02  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  1.957e+00  4.697e+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:  8.298e-01  7.396e-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.355e+00  1.481e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/433509/cmap_HighResolution_610502401_610761601_4FGL_J1214.5-2318_daily_bin1432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.42e-03', job_status='DONE', photon_flux_upper_limit='4.52e-08', time_completed='2021-09-05 05:25:53.916315', job_id='433509', GAL2='0.83', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1630844753.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='5.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1432' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:25:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 433509: <4FGL_J1214.5-2318_daily_bin1432> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin1432> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 05:10:41 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 05:10:43 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:43 2021
Terminated at Sun Sep  5 05:25:54 2021
Results reported at Sun Sep  5 05:25:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin1432 183.625 -23.3113 610502401 610761601 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 :                                   820.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

