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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1106
RA = 347.931, Dec = 26.0831
tmin = 526003201, tmax = 526262401
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='695205', job_status='RUN', time_executed='2021-09-29 08:27:27.752937', time_epoch_executed='1632929247.75' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695205

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695205/ft1_4FGL_J2311.7+2604_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695205/ft2_4FGL_J2311.7+2604_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695205/ft1_4FGL_J2311.7+2604_daily_bin1106.fits outfile=/scratch/kocevski/695205/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1106.fits ra=347.931 dec=26.0831 rad=12.0 tmin=526003201.0 tmax=526262401.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.80
user 3.48
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/695205/ft2_4FGL_J2311.7+2604_daily_bin1106.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/695205/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1106.fits evtable="EVENTS" outfile="/scratch/kocevski/695205/ft1_filtered_4FGL_J2311.7+2604_daily_bin1106.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/695205/ft1_filtered_4FGL_J2311.7+2604_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/695205/ft2_4FGL_J2311.7+2604_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/695205/ltcube_526003201_526262401_4FGL_J2311.7+2604_daily_bin1106.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/695205/ft2_4FGL_J2311.7+2604_daily_bin1106.fits
.....................!
real 12.08
user 11.62
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695205/ft1_filtered_4FGL_J2311.7+2604_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/695205/ft2_4FGL_J2311.7+2604_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/695205/ltcube_526003201_526262401_4FGL_J2311.7+2604_daily_bin1106.fits outfile=/scratch/kocevski/695205/expmap_526003201_526262401_4FGL_J2311.7+2604_daily_bin1106.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/695205/ltcube_526003201_526262401_4FGL_J2311.7+2604_daily_bin1106.fits
.....................!
real 190.75
user 185.08
sys 5.17

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/695205/ft1_filtered_4FGL_J2311.7+2604_daily_bin1106.fits scfile=/scratch/kocevski/695205/ft2_4FGL_J2311.7+2604_daily_bin1106.fits outfile=/scratch/kocevski/695205/cmap_526003201_526262401_4FGL_J2311.7+2604_daily_bin1106.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/695205/ft1_filtered_4FGL_J2311.7+2604_daily_bin1106.fits scfile=/scratch/kocevski/695205/ft2_4FGL_J2311.7+2604_daily_bin1106.fits outfile=/scratch/kocevski/695205/cmap_HighResolution_526003201_526262401_4FGL_J2311.7+2604_daily_bin1106.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.61
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/695205/ft1_filtered_4FGL_J2311.7+2604_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/695205/ft2_4FGL_J2311.7+2604_daily_bin1106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695205/Model_4FGL_J2311.7+2604_daily_bin1106.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/695205/ft1_filtered_4FGL_J2311.7+2604_daily_bin1106.fits.....................!
real 91.08
user 89.59
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16427E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.8133       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .11953E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    74.499       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.7799       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .50177       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.7705       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.0059       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.3628       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10675E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.1391       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.8287       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.075       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1405       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91865       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=   8400.565     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2079 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    461.27        .19813E-05** at limit **
   2  Prefactor     .10000E-03    5.5428        .26972E-07** at limit **
   3  norm          8.8129        1.7493        .10330E-07   -.96384E-04
   4  Prefactor     .10000E-03    4.8079       -.21723E-08** at limit **
   5  norm          .10000E-03    .87432       -.58283E-07** at limit **
   6  Prefactor     74.581        51.966        .19149E-05    .16077E-03
   7  Prefactor     4.7594        13.643        .38829E-06    .40191E-05
   8  Prefactor     .50123        .18244       -.13116E-07    .23603E-03
   9  Prefactor     7.7726        12.757        .22929E-05    .31712E-03
  10  Prefactor     .10000E-03    7.5301       -.27676E-07** at limit **
  11  Prefactor     .10000E-03    7.9238        .44491E-08** at limit **
  12  norm          1.0057        1.3161        .10321E-05   -.10524E-02
  13  Prefactor     6.3624        18.749        .35821E-06   -.48106E-05
  14  Prefactor     .10000E-03    23.828       -.20525E-07** at limit **
  15  Prefactor     .10000E-03    4.1767       -.67042E-07** at limit **
  16  norm          6.1414        7.4203       -.14943E-06   -.85914E-04
  17  Prefactor     4.8220        25.002        .70483E-06    .44927E-05
  18  Prefactor     17.071        18.248       -.21930E-06   -.82685E-04
  19  Prefactor     .10000E-03    4.6096        .16256E-08** at limit **
  20  Prefactor     .10000E-03    87.467        .39455E-06** at limit **
  21  Normalizat    1.1405        .21272       -.51607E-06   -.23097E-04
  22  Prefactor     .91867        .10955       -.38256E-06    .62010E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 8.81294
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 74.5808
  Prefactor  = 4.7594
  Prefactor  = 0.501225
  Prefactor  = 7.7726
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.00574
  Prefactor  = 6.36238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.14136
  Prefactor  = 4.82201
  Prefactor  = 17.0709
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.14053
  Prefactor  = 0.918671
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    466.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.5514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.8129        1.7500        .51981E-04   -1.5114    
   4  Prefactor     .10000E-03    4.8091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.3268        .16101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     74.581        53.264        .23259E-03   -1.3979    
   7  Prefactor     4.7594        13.172        .18402E-03   -1.5272    
   8  Prefactor     .50123        .18184        .22085E-04   -1.5566    
   9  Prefactor     7.7726        13.331        .14385E-03   -1.5150    
  10  Prefactor     .10000E-03    7.5342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.0435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0057        1.3691        .26807E-03   -1.5507    
  13  Prefactor     6.3624        18.740        .15912E-03   -1.5203    
  14  Prefactor     .10000E-03    23.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.1414        7.2513        .16203E-03   -1.5212    
  17  Prefactor     4.8220        23.880        .18307E-03   -1.5269    
  18  Prefactor     17.071        18.329        .96924E-04   -1.4881    
  19  Prefactor     .10000E-03    4.6112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    89.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1405        .25199        .33585E-03   -.88461    
  22  Prefactor     .91867        .13006        .19450E-03   -.95492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38556e-10
