/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 = 7717
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1214.5-2318_daily_bin764
RA = 183.625, Dec = -23.3113
tmin = 437356801, tmax = 437616001
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='427811', job_status='RUN', time_executed='2021-09-05 04:57:18.763335', time_epoch_executed='1630843038.76' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/427811

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/427811/ft1_4FGL_J1214.5-2318_daily_bin764.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/427811/ft2_4FGL_J1214.5-2318_daily_bin764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/427811/ft1_4FGL_J1214.5-2318_daily_bin764.fits outfile=/scratch/kocevski/427811/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin764.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=437356801.0 tmax=437616001.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 5.54
user 5.26
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/427811/ft1_filtered_4FGL_J1214.5-2318_daily_bin764.fits" evtable="EVENTS" scfile=/scratch/kocevski/427811/ft2_4FGL_J1214.5-2318_daily_bin764.fits sctable="SC_DATA" outfile=/scratch/kocevski/427811/ltcube_437356801_437616001_4FGL_J1214.5-2318_daily_bin764.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/427811/ft2_4FGL_J1214.5-2318_daily_bin764.fits
.....................!
real 12.35
user 12.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/427811/ft1_filtered_4FGL_J1214.5-2318_daily_bin764.fits evtable="EVENTS" scfile=/scratch/kocevski/427811/ft2_4FGL_J1214.5-2318_daily_bin764.fits sctable="SC_DATA" expcube=/scratch/kocevski/427811/ltcube_437356801_437616001_4FGL_J1214.5-2318_daily_bin764.fits outfile=/scratch/kocevski/427811/expmap_437356801_437616001_4FGL_J1214.5-2318_daily_bin764.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/427811/ltcube_437356801_437616001_4FGL_J1214.5-2318_daily_bin764.fits
.....................!
real 190.74
user 185.34
sys 4.99

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/427811/ft1_filtered_4FGL_J1214.5-2318_daily_bin764.fits scfile=/scratch/kocevski/427811/ft2_4FGL_J1214.5-2318_daily_bin764.fits outfile=/scratch/kocevski/427811/cmap_437356801_437616001_4FGL_J1214.5-2318_daily_bin764.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.62
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/427811/ft1_filtered_4FGL_J1214.5-2318_daily_bin764.fits scfile=/scratch/kocevski/427811/ft2_4FGL_J1214.5-2318_daily_bin764.fits outfile=/scratch/kocevski/427811/cmap_HighResolution_437356801_437616001_4FGL_J1214.5-2318_daily_bin764.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0359       1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.128       1.0000         .10000E-03   10000.    
     3 'norm      '    .10142E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9074       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.0662       1.0000         .10000E-03   10000.    
     8 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24438E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    86.689       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.472       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15164E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2637       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9500       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.8051       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.138       1.0000         .10000E-03   10000.    
    18 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .20126E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .91599E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    6.5219       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10416E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4315       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98547       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=   6601.989     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     2877 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0292        18.118        .83755E-06   -.99591E-05
   2  Prefactor     33.178        63.029       -.40033E-07   -.20430E-04
   3  norm          .10000E-03    1.0745        .71401E-06** at limit **
   4  Prefactor     2.9084        5.5620        .78307E-06   -.38094E-04
   5  Prefactor     .10000E-03    18.195       -.31427E-07** at limit **
   6  norm          .10000E-03    6.6691        .66851E-07** at limit **
   7  Prefactor     8.0814        17.251        .61180E-06   -.46216E-04
   8  norm          .10000E-03    6.7362       -.37233E-06** at limit **
   9  Prefactor     .10001E-03    6.0181        .25710E-06** at limit **
  10  Prefactor     86.626        102.12       -.80158E-05   -.12338E-03
  11  Prefactor     16.442        45.701        .76401E-06    .13714E-04
  12  Prefactor     .10000E-03    45.928       -.98202E-05** at limit **
  13  Prefactor     2.0118        1068.0        .87648E-05   -.37994E-04
  14  Prefactor     .10000E-03    70.091        .19205E-05** at limit **
  15  Prefactor     2.9480        4.5657        .49255E-05   -.11211E-03
  16  Prefactor     3.8052        2.0829       -.23183E-06   -.79812E-05
  17  Prefactor     19.144        16.244       -.30069E-07   -.60998E-04
  18  norm          .10000E-03    .44477        .39108E-06** at limit **
  19  Prefactor     .10008E-03    416.07        .71748E-05** at limit **
  20  norm          .10120E-03    10.642       -.88695E-06** at limit **
  21  norm          6.5120        7.0343        .82983E-06   -.68060E-04
  22  Prefactor     .10000E-03    3.8086       -.21447E-06** at limit **
  23  Normalizat    1.4315        .27805       -.30635E-05   -.17840E-03
  24  Prefactor     .98548        .12966       -.51310E-07   -.45844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.0292
  Prefactor  = 33.1785
  norm       = 0.0001
  Prefactor  = 2.90843
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.08144
  norm       = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 86.6256
  Prefactor  = 16.4422
  Prefactor  = 0.000100001
  Prefactor  = 2.01179
  Prefactor  = 0.0001
  Prefactor  = 2.94798
  Prefactor  = 3.8052
  Prefactor  = 19.1445
  norm       = 0.0001
  Prefactor  = 0.000100084
  norm       = 0.000101198
  norm       = 6.51199
  Prefactor  = 0.0001
  Normalizat = 1.43151
  Prefactor  = 0.985483
 **********
 **   18 **HESSE 
 **********

 FCN=   6601.989     FROM HESSE     STATUS=OK           413 CALLS     3290 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0292        18.130        .17919E-03   -1.5259    
   2  Prefactor     33.178        62.462        .69620E-04   -1.4555    
   3  norm          .10000E-03    1.7688        .16146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9084        5.5416        .23829E-03   -1.5367    
   5  Prefactor     .10000E-03    18.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.6696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.0814        17.126        .14117E-03   -1.5139    
   8  norm          .10000E-03    6.8019        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    24.179        .34540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     86.626        100.89        .21575E-03   -1.3844    
  11  Prefactor     16.442        41.981        .98683E-04   -1.4897    
  12  Prefactor     .10000E-03    45.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.0118        1104.5        .27301E-02   -1.5424    
  14  Prefactor     .10000E-03    70.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9480        4.5597        .10440E-02   -1.5365    
  16  Prefactor     3.8052        2.0823        .83841E-04   -1.5318    
  17  Prefactor     19.144        16.247        .91554E-04   -1.4833    
  18  norm          .10000E-03    .66856        .10398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10008E-03    418.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10120E-03    14.079        .74708E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          6.5120        6.9754        .15715E-03   -1.5198    
  22  Prefactor     .10000E-03    3.8397        .15400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4315        .33432        .34963E-03   -.79721    
  24  Prefactor     .98548        .15676        .19566E-03   -.93215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04521e-09
