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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin246
RA = 347.766, Dec = 2.0995
tmin = 303091201, tmax = 303350401
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='674350', job_status='RUN', time_executed='2021-09-29 07:22:31.555487', time_epoch_executed='1632925351.56' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='246'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674350

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674350/ft1_4FGL_J2311.0+0205_daily_bin246.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674350/ft2_4FGL_J2311.0+0205_daily_bin246.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674350/ft1_4FGL_J2311.0+0205_daily_bin246.fits outfile=/scratch/kocevski/674350/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin246.fits ra=347.766 dec=2.0995 rad=12.0 tmin=303091201.0 tmax=303350401.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.46
user 3.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/674350/ft2_4FGL_J2311.0+0205_daily_bin246.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/674350/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin246.fits evtable="EVENTS" outfile="/scratch/kocevski/674350/ft1_filtered_4FGL_J2311.0+0205_daily_bin246.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/674350/ft1_filtered_4FGL_J2311.0+0205_daily_bin246.fits" evtable="EVENTS" scfile=/scratch/kocevski/674350/ft2_4FGL_J2311.0+0205_daily_bin246.fits sctable="SC_DATA" outfile=/scratch/kocevski/674350/ltcube_303091201_303350401_4FGL_J2311.0+0205_daily_bin246.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/674350/ft2_4FGL_J2311.0+0205_daily_bin246.fits
.....................!
real 11.82
user 11.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674350/ft1_filtered_4FGL_J2311.0+0205_daily_bin246.fits evtable="EVENTS" scfile=/scratch/kocevski/674350/ft2_4FGL_J2311.0+0205_daily_bin246.fits sctable="SC_DATA" expcube=/scratch/kocevski/674350/ltcube_303091201_303350401_4FGL_J2311.0+0205_daily_bin246.fits outfile=/scratch/kocevski/674350/expmap_303091201_303350401_4FGL_J2311.0+0205_daily_bin246.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/674350/ltcube_303091201_303350401_4FGL_J2311.0+0205_daily_bin246.fits
.....................!
real 189.35
user 184.86
sys 4.14

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/674350/ft1_filtered_4FGL_J2311.0+0205_daily_bin246.fits scfile=/scratch/kocevski/674350/ft2_4FGL_J2311.0+0205_daily_bin246.fits outfile=/scratch/kocevski/674350/cmap_303091201_303350401_4FGL_J2311.0+0205_daily_bin246.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674350/ft1_filtered_4FGL_J2311.0+0205_daily_bin246.fits scfile=/scratch/kocevski/674350/ft2_4FGL_J2311.0+0205_daily_bin246.fits outfile=/scratch/kocevski/674350/cmap_HighResolution_303091201_303350401_4FGL_J2311.0+0205_daily_bin246.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/674350/ft1_filtered_4FGL_J2311.0+0205_daily_bin246.fits evtable="EVENTS" scfile=/scratch/kocevski/674350/ft2_4FGL_J2311.0+0205_daily_bin246.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/674350/Model_4FGL_J2311.0+0205_daily_bin246.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/674350/ft1_filtered_4FGL_J2311.0+0205_daily_bin246.fits.....................!
real 56.07
user 54.77
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.362       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.9312       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.0879       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.1418       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17095E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    9.4862       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16492E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.591       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.0324       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.8660       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .44964       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1690       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=   5442.811     FROM MIGRAD    STATUS=CONVERGED    893 CALLS     3299 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7291        .11900E-02** at limit **
   2  norm          .10000E-03    4.5048        .15274E-02** at limit **
   3  Prefactor     28.351        36.854        .75228E-04    .67552E-04
   4  Prefactor     9.9333        11.903        .12715E-03    .89409E-07
   5  Prefactor     .10000E-03    9.8590        .18142E-02** at limit **
   6  Prefactor     .10000E-03    28.397        .18142E-02** at limit **
   7  Prefactor     .10000E-03    3.6520        .13727E-02** at limit **
   8  norm          1.0879        .84453        .56493E-04   -.31454E-03
   9  norm          .10000E-03    1.4704        .87289E-03** at limit **
  10  Prefactor     9.1407        10.282        .13256E-03    .39710E-04
  11  Prefactor     .10013E-03    58.224        .16038    ** at limit **
  12  norm          9.4973        10.985        .65058E-03    .37279E-03
  13  Prefactor     .10124E-03    12.110        .46026E-01** at limit **
  14  Prefactor     .10000E-03    93.103        .18142E-02** at limit **
  15  Prefactor     .10000E-03    10.117        .18142E-02** at limit **
  16  Prefactor     .10000E-03    15.144        .18142E-02** at limit **
  17  norm          .10000E-03    25.037        .18142E-02** at limit **
  18  Prefactor     31.566        63.412        .71288E-04    .85861E-04
  19  Prefactor     5.0322        5.0932        .15712E-03   -.76626E-04
  20  Prefactor     3.8580        120.87        .20523E-03    .22823E-04
  21  Prefactor     .10000E-03    12.613        .18142E-02** at limit **
  22  Normalizat    .44966        .24845        .40745E-03    .10726E-03
  23  Prefactor     1.1690        .15678        .17402E-03    .20300E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 28.3514
  Prefactor  = 9.93332
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 1.08792
  norm       = 0.0001
  Prefactor  = 9.14075
  Prefactor  = 0.000100126
  norm       = 9.49727
  Prefactor  = 0.000101244
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 31.5655
  Prefactor  = 5.03223
  Prefactor  = 3.858
  Prefactor  = 0.0001
  Normalizat = 0.449657
  Prefactor  = 1.16901
 **********
 **   18 **HESSE 
 **********

 FCN=   5442.811     FROM HESSE     STATUS=OK           366 CALLS     3665 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.7292        .23800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.5051        .30547E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.351        36.852        .15046E-04   -1.4643    
   4  Prefactor     9.9333        11.903        .50861E-05   -1.5078    
   5  Prefactor     .10000E-03    9.8598        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    28.398        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.6525        .27453E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.0879        .84450        .22597E-05   -1.5499    
   9  norm          .10000E-03    1.4704        .17458E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.1407        10.277        .53022E-05   -1.5103    
  11  Prefactor     .10013E-03    58.652        .15951       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.4973        10.842        .26023E-04   -1.5092    
  13  Prefactor     .10124E-03    8.9982        .54924E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    93.103        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.119        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.145        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    25.040        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     31.566        63.412        .14258E-04   -1.4584    
  19  Prefactor     5.0322        5.0920        .62848E-05   -1.5259    
  20  Prefactor     3.8580        120.80        .82093E-05   -1.5315    
  21  Prefactor     .10000E-03    12.614        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .44966        .24845        .16298E-04   -1.1481    
  23  Prefactor     1.1690        .15681        .34805E-04   -.87290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28178e-10
