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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin1553
RA = 183.625, Dec = -23.3113
tmin = 641865601, tmax = 642124801
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='433698', job_status='RUN', time_executed='2021-09-05 05:11:28.682271', time_epoch_executed='1630843888.68' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='1553'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433698

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433698/ft1_4FGL_J1214.5-2318_daily_bin1553.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433698/ft2_4FGL_J1214.5-2318_daily_bin1553.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433698/ft1_4FGL_J1214.5-2318_daily_bin1553.fits outfile=/scratch/kocevski/433698/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin1553.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=641865601.0 tmax=642124801.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.54
user 4.11
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433698/ft1_filtered_4FGL_J1214.5-2318_daily_bin1553.fits" evtable="EVENTS" scfile=/scratch/kocevski/433698/ft2_4FGL_J1214.5-2318_daily_bin1553.fits sctable="SC_DATA" outfile=/scratch/kocevski/433698/ltcube_641865601_642124801_4FGL_J1214.5-2318_daily_bin1553.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/433698/ft2_4FGL_J1214.5-2318_daily_bin1553.fits
.....................!
real 11.85
user 11.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433698/ft1_filtered_4FGL_J1214.5-2318_daily_bin1553.fits evtable="EVENTS" scfile=/scratch/kocevski/433698/ft2_4FGL_J1214.5-2318_daily_bin1553.fits sctable="SC_DATA" expcube=/scratch/kocevski/433698/ltcube_641865601_642124801_4FGL_J1214.5-2318_daily_bin1553.fits outfile=/scratch/kocevski/433698/expmap_641865601_642124801_4FGL_J1214.5-2318_daily_bin1553.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/433698/ltcube_641865601_642124801_4FGL_J1214.5-2318_daily_bin1553.fits
.....................!
real 191.29
user 186.23
sys 4.66

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/433698/ft1_filtered_4FGL_J1214.5-2318_daily_bin1553.fits scfile=/scratch/kocevski/433698/ft2_4FGL_J1214.5-2318_daily_bin1553.fits outfile=/scratch/kocevski/433698/cmap_641865601_642124801_4FGL_J1214.5-2318_daily_bin1553.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433698/ft1_filtered_4FGL_J1214.5-2318_daily_bin1553.fits scfile=/scratch/kocevski/433698/ft2_4FGL_J1214.5-2318_daily_bin1553.fits outfile=/scratch/kocevski/433698/cmap_HighResolution_641865601_642124801_4FGL_J1214.5-2318_daily_bin1553.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/433698/ft1_filtered_4FGL_J1214.5-2318_daily_bin1553.fits evtable="EVENTS" scfile=/scratch/kocevski/433698/ft2_4FGL_J1214.5-2318_daily_bin1553.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433698/Model_4FGL_J1214.5-2318_daily_bin1553.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/433698/ft1_filtered_4FGL_J1214.5-2318_daily_bin1553.fits.....................!
real 75.29
user 73.73
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.301       1.0000         .10000E-03   10000.    
     3 'norm      '    .15405E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    19.669       1.0000         .10000E-03   10000.    
     7 'Prefactor '    70.687       1.0000         .10000E-03   10000.    
     8 'norm      '    4.8274       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    65.572       1.0000         .10000E-03   10000.    
    11 'Prefactor '    68.339       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4018       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .30056E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16144E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6469       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10549E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.4961       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10885E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .13658E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3123       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94432       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=   8921.575     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     3199 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.368       -.15970E-06** at limit **
   2  Prefactor     34.319        37.519        .28500E-05    .42858E-04
   3  norm          .10000E-03    .65109       -.26125E-06** at limit **
   4  Prefactor     .10000E-03    2.9127       -.57919E-07** at limit **
   5  Prefactor     .10000E-03    6.6296       -.38768E-07** at limit **
   6  norm          19.666        16.542        .10578E-06    .25946E-05
   7  Prefactor     70.703        23.035       -.23614E-06    .14664E-03
   8  norm          4.8191        6.5619        .34442E-05    .26441E-03
   9  Prefactor     .10000E-03    1.5965        .29662E-06** at limit **
  10  Prefactor     65.571        45.751       -.80771E-07    .70679E-04
  11  Prefactor     68.319        32.050       -.39357E-05   -.13951E-04
  12  Prefactor     1.3902        38.472       -.31892E-06    .11851E-03
  13  Prefactor     .10001E-03    106.83       -.60068E-05** at limit **
  14  Prefactor     .11158E-03    19.337       -.20729E-05** at limit **
  15  Prefactor     .10000E-03    1.6376       -.62120E-08** at limit **
  16  Prefactor     5.6467        2.1412        .19536E-08    .47002E-05
  17  Prefactor     .10000E-03    12.263       -.93809E-08** at limit **
  18  norm          6.4958        1.4320        .36534E-08    .93520E-04
  19  Prefactor     .10000E-03    56.763        .19203E-05** at limit **
  20  norm          .10000E-03    3.1139       -.12637E-08** at limit **
  21  norm          .10000E-03    2.6094       -.42682E-07** at limit **
  22  Prefactor     .10000E-03    1.3062       -.89169E-08** at limit **
  23  Normalizat    1.3125        .21580        .28910E-06    .13537E-03
  24  Prefactor     .94429        .10927       -.29944E-06    .19037E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 34.3188
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.6661
  Prefactor  = 70.7025
  norm       = 4.81913
  Prefactor  = 0.0001
  Prefactor  = 65.5709
  Prefactor  = 68.3187
  Prefactor  = 1.39025
  Prefactor  = 0.000100011
  Prefactor  = 0.000111584
  Prefactor  = 0.0001
  Prefactor  = 5.64675
  Prefactor  = 0.0001
  norm       = 6.49581
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.3125
  Prefactor  = 0.944286
 **********
 **   18 **HESSE 
 **********

 FCN=   8921.575     FROM HESSE     STATUS=OK           401 CALLS     3600 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     34.319        37.438        .68422E-04   -1.4536    
   3  norm          .10000E-03    1.9899        .14711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9611        .15733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.6312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          19.666        16.544        .90310E-04   -1.4821    
   7  Prefactor     70.703        23.281        .47747E-04   -1.4024    
   8  norm          4.8191        6.6140        .91548E-03   -1.5269    
   9  Prefactor     .10000E-03    1.6076        .11658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     65.571        45.564        .49561E-04   -1.4087    
  11  Prefactor     68.319        32.438        .48554E-04   -1.4053    
  12  Prefactor     1.3902        36.354        .36639E-03   -1.5472    
  13  Prefactor     .10001E-03    103.50        .42778E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11158E-03    20.632        .10554       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.6427        .11800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.6467        2.1407        .82890E-04   -1.5233    
  17  Prefactor     .10000E-03    12.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.4958        1.4314        .50857E-04   -1.5198    
  19  Prefactor     .10000E-03    56.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.1228        .16278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    8.8326        .29583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.3092        .10538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3125        .25482        .33834E-03   -.83194    
  24  Prefactor     .94429        .12925        .19939E-03   -.94610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35943e-09
