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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin184
RA = 347.766, Dec = 2.0995
tmin = 287020801, tmax = 287280001
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='672976', job_status='RUN', time_executed='2021-09-29 07:19:38.967630', time_epoch_executed='1632925178.97' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='184'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672976

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672976/ft1_4FGL_J2311.0+0205_daily_bin184.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672976/ft2_4FGL_J2311.0+0205_daily_bin184.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672976/ft1_4FGL_J2311.0+0205_daily_bin184.fits outfile=/scratch/kocevski/672976/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin184.fits ra=347.766 dec=2.0995 rad=12.0 tmin=287020801.0 tmax=287280001.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.61
user 4.35
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672976/ft1_filtered_4FGL_J2311.0+0205_daily_bin184.fits" evtable="EVENTS" scfile=/scratch/kocevski/672976/ft2_4FGL_J2311.0+0205_daily_bin184.fits sctable="SC_DATA" outfile=/scratch/kocevski/672976/ltcube_287020801_287280001_4FGL_J2311.0+0205_daily_bin184.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/672976/ft2_4FGL_J2311.0+0205_daily_bin184.fits
.....................!
real 12.15
user 11.75
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672976/ft1_filtered_4FGL_J2311.0+0205_daily_bin184.fits evtable="EVENTS" scfile=/scratch/kocevski/672976/ft2_4FGL_J2311.0+0205_daily_bin184.fits sctable="SC_DATA" expcube=/scratch/kocevski/672976/ltcube_287020801_287280001_4FGL_J2311.0+0205_daily_bin184.fits outfile=/scratch/kocevski/672976/expmap_287020801_287280001_4FGL_J2311.0+0205_daily_bin184.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/672976/ltcube_287020801_287280001_4FGL_J2311.0+0205_daily_bin184.fits
.....................!
real 191.26
user 185.10
sys 5.56

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/672976/ft1_filtered_4FGL_J2311.0+0205_daily_bin184.fits scfile=/scratch/kocevski/672976/ft2_4FGL_J2311.0+0205_daily_bin184.fits outfile=/scratch/kocevski/672976/cmap_287020801_287280001_4FGL_J2311.0+0205_daily_bin184.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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672976/ft1_filtered_4FGL_J2311.0+0205_daily_bin184.fits scfile=/scratch/kocevski/672976/ft2_4FGL_J2311.0+0205_daily_bin184.fits outfile=/scratch/kocevski/672976/cmap_HighResolution_287020801_287280001_4FGL_J2311.0+0205_daily_bin184.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.984       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.7514       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10316E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    16.312       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0074       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.7747       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.9946       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.5040       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .41642E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.162       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.8452       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87822       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0787       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=   7464.551     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2552 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3540        .22041E-08** at limit **
   2  norm          .10000E-03    5.9529       -.12740E-06** at limit **
   3  Prefactor     .10000E-03    18.817       -.78630E-06** at limit **
   4  Prefactor     16.984        12.899       -.53766E-06   -.60883E-03
   5  Prefactor     .10000E-03    7.5080       -.86219E-07** at limit **
   6  Prefactor     .10000E-03    13.042       -.15098E-05** at limit **
   7  Prefactor     .10000E-03    3.1461       -.12021E-06** at limit **
   8  norm          1.7513        .94787       -.32803E-07   -.45343E-03
   9  norm          .10000E-03    2.0644        .10215E-07** at limit **
  10  Prefactor     .10000E-03    15.606        .38743E-05** at limit **
  11  Prefactor     .10000E-03    145.58       -.58645E-05** at limit **
  12  norm          16.314        10.378        .99968E-06   -.72016E-04
  13  Prefactor     4.0065        9.4519       -.13923E-05   -.30881E-03
  14  Prefactor     .10000E-03    46.429        .38181E-05** at limit **
  15  Prefactor     4.7772        12.286        .88637E-05   -.16209E-04
  16  Prefactor     .10000E-03    18.853       -.26389E-05** at limit **
  17  norm          8.9708        31.416       -.99911E-05   -.35299E-05
  18  Prefactor     7.5002        58.067       -.67015E-05   -.24634E-04
  19  Prefactor     .10000E-03    1.8556        .11595E-06** at limit **
  20  Prefactor     19.157        30.443       -.12925E-05   -.25914E-04
  21  Prefactor     5.8412        19.320        .20942E-05   -.22868E-04
  22  Normalizat    .87821        .20300       -.11961E-05   -.47778E-04
  23  Prefactor     1.0788        .12887        .27494E-06   -.13333E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.9844
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.75131
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 16.3135
  Prefactor  = 4.00653
  Prefactor  = 0.0001
  Prefactor  = 4.77725
  Prefactor  = 0.0001
  norm       = 8.97083
  Prefactor  = 7.50018
  Prefactor  = 0.000100003
  Prefactor  = 19.157
  Prefactor  = 5.84124
  Normalizat = 0.878211
  Prefactor  = 1.07875
 **********
 **   18 **HESSE 
 **********

 FCN=   7464.551     FROM HESSE     STATUS=OK           370 CALLS     2922 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3547        .12946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.9840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.984        13.002        .48592E-03   -1.4883    
   5  Prefactor     .10000E-03    7.5218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.1700        .14964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7513        .94373        .58951E-04   -1.5443    
   9  norm          .10000E-03    2.0823        .12120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.058        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    146.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.314        10.288        .99166E-04   -1.4900    
  13  Prefactor     4.0065        9.4258        .20146E-03   -1.5308    
  14  Prefactor     .10000E-03    46.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.7772        11.902        .18413E-03   -1.5271    
  16  Prefactor     .10000E-03    18.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.9708        29.957        .13364E-03   -1.5109    
  18  Prefactor     7.5002        58.453        .14640E-03   -1.5160    
  19  Prefactor     .10000E-03    24.575        .21090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.157        30.464        .91496E-04   -1.4832    
  21  Prefactor     5.8412        19.264        .16611E-03   -1.5225    
  22  Normalizat    .87821        .23321        .33264E-03   -.97230    
  23  Prefactor     1.0788        .14986        .19739E-03   -.90149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21799e-10
