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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin530
RA = 347.766, Dec = 2.0995
tmin = 376704001, tmax = 376963201
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='675831', job_status='RUN', time_executed='2021-09-29 07:29:03.258334', time_epoch_executed='1632925743.26' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='530'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675831

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675831/ft1_4FGL_J2311.0+0205_daily_bin530.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675831/ft2_4FGL_J2311.0+0205_daily_bin530.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675831/ft1_4FGL_J2311.0+0205_daily_bin530.fits outfile=/scratch/kocevski/675831/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin530.fits ra=347.766 dec=2.0995 rad=12.0 tmin=376704001.0 tmax=376963201.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.38
user 3.20
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675831/ft1_filtered_4FGL_J2311.0+0205_daily_bin530.fits evtable="EVENTS" scfile=/scratch/kocevski/675831/ft2_4FGL_J2311.0+0205_daily_bin530.fits sctable="SC_DATA" expcube=/scratch/kocevski/675831/ltcube_376704001_376963201_4FGL_J2311.0+0205_daily_bin530.fits outfile=/scratch/kocevski/675831/expmap_376704001_376963201_4FGL_J2311.0+0205_daily_bin530.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/675831/ltcube_376704001_376963201_4FGL_J2311.0+0205_daily_bin530.fits
.....................!
real 191.66
user 185.71
sys 5.63

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/675831/ft1_filtered_4FGL_J2311.0+0205_daily_bin530.fits scfile=/scratch/kocevski/675831/ft2_4FGL_J2311.0+0205_daily_bin530.fits outfile=/scratch/kocevski/675831/cmap_376704001_376963201_4FGL_J2311.0+0205_daily_bin530.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.60
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675831/ft1_filtered_4FGL_J2311.0+0205_daily_bin530.fits scfile=/scratch/kocevski/675831/ft2_4FGL_J2311.0+0205_daily_bin530.fits outfile=/scratch/kocevski/675831/cmap_HighResolution_376704001_376963201_4FGL_J2311.0+0205_daily_bin530.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    50.775       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12433E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.169       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.763       1.0000         .10000E-03   10000.    
     8 'norm      '    4.1594       1.0000         .10000E-03   10000.    
     9 'norm      '    .10226E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .68545       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    116.39       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.395       1.0000         .10000E-03   10000.    
    17 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    133.68       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.864       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .35906       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2055       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=   5828.452     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2542 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2742        .33087E-08** at limit **
   2  norm          50.781        20.021       -.19164E-06    .10818E-04
   3  Prefactor     .10000E-03    73.788        .97985E-06** at limit **
   4  Prefactor     .10000E-03    22.999        .17921E-05** at limit **
   5  Prefactor     21.168        25.826       -.19413E-06    .24414E-04
   6  Prefactor     .10000E-03    54.690        .13745E-06** at limit **
   7  Prefactor     14.763        11.709       -.19776E-06   -.15272E-04
   8  norm          4.1593        1.5512       -.46543E-07   -.11934E-05
   9  norm          .10000E-03    6.6239        .10863E-06** at limit **
  10  Prefactor     .10000E-03    4.0055       -.58716E-06** at limit **
  11  Prefactor     .10000E-03    27.814       -.22742E-06** at limit **
  12  norm          .72077        7.3995        .12765E-05   -.61687E-03
  13  Prefactor     .10000E-03    4.8391       -.57747E-06** at limit **
  14  Prefactor     116.38        136.63       -.38775E-06   -.83668E-05
  15  Prefactor     .10000E-03    5.5672        .17216E-07** at limit **
  16  Prefactor     34.328        30.590        .18688E-05    .88131E-04
  17  norm          .10000E-03    15.869        .17884E-07** at limit **
  18  Prefactor     .10000E-03    93.132        .61368E-07** at limit **
  19  Prefactor     .10000E-03    3.1330        .31206E-07** at limit **
  20  Prefactor     133.68        51.592       -.24350E-06    .29537E-04
  21  Prefactor     12.869        18.498       -.14803E-06    .20791E-04
  22  Normalizat    .35873        .27351        .93311E-06    .10840E-03
  23  Prefactor     1.2055        .16708        .78697E-06    .36614E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 50.7813
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.1677
  Prefactor  = 0.0001
  Prefactor  = 14.7635
  norm       = 4.1593
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.720772
  Prefactor  = 0.0001
  Prefactor  = 116.375
  Prefactor  = 0.0001
  Prefactor  = 34.3278
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 133.681
  Prefactor  = 12.8686
  Normalizat = 0.358728
  Prefactor  = 1.20555
 **********
 **   18 **HESSE 
 **********

 FCN=   5828.452     FROM HESSE     STATUS=OK           368 CALLS     2910 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.2744        .11244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          50.781        19.930        .56281E-04   -1.4282    
   3  Prefactor     .10000E-03    74.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.429        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     21.168        25.714        .87055E-04   -1.4787    
   6  Prefactor     .10000E-03    54.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.763        11.616        .10424E-03   -1.4939    
   8  norm          4.1593        1.5418        .54037E-04   -1.5300    
   9  norm          .10000E-03    6.7484        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.0443        .14968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    27.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .72077        25.432        .30391E-02   -1.5538    
  13  Prefactor     .10000E-03    4.9441        .16422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     116.38        136.63        .18647E-03   -1.3546    
  15  Prefactor     .10000E-03    5.5787        .17586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.328        32.606        .68329E-04   -1.4535    
  17  norm          .10000E-03    15.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    93.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.1756        .13178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     133.68        51.389        .34830E-04   -1.3390    
  21  Prefactor     12.869        18.472        .11168E-03   -1.4990    
  22  Normalizat    .35873        .25849        .48386E-03   -1.1949    
  23  Prefactor     1.2055        .16173        .18198E-03   -.86161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79081e-09
