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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin940
RA = 347.766, Dec = 2.0995
tmin = 482976001, tmax = 483235201
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='677128', job_status='RUN', time_executed='2021-09-29 07:33:14.593398', time_epoch_executed='1632925994.59' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='940'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677128

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677128/ft1_4FGL_J2311.0+0205_daily_bin940.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677128/ft2_4FGL_J2311.0+0205_daily_bin940.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677128/ft1_4FGL_J2311.0+0205_daily_bin940.fits outfile=/scratch/kocevski/677128/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin940.fits ra=347.766 dec=2.0995 rad=12.0 tmin=482976001.0 tmax=483235201.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 4.28
user 3.95
sys 0.21

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677128/ft1_filtered_4FGL_J2311.0+0205_daily_bin940.fits evtable="EVENTS" scfile=/scratch/kocevski/677128/ft2_4FGL_J2311.0+0205_daily_bin940.fits sctable="SC_DATA" expcube=/scratch/kocevski/677128/ltcube_482976001_483235201_4FGL_J2311.0+0205_daily_bin940.fits outfile=/scratch/kocevski/677128/expmap_482976001_483235201_4FGL_J2311.0+0205_daily_bin940.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/677128/ltcube_482976001_483235201_4FGL_J2311.0+0205_daily_bin940.fits
.....................!
real 192.11
user 187.58
sys 4.12

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/677128/ft1_filtered_4FGL_J2311.0+0205_daily_bin940.fits scfile=/scratch/kocevski/677128/ft2_4FGL_J2311.0+0205_daily_bin940.fits outfile=/scratch/kocevski/677128/cmap_482976001_483235201_4FGL_J2311.0+0205_daily_bin940.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677128/ft1_filtered_4FGL_J2311.0+0205_daily_bin940.fits scfile=/scratch/kocevski/677128/ft2_4FGL_J2311.0+0205_daily_bin940.fits outfile=/scratch/kocevski/677128/cmap_HighResolution_482976001_483235201_4FGL_J2311.0+0205_daily_bin940.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.994       1.0000         .10000E-03   10000.    
     2 'norm      '    13.235       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12557E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .91487       1.0000         .10000E-03   10000.    
     9 'norm      '    2.7221       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.0962       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7293       1.0000         .10000E-03   10000.    
    12 'norm      '    .16035E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7724       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10221E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .27620E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5017       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.522       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2904       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76351       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=   6894.210     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2170 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.993        9.7227       -.39001E-06   -.15630E-04
   2  norm          13.235        12.277       -.39294E-06    .21100E-04
   3  Prefactor     .10000E-03    14.014        .54754E-05** at limit **
   4  Prefactor     .10000E-03    3.5754       -.93262E-07** at limit **
   5  Prefactor     .10000E-03    10.240       -.11498E-05** at limit **
   6  Prefactor     .10000E-03    42.576       -.54645E-05** at limit **
   7  Prefactor     .10001E-03    14.684       -.31306E-05** at limit **
   8  norm          .91559        .75091       -.82862E-07    .98260E-04
   9  norm          2.7212        5.2619        .43656E-05   -.44995E-03
  10  Prefactor     6.0671        12.104       -.57194E-05   -.71470E-04
  11  Prefactor     9.6698        43.502       -.11495E-03    .11448E-04
  12  norm          .10000E-03    11.289        .77938E-06** at limit **
  13  Prefactor     .10000E-03    5.5528       -.50965E-06** at limit **
  14  Prefactor     .10000E-03    56.513        .16090E-04** at limit **
  15  Prefactor     1.7606        10.092        .28210E-05   -.22517E-03
  16  Prefactor     .10000E-03    10.746       -.16880E-05** at limit **
  17  norm          .10000E-03    8.1491        .16393E-05** at limit **
  18  Prefactor     .10000E-03    15.366       -.44703E-05** at limit **
  19  Prefactor     .10000E-03    1.6600       -.16660E-06** at limit **
  20  Prefactor     6.4980        31.998       -.11591E-06    .23289E-04
  21  Prefactor     10.510        19.564       -.20738E-05    .70732E-05
  22  Normalizat    1.2902        .20098        .43220E-05   -.12646E-04
  23  Prefactor     .76368        .12258        .10047E-05    .24470E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9932
  norm       = 13.2351
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100006
  norm       = 0.91559
  norm       = 2.72116
  Prefactor  = 6.06714
  Prefactor  = 9.66976
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.76063
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 6.49804
  Prefactor  = 10.5104
  Normalizat = 1.2902
  Prefactor  = 0.763676
 **********
 **   18 **HESSE 
 **********

 FCN=   6894.210     FROM HESSE     STATUS=OK           370 CALLS     2540 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.993        9.7277        .11567E-03   -1.5015    
   2  norm          13.235        12.300        .11010E-03   -1.4980    
   3  Prefactor     .10000E-03    14.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.5801        .15333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    42.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    15.090        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .91559        .72513        .61761E-04   -1.5517    
   9  norm          2.7212        5.1916        .24683E-03   -1.5378    
  10  Prefactor     6.0671        12.054        .16261E-03   -1.5215    
  11  Prefactor     9.6698        43.508        .12847E-03   -1.5086    
  12  norm          .10000E-03    11.457        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.6267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    56.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.7606        9.4305        .31451E-03   -1.5443    
  16  Prefactor     .10000E-03    10.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.1517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.6576        .20075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.4980        31.939        .15739E-03   -1.5198    
  21  Prefactor     10.510        19.560        .12352E-03   -1.5059    
  22  Normalizat    1.2902        .23783        .27093E-03   -.83859    
  23  Prefactor     .76368        .14525        .21495E-03   -1.0108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27231e-09