Minuit parameter uncertainties:
  1  1.20824e-07
  2  6.55024e-07
  3  1.17685e-05
  4  13.0038
  5  1.62214e-06
  6  2.5344e-05
  7  1.01044e-06
  8  0.94374
  9  1.56802e-06
  10  3.38239e-05
  11  0.000608633
  12  10.2896
  13  9.42924
  14  0.000114436
  15  11.9075
  16  7.35244e-05
  17  30.0073
  18  41.9328
  19  0.000576147
  20  30.4883
  21  19.2845
  22  0.233477
  23  0.149922
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.622e-06  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.079e+00  1.499e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  8.782e-01  2.335e-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.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672976/likelihoodResults_287020801_287280001_4FGL_J2311.0+0205_daily_bin184.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) = 7464.55131204
delta logL = -0.000633212981484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7464.55067883
delta logL = -5.59793988941e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1846       1.0000          .0000       10.000    
     3 'Normalizat'    .87821       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0788       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=   7464.551     FROM MIGRAD    STATUS=FAILED        89 CALLS      241 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    1490.6        .18142E-02** at limit **
   2  Index         2.1597        8.8300        .50000        .89462E-06
   3  Normalizat    .87821        .12148        .33264E-03   -.12099E-04
   4  Prefactor     1.0788        .78343E-01    .19739E-03   -.16933E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7464.551     FROM SIMPLEX   STATUS=UNCHANGED    174 CALLS      415 TOTAL
                     EDM=   .95E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    1490.6        .38090E-03** at limit **
   2  Index         2.1597        8.8300        .34145E-05    .89462E-06
   3  Normalizat    .87821        .12148        .15727E-06   -.12099E-04
   4  Prefactor     1.0788        .78343E-01    .73207E-07   -.16933E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7464.551     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      455 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.3401        .36285E-03** at limit **
   2  Index         2.1277        8.8600        .50000       -.20759E-07
   3  Normalizat    .87821        .22699        .13306E-04   -.37594E-05
   4  Prefactor     1.0788        .14885        .78956E-05   -.74874E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.12774
  Normalizat = 0.87821
  Prefactor  = 1.07875
 **********
 **   18 **HESSE 
 **********

 FCN=   7464.551     FROM HESSE     STATUS=OK            29 CALLS      484 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.5977        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1277        6.0150        .50000       -.61193    
   3  Normalizat    .87821        .22674        .26612E-05   -.97230    
   4  Prefactor     1.0788        .14868        .15791E-05   -.90149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23584e-12
Minuit parameter uncertainties:
  1  4.33163e-07
  2  292.527
  3  0.226988
  4  0.148737
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672976': 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) = 7464.55067881
delta logL = 1.18043317343e-08

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  4.332e-07  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.128e+00  2.925e+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.079e+00  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  8.782e-01  2.270e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/672976/cmap_HighResolution_287020801_287280001_4FGL_J2311.0+0205_daily_bin184.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-03', job_status='DONE', photon_flux_upper_limit='6.04e-08', time_completed='2021-09-29 07:31:33.919999', job_id='672976', GAL2='1.08', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632925893.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.18e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='184' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:31:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 672976: <4FGL_J2311.0+0205_daily_bin184> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin184 347.766 2.0995 287020801 287280001 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 :                                   711.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            951 sec.

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

