/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 123 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 = 7427
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2318.2+1915_daily_bin405
RA = 349.557, Dec = 19.256
tmin = 344304001, tmax = 344563201
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='743895', job_status='RUN', time_executed='2021-09-29 11:07:59.486042', time_epoch_executed='1632938879.49' WHERE source_name='4FGL J2318.2+1915' and cadence='daily' and bin_id='405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743895

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743895/ft1_4FGL_J2318.2+1915_daily_bin405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743895/ft2_4FGL_J2318.2+1915_daily_bin405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743895/ft1_4FGL_J2318.2+1915_daily_bin405.fits outfile=/scratch/kocevski/743895/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin405.fits ra=349.557 dec=19.256 rad=12.0 tmin=344304001.0 tmax=344563201.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.50
user 3.30
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/743895/ft2_4FGL_J2318.2+1915_daily_bin405.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743895/ft2_4FGL_J2318.2+1915_daily_bin405.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/743895/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin405.fits evtable="EVENTS" outfile="/scratch/kocevski/743895/ft1_filtered_4FGL_J2318.2+1915_daily_bin405.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743895/ft1_filtered_4FGL_J2318.2+1915_daily_bin405.fits" evtable="EVENTS" scfile=/scratch/kocevski/743895/ft2_4FGL_J2318.2+1915_daily_bin405.fits sctable="SC_DATA" outfile=/scratch/kocevski/743895/ltcube_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.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/743895/ft2_4FGL_J2318.2+1915_daily_bin405.fits
.....................!
real 12.55
user 11.79
sys 0.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743895/ft1_filtered_4FGL_J2318.2+1915_daily_bin405.fits evtable="EVENTS" scfile=/scratch/kocevski/743895/ft2_4FGL_J2318.2+1915_daily_bin405.fits sctable="SC_DATA" expcube=/scratch/kocevski/743895/ltcube_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.fits outfile=/scratch/kocevski/743895/expmap_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.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/743895/ltcube_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.fits
.....................!
real 192.23
user 186.89
sys 5.01

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2318.2+1915 @ 349.557 19.256

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/743895/ft1_filtered_4FGL_J2318.2+1915_daily_bin405.fits scfile=/scratch/kocevski/743895/ft2_4FGL_J2318.2+1915_daily_bin405.fits outfile=/scratch/kocevski/743895/cmap_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.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=349.557 yref=19.256 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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743895/ft1_filtered_4FGL_J2318.2+1915_daily_bin405.fits scfile=/scratch/kocevski/743895/ft2_4FGL_J2318.2+1915_daily_bin405.fits outfile=/scratch/kocevski/743895/cmap_HighResolution_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.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=349.557 yref=19.256 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743895/ft1_filtered_4FGL_J2318.2+1915_daily_bin405.fits evtable="EVENTS" scfile=/scratch/kocevski/743895/ft2_4FGL_J2318.2+1915_daily_bin405.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743895/Model_4FGL_J2318.2+1915_daily_bin405.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/743895/ft1_filtered_4FGL_J2318.2+1915_daily_bin405.fits.....................!
real 75.50
user 74.15
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/743895/ft1_filtered_4FGL_J2318.2+1915_daily_bin405.fits', '/scratch/kocevski/743895/ft2_4FGL_J2318.2+1915_daily_bin405.fits', expMap='/scratch/kocevski/743895/expmap_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.fits', expCube='/scratch/kocevski/743895/ltcube_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/743895/Model_4FGL_J2318.2+1915_daily_bin405.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2318.2+1915'

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  2.396e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.667e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/743895/ft1_filtered_4FGL_J2318.2+1915_daily_bin405.fits
Spacecraft file(s): /scratch/kocevski/743895/ft2_4FGL_J2318.2+1915_daily_bin405.fits
Exposure map: /scratch/kocevski/743895/expmap_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.fits
Exposure cube: /scratch/kocevski/743895/ltcube_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/743895/Model_4FGL_J2318.2+1915_daily_bin405.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) = 6739.97562869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.2555       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10345E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .43622E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.687       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.521       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.611       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.562       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16311E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.7782       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.239       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5113       1.0000         .10000E-03   10000.    
    15 'norm      '    3.4948       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.3812       1.0000         .10000E-03   10000.    
    17 'norm      '    .10221E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .73472       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0491       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6739.973     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     2061 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1462       -.36663E-07** at limit **
   2  norm          3.2554        1.6083       -.14401E-07    .16442E-03
   3  Prefactor     .10000E-03    11.391       -.21283E-06** at limit **
   4  Prefactor     .10000E-03    3.7926       -.41006E-07** at limit **
   5  Prefactor     .10000E-03    6.2834       -.53705E-07** at limit **
   6  Prefactor     .44615E-02    .45336E-01   -.76213E-07   -.11625E-03
   7  Prefactor     12.695        9.1287       -.69573E-06    .14114E-03
   8  Prefactor     13.522        6.9865       -.42873E-07    .80702E-04
   9  Prefactor     14.612        11.592       -.36727E-06    .25859E-04
  10  Prefactor     21.558        22.526       -.49079E-05    .27042E-03
  11  Prefactor     .10000E-03    29.565        .63555E-07** at limit **
  12  Prefactor     3.7778        6.4449       -.37722E-06   -.32964E-03
  13  Prefactor     14.247        12.917       -.42754E-05    .24231E-03
  14  Prefactor     1.5109        53.728       -.22622E-05   -.11039E-03
  15  norm          3.4959        16.759        .10592E-04   -.42708E-04
  16  Prefactor     4.3548        11.346       -.64690E-05   -.34286E-03
  17  norm          .10000E-03    7.8019        .19024E-06** at limit **
  18  Prefactor     .10000E-03    2.5725       -.31790E-07** at limit **
  19  Normalizat    .73466        .19835        .21377E-05    .17802E-04
  20  Prefactor     1.0491        .11682        .16750E-06    .13141E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.25545
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0044615
  Prefactor  = 12.6948
  Prefactor  = 13.5217
  Prefactor  = 14.6125
  Prefactor  = 21.5578
  Prefactor  = 0.0001
  Prefactor  = 3.7778
  Prefactor  = 14.2473
  Prefactor  = 1.51086
  norm       = 3.4959
  Prefactor  = 4.35476
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.734663
  Prefactor  = 1.04909
 **********
 **   18 **HESSE 
 **********

 FCN=   6739.973     FROM HESSE     STATUS=OK           295 CALLS     2356 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1671        .85777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.2554        1.6097        .71255E-04   -1.5347    
   3  Prefactor     .10000E-03    11.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8105        .15612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.2888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .44615E-02    .31769        .33489E-03   -1.5695    
   7  Prefactor     12.695        9.1247        .11246E-03   -1.4995    
   8  Prefactor     13.522        6.9784        .10893E-03   -1.4972    
   9  Prefactor     14.612        11.587        .10478E-03   -1.4943    
  10  Prefactor     21.558        22.289        .86258E-04   -1.4779    
  11  Prefactor     .10000E-03    30.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.7778        6.2732        .20769E-03   -1.5319    
  13  Prefactor     14.247        12.712        .10615E-03   -1.4953    
  14  Prefactor     1.5109        51.958        .34790E-03   -1.5462    
  15  norm          3.4959        15.444        .21628E-03   -1.5334    
  16  Prefactor     4.3548        11.319        .19242E-03   -1.5291    
  17  norm          .10000E-03    7.8237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.5889        .12858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .73466        .22594        .33419E-03   -1.0254    
  20  Prefactor     1.0491        .13454        .17485E-03   -.91111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20675e-08
