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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin250
RA = 347.766, Dec = 2.0995
tmin = 304128001, tmax = 304387201
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='674356', job_status='RUN', time_executed='2021-09-29 07:22:56.925370', time_epoch_executed='1632925376.93' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='250'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674356

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674356/ft1_4FGL_J2311.0+0205_daily_bin250.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674356/ft2_4FGL_J2311.0+0205_daily_bin250.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674356/ft1_4FGL_J2311.0+0205_daily_bin250.fits outfile=/scratch/kocevski/674356/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin250.fits ra=347.766 dec=2.0995 rad=12.0 tmin=304128001.0 tmax=304387201.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.45
user 3.24
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/674356/ft2_4FGL_J2311.0+0205_daily_bin250.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/674356/ft2_4FGL_J2311.0+0205_daily_bin250.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/674356/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin250.fits evtable="EVENTS" outfile="/scratch/kocevski/674356/ft1_filtered_4FGL_J2311.0+0205_daily_bin250.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/674356/ft1_filtered_4FGL_J2311.0+0205_daily_bin250.fits" evtable="EVENTS" scfile=/scratch/kocevski/674356/ft2_4FGL_J2311.0+0205_daily_bin250.fits sctable="SC_DATA" outfile=/scratch/kocevski/674356/ltcube_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.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/674356/ft2_4FGL_J2311.0+0205_daily_bin250.fits
.....................!
real 12.20
user 11.70
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674356/ft1_filtered_4FGL_J2311.0+0205_daily_bin250.fits evtable="EVENTS" scfile=/scratch/kocevski/674356/ft2_4FGL_J2311.0+0205_daily_bin250.fits sctable="SC_DATA" expcube=/scratch/kocevski/674356/ltcube_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.fits outfile=/scratch/kocevski/674356/expmap_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.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/674356/ltcube_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.fits
.....................!
real 190.30
user 184.97
sys 4.79

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

Setting source of interest to:
4FGL J2311.0+0205 @ 347.766 2.0995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/674356/ft1_filtered_4FGL_J2311.0+0205_daily_bin250.fits scfile=/scratch/kocevski/674356/ft2_4FGL_J2311.0+0205_daily_bin250.fits outfile=/scratch/kocevski/674356/cmap_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.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=347.766 yref=2.0995 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674356/ft1_filtered_4FGL_J2311.0+0205_daily_bin250.fits scfile=/scratch/kocevski/674356/ft2_4FGL_J2311.0+0205_daily_bin250.fits outfile=/scratch/kocevski/674356/cmap_HighResolution_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.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=347.766 yref=2.0995 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/674356/ft1_filtered_4FGL_J2311.0+0205_daily_bin250.fits evtable="EVENTS" scfile=/scratch/kocevski/674356/ft2_4FGL_J2311.0+0205_daily_bin250.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/674356/Model_4FGL_J2311.0+0205_daily_bin250.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/674356/ft1_filtered_4FGL_J2311.0+0205_daily_bin250.fits.....................!
real 71.50
user 70.14
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/674356/ft1_filtered_4FGL_J2311.0+0205_daily_bin250.fits', '/scratch/kocevski/674356/ft2_4FGL_J2311.0+0205_daily_bin250.fits', expMap='/scratch/kocevski/674356/expmap_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.fits', expCube='/scratch/kocevski/674356/ltcube_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/674356/Model_4FGL_J2311.0+0205_daily_bin250.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.0+0205'

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.504e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/674356/ft1_filtered_4FGL_J2311.0+0205_daily_bin250.fits
Spacecraft file(s): /scratch/kocevski/674356/ft2_4FGL_J2311.0+0205_daily_bin250.fits
Exposure map: /scratch/kocevski/674356/expmap_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.fits
Exposure cube: /scratch/kocevski/674356/ltcube_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/674356/Model_4FGL_J2311.0+0205_daily_bin250.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) = 7130.28540934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .15231       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.670       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.317       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.3129       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .17907E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .24223       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3783       1.0000         .10000E-03   10000.    
     9 'norm      '    3.8773       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    12.959       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .43804       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.414       1.0000         .10000E-03   10000.    
    17 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.881       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10456E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .44793       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2430       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7130.279     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2664 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0443       -.67742E-09** at limit **
   2  norm          .14376        8.6158       -.11710E-05   -.10025E-03
   3  Prefactor     13.625        42.089       -.14371E-04    .42500E-05
   4  Prefactor     20.331        19.459       -.50414E-05    .34857E-04
   5  Prefactor     5.3169        14.049        .38476E-06   -.43098E-04
   6  Prefactor     .10000E-03    293.11       -.10793E-04** at limit **
   7  Prefactor     .36468        8.1424        .88186E-06   -.72163E-03
   8  norm          1.3787        .82204       -.51631E-07   -.19752E-03
   9  norm          3.8453        5.5719       -.91172E-06   -.49750E-03
  10  Prefactor     .10000E-03    10.601        .16846E-05** at limit **
  11  Prefactor     .10000E-03    30.971        .13998E-04** at limit **
  12  norm          12.958        11.296        .14949E-05    .25107E-03
  13  Prefactor     .44377        6.6209       -.15577E-05   -.82105E-04
  14  Prefactor     .10000E-03    61.776        .14014E-04** at limit **
  15  Prefactor     .10000E-03    10.924       -.47144E-05** at limit **
  16  Prefactor     12.417        23.126       -.55827E-05    .49839E-04
  17  norm          .10000E-03    17.943        .86319E-05** at limit **
  18  Prefactor     .10000E-03    14.561       -.42473E-05** at limit **
  19  Prefactor     13.888        4.9701       -.66037E-06   -.24106E-02
  20  Prefactor     .10000E-03    11.774        .45304E-05** at limit **
  21  Prefactor     .10000E-03    22.470       -.13388E-04** at limit **
  22  Normalizat    .44711        .22500        .55679E-05    .18837E-03
  23  Prefactor     1.2433        .13861       -.10165E-07    .37001E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.143765
  Prefactor  = 13.625
  Prefactor  = 20.3315
  Prefactor  = 5.31691
  Prefactor  = 0.000100004
  Prefactor  = 0.364684
  norm       = 1.37867
  norm       = 3.84532
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.9577
  Prefactor  = 0.443767
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4174
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.888
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.447115
  Prefactor  = 1.24329
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.279     FROM HESSE     STATUS=OK           382 CALLS     3046 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0514        .16585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .14376        14.452        .70135E-01   -1.5632    
   3  Prefactor     13.625        42.211        .10833E-03   -1.4970    
   4  Prefactor     20.331        19.441        .88860E-04   -1.4806    
   5  Prefactor     5.3169        14.031        .17437E-03   -1.5247    
   6  Prefactor     .10000E-03    298.52        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .36468        57.631        .39423E-02   -1.5587    
   8  norm          1.3787        .81472        .56010E-04   -1.5473    
   9  norm          3.8453        5.9302        .20216E-03   -1.5316    
  10  Prefactor     .10000E-03    10.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    30.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.958        11.084        .11127E-03   -1.4988    
  13  Prefactor     .44377        24.739        .37730E-02   -1.5575    
  14  Prefactor     .10000E-03    61.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.139        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.417        23.050        .11369E-03   -1.5003    
  17  norm          .10000E-03    18.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.888        5.0495        .53745E-03   -1.4962    
  20  Prefactor     .10000E-03    11.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    22.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .44711        .23155        .43601E-03   -1.1493    
  23  Prefactor     1.2433        .14541        .18158E-03   -.85009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15324e-08
