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


Performing analysis on: 4FGL_J2318.2+1915_daily_bin101
RA = 349.557, Dec = 19.256
tmin = 265507201, tmax = 265766401
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='742425', job_status='RUN', time_executed='2021-09-29 11:04:22.159928', time_epoch_executed='1632938662.16' WHERE source_name='4FGL J2318.2+1915' and cadence='daily' and bin_id='101'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/742425

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/742425/ft1_4FGL_J2318.2+1915_daily_bin101.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/742425/ft2_4FGL_J2318.2+1915_daily_bin101.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/742425/ft1_4FGL_J2318.2+1915_daily_bin101.fits outfile=/scratch/kocevski/742425/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin101.fits ra=349.557 dec=19.256 rad=12.0 tmin=265507201.0 tmax=265766401.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.53
user 1.35
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/742425/ft2_4FGL_J2318.2+1915_daily_bin101.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/742425/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin101.fits evtable="EVENTS" outfile="/scratch/kocevski/742425/ft1_filtered_4FGL_J2318.2+1915_daily_bin101.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/742425/ft1_filtered_4FGL_J2318.2+1915_daily_bin101.fits" evtable="EVENTS" scfile=/scratch/kocevski/742425/ft2_4FGL_J2318.2+1915_daily_bin101.fits sctable="SC_DATA" outfile=/scratch/kocevski/742425/ltcube_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.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/742425/ft2_4FGL_J2318.2+1915_daily_bin101.fits
.....................!
real 12.43
user 12.11
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/742425/ft1_filtered_4FGL_J2318.2+1915_daily_bin101.fits evtable="EVENTS" scfile=/scratch/kocevski/742425/ft2_4FGL_J2318.2+1915_daily_bin101.fits sctable="SC_DATA" expcube=/scratch/kocevski/742425/ltcube_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.fits outfile=/scratch/kocevski/742425/expmap_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.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/742425/ltcube_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.fits
.....................!
real 190.92
user 186.20
sys 4.35

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/742425/ft1_filtered_4FGL_J2318.2+1915_daily_bin101.fits scfile=/scratch/kocevski/742425/ft2_4FGL_J2318.2+1915_daily_bin101.fits outfile=/scratch/kocevski/742425/cmap_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/742425/ft1_filtered_4FGL_J2318.2+1915_daily_bin101.fits scfile=/scratch/kocevski/742425/ft2_4FGL_J2318.2+1915_daily_bin101.fits outfile=/scratch/kocevski/742425/cmap_HighResolution_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/742425/ft1_filtered_4FGL_J2318.2+1915_daily_bin101.fits', '/scratch/kocevski/742425/ft2_4FGL_J2318.2+1915_daily_bin101.fits', expMap='/scratch/kocevski/742425/expmap_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.fits', expCube='/scratch/kocevski/742425/ltcube_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/742425/Model_4FGL_J2318.2+1915_daily_bin101.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/742425/ft1_filtered_4FGL_J2318.2+1915_daily_bin101.fits
Spacecraft file(s): /scratch/kocevski/742425/ft2_4FGL_J2318.2+1915_daily_bin101.fits
Exposure map: /scratch/kocevski/742425/expmap_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.fits
Exposure cube: /scratch/kocevski/742425/ltcube_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/742425/Model_4FGL_J2318.2+1915_daily_bin101.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) = 7638.48245904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3147       1.0000         .10000E-03   10000.    
     2 'norm      '    2.1730       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0068       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.6267       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.327       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.3343       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.4636       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.939       1.0000         .10000E-03   10000.    
    15 'norm      '    17.728       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.545       1.0000         .10000E-03   10000.    
    17 'norm      '    9.6616       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .29394       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3586       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=   7638.475     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     2007 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3150        1.6588       -.15033E-06   -.17644E-03
   2  norm          2.1731        1.4997       -.61851E-07   -.94215E-04
   3  Prefactor     .10000E-03    27.261        .46795E-07** at limit **
   4  Prefactor     .10000E-03    6.7763       -.17008E-06** at limit **
   5  Prefactor     .10000E-03    8.6615        .96771E-06** at limit **
   6  Prefactor     3.0068        .30811       -.21917E-07   -.18477E-02
   7  Prefactor     .10000E-03    9.1558       -.62701E-06** at limit **
   8  Prefactor     9.6273        8.0629       -.20227E-06   -.11576E-03
   9  Prefactor     .10000E-03    2.4767        .14563E-06** at limit **
  10  Prefactor     .10000E-03    9.3573       -.51251E-06** at limit **
  11  Prefactor     32.317        29.447       -.11935E-04   -.85284E-04
  12  Prefactor     6.3365        8.2050        .22827E-05   -.52632E-03
  13  Prefactor     1.4639        1.9530       -.16656E-06   -.18705E-02
  14  Prefactor     14.931        20.989       -.10514E-04   -.10724E-03
  15  norm          17.727        11.031       -.30952E-06   -.11388E-03
  16  Prefactor     10.545        8.9274       -.28272E-06   -.35133E-03
  17  norm          9.6606        11.537       -.48269E-07   -.87360E-04
  18  Prefactor     .10000E-03    3.2426        .69948E-08** at limit **
  19  Normalizat    .29396        .32007        .10086E-04    .12860E-03
  20  Prefactor     1.3586        .19240       -.12998E-05   -.34184E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.31495
  norm       = 2.17312
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.00683
  Prefactor  = 0.0001
  Prefactor  = 9.62727
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.3168
  Prefactor  = 6.33652
  Prefactor  = 1.46388
  Prefactor  = 14.9306
  norm       = 17.7271
  Prefactor  = 10.5446
  norm       = 9.66056
  Prefactor  = 0.0001
  Normalizat = 0.293958
  Prefactor  = 1.35857
 **********
 **   18 **HESSE 
 **********

 FCN=   7638.475     FROM HESSE     STATUS=OK           291 CALLS     2298 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3150        1.6359        .12230E-03   -1.5479    
   2  norm          2.1731        1.5045        .86605E-04   -1.5413    
   3  Prefactor     .10000E-03    27.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.8335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.6697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0068        .30582        .14582E-04   -1.5361    
   7  Prefactor     .10000E-03    9.2263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.6273        8.0580        .12916E-03   -1.5087    
   9  Prefactor     .10000E-03    2.4774        .13432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.3718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.317        29.302        .70474E-04   -1.4570    
  12  Prefactor     6.3365        8.1935        .79742E-03   -1.5204    
  13  Prefactor     1.4639        5.8810        .17776E-02   -1.5466    
  14  Prefactor     14.931        20.995        .10363E-03   -1.4935    
  15  norm          17.727        11.059        .95125E-04   -1.4866    
  16  Prefactor     10.545        8.8480        .61693E-03   -1.5058    
  17  norm          9.6606        11.537        .64462E-03   -1.5086    
  18  Prefactor     .10000E-03    3.2553        .15363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .29396        .25942        .61750E-03   -1.2320    
  20  Prefactor     1.3586        .15933        .18874E-03   -.81582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.44146e-09
