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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1446
RA = 347.931, Dec = 26.0831
tmin = 614131201, tmax = 614390401
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='696265', job_status='RUN', time_executed='2021-09-29 08:30:39.003847', time_epoch_executed='1632929439.0' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1446'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696265

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696265/ft1_4FGL_J2311.7+2604_daily_bin1446.fits


Retrieving the FT1 file...

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

Retrieving 43 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696265/ft2_4FGL_J2311.7+2604_daily_bin1446.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696265/ft1_4FGL_J2311.7+2604_daily_bin1446.fits outfile=/scratch/kocevski/696265/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1446.fits ra=347.931 dec=26.0831 rad=12.0 tmin=614131201.0 tmax=614390401.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.74
user 4.49
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/696265/ft1_filtered_4FGL_J2311.7+2604_daily_bin1446.fits" evtable="EVENTS" scfile=/scratch/kocevski/696265/ft2_4FGL_J2311.7+2604_daily_bin1446.fits sctable="SC_DATA" outfile=/scratch/kocevski/696265/ltcube_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.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/696265/ft2_4FGL_J2311.7+2604_daily_bin1446.fits
.....................!
real 11.37
user 10.96
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696265/ft1_filtered_4FGL_J2311.7+2604_daily_bin1446.fits evtable="EVENTS" scfile=/scratch/kocevski/696265/ft2_4FGL_J2311.7+2604_daily_bin1446.fits sctable="SC_DATA" expcube=/scratch/kocevski/696265/ltcube_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.fits outfile=/scratch/kocevski/696265/expmap_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.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/696265/ltcube_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.fits
.....................!
real 190.59
user 185.05
sys 5.09

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/696265/ft1_filtered_4FGL_J2311.7+2604_daily_bin1446.fits scfile=/scratch/kocevski/696265/ft2_4FGL_J2311.7+2604_daily_bin1446.fits outfile=/scratch/kocevski/696265/cmap_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696265/ft1_filtered_4FGL_J2311.7+2604_daily_bin1446.fits scfile=/scratch/kocevski/696265/ft2_4FGL_J2311.7+2604_daily_bin1446.fits outfile=/scratch/kocevski/696265/cmap_HighResolution_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/696265/ft1_filtered_4FGL_J2311.7+2604_daily_bin1446.fits evtable="EVENTS" scfile=/scratch/kocevski/696265/ft2_4FGL_J2311.7+2604_daily_bin1446.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696265/Model_4FGL_J2311.7+2604_daily_bin1446.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/696265/ft1_filtered_4FGL_J2311.7+2604_daily_bin1446.fits.....................!
real 79.36
user 77.95
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/696265/ft1_filtered_4FGL_J2311.7+2604_daily_bin1446.fits', '/scratch/kocevski/696265/ft2_4FGL_J2311.7+2604_daily_bin1446.fits', expMap='/scratch/kocevski/696265/expmap_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.fits', expCube='/scratch/kocevski/696265/ltcube_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/696265/Model_4FGL_J2311.7+2604_daily_bin1446.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/696265/ft1_filtered_4FGL_J2311.7+2604_daily_bin1446.fits
Spacecraft file(s): /scratch/kocevski/696265/ft2_4FGL_J2311.7+2604_daily_bin1446.fits
Exposure map: /scratch/kocevski/696265/expmap_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.fits
Exposure cube: /scratch/kocevski/696265/ltcube_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/696265/Model_4FGL_J2311.7+2604_daily_bin1446.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) = 7247.33684812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    109.31       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .77426       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.6856       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .44417       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.565       1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.225       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.3103       1.0000         .10000E-03   10000.    
    12 'norm      '    .63298       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .23941E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.288       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.575       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94079       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94742       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=   7247.310     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2365 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     109.30        91.571       -.18124E-05   -.73902E-04
   2  Prefactor     .10000E-03    11.801        .14769E-06** at limit **
   3  norm          .77519        1.0414        .12845E-06    .11356E-03
   4  Prefactor     .10000E-03    8.8808        .62545E-07** at limit **
   5  norm          4.6858        2.4307        .21480E-07   -.45995E-05
   6  Prefactor     .10000E-03    14.355       -.15268E-06** at limit **
   7  Prefactor     .10000E-03    8.8817        .48173E-07** at limit **
   8  Prefactor     .44418        .14680       -.59020E-08    .25015E-03
   9  Prefactor     10.566        9.1023        .24003E-07   -.95351E-05
  10  Prefactor     27.205        22.755       -.13837E-05   -.21186E-03
  11  Prefactor     7.3105        7.1034        .14486E-05   -.24850E-03
  12  norm          .63454        .98358        .12336E-06    .15750E-03
  13  Prefactor     .10000E-03    19.073       -.86079E-07** at limit **
  14  Prefactor     .10000E-03    10.925       -.23572E-06** at limit **
  15  Prefactor     .10000E-03    2.3374        .76481E-07** at limit **
  16  norm          .10000E-03    3.9314        .43115E-06** at limit **
  17  Prefactor     19.272        15.217        .44502E-07   -.11933E-03
  18  Prefactor     17.577        17.400       -.33128E-07   -.17702E-04
  19  Prefactor     .10000E-03    8.1313        .27763E-07** at limit **
  20  Prefactor     .10000E-03    50.686        .13045E-06** at limit **
  21  Normalizat    .94089        .19691       -.75839E-06   -.60373E-04
  22  Prefactor     .94736        .10679        .25547E-06   -.17025E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 109.295
  Prefactor  = 0.0001
  norm       = 0.775185
  Prefactor  = 0.0001
  norm       = 4.68575
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.444183
  Prefactor  = 10.5664
  Prefactor  = 27.2051
  Prefactor  = 7.31051
  norm       = 0.634536
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 19.2723
  Prefactor  = 17.5767
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.940892
  Prefactor  = 0.947355
 **********
 **   18 **HESSE 
 **********

 FCN=   7247.310     FROM HESSE     STATUS=OK           344 CALLS     2709 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     109.30        93.018        .38469E-04   -1.3613    
   2  Prefactor     .10000E-03    11.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .77519        .96197        .95484E-03   -1.5532    
   4  Prefactor     .10000E-03    8.8968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.6858        2.4289        .92380E-04   -1.5275    
   6  Prefactor     .10000E-03    14.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.9441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .44418        .14670        .18069E-04   -1.5575    
   9  Prefactor     10.566        9.1021        .12326E-03   -1.5058    
  10  Prefactor     27.205        23.711        .76779E-04   -1.4664    
  11  Prefactor     7.3105        7.2753        .74173E-03   -1.5167    
  12  norm          .63454        .85256        .10162E-02   -1.5549    
  13  Prefactor     .10000E-03    19.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.3516        .12706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    12.511        .30480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.272        14.437        .91196E-04   -1.4830    
  18  Prefactor     17.577        17.418        .95536E-04   -1.4869    
  19  Prefactor     .10000E-03    8.1382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    50.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .94089        .22815        .32261E-03   -.95038    
  22  Prefactor     .94736        .12458        .17791E-03   -.94505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.4101e-10
