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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1240
RA = 347.931, Dec = 26.0831
tmin = 560736001, tmax = 560995201
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='695432', job_status='RUN', time_executed='2021-09-29 08:26:06.973778', time_epoch_executed='1632929166.97' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1240'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695432

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695432/ft1_4FGL_J2311.7+2604_daily_bin1240.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695432/ft2_4FGL_J2311.7+2604_daily_bin1240.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695432/ft1_4FGL_J2311.7+2604_daily_bin1240.fits outfile=/scratch/kocevski/695432/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1240.fits ra=347.931 dec=26.0831 rad=12.0 tmin=560736001.0 tmax=560995201.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.77
user 3.55
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/695432/ft2_4FGL_J2311.7+2604_daily_bin1240.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/695432/ft2_4FGL_J2311.7+2604_daily_bin1240.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/695432/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1240.fits evtable="EVENTS" outfile="/scratch/kocevski/695432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1240.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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1240.fits" evtable="EVENTS" scfile=/scratch/kocevski/695432/ft2_4FGL_J2311.7+2604_daily_bin1240.fits sctable="SC_DATA" outfile=/scratch/kocevski/695432/ltcube_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.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/695432/ft2_4FGL_J2311.7+2604_daily_bin1240.fits
.....................!
real 12.48
user 12.09
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1240.fits evtable="EVENTS" scfile=/scratch/kocevski/695432/ft2_4FGL_J2311.7+2604_daily_bin1240.fits sctable="SC_DATA" expcube=/scratch/kocevski/695432/ltcube_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.fits outfile=/scratch/kocevski/695432/expmap_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.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/695432/ltcube_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.fits
.....................!
real 192.14
user 185.96
sys 5.64

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.7+2604 @ 347.931 26.0831

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/695432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1240.fits scfile=/scratch/kocevski/695432/ft2_4FGL_J2311.7+2604_daily_bin1240.fits outfile=/scratch/kocevski/695432/cmap_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.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.931 yref=26.0831 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1240.fits scfile=/scratch/kocevski/695432/ft2_4FGL_J2311.7+2604_daily_bin1240.fits outfile=/scratch/kocevski/695432/cmap_HighResolution_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.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.931 yref=26.0831 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/695432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1240.fits evtable="EVENTS" scfile=/scratch/kocevski/695432/ft2_4FGL_J2311.7+2604_daily_bin1240.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695432/Model_4FGL_J2311.7+2604_daily_bin1240.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/695432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1240.fits.....................!
real 45.94
user 44.55
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/695432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1240.fits', '/scratch/kocevski/695432/ft2_4FGL_J2311.7+2604_daily_bin1240.fits', expMap='/scratch/kocevski/695432/expmap_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.fits', expCube='/scratch/kocevski/695432/ltcube_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/695432/Model_4FGL_J2311.7+2604_daily_bin1240.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.7+2604'

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  4.423e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/695432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1240.fits
Spacecraft file(s): /scratch/kocevski/695432/ft2_4FGL_J2311.7+2604_daily_bin1240.fits
Exposure map: /scratch/kocevski/695432/expmap_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.fits
Exposure cube: /scratch/kocevski/695432/ltcube_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/695432/Model_4FGL_J2311.7+2604_daily_bin1240.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) = 3186.3371548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14301E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.663       1.0000         .10000E-03   10000.    
     3 'norm      '    2.2184       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10165E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    3.9153       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.8505       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    828.85       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5651       1.0000         .10000E-03   10000.    
    14 'Prefactor '    103.90       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.940       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    89.790       1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.422       1.0000         .10000E-03   10000.    
    19 'Prefactor '    93.840       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3690       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3186.151     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2358 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    698.95        .70872E-05** at limit **
   2  Prefactor     16.659        46.303        .18192E-06    .71792E-06
   3  norm          2.2252        6.8923        .11579E-05   -.52424E-05
   4  Prefactor     .10000E-03    537.93       -.48792E-05** at limit **
   5  norm          3.9153        4.9647        .27011E-07    .42764E-04
   6  Prefactor     .10000E-03    28.308        .13262E-05** at limit **
   7  Prefactor     .10000E-03    26.289       -.14639E-05** at limit **
   8  Prefactor     6.8504        .68819        .92874E-08   -.99469E-05
   9  Prefactor     .10000E-03    16.114        .10513E-07** at limit **
  10  Prefactor     829.53        797.90       -.91924E-05   -.11776E-05
  11  Prefactor     .10000E-03    5.2634       -.21455E-07** at limit **
  12  norm          .10000E-03    4.9771        .28585E-07** at limit **
  13  Prefactor     3.6024        267.51       -.57242E-06   -.10991E-05
  14  Prefactor     103.89        100.24        .52483E-06   -.92277E-07
  15  Prefactor     12.937        20.389        .43574E-06   -.79258E-05
  16  norm          .10000E-03    21.580        .18097E-06** at limit **
  17  Prefactor     89.767        115.22        .13109E-05   -.35619E-05
  18  Prefactor     23.418        45.345        .29765E-06   -.61570E-05
  19  Prefactor     93.845        127.69       -.10264E-06   -.93201E-06
  20  Prefactor     .10000E-03    52.854       -.17285E-06** at limit **
  21  Normalizat    .10000E-01    .32889       -.10745E-04** at limit **
  22  Prefactor     1.3688        .16409        .12723E-05   -.32699E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 16.6587
  norm       = 2.22518
  Prefactor  = 0.0001
  norm       = 3.91531
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.85042
  Prefactor  = 0.0001
  Prefactor  = 829.527
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.60236
  Prefactor  = 103.888
  Prefactor  = 12.9368
  norm       = 0.0001
  Prefactor  = 89.7666
  Prefactor  = 23.4178
  Prefactor  = 93.8452
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.36883
 **********
 **   18 **HESSE 
 **********

 FCN=   3186.151     FROM HESSE     STATUS=OK           340 CALLS     2698 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    699.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.659        46.334        .98116E-04   -1.4891    
   3  norm          2.2252        6.8939        .12536E-02   -1.5410    
   4  Prefactor     .10000E-03    542.15        .20752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.9153        4.9634        .13575E-03   -1.5312    
   6  Prefactor     .10000E-03    28.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    26.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.8504        .68977        .14202E-04   -1.5184    
   9  Prefactor     .10000E-03    16.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     829.53        798.25        .72540E-04   -.98649    
  11  Prefactor     .10000E-03    5.2769        .12647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.9801        .12299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.6024        267.11        .21405E-03   -1.5328    
  14  Prefactor     103.89        100.13        .19724E-03   -1.3666    
  15  Prefactor     12.937        20.326        .11135E-03   -1.4988    
  16  norm          .10000E-03    21.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     89.767        115.49        .42405E-04   -1.3810    
  18  Prefactor     23.418        45.221        .82766E-04   -1.4740    
  19  Prefactor     93.845        127.76        .41488E-04   -1.3767    
  20  Prefactor     .10000E-03    52.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .10000E-01    1.7352        .16712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.3688        .16968        .22548E-03   -.81283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02562e-10
