/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 130 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin548
RA = 347.766, Dec = 2.0995
tmin = 381369601, tmax = 381628801
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='675859', job_status='RUN', time_executed='2021-09-29 07:27:56.110337', time_epoch_executed='1632925676.11' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='548'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675859

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675859/ft1_4FGL_J2311.0+0205_daily_bin548.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675859/ft2_4FGL_J2311.0+0205_daily_bin548.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675859/ft1_4FGL_J2311.0+0205_daily_bin548.fits outfile=/scratch/kocevski/675859/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin548.fits ra=347.766 dec=2.0995 rad=12.0 tmin=381369601.0 tmax=381628801.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.59
user 3.36
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675859/ft1_filtered_4FGL_J2311.0+0205_daily_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/675859/ft2_4FGL_J2311.0+0205_daily_bin548.fits sctable="SC_DATA" expcube=/scratch/kocevski/675859/ltcube_381369601_381628801_4FGL_J2311.0+0205_daily_bin548.fits outfile=/scratch/kocevski/675859/expmap_381369601_381628801_4FGL_J2311.0+0205_daily_bin548.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/675859/ltcube_381369601_381628801_4FGL_J2311.0+0205_daily_bin548.fits
.....................!
real 190.28
user 185.22
sys 4.62

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/675859/ft1_filtered_4FGL_J2311.0+0205_daily_bin548.fits scfile=/scratch/kocevski/675859/ft2_4FGL_J2311.0+0205_daily_bin548.fits outfile=/scratch/kocevski/675859/cmap_381369601_381628801_4FGL_J2311.0+0205_daily_bin548.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675859/ft1_filtered_4FGL_J2311.0+0205_daily_bin548.fits scfile=/scratch/kocevski/675859/ft2_4FGL_J2311.0+0205_daily_bin548.fits outfile=/scratch/kocevski/675859/cmap_HighResolution_381369601_381628801_4FGL_J2311.0+0205_daily_bin548.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5820       1.0000         .10000E-03   10000.    
     2 'norm      '    15.718       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6570       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .91847       1.0000         .10000E-03   10000.    
     9 'norm      '    3.7021       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.7766       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    58.385       1.0000         .10000E-03   10000.    
    17 'norm      '    10.635       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.781       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    34.851       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .70383       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0873       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=   5674.506     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2575 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5824        9.6649        .76875E-05    .54320E-03
   2  norm          15.717        13.365        .15634E-06    .10635E-04
   3  Prefactor     .10000E-03    14.250       -.77526E-07** at limit **
   4  Prefactor     .10000E-03    19.554        .71016E-07** at limit **
   5  Prefactor     7.6570        14.134        .10003E-05    .79208E-04
   6  Prefactor     .10000E-03    19.583        .35814E-06** at limit **
   7  Prefactor     .10000E-03    3.2795       -.23281E-07** at limit **
   8  norm          .91836        1.0717       -.14149E-07   -.11899E-03
   9  norm          3.7027        4.6404        .88417E-06    .39817E-03
  10  Prefactor     .10000E-03    4.4808       -.62048E-07** at limit **
  11  Prefactor     .10000E-03    43.980        .35010E-05** at limit **
  12  norm          1.7638        11.462        .24185E-05   -.15114E-03
  13  Prefactor     .10127E-03    12.024        .47529E-05** at limit **
  14  Prefactor     .10000E-03    117.70        .86127E-06** at limit **
  15  Prefactor     .10000E-03    6.1391       -.18046E-08** at limit **
  16  Prefactor     58.379        31.054        .22851E-06   -.16840E-03
  17  norm          10.619        19.197       -.15685E-06   -.11828E-04
  18  Prefactor     10.728        39.894        .71485E-05   -.24130E-04
  19  Prefactor     .10000E-03    3.1928       -.23996E-07** at limit **
  20  Prefactor     34.835        35.805        .10872E-05   -.21166E-04
  21  Prefactor     .10000E-03    30.236       -.14100E-05** at limit **
  22  Normalizat    .70394        .21937        .79588E-06   -.16462E-03
  23  Prefactor     1.0872        .13989       -.11444E-05   -.22927E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.58243
  norm       = 15.7173
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.657
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.918362
  norm       = 3.70272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.76384
  Prefactor  = 0.000101272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.3793
  norm       = 10.6193
  Prefactor  = 10.7281
  Prefactor  = 0.0001
  Prefactor  = 34.8346
  Prefactor  = 0.0001
  Normalizat = 0.703938
  Prefactor  = 1.08722
 **********
 **   18 **HESSE 
 **********

 FCN=   5674.506     FROM HESSE     STATUS=OK           372 CALLS     2947 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5824        9.8242        .12699E-02   -1.5387    
   2  norm          15.717        13.370        .50512E-03   -1.4915    
   3  Prefactor     .10000E-03    14.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.6570        14.131        .72460E-03   -1.5154    
   6  Prefactor     .10000E-03    19.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.2853        .13321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .91836        1.0331        .79259E-03   -1.5516    
   9  norm          3.7027        4.6364        .87716E-03   -1.5323    
  10  Prefactor     .10000E-03    4.4939        .15566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    44.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7638        9.8396        .31406E-03   -1.5442    
  13  Prefactor     .10127E-03    63.756        .36715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    117.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.1566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     58.379        30.801        .52505E-04   -1.4178    
  17  norm          10.619        19.081        .12286E-03   -1.5056    
  18  Prefactor     10.728        40.044        .12202E-03   -1.5053    
  19  Prefactor     .10000E-03    3.2446        .26162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     34.835        35.818        .67882E-04   -1.4527    
  21  Prefactor     .10000E-03    30.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .70394        .24432        .34368E-03   -1.0374    
  23  Prefactor     1.0872        .15788        .18558E-03   -.89876    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14676e-08
