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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin590
RA = 183.625, Dec = -23.3113
tmin = 392256001, tmax = 392515201
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='427506', job_status='RUN', time_executed='2021-09-05 04:57:49.744814', time_epoch_executed='1630843069.74' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='590'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/427506

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/427506/ft1_4FGL_J1214.5-2318_daily_bin590.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/427506/ft2_4FGL_J1214.5-2318_daily_bin590.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/427506/ft1_4FGL_J1214.5-2318_daily_bin590.fits outfile=/scratch/kocevski/427506/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin590.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=392256001.0 tmax=392515201.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.30
user 3.08
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/427506/ft1_filtered_4FGL_J1214.5-2318_daily_bin590.fits" evtable="EVENTS" scfile=/scratch/kocevski/427506/ft2_4FGL_J1214.5-2318_daily_bin590.fits sctable="SC_DATA" outfile=/scratch/kocevski/427506/ltcube_392256001_392515201_4FGL_J1214.5-2318_daily_bin590.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/427506/ft2_4FGL_J1214.5-2318_daily_bin590.fits
.....................!
real 11.80
user 11.41
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/427506/ft1_filtered_4FGL_J1214.5-2318_daily_bin590.fits evtable="EVENTS" scfile=/scratch/kocevski/427506/ft2_4FGL_J1214.5-2318_daily_bin590.fits sctable="SC_DATA" expcube=/scratch/kocevski/427506/ltcube_392256001_392515201_4FGL_J1214.5-2318_daily_bin590.fits outfile=/scratch/kocevski/427506/expmap_392256001_392515201_4FGL_J1214.5-2318_daily_bin590.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/427506/ltcube_392256001_392515201_4FGL_J1214.5-2318_daily_bin590.fits
.....................!
real 191.25
user 185.50
sys 5.06

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/427506/ft1_filtered_4FGL_J1214.5-2318_daily_bin590.fits scfile=/scratch/kocevski/427506/ft2_4FGL_J1214.5-2318_daily_bin590.fits outfile=/scratch/kocevski/427506/cmap_392256001_392515201_4FGL_J1214.5-2318_daily_bin590.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/427506/ft1_filtered_4FGL_J1214.5-2318_daily_bin590.fits scfile=/scratch/kocevski/427506/ft2_4FGL_J1214.5-2318_daily_bin590.fits outfile=/scratch/kocevski/427506/cmap_HighResolution_392256001_392515201_4FGL_J1214.5-2318_daily_bin590.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.77
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/427506/ft1_filtered_4FGL_J1214.5-2318_daily_bin590.fits evtable="EVENTS" scfile=/scratch/kocevski/427506/ft2_4FGL_J1214.5-2318_daily_bin590.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/427506/Model_4FGL_J1214.5-2318_daily_bin590.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/427506/ft1_filtered_4FGL_J1214.5-2318_daily_bin590.fits.....................!
real 64.37
user 62.42
sys 1.49

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9355       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.6030       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.883       1.0000         .10000E-03   10000.    
     8 'norm      '    .10477E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.5036       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.8063       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11524E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.8168       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.7192       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.5569       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.2804       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .63492       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.3812       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0161       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2432       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=   7386.488     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2732 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9323        14.256       -.18950E-05   -.66813E-04
   2  Prefactor     .10000E-03    21.255        .19943E-04** at limit **
   3  norm          9.6028        2.8730       -.66450E-07   -.10691E-03
   4  Prefactor     .10000E-03    5.7870       -.26683E-06** at limit **
   5  Prefactor     .10000E-03    10.394        .13368E-04** at limit **
   6  norm          .10000E-03    9.3823       -.68813E-05** at limit **
   7  Prefactor     15.884        13.853        .18862E-05    .24746E-04
   8  norm          .10000E-03    2.1680       -.10240E-06** at limit **
   9  Prefactor     3.5041        4.9771        .26378E-05   -.23622E-03
  10  Prefactor     9.7789        38.144       -.95021E-05    .10173E-04
  11  Prefactor     .10000E-03    22.873       -.19673E-04** at limit **
  12  Prefactor     .10000E-03    11.963       -.85388E-05** at limit **
  13  Prefactor     8.7415        31.829       -.69638E-05    .35903E-04
  14  Prefactor     6.6359        38.299       -.15326E-04    .13563E-04
  15  Prefactor     5.5560        6.1460       -.51498E-06   -.19231E-03
  16  Prefactor     4.2802        2.2026        .19328E-07    .69255E-05
  17  Prefactor     .10000E-03    4.1558        .17191E-08** at limit **
  18  norm          .63567        1.1971       -.31002E-06   -.16257E-02
  19  Prefactor     .10000E-03    79.880        .90744E-05** at limit **
  20  norm          4.3808        8.2993       -.45623E-06   -.14126E-03
  21  norm          .10000E-03    3.4000        .26336E-08** at limit **
  22  Prefactor     .10000E-03    6.9670        .60612E-06** at limit **
  23  Normalizat    1.0161        .26648        .14657E-05    .63102E-04
  24  Prefactor     1.2433        .13175        .36120E-06    .18929E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.93229
  Prefactor  = 0.0001
  norm       = 9.60276
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.8841
  norm       = 0.0001
  Prefactor  = 3.50413
  Prefactor  = 9.77893
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.74148
  Prefactor  = 6.63589
  Prefactor  = 5.55603
  Prefactor  = 4.28021
  Prefactor  = 0.0001
  norm       = 0.635673
  Prefactor  = 0.0001
  norm       = 4.38082
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.01609
  Prefactor  = 1.24331
 **********
 **   18 **HESSE 
 **********

 FCN=   7386.488     FROM HESSE     STATUS=OK           397 CALLS     3129 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9323        14.259        .18104E-03   -1.5264    
   2  Prefactor     .10000E-03    21.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.6028        2.8760        .76645E-04   -1.5088    
   4  Prefactor     .10000E-03    5.9899        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.3899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.884        13.789        .10050E-03   -1.4911    
   8  norm          .10000E-03    2.1829        .12306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.5041        4.9425        .21600E-03   -1.5334    
  10  Prefactor     9.7789        38.096        .12796E-03   -1.5082    
  11  Prefactor     .10000E-03    22.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.7415        31.780        .13499E-03   -1.5117    
  14  Prefactor     6.6359        38.186        .15480E-03   -1.5193    
  15  Prefactor     5.5560        6.1433        .17043E-03   -1.5236    
  16  Prefactor     4.2802        2.2018        .87215E-04   -1.5294    
  17  Prefactor     .10000E-03    4.1604        .17111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .63567        1.1783        .12093E-03   -1.5549    
  19  Prefactor     .10000E-03    79.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.3808        8.2911        .19242E-03   -1.5289    
  21  norm          .10000E-03    3.4203        .15470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.1243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0161        .30308        .40069E-03   -.92493    
  24  Prefactor     1.2433        .15134        .18554E-03   -.85009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.55926e-10