Minuit parameter uncertainties:
  1  1.05613e-05
  2  37.4636
  3  1.79863e-05
  4  2.66441e-06
  5  1.19378e-06
  6  16.548
  7  23.284
  8  6.61495
  9  1.68259e-05
  10  45.5878
  11  32.4463
  12  14.2277
  13  0.00215207
  14  0.0309298
  15  2.84737e-07
  16  2.1407
  17  2.12551e-06
  18  1.43137
  19  2.42725e-05
  20  2.81645e-07
  21  3.32726e-05
  22  1.09967e-10
  23  0.255064
  24  0.129295
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  9.443e-01  1.293e-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.312e+00  2.551e-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: 7.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433698/likelihoodResults_641865601_642124801_4FGL_J1214.5-2318_daily_bin1553.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) = 8921.57456399
delta logL = -4.59610637336e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8921.57456398
delta logL = -4.59594648419e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96361E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1242       1.0000          .0000       10.000    
     3 'Normalizat'    1.3125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94429       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=   8921.575     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      212 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    23.011        .90712E-02** at limit **
   2  Index         2.1974        5.4066        .50000       -.49334E-05
   3  Normalizat    1.3125        .23662E-02    .76446E-01   -.74319E-04
   4  Prefactor     .94429        .12122E-02    .45567E-01   -.20977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100029
  Index      = 2.19736
  Normalizat = 1.3125
  Prefactor  = 0.944285
 **********
 **   18 **HESSE 
 **********

 FCN=   8921.575     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      243 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    929.80        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1974        8.4139        .50000       -.59502    
   3  Normalizat    1.3125        .15083E-01    .33833E-03   -.83194    
   4  Prefactor     .94429        .77359E-02    .19939E-03   -.94610    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.65353e-08
Minuit parameter uncertainties:
  1  0.0104661
  2  170.519
  3  0.0150831
  4  0.00773595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433698': 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) = 8921.57451793
delta logL = 9.6149960882e-08

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  1.047e-02  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.197e+00  1.705e+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:  9.443e-01  7.736e-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.312e+00  1.508e-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/433698/cmap_HighResolution_641865601_642124801_4FGL_J1214.5-2318_daily_bin1553.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.55e-03', job_status='DONE', photon_flux_upper_limit='7.32e-08', time_completed='2021-09-05 05:26:50.826665', job_id='433698', GAL2='0.94', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1630844810.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.61e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1553' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:26:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 433698: <4FGL_J1214.5-2318_daily_bin1553> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin1553> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 05:10:54 2021
Job was executed on host(s) <bullet0121>, 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:26:51 2021
Results reported at Sun Sep  5 05:26:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin1553 183.625 -23.3113 641865601 642124801 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 :                                   916.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

