/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 114 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 = 7037
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1214.5-2318_daily_bin109
RA = 183.625, Dec = -23.3113
tmin = 267580801, tmax = 267840001
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='422917', job_status='RUN', time_executed='2021-09-05 04:42:29.530915', time_epoch_executed='1630842149.53' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='109'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/422917

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/422917/ft1_4FGL_J1214.5-2318_daily_bin109.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/422917/ft2_4FGL_J1214.5-2318_daily_bin109.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/422917/ft1_4FGL_J1214.5-2318_daily_bin109.fits outfile=/scratch/kocevski/422917/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin109.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=267580801.0 tmax=267840001.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 1.37
user 1.19
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/422917/ft1_filtered_4FGL_J1214.5-2318_daily_bin109.fits" evtable="EVENTS" scfile=/scratch/kocevski/422917/ft2_4FGL_J1214.5-2318_daily_bin109.fits sctable="SC_DATA" outfile=/scratch/kocevski/422917/ltcube_267580801_267840001_4FGL_J1214.5-2318_daily_bin109.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/422917/ft2_4FGL_J1214.5-2318_daily_bin109.fits
.....................!
real 12.19
user 11.83
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/422917/ft1_filtered_4FGL_J1214.5-2318_daily_bin109.fits evtable="EVENTS" scfile=/scratch/kocevski/422917/ft2_4FGL_J1214.5-2318_daily_bin109.fits sctable="SC_DATA" expcube=/scratch/kocevski/422917/ltcube_267580801_267840001_4FGL_J1214.5-2318_daily_bin109.fits outfile=/scratch/kocevski/422917/expmap_267580801_267840001_4FGL_J1214.5-2318_daily_bin109.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/422917/ltcube_267580801_267840001_4FGL_J1214.5-2318_daily_bin109.fits
.....................!
real 190.00
user 185.13
sys 4.50

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/422917/ft1_filtered_4FGL_J1214.5-2318_daily_bin109.fits scfile=/scratch/kocevski/422917/ft2_4FGL_J1214.5-2318_daily_bin109.fits outfile=/scratch/kocevski/422917/cmap_267580801_267840001_4FGL_J1214.5-2318_daily_bin109.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/422917/ft1_filtered_4FGL_J1214.5-2318_daily_bin109.fits scfile=/scratch/kocevski/422917/ft2_4FGL_J1214.5-2318_daily_bin109.fits outfile=/scratch/kocevski/422917/cmap_HighResolution_267580801_267840001_4FGL_J1214.5-2318_daily_bin109.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=183.625 yref=-23.3113 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/422917/ft1_filtered_4FGL_J1214.5-2318_daily_bin109.fits evtable="EVENTS" scfile=/scratch/kocevski/422917/ft2_4FGL_J1214.5-2318_daily_bin109.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/422917/Model_4FGL_J1214.5-2318_daily_bin109.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/422917/ft1_filtered_4FGL_J1214.5-2318_daily_bin109.fits....................!
real 66.68
user 65.20
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .33693E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.2034       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11135E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    33.011       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.3467       1.0000         .10000E-03   10000.    
     8 'norm      '    4.9981       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.111       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7385       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.2676       1.0000         .10000E-03   10000.    
    18 'norm      '    1.6333       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.0636       1.0000         .10000E-03   10000.    
    21 'norm      '    7.0205       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.4661       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4964       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87617       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=   7994.109     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2699 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.782        .14664E-06** at limit **
   2  Prefactor     .10003E-03    147.49        .17748E-05** at limit **
   3  norm          2.2002        2.0090       -.31248E-06   -.15947E-02
   4  Prefactor     .10000E-03    3.8605        .22804E-05** at limit **
   5  Prefactor     .10000E-03    26.356       -.11039E-06** at limit **
   6  norm          33.013        24.301        .35249E-07    .63728E-05
   7  Prefactor     8.3457        14.830        .33939E-06    .54745E-04
   8  norm          4.9984        4.6494       -.55337E-07    .85045E-04
   9  Prefactor     .10000E-03    2.5006        .52846E-07** at limit **
  10  Prefactor     .10000E-03    27.075       -.15392E-06** at limit **
  11  Prefactor     .10000E-03    13.708       -.14632E-06** at limit **
  12  Prefactor     .10000E-03    9.3260       -.33415E-08** at limit **
  13  Prefactor     .10000E-03    41.907        .11707E-06** at limit **
  14  Prefactor     20.112        21.376        .19219E-06    .21148E-04
  15  Prefactor     .10000E-03    1.3221       -.73324E-08** at limit **
  16  Prefactor     2.7386        1.5464        .51657E-08    .24674E-05
  17  Prefactor     9.2681        12.005        .91203E-08   -.10029E-04
  18  norm          1.6334        1.0241        .38534E-08   -.22109E-03
  19  Prefactor     .10000E-03    20.382        .52636E-06** at limit **
  20  norm          2.0637        5.3779        .53850E-05   -.94224E-04
  21  norm          7.0220        8.3654       -.10737E-06   -.16479E-03
  22  Prefactor     3.4639        9.9001        .17509E-06   -.12836E-03
  23  Normalizat    1.4964        .22770       -.66900E-06   -.29371E-03
  24  Prefactor     .87614        .10988        .32136E-09   -.31582E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  norm       = 2.20025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 33.0126
  Prefactor  = 8.34571
  norm       = 4.99842
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1124
  Prefactor  = 0.0001
  Prefactor  = 2.73857
  Prefactor  = 9.26815
  norm       = 1.63337
  Prefactor  = 0.0001
  norm       = 2.06371
  norm       = 7.02199
  Prefactor  = 3.46389
  Normalizat = 1.49643
  Prefactor  = 0.87614
 **********
 **   18 **HESSE 
 **********

 FCN=   7994.109     FROM HESSE     STATUS=OK           397 CALLS     3096 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10003E-03    149.38        .21340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2002        2.0312        .11652E-03   -1.5411    
   4  Prefactor     .10000E-03    12.994        .31670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    26.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          33.013        24.320        .69743E-04   -1.4558    
   7  Prefactor     8.3457        14.762        .13876E-03   -1.5130    
   8  norm          4.9984        4.6267        .15506E-03   -1.5261    
   9  Prefactor     .10000E-03    2.5512        .13801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.3411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    42.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.112        21.382        .89313E-04   -1.4811    
  15  Prefactor     .10000E-03    1.3244        .10039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.7386        1.5478        .81430E-04   -1.5377    
  17  Prefactor     9.2681        12.004        .13165E-03   -1.5099    
  18  norm          1.6334        1.0132        .68260E-04   -1.5452    
  19  Prefactor     .10000E-03    20.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.0637        5.4717        .14382E-02   -1.5421    
  21  norm          7.0220        8.0443        .15141E-03   -1.5178    
  22  Prefactor     3.4639        9.5039        .21721E-03   -1.5336    
  23  Normalizat    1.4964        .26949        .31733E-03   -.77879    
  24  Prefactor     .87614        .13087        .19759E-03   -.96980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.33445e-10
