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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin463
RA = 183.625, Dec = -23.3113
tmin = 359337601, tmax = 359596801
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='425851', job_status='RUN', time_executed='2021-09-05 04:51:15.464253', time_epoch_executed='1630842675.46' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/425851

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/425851/ft1_4FGL_J1214.5-2318_daily_bin463.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/425851/ft2_4FGL_J1214.5-2318_daily_bin463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/425851/ft1_4FGL_J1214.5-2318_daily_bin463.fits outfile=/scratch/kocevski/425851/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin463.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=359337601.0 tmax=359596801.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.36
user 3.13
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/425851/ft1_filtered_4FGL_J1214.5-2318_daily_bin463.fits" evtable="EVENTS" scfile=/scratch/kocevski/425851/ft2_4FGL_J1214.5-2318_daily_bin463.fits sctable="SC_DATA" outfile=/scratch/kocevski/425851/ltcube_359337601_359596801_4FGL_J1214.5-2318_daily_bin463.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/425851/ft2_4FGL_J1214.5-2318_daily_bin463.fits
.....................!
real 11.98
user 11.43
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/425851/ft1_filtered_4FGL_J1214.5-2318_daily_bin463.fits evtable="EVENTS" scfile=/scratch/kocevski/425851/ft2_4FGL_J1214.5-2318_daily_bin463.fits sctable="SC_DATA" expcube=/scratch/kocevski/425851/ltcube_359337601_359596801_4FGL_J1214.5-2318_daily_bin463.fits outfile=/scratch/kocevski/425851/expmap_359337601_359596801_4FGL_J1214.5-2318_daily_bin463.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/425851/ltcube_359337601_359596801_4FGL_J1214.5-2318_daily_bin463.fits
.....................!
real 191.67
user 186.83
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/425851/ft1_filtered_4FGL_J1214.5-2318_daily_bin463.fits scfile=/scratch/kocevski/425851/ft2_4FGL_J1214.5-2318_daily_bin463.fits outfile=/scratch/kocevski/425851/cmap_359337601_359596801_4FGL_J1214.5-2318_daily_bin463.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.55
user 0.35
sys 0.17

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/425851/ft1_filtered_4FGL_J1214.5-2318_daily_bin463.fits evtable="EVENTS" scfile=/scratch/kocevski/425851/ft2_4FGL_J1214.5-2318_daily_bin463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/425851/Model_4FGL_J1214.5-2318_daily_bin463.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/425851/ft1_filtered_4FGL_J1214.5-2318_daily_bin463.fits.....................!
real 51.90
user 50.63
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.306       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.3744       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    45.225       1.0000         .10000E-03   10000.    
     6 'norm      '    67.005       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.0384       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    46.755       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.7093       1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.024       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5572       1.0000         .10000E-03   10000.    
    17 'Prefactor '    34.394       1.0000         .10000E-03   10000.    
    18 'norm      '    8.0302       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    10.426       1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.029       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .73154       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99672       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=   6157.109     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2311 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.307        14.031       -.23888E-07   -.39711E-05
   2  Prefactor     .10000E-03    89.042       -.21476E-05** at limit **
   3  norm          4.3746        2.1267       -.22049E-07   -.14980E-04
   4  Prefactor     .10000E-03    2.2491        .40476E-07** at limit **
   5  Prefactor     45.226        33.978        .26152E-06   -.20671E-04
   6  norm          67.008        35.252        .70887E-07   -.22275E-05
   7  Prefactor     .10000E-03    50.693        .59480E-05** at limit **
   8  norm          .10000E-03    8.2523        .59866E-06** at limit **
   9  Prefactor     5.0386        4.9309        .11091E-06   -.61372E-04
  10  Prefactor     .10000E-03    36.767       -.20776E-05** at limit **
  11  Prefactor     .10000E-03    11.828       -.55996E-07** at limit **
  12  Prefactor     46.763        38.182       -.21167E-05   -.56491E-04
  13  Prefactor     3.6137        206.18        .34075E-05   -.87377E-05
  14  Prefactor     31.015        26.688       -.30510E-06   -.12414E-04
  15  Prefactor     .10000E-03    4.4194        .94259E-08** at limit **
  16  Prefactor     1.5571        1.3860       -.15805E-07   -.12782E-04
  17  Prefactor     34.394        17.766       -.96548E-07   -.96887E-05
  18  norm          8.0304        1.7922       -.10504E-07   -.45760E-04
  19  Prefactor     .10000E-03    22.139        .39860E-06** at limit **
  20  norm          10.427        11.069        .20547E-07   -.44893E-05
  21  norm          .10000E-03    2.2314        .28295E-07** at limit **
  22  Prefactor     13.029        6.9609        .52090E-07   -.84865E-05
  23  Normalizat    .73181        .26434        .16533E-05   -.73129E-04
  24  Prefactor     .99657        .12947       -.50770E-06   -.40888E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3069
  Prefactor  = 0.0001
  norm       = 4.37463
  Prefactor  = 0.0001
  Prefactor  = 45.2255
  norm       = 67.0084
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.03855
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.7632
  Prefactor  = 3.61368
  Prefactor  = 31.0149
  Prefactor  = 0.0001
  Prefactor  = 1.5571
  Prefactor  = 34.394
  norm       = 8.03043
  Prefactor  = 0.0001
  norm       = 10.4268
  norm       = 0.0001
  Prefactor  = 13.0293
  Normalizat = 0.731809
  Prefactor  = 0.996566
 **********
 **   18 **HESSE 
 **********

 FCN=   6157.109     FROM HESSE     STATUS=OK           395 CALLS     2706 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.307        14.029        .11914E-03   -1.5035    
   2  Prefactor     .10000E-03    89.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3746        2.1256        .77091E-04   -1.5290    
   4  Prefactor     .10000E-03    2.2553        .11487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     45.226        33.945        .29809E-03   -1.4362    
   6  norm          67.008        35.270        .49032E-04   -1.4069    
   7  Prefactor     .10000E-03    51.533        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.5492        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0386        4.9248        .16451E-03   -1.5259    
  10  Prefactor     .10000E-03    36.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.763        38.538        .58639E-04   -1.4339    
  13  Prefactor     3.6137        210.42        .20968E-03   -1.5328    
  14  Prefactor     31.015        26.706        .71936E-04   -1.4594    
  15  Prefactor     .10000E-03    4.4971        .16099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.5571        1.3915        .84921E-04   -1.5458    
  17  Prefactor     34.394        17.763        .68330E-04   -1.4534    
  18  norm          8.0304        1.7920        .47556E-04   -1.5141    
  19  Prefactor     .10000E-03    22.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          10.427        11.066        .12409E-03   -1.5062    
  21  norm          .10000E-03    2.2361        .11438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.029        6.9588        .11097E-03   -1.4986    
  23  Normalizat    .73181        .29811        .41938E-03   -1.0265    
  24  Prefactor     .99657        .14931        .18184E-03   -.92844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10658e-11