Minuit parameter uncertainties:
  1  18.1503
  2  62.5852
  3  3.71036e-05
  4  5.54257
  5  4.56738e-06
  6  5.94182e-06
  7  17.1362
  8  8.64079e-05
  9  0.00114421
  10  101.089
  11  42.0567
  12  0.000329911
  13  96.1109
  14  0.000292303
  15  4.5602
  16  2.08239
  17  16.2505
  18  2.62982e-06
  19  0.0119092
  20  0.00821622
  21  6.97625
  22  1.63227e-05
  23  0.334836
  24  0.15683
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  2.012e+00  9.611e+01  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.855e-01  1.568e-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.432e+00  3.348e-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.61e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/427811/likelihoodResults_437356801_437616001_4FGL_J1214.5-2318_daily_bin764.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): 0
logL (Free Index) = 6601.82632196
delta logL = 0.16248593411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6601.76718143
delta logL = 0.221626461277

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8648       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9401       1.0000          .0000       10.000    
     3 'Normalizat'    1.3835       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99091       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6601.767     FROM MIGRAD    STATUS=FAILED        98 CALLS      331 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8475        476.29        .12758E-03   -.37425E-05
   2  Index         2.9403        6.4665        .65924E-02    .72686E-03
   3  Normalizat    1.3842        .34984        .35437E-03    .64612E-04
   4  Prefactor     .99060        .17171        .19509E-03   -.11825E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6601.767     FROM SIMPLEX   STATUS=UNCHANGED     90 CALLS      421 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8475        476.29        .29489E-03   -1.5080    
   2  Index         2.9403        6.4665        .77628E-03   -.42458    
   3  Normalizat    1.3842        .34984        .35478E-03   -.81086    
   4  Prefactor     .99060        .17171        .20197E-03   -.93044    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6601.767     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      450 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8474        33.833        .51033E-05   -.34307E-04
   2  Index         2.9403        1.2042        .13185E-02    .12718E-04
   3  Normalizat    1.3842        .33303        .14175E-04    .39941E-04
   4  Prefactor     .99060        .15617        .39019E-04   -.83389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.84737
  Index      = 2.94033
  Normalizat = 1.38422
  Prefactor  = 0.990597
 **********
 **   18 **HESSE 
 **********

 FCN=   6601.767     FROM HESSE     STATUS=OK            25 CALLS      475 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8474        31.154        .10207E-05   -1.5080    
   2  Index         2.9403        1.1082        .52739E-04   -.42458    
   3  Normalizat    1.3842        .33283        .28350E-05   -.81086    
   4  Prefactor     .99060        .15598        .78037E-05   -.93044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.26615e-11
Minuit parameter uncertainties:
  1  31.2058
  2  1.11945
  3  0.333351
  4  0.156053
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/427811': 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): 0
logL (Free Index) = 6601.76717891
delta logL = 0.221628982848

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  9.847e+00  3.121e+01  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.940e+00  1.119e+00  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.906e-01  1.561e-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.384e+00  3.334e-01  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/427811/cmap_HighResolution_437356801_437616001_4FGL_J1214.5-2318_daily_bin764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', job_status='DONE', photon_flux_upper_limit='1.61e-07', time_completed='2021-09-05 05:10:09.891575', job_id='427811', GAL2='0.99', fit_tolerance='1e-08', EG2='1.38', EG='1.43', time_epoch_completed='1630843809.89', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.22e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='764' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:10:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 427811: <4FGL_J1214.5-2318_daily_bin764> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin764 183.625 -23.3113 437356801 437616001 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 :                                   740.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            859 sec.

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