Minuit parameter uncertainties:
  1  0.00170008
  2  1.46274e-06
  3  1.75001
  4  2.03491e-07
  5  1.25023e-06
  6  53.2977
  7  13.1804
  8  0.181841
  9  13.3364
  10  1.8574e-06
  11  1.28049e-05
  12  1.36913
  13  18.7575
  14  3.92438e-06
  15  8.20711e-06
  16  7.25237
  17  21.4752
  18  18.3347
  19  7.61981e-07
  20  0.000220991
  21  0.252256
  22  0.130101
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  6.362e+00  1.876e+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:  9.187e-01  1.301e-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.141e+00  2.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/695205/likelihoodResults_526003201_526262401_4FGL_J2311.7+2604_daily_bin1106.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) = 8400.55182179
delta logL = 0.0131175582519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8400.54750266
delta logL = 0.017436686654

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3136       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1013       1.0000          .0000       10.000    
     3 'Normalizat'    1.1453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91669       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=   8400.548     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      260 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3118        22.445        .13904E-03    .26329E-04
   2  Index         2.1010        1.5211        .84899E-02    .23868E-04
   3  Normalizat    1.1453        .24308        .33522E-03   -.25307E-03
   4  Prefactor     .91670        .12852        .19468E-03   -.50058E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.31181
  Index      = 2.10105
  Normalizat = 1.14534
  Prefactor  = 0.916698
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3118        22.292        .55616E-05   -1.5131    
   2  Index         2.1010        1.5115        .33960E-03   -.61847    
   3  Normalizat    1.1453        .24321        .13409E-04   -.88309    
   4  Prefactor     .91670        .12859        .38936E-04   -.95560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22808e-10
Minuit parameter uncertainties:
  1  22.3139
  2  1.54856
  3  0.243451
  4  0.128635
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695205': 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) = 8400.54750263
delta logL = 0.0174367113632

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  8.312e+00  2.231e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.101e+00  1.549e+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:  9.167e-01  1.286e-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.145e+00  2.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/695205/cmap_HighResolution_526003201_526262401_4FGL_J2311.7+2604_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.25e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-09-29 08:40:56.366101', job_id='695205', GAL2='0.92', fit_tolerance='1e-08', EG2='1.15', EG='1.14', time_epoch_completed='1632930056.37', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.74e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1106' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:40:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 695205: <4FGL_J2311.7+2604_daily_bin1106> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1106> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 08:25:33 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:25:35 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:35 2021
Terminated at Wed Sep 29 08:40:57 2021
Results reported at Wed Sep 29 08:40:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1106 347.931 26.0831 526003201 526262401 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 :                                   718.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            924 sec.

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

