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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1341
RA = 347.931, Dec = 26.0831
tmin = 586915201, tmax = 587174401
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='695569', job_status='RUN', time_executed='2021-09-29 08:26:21.472215', time_epoch_executed='1632929181.47' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1341'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695569

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695569/ft1_4FGL_J2311.7+2604_daily_bin1341.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695569/ft2_4FGL_J2311.7+2604_daily_bin1341.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695569/ft1_4FGL_J2311.7+2604_daily_bin1341.fits outfile=/scratch/kocevski/695569/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1341.fits ra=347.931 dec=26.0831 rad=12.0 tmin=586915201.0 tmax=587174401.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.62
user 3.39
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695569/ft1_filtered_4FGL_J2311.7+2604_daily_bin1341.fits" evtable="EVENTS" scfile=/scratch/kocevski/695569/ft2_4FGL_J2311.7+2604_daily_bin1341.fits sctable="SC_DATA" outfile=/scratch/kocevski/695569/ltcube_586915201_587174401_4FGL_J2311.7+2604_daily_bin1341.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/695569/ft2_4FGL_J2311.7+2604_daily_bin1341.fits
.....................!
real 12.02
user 11.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695569/ft1_filtered_4FGL_J2311.7+2604_daily_bin1341.fits evtable="EVENTS" scfile=/scratch/kocevski/695569/ft2_4FGL_J2311.7+2604_daily_bin1341.fits sctable="SC_DATA" expcube=/scratch/kocevski/695569/ltcube_586915201_587174401_4FGL_J2311.7+2604_daily_bin1341.fits outfile=/scratch/kocevski/695569/expmap_586915201_587174401_4FGL_J2311.7+2604_daily_bin1341.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/695569/ltcube_586915201_587174401_4FGL_J2311.7+2604_daily_bin1341.fits
.....................!
real 191.09
user 185.84
sys 4.75

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/695569/ft1_filtered_4FGL_J2311.7+2604_daily_bin1341.fits scfile=/scratch/kocevski/695569/ft2_4FGL_J2311.7+2604_daily_bin1341.fits outfile=/scratch/kocevski/695569/cmap_586915201_587174401_4FGL_J2311.7+2604_daily_bin1341.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695569/ft1_filtered_4FGL_J2311.7+2604_daily_bin1341.fits scfile=/scratch/kocevski/695569/ft2_4FGL_J2311.7+2604_daily_bin1341.fits outfile=/scratch/kocevski/695569/cmap_HighResolution_586915201_587174401_4FGL_J2311.7+2604_daily_bin1341.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/695569/ft1_filtered_4FGL_J2311.7+2604_daily_bin1341.fits evtable="EVENTS" scfile=/scratch/kocevski/695569/ft2_4FGL_J2311.7+2604_daily_bin1341.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695569/Model_4FGL_J2311.7+2604_daily_bin1341.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/695569/ft1_filtered_4FGL_J2311.7+2604_daily_bin1341.fits.....................!
real 90.06
user 88.26
sys 1.48

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0126       1.0000         .10000E-03   10000.    
     3 'norm      '    .54940       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.2104       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    113.90       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3186       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3152       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3172       1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.820       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.606       1.0000         .10000E-03   10000.    
    16 'norm      '    2.2609       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.3897       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.0611       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    30.132       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0747       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91447       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8022.867     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2413 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    137.62         .0000    ** at limit **
   2  Prefactor     4.0072        11.853         .0000        .27526E-02
   3  norm          .54934        .72825         .0000        .48067E-03
   4  Prefactor     .10000E-03    7.2194         .0000    ** at limit **
   5  norm          1.2105        2.1264         .0000        .11143E-02
   6  Prefactor     .10000E-03    23.788         .0000    ** at limit **
   7  Prefactor     113.90        21.637         .0000       -.55354E-03
   8  Prefactor     1.3186        .23889         .0000        .73237E-04
   9  Prefactor     .10000E-03    5.2121         .0000    ** at limit **
  10  Prefactor     .10000E-03    19.088         .0000    ** at limit **
  11  Prefactor     2.3153        8.9919         .0000        .79342E-02
  12  norm          1.3173        1.4399         .0000        .10796E-02
  13  Prefactor     38.818        24.711         .0000       -.56410E-04
  14  Prefactor     .10000E-03    13.107         .0000    ** at limit **
  15  Prefactor     10.606        8.4536         .0000        .31537E-02
  16  norm          2.2608        5.6382         .0000        .87147E-03
  17  Prefactor     6.3894        19.269         .0000        .13298E-02
  18  Prefactor     3.0652        31.410         .0000        .41141E-03
  19  Prefactor     .10000E-03    11.592         .0000    ** at limit **
  20  Prefactor     30.131        29.517         .0000        .21592E-03
  21  Normalizat    1.0748        .22343         .0000        .28999E-04
  22  Prefactor     .91440        .11196         .0000        .16925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.00719
  norm       = 0.549344
  Prefactor  = 0.0001
  norm       = 1.21048
  Prefactor  = 0.0001
  Prefactor  = 113.9
  Prefactor  = 1.31862
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.3153
  norm       = 1.31727
  Prefactor  = 38.8181
  Prefactor  = 0.0001
  Prefactor  = 10.6058
  norm       = 2.26082
  Prefactor  = 6.38936
  Prefactor  = 3.06515
  Prefactor  = 0.0001
  Prefactor  = 30.1307
  Normalizat = 1.07484
  Prefactor  = 0.914401
 **********
 **   18 **HESSE 
 **********

 FCN=   8022.867     FROM HESSE     STATUS=OK           348 CALLS     2761 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    138.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0072        11.867        .10066E-02   -1.5308    
   3  norm          .54934        .62013        .84949E-03   -1.5560    
   4  Prefactor     .10000E-03    7.2291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.2105        2.0802        .16193E-03   -1.5488    
   6  Prefactor     .10000E-03    23.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     113.90        21.511        .37695E-04   -1.3569    
   8  Prefactor     1.3186        .23889        .17672E-04   -1.5478    
   9  Prefactor     .10000E-03    5.2703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3153        8.9858        .13481E-02   -1.5404    
  12  norm          1.3173        1.4172        .10549E-03   -1.5478    
  13  Prefactor     38.818        24.753        .64330E-04   -1.4461    
  14  Prefactor     .10000E-03    13.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.606        8.3894        .61512E-03   -1.5057    
  16  norm          2.2608        5.4886        .27319E-03   -1.5407    
  17  Prefactor     6.3894        18.889        .79392E-03   -1.5202    
  18  Prefactor     3.0652        30.778        .23186E-03   -1.5358    
  19  Prefactor     .10000E-03    11.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.131        29.578        .72989E-04   -1.4610    
  21  Normalizat    1.0748        .26418        .33961E-03   -.90564    
  22  Prefactor     .91440        .13270        .19641E-03   -.95640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29628e-09