Minuit parameter uncertainties:
  1  93.1421
  2  1.98382e-05
  3  0.961991
  4  5.99973e-06
  5  2.429
  6  1.95451e-05
  7  3.21204e-06
  8  0.1467
  9  9.10328
  10  23.7195
  11  7.27614
  12  0.852581
  13  1.32571e-05
  14  2.62086e-05
  15  3.30806e-06
  16  0.000445908
  17  14.4394
  18  17.4226
  19  1.44949e-06
  20  2.31956e-05
  21  0.22839
  22  0.12462
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.326e-05  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:  9.474e-01  1.246e-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:  9.409e-01  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 7.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/696265/likelihoodResults_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.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) = 7247.31026491
delta logL = -0.000246362721555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7247.31001856
delta logL = -8.95670382306e-09

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 'Index     '    2.4254       1.0000          .0000       10.000    
     3 'Normalizat'    .94087       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94737       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.

 FCN=   7247.310     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      209 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.172        .90712E-02** at limit **
   2  Index         2.4220        6.2109        .50000        .14958E-05
   3  Normalizat    .94089        .60176E-02    .72909E-01    .22163E-04
   4  Prefactor     .94736        .33465E-02    .45606E-01    .17995E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.42202
  Normalizat = 0.940892
  Prefactor  = 0.947356
 **********
 **   18 **HESSE 
 **********

 FCN=   7247.310     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      242 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    294.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4220        5.4299        .50000       -.54170    
   3  Normalizat    .94089        .20001E-01    .32261E-03   -.95038    
   4  Prefactor     .94736        .11139E-01    .17791E-03   -.94505    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.8313e-08
Minuit parameter uncertainties:
  1  1.83858e-06
  2  897.935
  3  0.020001
  4  0.011139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696265': 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) = 7247.31001855
delta logL = 2.41470843321e-09

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.839e-06  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.422e+00  8.979e+02  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:  9.474e-01  1.114e-02  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:  9.409e-01  2.000e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/696265/cmap_HighResolution_614131201_614390401_4FGL_J2311.7+2604_daily_bin1446.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.55e-03', job_status='DONE', photon_flux_upper_limit='7.17e-08', time_completed='2021-09-29 08:42:11.508665', job_id='696265', GAL2='0.95', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1632930131.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.41e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1446' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:42:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 696265: <4FGL_J2311.7+2604_daily_bin1446> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1446> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 08:30:21 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:30:23 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:30:23 2021
Terminated at Wed Sep 29 08:42:12 2021
Results reported at Wed Sep 29 08:42:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1446 347.931 26.0831 614131201 614390401 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 :                                   688.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            711 sec.

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