Minuit parameter uncertainties:
  1  4.13973e-05
  2  0.0039689
  3  2.03124
  4  6.46413e-05
  5  5.38212e-05
  6  24.3278
  7  14.7689
  8  4.62703
  9  4.68113e-06
  10  0.000114377
  11  2.46039e-05
  12  1.7578e-05
  13  7.37684e-05
  14  21.3898
  15  5.7391e-07
  16  1.54781
  17  12.0074
  18  1.01316
  19  0.000111851
  20  5.47305
  21  8.04552
  22  9.50803
  23  0.269753
  24  0.130921
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  7.377e-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:  8.761e-01  1.309e-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.496e+00  2.698e-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.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/422917/likelihoodResults_267580801_267840001_4FGL_J1214.5-2318_daily_bin109.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) = 7994.10880642
delta logL = -0.00011317840017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7994.10869779
delta logL = -4.55076587969e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43873E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2329       1.0000          .0000       10.000    
     3 'Normalizat'    1.4964       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87614       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=   7994.109     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      230 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4739        .10610E-01** at limit **
   2  Index         2.2319        6.5033        .50000        .63327E-05
   3  Normalizat    1.4964        .28849E-02    .71721E-01    .62481E-04
   4  Prefactor     .87614        .14285E-02    .44700E-01    .98438E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.23194
  Normalizat = 1.49643
  Prefactor  = 0.87614
 **********
 **   18 **HESSE 
 **********

 FCN=   7994.109     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      263 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    96.838        .21221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2319        7.9124        .50000       -.58669    
   3  Normalizat    1.4964        .92111E-02    .31733E-03   -.77879    
   4  Prefactor     .87614        .45642E-02    .19759E-03   -.96980    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.07222e-08
Minuit parameter uncertainties:
  1  0.00032382
  2  118.027
  3  0.00921111
  4  0.00456421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/422917': 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) = 7994.10869336
delta logL = -1.19663127407e-07

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  3.238e-04  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.232e+00  1.180e+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.761e-01  4.564e-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.496e+00  9.211e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 183.625 -23.311

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/422917/cmap_HighResolution_267580801_267840001_4FGL_J1214.5-2318_daily_bin109.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.79e-08', time_completed='2021-09-05 04:55:28.919238', job_id='422917', GAL2='0.88', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1630842928.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-1.20e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='109' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:55:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 422917: <4FGL_J1214.5-2318_daily_bin109> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin109> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep  5 04:40:25 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:40:26 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:40:26 2021
Terminated at Sun Sep  5 04:55:29 2021
Results reported at Sun Sep  5 04:55:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin109 183.625 -23.3113 267580801 267840001 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 :                                   778.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            904 sec.

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