Minuit parameter uncertainties:
  1  0.000254124
  2  46.4345
  3  6.89632
  4  0.000389452
  5  4.96395
  6  8.27839e-06
  7  7.22063e-07
  8  0.689769
  9  1.82743e-06
  10  809.839
  11  1.8809e-07
  12  6.19693e-06
  13  62.3295
  14  100.29
  15  20.3373
  16  2.45589e-05
  17  115.78
  18  45.2871
  19  128.134
  20  6.78118e-06
  21  4.40043e-06
  22  0.169744
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  3.602e+00  6.233e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.369e+00  1.697e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.000e-02  4.400e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 3.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.73e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/695432/likelihoodResults_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.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) = 3186.15097793
delta logL = 6.50099773338e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3186.15085699
delta logL = 0.000185947839327

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6026       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5023       1.0000          .0000       10.000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3687       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   3186.151     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      260 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6324        260.52        .21289E-03    .11241E-04
   2  Index         2.5011        3.3707        .15457E-01    .16712E-04
   3  Normalizat    .10000E-01    1.7268        .16701E-01** at limit **
   4  Prefactor     1.3686        .14657        .22549E-03   -.35115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.63241
  Index      = 2.50107
  Normalizat = 0.01
  Prefactor  = 1.36864
 **********
 **   18 **HESSE 
 **********

 FCN=   3186.151     FROM HESSE     STATUS=OK            23 CALLS      283 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6324        241.54        .85154E-05   -1.5327    
   2  Index         2.5011        3.2807        .61829E-03   -.52335    
   3  Normalizat    .10000E-01    1.7340        .33401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3686        .14556        .90198E-05   -.81288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.72693e-10
Minuit parameter uncertainties:
  1  59.4926
  2  3.72236
  3  8.07415e-05
  4  0.145601
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695432': 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) = 3186.1508566
delta logL = 0.00018633459058

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  3.632e+00  5.949e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.501e+00  3.722e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.369e+00  1.456e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.000e-02  8.074e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 347.931 26.083

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/695432/cmap_HighResolution_560736001_560995201_4FGL_J2311.7+2604_daily_bin1240.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.73e-02', job_status='DONE', photon_flux_upper_limit='3.53e-07', time_completed='2021-09-29 08:34:29.479731', job_id='695432', GAL2='1.37', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632929669.48', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='1.86e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1240' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:34:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 695432: <4FGL_J2311.7+2604_daily_bin1240> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1240> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 08:25:52 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:25:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 08:25:54 2021
Terminated at Wed Sep 29 08:34:30 2021
Results reported at Wed Sep 29 08:34:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1240 347.931 26.0831 560736001 560995201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.7+2604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   478.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   515 sec.
    Turnaround time :                            518 sec.

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