Minuit parameter uncertainties:
  1  1.63594
  2  1.50452
  3  1.65947e-05
  4  2.02951e-05
  5  1.5571e-06
  6  0.305817
  7  3.00636e-05
  8  8.05889
  9  1.75561e-06
  10  1.08231e-05
  11  29.3149
  12  8.19491
  13  5.86906
  14  21.0053
  15  11.0599
  16  8.84911
  17  11.5398
  18  1.09272e-05
  19  0.260484
  20  0.159392
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  6.337e+00  8.195e+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.359e+00  1.594e-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:  2.940e-01  2.605e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.87
Ra Dec: 349.557 19.256
Photon Flux Upper Limit: 1.63e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.28e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/742425/likelihoodResults_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.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) = 7638.4744742
delta logL = 0.000487957095174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7638.47436687
delta logL = 0.000595284137489

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4358       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6355       1.0000          .0000       10.000    
     3 'Normalizat'    .29520       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3582       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=   7638.474     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      270 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4541        8.7019        .79104E-03   -.75021E-05
   2  Index         2.6377        .86209        .11086E-01    .23478E-03
   3  Normalizat    .29495        .25225        .61649E-03   -.38911E-05
   4  Prefactor     1.3582        .15803        .18876E-03   -.13912E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.45407
  Index      = 2.6377
  Normalizat = 0.294951
  Prefactor  = 1.35816
 **********
 **   18 **HESSE 
 **********

 FCN=   7638.474     FROM HESSE     STATUS=OK            27 CALLS      297 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4541        8.4059        .31641E-04   -1.5200    
   2  Index         2.6377        .83294        .22173E-02   -.49208    
   3  Normalizat    .29495        .25200        .24659E-04   -1.2314    
   4  Prefactor     1.3582        .15782        .75506E-05   -.81594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.85101e-12
Minuit parameter uncertainties:
  1  8.40745
  2  0.83798
  3  0.25297
  4  0.157874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/742425': 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) = 7638.47435598
delta logL = 0.000606178340604

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  6.454e+00  8.407e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.638e+00  8.380e-01  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.358e+00  1.579e-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:  2.950e-01  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.87
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/742425/cmap_HighResolution_265507201_265766401_4FGL_J2318.2+1915_daily_bin101.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', job_status='DONE', photon_flux_upper_limit='1.63e-07', time_completed='2021-09-29 11:15:11.777110', job_id='742425', GAL2='1.36', fit_tolerance='1e-08', EG2='0.29', EG='0.29', time_epoch_completed='1632939311.78', return_code2='0', ts='0.87', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='6.06e-04', ts2='0.87', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='101' AND source_name='4FGL J2318.2+1915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 11:15:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 742425: <4FGL_J2318.2+1915_daily_bin101> in cluster <slac> Done

Job <4FGL_J2318.2+1915_daily_bin101> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 11:01:12 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 11:01:13 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:01:13 2021
Terminated at Wed Sep 29 11:15:12 2021
Results reported at Wed Sep 29 11:15:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2318.2+1915_daily_bin101 349.557 19.256 265507201 265766401 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 :                                   646.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            840 sec.

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