Minuit parameter uncertainties:
  1  14.0328
  2  8.26926e-05
  3  2.1256
  4  1.81046e-06
  5  33.9591
  6  35.2812
  7  2.46915e-05
  8  2.70651e-05
  9  4.92521
  10  3.84245e-05
  11  1.97759e-06
  12  38.5583
  13  55.3546
  14  26.7159
  15  2.05219e-06
  16  1.39148
  17  17.7657
  18  1.79201
  19  5.47055e-06
  20  11.0681
  21  7.14136e-07
  22  6.95927
  23  0.298774
  24  0.149368
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  3.614e+00  5.535e+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.966e-01  1.494e-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:  7.318e-01  2.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 183.625 -23.311
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/425851/likelihoodResults_359337601_359596801_4FGL_J1214.5-2318_daily_bin463.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) = 6156.76157475
delta logL = 0.347155357424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6156.76152863
delta logL = 0.347201478521

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.044       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2033       1.0000          .0000       10.000    
     3 'Normalizat'    .73509       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99460       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=   6156.762     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      272 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.044        6560.8        .18585E-02    .37369E-04
   2  Index         1.2033        8.6453        .34554       -.23575E-04
   3  Normalizat    .73510        .34627        .94438E-01    .29437E-04
   4  Prefactor     .99459        .10743        .46200E-01   -.32991E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.0443
  Index      = 1.20329
  Normalizat = 0.735099
  Prefactor  = 0.994592
 **********
 **   18 **HESSE 
 **********

 FCN=   6156.762     FROM HESSE     STATUS=OK            31 CALLS      303 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.044        49.072        .74341E-04   -1.4630    
   2  Index         1.2033        .77958        .15354E-01   -.86230    
   3  Normalizat    .73510        .29226        .41846E-03   -1.0252    
   4  Prefactor     .99459        .14742        .18195E-03   -.92910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.25006e-10
Minuit parameter uncertainties:
  1  49.1399
  2  0.787238
  3  0.292887
  4  0.147477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/425851': 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) = 6156.76152863
delta logL = 0.347201479273

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  2.904e+01  4.914e+01  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  1.203e+00  7.872e-01  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.946e-01  1.475e-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:  7.351e-01  2.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/425851/cmap_HighResolution_359337601_359596801_4FGL_J1214.5-2318_daily_bin463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.19e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-05 05:02:31.943499', job_id='425851', GAL2='0.99', fit_tolerance='1e-08', EG2='0.74', EG='0.73', time_epoch_completed='1630843351.94', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.47e-01', ts2='0.70', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='463' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:02:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 425851: <4FGL_J1214.5-2318_daily_bin463> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin463> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep  5 04:50:55 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:50:57 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:50:57 2021
Terminated at Sun Sep  5 05:02:32 2021
Results reported at Sun Sep  5 05:02:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin463 183.625 -23.3113 359337601 359596801 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 :                                   649.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            697 sec.

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