Minuit parameter uncertainties:
  1  0.000122269
  2  11.8743
  3  0.620134
  4  5.76791e-06
  5  2.08031
  6  3.11835e-05
  7  21.5121
  8  0.238888
  9  4.03225e-06
  10  3.95928e-05
  11  8.99107
  12  1.41719
  13  24.7591
  14  1.93763e-07
  15  8.39032
  16  5.48978
  17  18.907
  18  19.4383
  19  7.50739e-06
  20  29.5925
  21  0.264508
  22  0.132748
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  3.882e+01  2.476e+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.144e-01  1.327e-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.075e+00  2.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.66
Ra Dec: 347.931 26.083
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 7.53e-08 +/- 4.80e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.52e-05

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

Saving results to:
/scratch/kocevski/695569/likelihoodResults_586915201_587174401_4FGL_J2311.7+2604_daily_bin1341.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) = 8022.42542563
delta logL = 0.44119677284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8022.41291006
delta logL = 0.453712338906

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.569       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0877       1.0000          .0000       10.000    
     3 'Normalizat'    1.0309       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93214       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=   8022.413     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      286 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.556        39.947        .98394E-04    .10480E-03
   2  Index         3.0881        1.3258        .47396E-02    .77727E-04
   3  Normalizat    1.0309        .25154        .34580E-03    .12582E-03
   4  Prefactor     .93214        .13451        .19474E-03   -.40071E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.5557
  Index      = 3.08809
  Normalizat = 1.03087
  Prefactor  = 0.932143
 **********
 **   18 **HESSE 
 **********

 FCN=   8022.413     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.556        24.687        .39358E-05   -1.4894    
   2  Index         3.0881        .82500        .18958E-03   -.39237    
   3  Normalizat    1.0309        .24849        .13832E-04   -.92003    
   4  Prefactor     .93214        .13253        .38947E-04   -.95027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43948e-10
Minuit parameter uncertainties:
  1  24.7022
  2  0.829445
  3  0.248774
  4  0.132573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695569': 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) = 8022.4129099
delta logL = 0.453712507351

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.656e+01  2.470e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.088e+00  8.294e-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:  9.321e-01  1.326e-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.031e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.61
Ra Dec: 347.931 26.083
Photon Index (Free Index): 3.09 +/- 0.83
Photon Flux (Free Index): 1.01e-07 +/- 5.92e-08
Energy Flux (Free Index): 1.94e-05 +/- 1.18e-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/695569/cmap_HighResolution_586915201_587174401_4FGL_J2311.7+2604_daily_bin1341.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', comment='SUCCESS', photon_flux='7.53e-08', energy_flux2='1.94e-05', photon_flux_error='4.80e-08', dlogl='4.54e-01', energy_flux='2.38e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-09-29 08:39:02.854425', photon_index_error2='0.83', photon_index2='3.09', ts='3.66', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.71e-07', energy_flux_error2='1.18e-05', EG='1.07', time_epoch_completed='1632929942.85', return_code='0', job_id='695569', GAL2='0.93', EG2='1.03', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='5.92e-08', ts2='4.61', photon_index='2.43' WHERE bin_id='1341' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:39:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 695569: <4FGL_J2311.7+2604_daily_bin1341> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1341> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 08:26:07 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:26:09 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:26:09 2021
Terminated at Wed Sep 29 08:39:03 2021
Results reported at Wed Sep 29 08:39:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1341 347.931 26.0831 586915201 587174401 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 :                                   753.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            776 sec.

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