Minuit parameter uncertainties:
  1  4.69685e-07
  2  19.9326
  3  0.000183892
  4  0.000154904
  5  25.7271
  6  7.5559e-06
  7  11.6177
  8  1.54182
  9  3.56206e-06
  10  4.45615e-05
  11  0.000126487
  12  8.56623
  13  6.91992e-05
  14  136.998
  15  3.82514e-06
  16  32.6225
  17  1.78972e-05
  18  6.23084e-05
  19  4.14413e-06
  20  51.4057
  21  18.4804
  22  0.259352
  23  0.161793
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.117e+01  2.573e+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.206e+00  1.618e-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:  3.587e-01  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.90
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675831/likelihoodResults_376704001_376963201_4FGL_J2311.0+0205_daily_bin530.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) = 5827.96503635
delta logL = 0.486469126456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5827.95063158
delta logL = 0.500873894213

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7810       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1901       1.0000          .0000       10.000    
     3 'Normalizat'    .29652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2327       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5827.951     FROM MIGRAD    STATUS=FAILED        84 CALLS      290 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7781        209.75        .15408E-03   -.26552E-02
   2  Index         3.1905        6.5950        .53423E-02   -.80762E-03
   3  Normalizat    .29650        .26844        .53054E-03   -.56470E-03
   4  Prefactor     1.2327        .18326        .18017E-03   -.17427E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5827.951     FROM SIMPLEX   STATUS=UNCHANGED     97 CALLS      387 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7781        209.75        .33683E-03   -.26552E-02
   2  Index         3.1905        6.5950        .14553E-02   -.80762E-03
   3  Normalizat    .29650        .26844        .57578E-03   -.56470E-03
   4  Prefactor     1.2327        .18326        .21035E-03   -.17427E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5827.951     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      418 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7771        19.522        .61633E-05   -.11252E-03
   2  Index         3.1906        1.4389        .21369E-03   -.25058E-04
   3  Normalizat    .29650        .25081        .21222E-04    .41785E-05
   4  Prefactor     1.2327        .16460        .36035E-04   -.38868E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.77706
  Index      = 3.19057
  Normalizat = 0.296499
  Prefactor  = 1.23267
 **********
 **   18 **HESSE 
 **********

 FCN=   5827.951     FROM HESSE     STATUS=OK            23 CALLS      441 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7771        18.985        .12327E-05   -1.5187    
   2  Index         3.1906        1.4005        .85477E-05   -.37029    
   3  Normalizat    .29650        .25072        .42443E-05   -1.2305    
   4  Prefactor     1.2327        .16450        .72070E-05   -.85332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39575e-11
Minuit parameter uncertainties:
  1  19.0021
  2  1.42244
  3  0.251671
  4  0.16457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675831': 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) = 5827.95063148
delta logL = 0.500873997309

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.777e+00  1.900e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.191e+00  1.422e+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.233e+00  1.646e-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:  2.965e-01  2.517e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.10
Ra Dec: 347.766 2.099
Photon Index (Free Index): 3.19 +/- 1.42
Photon Flux (Free Index): 8.27e-08 +/- 7.14e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.39e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/675831/cmap_HighResolution_376704001_376963201_4FGL_J2311.0+0205_daily_bin530.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', energy_flux2='1.52e-05', dlogl='5.01e-01', photon_flux2='8.27e-08', job_status='DONE', time_completed='2021-09-29 07:39:25.915402', photon_index_error2='1.42', photon_index2='3.19', ts='0.90', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.39e-05', EG='0.36', time_epoch_completed='1632926365.92', return_code='0', job_id='675831', GAL2='1.23', EG2='0.30', return_code2='0', photon_flux_error2='7.14e-08', ts2='2.10', photon_index='2.19' WHERE bin_id='530' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:39:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 675831: <4FGL_J2311.0+0205_daily_bin530> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin530> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:25:31 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:25:32 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:25:32 2021
Terminated at Wed Sep 29 07:39:26 2021
Results reported at Wed Sep 29 07:39:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin530 347.766 2.0995 376704001 376963201 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 :                                   619.00 sec.
    Max Memory :                                 1145 MB
    Average Memory :                             291.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            835 sec.

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