Minuit parameter uncertainties:
  1  9.72899
  2  12.3019
  3  1.89046e-05
  4  4.79693e-06
  5  6.02712e-05
  6  0.000326124
  7  0.000611983
  8  0.725138
  9  5.19245
  10  12.0589
  11  41.0721
  12  0.000197359
  13  4.80049e-06
  14  4.27621e-07
  15  8.15127
  16  5.55214e-05
  17  1.04897e-05
  18  1.92983e-05
  19  0.000158769
  20  28.8369
  21  19.5724
  22  0.238027
  23  0.145319
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  6.027e-05  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:  7.637e-01  1.453e-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:  1.290e+00  2.380e-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: 6.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677128/likelihoodResults_482976001_483235201_4FGL_J2311.0+0205_daily_bin940.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) = 6894.21003416
delta logL = -0.000463620218397

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6894.2095717
delta logL = -1.15560487757e-06

Fit tolerance = 1e-08

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

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

 FCN=   6894.210     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.312        .90712E-02** at limit **
   2  Index         2.1963        8.8584        .50000       -.36423E-05
   3  Normalizat    1.2902        .62985E-02    .61257E-01    .87834E-05
   4  Prefactor     .76367        .39745E-02    .43244E-01    .15710E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.19632
  Normalizat = 1.2902
  Prefactor  = 0.763674
 **********
 **   18 **HESSE 
 **********

 FCN=   6894.210     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    90.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1963        5.4940        .50000       -.59528    
   3  Normalizat    1.2902        .14939E-01    .27093E-03   -.83859    
   4  Prefactor     .76367        .94300E-02    .21495E-03   -1.0108    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.43972e-08
Minuit parameter uncertainties:
  1  2.19046e-05
  2  287.233
  3  0.0149395
  4  0.00943002
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677128': 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) = 6894.20957053
delta logL = 9.86801751424e-09

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.190e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.196e+00  2.872e+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:  7.637e-01  9.430e-03  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:  1.290e+00  1.494e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/677128/cmap_HighResolution_482976001_483235201_4FGL_J2311.0+0205_daily_bin940.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.92e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2021-09-29 07:44:09.509113', job_id='677128', GAL2='0.76', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1632926649.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='9.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='940' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:44:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 677128: <4FGL_J2311.0+0205_daily_bin940> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin940> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:30:58 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:31:00 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:31:00 2021
Terminated at Wed Sep 29 07:44:10 2021
Results reported at Wed Sep 29 07:44:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin940 347.766 2.0995 482976001 483235201 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 :                                   641.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            792 sec.

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