Minuit parameter uncertainties:
  1  14.2687
  2  3.74681e-06
  3  2.87605
  4  3.35702e-05
  5  1.11924e-05
  6  1.84096e-06
  7  13.7917
  8  1.87781e-05
  9  4.94305
  10  38.1908
  11  5.86322e-07
  12  6.5035e-05
  13  31.8413
  14  31.8678
  15  6.14399
  16  2.20185
  17  1.54274e-06
  18  1.17838
  19  3.7702e-05
  20  8.29323
  21  3.90765e-06
  22  1.1639e-05
  23  0.303598
  24  0.151396
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  8.741e+00  3.184e+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:  1.243e+00  1.514e-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.016e+00  3.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 183.625 -23.311
Photon Flux Upper Limit: 9.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/427506/likelihoodResults_392256001_392515201_4FGL_J1214.5-2318_daily_bin590.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) = 7386.45738838
delta logL = 0.030945802936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7386.43545191
delta logL = 0.0528822685656

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.010       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7172       1.0000          .0000       10.000    
     3 'Normalizat'    1.0212       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2407       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=   7386.435     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      205 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.010        50.362        .23594E-02    .98111E-03
   2  Index         1.7187        1.1113        .27722E-01    .15845E-04
   3  Normalizat    1.0211        .25681        .90276E-01    .25219E-04
   4  Prefactor     1.2408        .13085        .33733E-01    .25346E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.0104
  Index      = 1.71868
  Normalizat = 1.02114
  Prefactor  = 1.24075
 **********
 **   18 **HESSE 
 **********

 FCN=   7386.435     FROM HESSE     STATUS=OK            29 CALLS      234 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.010        47.760        .94375E-04   -1.4859    
   2  Index         1.7187        1.0574        .11089E-02   -.71586    
   3  Normalizat    1.0211        .29415        .39981E-03   -.92326    
   4  Prefactor     1.2408        .15037        .18569E-03   -.85086    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21854e-08
Minuit parameter uncertainties:
  1  47.8613
  2  1.07181
  3  0.294618
  4  0.150422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/427506': 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) = 7386.43545078
delta logL = 0.0528833962262

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.801e+01  4.786e+01  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  1.719e+00  1.072e+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:  1.241e+00  1.504e-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.021e+00  2.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/427506/cmap_HighResolution_392256001_392515201_4FGL_J1214.5-2318_daily_bin590.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.36e-08', time_completed='2021-09-05 05:10:35.557648', job_id='427506', GAL2='1.24', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1630843835.56', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='5.29e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='590' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:10:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 427506: <4FGL_J1214.5-2318_daily_bin590> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin590> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 04:55:29 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:55:31 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:31 2021
Terminated at Sun Sep  5 05:10:36 2021
Results reported at Sun Sep  5 05:10:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin590 183.625 -23.3113 392256001 392515201 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 :                                   755.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             301.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            907 sec.

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

