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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1580
RA = 347.931, Dec = 26.0831
tmin = 648864001, tmax = 649123201
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='696471', job_status='RUN', time_executed='2021-09-29 08:33:02.686911', time_epoch_executed='1632929582.69' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1580'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696471

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696471/ft1_4FGL_J2311.7+2604_daily_bin1580.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696471/ft2_4FGL_J2311.7+2604_daily_bin1580.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696471/ft1_4FGL_J2311.7+2604_daily_bin1580.fits outfile=/scratch/kocevski/696471/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1580.fits ra=347.931 dec=26.0831 rad=12.0 tmin=648864001.0 tmax=649123201.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.03
user 2.83
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/696471/ft1_filtered_4FGL_J2311.7+2604_daily_bin1580.fits" evtable="EVENTS" scfile=/scratch/kocevski/696471/ft2_4FGL_J2311.7+2604_daily_bin1580.fits sctable="SC_DATA" outfile=/scratch/kocevski/696471/ltcube_648864001_649123201_4FGL_J2311.7+2604_daily_bin1580.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/696471/ft2_4FGL_J2311.7+2604_daily_bin1580.fits
.....................!
real 13.23
user 12.88
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696471/ft1_filtered_4FGL_J2311.7+2604_daily_bin1580.fits evtable="EVENTS" scfile=/scratch/kocevski/696471/ft2_4FGL_J2311.7+2604_daily_bin1580.fits sctable="SC_DATA" expcube=/scratch/kocevski/696471/ltcube_648864001_649123201_4FGL_J2311.7+2604_daily_bin1580.fits outfile=/scratch/kocevski/696471/expmap_648864001_649123201_4FGL_J2311.7+2604_daily_bin1580.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/696471/ltcube_648864001_649123201_4FGL_J2311.7+2604_daily_bin1580.fits
.....................!
real 190.78
user 185.87
sys 4.58

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/696471/ft1_filtered_4FGL_J2311.7+2604_daily_bin1580.fits scfile=/scratch/kocevski/696471/ft2_4FGL_J2311.7+2604_daily_bin1580.fits outfile=/scratch/kocevski/696471/cmap_648864001_649123201_4FGL_J2311.7+2604_daily_bin1580.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696471/ft1_filtered_4FGL_J2311.7+2604_daily_bin1580.fits scfile=/scratch/kocevski/696471/ft2_4FGL_J2311.7+2604_daily_bin1580.fits outfile=/scratch/kocevski/696471/cmap_HighResolution_648864001_649123201_4FGL_J2311.7+2604_daily_bin1580.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/696471/ft1_filtered_4FGL_J2311.7+2604_daily_bin1580.fits evtable="EVENTS" scfile=/scratch/kocevski/696471/ft2_4FGL_J2311.7+2604_daily_bin1580.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696471/Model_4FGL_J2311.7+2604_daily_bin1580.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/696471/ft1_filtered_4FGL_J2311.7+2604_daily_bin1580.fits.....................!
real 110.35
user 108.74
sys 1.37

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    20.143       1.0000         .10000E-03   10000.    
     3 'norm      '    .88243       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.3261       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29016       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1689       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .46534E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.535       1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.471       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.1596       1.0000         .10000E-03   10000.    
    16 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.6992       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.7773       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2783       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81090       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=   10246.93     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2368 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.862       -.13581E-05** at limit **
   2  Prefactor     20.144        17.289       -.81338E-07   -.15662E-04
   3  norm          .88275        1.1729        .21421E-06    .46479E-03
   4  Prefactor     .10000E-03    5.6693       -.28823E-06** at limit **
   5  norm          4.3264        2.0755       -.65764E-07   -.34097E-03
   6  Prefactor     .10000E-03    33.031        .84127E-06** at limit **
   7  Prefactor     .10000E-03    5.5695        .25908E-06** at limit **
   8  Prefactor     .29013        .14965       -.62154E-08   -.15305E-02
   9  Prefactor     2.1723        19.564        .96064E-05    .34888E-04
  10  Prefactor     .10000E-03    11.983       -.67537E-07** at limit **
  11  Prefactor     .10000E-03    2.2821       -.13653E-07** at limit **
  12  norm          .50168E-01    .47166       -.59360E-06    .72430E-03
  13  Prefactor     20.536        17.849       -.20620E-06    .26102E-05
  14  Prefactor     32.473        23.911        .90443E-07    .16006E-04
  15  Prefactor     9.1604        6.4658        .81893E-07   -.20341E-04
  16  norm          .10000E-03    2.2266        .52810E-07** at limit **
  17  Prefactor     7.7010        14.575        .48293E-06    .17486E-04
  18  Prefactor     9.7775        19.683        .29022E-06   -.52056E-05
  19  Prefactor     .10000E-03    3.1820       -.33915E-08** at limit **
  20  Prefactor     .10000E-03    18.751        .38279E-06** at limit **
  21  Normalizat    1.2783        .18524       -.88766E-06   -.56094E-04
  22  Prefactor     .81085        .91097E-01   -.20839E-06   -.64853E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 20.1444
  norm       = 0.882751
  Prefactor  = 0.0001
  norm       = 4.32637
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.290134
  Prefactor  = 2.1723
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0501676
  Prefactor  = 20.5361
  Prefactor  = 32.4727
  Prefactor  = 9.16043
  norm       = 0.0001
  Prefactor  = 7.70099
  Prefactor  = 9.77753
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.27833
  Prefactor  = 0.810853
 **********
 **   18 **HESSE 
 **********

 FCN=   10246.93     FROM HESSE     STATUS=OK           350 CALLS     2718 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.144        17.314        .89243E-04   -1.4810    
   3  norm          .88275        1.1617        .11759E-03   -1.5520    
   4  Prefactor     .10000E-03    5.6759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.3264        2.0754        .97893E-04   -1.5292    
   6  Prefactor     .10000E-03    33.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.5810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .29013        .14577        .27155E-03   -1.5600    
   9  Prefactor     2.1723        20.239        .13981E-02   -1.5413    
  10  Prefactor     .10000E-03    12.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.2863        .14933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .50168E-01    4.6353        .11879E-02   -1.5663    
  13  Prefactor     20.536        17.861        .88388E-04   -1.4801    
  14  Prefactor     32.473        23.900        .70318E-04   -1.4568    
  15  Prefactor     9.1604        6.4551        .13243E-03   -1.5103    
  16  norm          .10000E-03    2.2644        .14701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.7010        14.546        .14452E-03   -1.5153    
  18  Prefactor     9.7775        19.660        .12815E-03   -1.5082    
  19  Prefactor     .10000E-03    3.1832        .17635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2783        .22103        .30128E-03   -.84216    
  22  Prefactor     .81085        .10907        .18975E-03   -.99329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55708e-09