Minuit parameter uncertainties:
  1  1.43312e-06
  2  1.45412e-05
  3  36.8819
  4  11.9055
  5  0.000103271
  6  0.000470958
  7  1.31509e-05
  8  0.844509
  9  4.00417e-06
  10  10.2789
  11  0.00544387
  12  10.8444
  13  0.00669282
  14  0.00045421
  15  0.000123854
  16  4.95191e-05
  17  2.55836e-05
  18  63.5474
  19  5.09244
  20  43.2722
  21  6.34303e-05
  22  0.249058
  23  0.156877
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.033e-04  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.169e+00  1.569e-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.497e-01  2.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/674350/likelihoodResults_303091201_303350401_4FGL_J2311.0+0205_daily_bin246.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): 102
logL (Free Index) = 5442.81109638
delta logL = -0.000483088265355

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5442.81061335
delta logL = -5.84441295359e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1792       1.0000          .0000       10.000    
     3 'Normalizat'    .44963       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1690       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=   5442.811     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      245 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10021E-03    126.77        .18142E-02** at limit **
   2  Index         2.1540        6.0672        .50000        .46108E-05
   3  Normalizat    .44966        .18716E-01    .40744E-03   -.77849E-05
   4  Prefactor     1.1690        .12573E-01    .17402E-03    .11302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100207
  Index      = 2.15399
  Normalizat = 0.449656
  Prefactor  = 1.16901
 **********
 **   18 **HESSE 
 **********

 FCN=   5442.811     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10021E-03    554.45        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1540        5.4109        .50000       -.60554    
   3  Normalizat    .44966        .41583E-01    .16297E-04   -1.1481    
   4  Prefactor     1.1690        .27934E-01    .69609E-05   -.87290    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.13561e-09
Minuit parameter uncertainties:
  1  0.0216426
  2  988.584
  3  0.0415863
  4  0.027934
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674350': 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): 102
logL (Free Index) = 5442.81061326
delta logL = 3.01397449221e-08

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.002e-04  2.164e-02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.154e+00  9.886e+02  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.169e+00  2.793e-02  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.497e-01  4.159e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/674350/cmap_HighResolution_303091201_303350401_4FGL_J2311.0+0205_daily_bin246.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.56e-03', job_status='DONE', photon_flux_upper_limit='7.31e-08', time_completed='2021-09-29 07:33:09.037862', job_id='674350', GAL2='1.17', fit_tolerance='1e-08', EG2='0.45', EG='0.45', time_epoch_completed='1632925989.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='3.01e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='246' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:33:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 674350: <4FGL_J2311.0+0205_daily_bin246> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin246 347.766 2.0995 303091201 303350401 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 :                                   636.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             249.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            774 sec.

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