Minuit parameter uncertainties:
  1  2.23366e-06
  2  2.8826
  3  42.3034
  4  19.4466
  5  14.0392
  6  0.00212583
  7  9.17663
  8  0.814731
  9  5.9311
  10  1.92907e-05
  11  4.6764e-05
  12  11.0857
  13  6.62886
  14  7.44274e-06
  15  3.26591e-05
  16  23.0662
  17  3.65491e-05
  18  4.57072e-06
  19  5.04968
  20  8.88236e-06
  21  3.61695e-05
  22  0.232047
  23  0.145459
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  5.317e+00  1.404e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.243e+00  1.455e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  4.471e-01  2.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.18
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 8.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/674356/likelihoodResults_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.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) = 7130.20288224
delta logL = 0.0763717079108

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7130.19798293
delta logL = 0.081271015928

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7903       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7880       1.0000          .0000       10.000    
     3 'Normalizat'    .45127       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    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7130.198     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      312 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8051        15.869        .71833E-03    .26975E-04
   2  Index         1.7891        .89178        .15068E-01   -.64888E-07
   3  Normalizat    .45118        .21144        .43409E-03    .41903E-06
   4  Prefactor     1.2408        .14316        .18172E-03   -.15015E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.80507
  Index      = 1.78912
  Normalizat = 0.451178
  Prefactor  = 1.24082
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.198     FROM HESSE     STATUS=OK            25 CALLS      337 TOTAL
                     EDM=   .84E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8051        15.917        .14367E-03   -1.5149    
   2  Index         1.7891        .89493        .60270E-03   -.69733    
   3  Normalizat    .45118        .21147        .17364E-04   -1.1473    
   4  Prefactor     1.2408        .14320        .72686E-05   -.85084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.38885e-15
Minuit parameter uncertainties:
  1  15.9252
  2  0.903273
  3  0.211849
  4  0.143243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674356': 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) = 7130.19798159
delta logL = 0.0812723563668

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  7.805e+00  1.593e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.789e+00  9.033e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.241e+00  1.432e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  4.512e-01  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
Ra Dec: 347.766 2.099

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/674356/cmap_HighResolution_304128001_304387201_4FGL_J2311.0+0205_daily_bin250.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.43e-03', job_status='DONE', photon_flux_upper_limit='8.45e-08', time_completed='2021-09-29 07:34:35.913994', job_id='674356', GAL2='1.24', fit_tolerance='1e-08', EG2='0.45', EG='0.45', time_epoch_completed='1632926075.91', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='8.13e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='250' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:34:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 674356: <4FGL_J2311.0+0205_daily_bin250> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin250> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:20:17 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:20:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 07:20:19 2021
Terminated at Wed Sep 29 07:34:36 2021
Results reported at Wed Sep 29 07:34:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin250 347.766 2.0995 304128001 304387201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.0+0205 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   694.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            859 sec.

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