Minuit parameter uncertainties:
  1  0.000107277
  2  17.3179
  3  1.16169
  4  7.44588e-06
  5  2.07539
  6  0.000119594
  7  1.62638e-05
  8  0.145771
  9  13.2668
  10  7.52218e-07
  11  1.13541e-06
  12  0.963565
  13  17.8654
  14  23.9066
  15  6.45563
  16  7.25858e-06
  17  14.5532
  18  19.6733
  19  5.24028e-07
  20  9.80979e-05
  21  0.221193
  22  0.109099
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.054e+01  1.787e+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:  8.109e-01  1.091e-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.278e+00  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.17
Ra Dec: 347.931 26.083
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.98e-08 +/- 3.46e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 1.09e-05

TS (Fixed Index): 2.17
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/696471/likelihoodResults_648864001_649123201_4FGL_J2311.7+2604_daily_bin1580.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) = 10246.921809
delta logL = 0.00358801627772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10246.920346
delta logL = 0.00505102431089

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.500       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4896       1.0000          .0000       10.000    
     3 'Normalizat'    1.2760       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81159       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=   10246.92     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      242 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.500        469.60        .22675E-02    .89955E-04
   2  Index         2.4895        6.2429        .16658        .14141E-03
   3  Normalizat    1.2761        .78642E-01    .68149E-01    .15903E-04
   4  Prefactor     .81156        .35423E-01    .43868E-01    .12765E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4995
  Index      = 2.48954
  Normalizat = 1.27609
  Prefactor  = 0.811564
 **********
 **   18 **HESSE 
 **********

 FCN=   10246.92     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .95E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.500        21.060        .90702E-04   -1.4825    
   2  Index         2.4895        .63907        .90315E-02   -.52602    
   3  Normalizat    1.2761        .21046        .30151E-03   -.84283    
   4  Prefactor     .81156        .10805        .18967E-03   -.99303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.51761e-12
Minuit parameter uncertainties:
  1  21.0677
  2  0.641421
  3  0.210605
  4  0.108078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696471': 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) = 10246.920346
delta logL = 0.0050510478668

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.950e+01  2.107e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.490e+00  6.414e-01  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:  8.116e-01  1.081e-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.276e+00  2.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.18
Ra Dec: 347.931 26.083
Photon Index (Free Index): 2.49 +/- 0.64
Photon Flux (Free Index): 4.18e-08 +/- 3.93e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.12e-05

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/696471/cmap_HighResolution_648864001_649123201_4FGL_J2311.7+2604_daily_bin1580.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.94e-03', comment='SUCCESS', photon_flux='3.98e-08', energy_flux2='1.23e-05', photon_flux_error='3.46e-08', dlogl='5.05e-03', energy_flux='1.26e-05', photon_flux2='4.18e-08', job_status='DONE', time_completed='2021-09-29 08:47:13.684007', photon_index_error2='0.64', photon_index2='2.49', ts='2.17', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='1.12e-05', EG='1.28', time_epoch_completed='1632930433.68', return_code='0', job_id='696471', GAL2='0.81', EG2='1.28', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='3.93e-08', ts2='2.18', photon_index='2.43' WHERE bin_id='1580' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:47:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 696471: <4FGL_J2311.7+2604_daily_bin1580> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1580> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 08:30:39 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:30:41 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:41 2021
Terminated at Wed Sep 29 08:47:14 2021
Results reported at Wed Sep 29 08:47:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1580 347.931 26.0831 648864001 649123201 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 :                                   844.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            995 sec.

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