Minuit parameter uncertainties:
  1  9.83032
  2  13.3727
  3  5.59335e-06
  4  5.26262e-06
  5  14.1375
  6  1.60223e-05
  7  4.19865e-06
  8  1.03316
  9  4.63682
  10  1.73538e-05
  11  0.000143682
  12  8.33387
  13  0.0180318
  14  4.85689e-05
  15  1.30206e-06
  16  30.8096
  17  19.0919
  18  40.1442
  19  2.6416e-06
  20  35.8401
  21  3.74125e-05
  22  0.244694
  23  0.157948
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  7.657e+00  1.414e+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.087e+00  1.579e-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:  7.039e-01  2.447e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/675859/likelihoodResults_381369601_381628801_4FGL_J2311.0+0205_daily_bin548.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) = 5674.50299155
delta logL = 0.0033687848163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5674.50177917
delta logL = 0.00458115862966

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9009       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3027       1.0000          .0000       10.000    
     3 'Normalizat'    .70226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0879       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=   5674.502     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      256 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9031        16.810        .15272E-03   -.91262E-04
   2  Index         2.3004        1.3057        .11275E-01   -.28734E-04
   3  Normalizat    .70212        .23681        .34410E-03    .37618E-03
   4  Prefactor     1.0880        .15674        .18552E-03    .74476E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.90305
  Index      = 2.30041
  Normalizat = 0.702118
  Prefactor  = 1.08801
 **********
 **   18 **HESSE 
 **********

 FCN=   5674.502     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9031        15.589        .61090E-05   -1.5182    
   2  Index         2.3004        1.2136        .45101E-03   -.57034    
   3  Normalizat    .70212        .23681        .13764E-04   -1.0381    
   4  Prefactor     1.0880        .15674        .37104E-04   -.89851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76478e-10
Minuit parameter uncertainties:
  1  15.5984
  2  1.23112
  3  0.237159
  4  0.156803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675859': 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) = 5674.5017765
delta logL = 0.00458383149453

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.903e+00  1.560e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.300e+00  1.231e+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.088e+00  1.568e-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:  7.021e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/675859/cmap_HighResolution_381369601_381628801_4FGL_J2311.0+0205_daily_bin548.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-03', job_status='DONE', photon_flux_upper_limit='8.98e-08', time_completed='2021-09-29 07:38:12.876551', job_id='675859', GAL2='1.09', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1632926292.88', return_code2='0', ts='0.42', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.58e-03', ts2='0.43', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='548' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:38:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 675859: <4FGL_J2311.0+0205_daily_bin548> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin548 347.766 2.0995 381369601 381628801 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 :                                   612.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            760 sec.

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

