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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin929
RA = 347.766, Dec = 2.0995
tmin = 480124801, tmax = 480384001
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='677113', job_status='RUN', time_executed='2021-09-29 07:34:35.547252', time_epoch_executed='1632926075.55' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677113

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677113/ft1_4FGL_J2311.0+0205_daily_bin929.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677113/ft2_4FGL_J2311.0+0205_daily_bin929.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677113/ft1_4FGL_J2311.0+0205_daily_bin929.fits outfile=/scratch/kocevski/677113/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin929.fits ra=347.766 dec=2.0995 rad=12.0 tmin=480124801.0 tmax=480384001.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.57
user 3.30
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677113/ft2_4FGL_J2311.0+0205_daily_bin929.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/677113/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin929.fits evtable="EVENTS" outfile="/scratch/kocevski/677113/ft1_filtered_4FGL_J2311.0+0205_daily_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677113/ft1_filtered_4FGL_J2311.0+0205_daily_bin929.fits" evtable="EVENTS" scfile=/scratch/kocevski/677113/ft2_4FGL_J2311.0+0205_daily_bin929.fits sctable="SC_DATA" outfile=/scratch/kocevski/677113/ltcube_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.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/677113/ft2_4FGL_J2311.0+0205_daily_bin929.fits
.....................!
real 12.07
user 11.68
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677113/ft1_filtered_4FGL_J2311.0+0205_daily_bin929.fits evtable="EVENTS" scfile=/scratch/kocevski/677113/ft2_4FGL_J2311.0+0205_daily_bin929.fits sctable="SC_DATA" expcube=/scratch/kocevski/677113/ltcube_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.fits outfile=/scratch/kocevski/677113/expmap_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.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/677113/ltcube_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.fits
.....................!
real 190.52
user 185.60
sys 4.57

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/677113/ft1_filtered_4FGL_J2311.0+0205_daily_bin929.fits scfile=/scratch/kocevski/677113/ft2_4FGL_J2311.0+0205_daily_bin929.fits outfile=/scratch/kocevski/677113/cmap_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677113/ft1_filtered_4FGL_J2311.0+0205_daily_bin929.fits scfile=/scratch/kocevski/677113/ft2_4FGL_J2311.0+0205_daily_bin929.fits outfile=/scratch/kocevski/677113/cmap_HighResolution_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/677113/ft1_filtered_4FGL_J2311.0+0205_daily_bin929.fits', '/scratch/kocevski/677113/ft2_4FGL_J2311.0+0205_daily_bin929.fits', expMap='/scratch/kocevski/677113/expmap_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.fits', expCube='/scratch/kocevski/677113/ltcube_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/677113/Model_4FGL_J2311.0+0205_daily_bin929.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/677113/ft1_filtered_4FGL_J2311.0+0205_daily_bin929.fits
Spacecraft file(s): /scratch/kocevski/677113/ft2_4FGL_J2311.0+0205_daily_bin929.fits
Exposure map: /scratch/kocevski/677113/expmap_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.fits
Exposure cube: /scratch/kocevski/677113/ltcube_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/677113/Model_4FGL_J2311.0+0205_daily_bin929.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) = 7854.19658191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5938       1.0000         .10000E-03   10000.    
     2 'norm      '    6.0687       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.799       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4658       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.4856       1.0000         .10000E-03   10000.    
     9 'norm      '    1.2500       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2863       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.464       1.0000         .10000E-03   10000.    
    12 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.8853       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .61523E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.173       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.816       1.0000         .10000E-03   10000.    
    17 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .49721E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    63.804       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.752       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88113       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1169       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=   7854.057     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2582 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5937        12.891        .26474E-05    .17812E-04
   2  norm          6.0670        14.196        .39964E-06   -.52053E-05
   3  Prefactor     19.798        31.993        .37260E-06   -.23812E-05
   4  Prefactor     .10000E-03    7.4520       -.15144E-06** at limit **
   5  Prefactor     8.4652        17.249        .26653E-06   -.56301E-05
   6  Prefactor     .10000E-03    17.437        .50632E-06** at limit **
   7  Prefactor     .10000E-03    4.3384        .88080E-08** at limit **
   8  norm          1.4850        1.0507       -.22170E-07   -.60038E-03
   9  norm          1.2500        2.3991        .11831E-06   -.14097E-04
  10  Prefactor     2.2872        7.9251        .67016E-05    .26469E-04
  11  Prefactor     21.466        39.643       -.31170E-06   -.97394E-05
  12  norm          .10000E-03    7.8864        .52945E-06** at limit **
  13  Prefactor     6.8859        8.1011        .63457E-06   -.60841E-04
  14  Prefactor     .10000E-03    272.13        .36307E-04** at limit **
  15  Prefactor     12.182        14.702        .57520E-06   -.16769E-03
  16  Prefactor     17.809        26.657       -.15000E-06   -.13627E-04
  17  norm          .10000E-03    10.211       -.29485E-06** at limit **
  18  Prefactor     .10000E-03    40.438       -.71440E-06** at limit **
  19  Prefactor     .10013E-03    2.9472        .68253E-06** at limit **
  20  Prefactor     63.804        45.646        .28772E-06   -.16622E-04
  21  Prefactor     19.755        23.800       -.19061E-06   -.12576E-04
  22  Normalizat    .88120        .21682        .49330E-07   -.90712E-04
  23  Prefactor     1.1169        .13142       -.83909E-06   -.74027E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.59367
  norm       = 6.06699
  Prefactor  = 19.7977
  Prefactor  = 0.0001
  Prefactor  = 8.46521
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.48495
  norm       = 1.25002
  Prefactor  = 2.2872
  Prefactor  = 21.4663
  norm       = 0.0001
  Prefactor  = 6.88592
  Prefactor  = 0.000100002
  Prefactor  = 12.1819
  Prefactor  = 17.8087
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100126
  Prefactor  = 63.8038
  Prefactor  = 19.7549
  Normalizat = 0.8812
  Prefactor  = 1.11685
 **********
 **   18 **HESSE 
 **********

 FCN=   7854.057     FROM HESSE     STATUS=OK           374 CALLS     2956 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5937        12.902        .93900E-03   -1.5279    
   2  norm          6.0670        14.208        .16298E-03   -1.5215    
   3  Prefactor     19.798        31.999        .90013E-04   -1.4818    
   4  Prefactor     .10000E-03    7.4907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.4652        17.242        .13778E-03   -1.5126    
   6  Prefactor     .10000E-03    17.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.4002        .18020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4850        1.0336        .70991E-04   -1.5464    
   9  norm          1.2500        2.3398        .18514E-03   -1.5484    
  10  Prefactor     2.2872        7.9322        .13575E-02   -1.5405    
  11  Prefactor     21.466        39.630        .86455E-04   -1.4781    
  12  norm          .10000E-03    7.9923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.8859        8.0715        .76449E-03   -1.5183    
  14  Prefactor     .10000E-03    271.80        .21051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.182        13.089        .11481E-03   -1.5010    
  16  Prefactor     17.809        26.633        .94889E-04   -1.4864    
  17  norm          .10000E-03    10.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    40.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10013E-03    29.057        .24819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     63.804        45.741        .50239E-04   -1.4109    
  21  Prefactor     19.755        23.794        .90119E-04   -1.4819    
  22  Normalizat    .88120        .24504        .35133E-03   -.97124    
  23  Prefactor     1.1169        .14934        .20360E-03   -.88930    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22695e-09