Minuit parameter uncertainties:
  1  3.82939e-06
  2  1.60972
  3  6.24949e-06
  4  1.15992e-06
  5  5.71101e-07
  6  0.0744474
  7  9.12567
  8  6.97885
  9  11.5892
  10  22.2977
  11  3.94632e-05
  12  6.27426
  13  12.7148
  14  17.7362
  15  14.7017
  16  11.3247
  17  2.04278e-06
  18  3.29698e-06
  19  0.22623
  20  0.134579
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  3.778e+00  6.274e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.667e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.049e+00  1.346e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  7.347e-01  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 349.557 19.256
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743895/likelihoodResults_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.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) = 6739.97140919
delta logL = 0.00113557303757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6739.97105452
delta logL = 0.00149024306575

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6168       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7299       1.0000          .0000       10.000    
     3 'Normalizat'    .73321       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0497       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+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.

 FCN=   6739.971     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      236 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6163        7.0291        .21245E-03    .28982E-03
   2  Index         2.7300        1.2532        .12752E-01    .80094E-04
   3  Normalizat    .73321        .21679        .33450E-03   -.22160E-03
   4  Prefactor     1.0497        .13295        .17480E-03   -.45189E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.61629
  Index      = 2.73005
  Normalizat = 0.733208
  Prefactor  = 1.04971
 **********
 **   18 **HESSE 
 **********

 FCN=   6739.971     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6163        6.5221        .84980E-05   -1.5328    
   2  Index         2.7300        1.1644        .51008E-03   -.47124    
   3  Normalizat    .73321        .21688        .13380E-04   -1.0260    
   4  Prefactor     1.0497        .13290        .34961E-04   -.91090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18155e-10
Minuit parameter uncertainties:
  1  6.52334
  2  1.17808
  3  0.217134
  4  0.132946
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743895': 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) = 6739.97105451
delta logL = 0.00149025489191

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  3.616e+00  6.523e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.730e+00  1.178e+00  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.050e+00  1.329e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  7.332e-01  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.51
Ra Dec: 349.557 19.256

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/743895/cmap_HighResolution_344304001_344563201_4FGL_J2318.2+1915_daily_bin405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.54e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-29 11:18:16.268824', job_id='743895', GAL2='1.05', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1632939496.27', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.49e-03', ts2='0.52', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='405' AND source_name='4FGL J2318.2+1915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 11:18:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 743895: <4FGL_J2318.2+1915_daily_bin405> in cluster <slac> Done

Job <4FGL_J2318.2+1915_daily_bin405> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 11:05:47 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 11:05:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 11:05:48 2021
Terminated at Wed Sep 29 11:18:17 2021
Results reported at Wed Sep 29 11:18:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2318.2+1915_daily_bin405 349.557 19.256 344304001 344563201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2318.2+1915 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   612.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            750 sec.

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