Minuit parameter uncertainties:
  1  12.9103
  2  14.2164
  3  32.0266
  4  1.95978e-06
  5  17.2525
  6  4.16764e-06
  7  1.10835e-06
  8  1.03363
  9  2.33992
  10  7.93584
  11  39.6787
  12  2.69552e-05
  13  8.07274
  14  0.00131695
  15  13.0924
  16  26.651
  17  2.23966e-05
  18  1.5055e-05
  19  0.00382407
  20  45.7657
  21  23.8053
  22  0.245354
  23  0.149401
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  8.465e+00  1.725e+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.117e+00  1.494e-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:  8.812e-01  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/677113/likelihoodResults_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.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) = 7854.04127544
delta logL = 0.0152832862623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7854.03795957
delta logL = 0.0185991526132

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9434       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8657       1.0000          .0000       10.000    
     3 'Normalizat'    .88837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1137       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7854.038     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      263 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9412        19.494        .12708E-03    .86154E-04
   2  Index         1.8652        1.2785        .71020E-02    .68744E-04
   3  Normalizat    .88845        .22526        .35000E-03   -.42087E-03
   4  Prefactor     1.1136        .14587        .20385E-03   -.43780E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.94121
  Index      = 1.86522
  Normalizat = 0.888451
  Prefactor  = 1.11363
 **********
 **   18 **HESSE 
 **********

 FCN=   7854.038     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9412        19.458        .50830E-05   -1.5077    
   2  Index         1.8652        1.2759        .28408E-03   -.67764    
   3  Normalizat    .88845        .22533        .14000E-04   -.96867    
   4  Prefactor     1.1136        .14593        .40770E-04   -.89032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0715e-09
Minuit parameter uncertainties:
  1  19.4705
  2  1.2999
  3  0.225568
  4  0.14598
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677113': 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) = 7854.03795942
delta logL = 0.018599302678

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  9.941e+00  1.947e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.865e+00  1.300e+00  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.114e+00  1.460e-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:  8.885e-01  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
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/677113/cmap_HighResolution_480124801_480384001_4FGL_J2311.0+0205_daily_bin929.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.26e-03', job_status='DONE', photon_flux_upper_limit='9.54e-08', time_completed='2021-09-29 07:46:53.888236', job_id='677113', GAL2='1.11', fit_tolerance='1e-08', EG2='0.89', EG='0.88', time_epoch_completed='1632926813.89', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.86e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='929' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:46:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 677113: <4FGL_J2311.0+0205_daily_bin929> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin929> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:30:57 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:30:59 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:30:59 2021
Terminated at Wed Sep 29 07:46:54 2021
Results reported at Wed Sep 29 07:46:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin929 347.766 2.0995 480124801 480384001 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 :                                   735.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

