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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1601
RA = 347.931, Dec = 26.0831
tmin = 654307201, tmax = 654566401
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='696502', job_status='RUN', time_executed='2021-09-29 08:32:30.180881', time_epoch_executed='1632929550.18' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696502

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696502/ft1_4FGL_J2311.7+2604_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696502/ft2_4FGL_J2311.7+2604_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696502/ft1_4FGL_J2311.7+2604_daily_bin1601.fits outfile=/scratch/kocevski/696502/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1601.fits ra=347.931 dec=26.0831 rad=12.0 tmin=654307201.0 tmax=654566401.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.31
user 4.09
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/696502/ft1_filtered_4FGL_J2311.7+2604_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/696502/ft2_4FGL_J2311.7+2604_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/696502/ltcube_654307201_654566401_4FGL_J2311.7+2604_daily_bin1601.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/696502/ft2_4FGL_J2311.7+2604_daily_bin1601.fits
.....................!
real 11.58
user 11.21
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696502/ft1_filtered_4FGL_J2311.7+2604_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/696502/ft2_4FGL_J2311.7+2604_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/696502/ltcube_654307201_654566401_4FGL_J2311.7+2604_daily_bin1601.fits outfile=/scratch/kocevski/696502/expmap_654307201_654566401_4FGL_J2311.7+2604_daily_bin1601.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/696502/ltcube_654307201_654566401_4FGL_J2311.7+2604_daily_bin1601.fits
.....................!
real 192.50
user 187.93
sys 4.26

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/696502/ft1_filtered_4FGL_J2311.7+2604_daily_bin1601.fits scfile=/scratch/kocevski/696502/ft2_4FGL_J2311.7+2604_daily_bin1601.fits outfile=/scratch/kocevski/696502/cmap_654307201_654566401_4FGL_J2311.7+2604_daily_bin1601.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.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696502/ft1_filtered_4FGL_J2311.7+2604_daily_bin1601.fits scfile=/scratch/kocevski/696502/ft2_4FGL_J2311.7+2604_daily_bin1601.fits outfile=/scratch/kocevski/696502/cmap_HighResolution_654307201_654566401_4FGL_J2311.7+2604_daily_bin1601.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/696502/ft1_filtered_4FGL_J2311.7+2604_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/696502/ft2_4FGL_J2311.7+2604_daily_bin1601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696502/Model_4FGL_J2311.7+2604_daily_bin1601.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/696502/ft1_filtered_4FGL_J2311.7+2604_daily_bin1601.fits.....................!
real 86.50
user 85.12
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45826       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10582E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.2534       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .29858       1.0000         .10000E-03   10000.    
     5 'norm      '    6.3330       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.1405       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .60470E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .71046       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9719       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9089       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8511       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.257       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11158E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9963       1.0000         .10000E-03   10000.    
    16 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.4527       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0694       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10692E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0275       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95312       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=   8002.424     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2753 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45719        93.017         .0000        .23313E-03
   2  Prefactor     .10004E-03    17.130         .0000    ** at limit **
   3  norm          3.2537        1.2489         .0000        .10478E-03
   4  Prefactor     .28076        8.2714         .0000        .12006E-03
   5  norm          6.3267        2.7932         .0000        .12232E-03
   6  Prefactor     6.1437        39.654         .0000       -.59279E-03
   7  Prefactor     .10059E-03    8.9024         .0000    ** at limit **
   8  Prefactor     .71039        .21025         .0000       -.12864E-02
   9  Prefactor     .10000E-03    5.6330         .0000    ** at limit **
  10  Prefactor     3.9684        22.349         .0000        .12483E-03
  11  Prefactor     1.9065        10.746         .0000        .92062E-02
  12  norm          1.8515        1.2530         .0000        .42440E-03
  13  Prefactor     24.267        21.925         .0000       -.14988E-02
  14  Prefactor     .10002E-03    65.781         .0000    ** at limit **
  15  Prefactor     1.9981        4.0528         .0000        .87383E-03
  16  norm          .10000E-03    2.4846         .0000    ** at limit **
  17  Prefactor     7.4527        17.078         .0000        .91993E-04
  18  Prefactor     1.0734        20.621         .0000        .13561E-01
  19  Prefactor     .10004E-03    16.918         .0000    ** at limit **
  20  Prefactor     .10000E-03    33.538         .0000    ** at limit **
  21  Normalizat    1.0274        .20971         .0000       -.56846E-04
  22  Prefactor     .95309        .10748         .0000       -.91094E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.457193
  Prefactor  = 0.000100039
  norm       = 3.25371
  Prefactor  = 0.280761
  norm       = 6.32673
  Prefactor  = 6.14366
  Prefactor  = 0.000100593
  Prefactor  = 0.710386
  Prefactor  = 0.0001
  Prefactor  = 3.96845
  Prefactor  = 1.90646
  norm       = 1.8515
  Prefactor  = 24.2666
  Prefactor  = 0.000100022
  Prefactor  = 1.99812
  norm       = 0.0001
  Prefactor  = 7.45275
  Prefactor  = 1.07341
  Prefactor  = 0.000100038
  Prefactor  = 0.000100002
  Normalizat = 1.02738
  Prefactor  = 0.953089
 **********
 **   18 **HESSE 
 **********

 FCN=   8002.424     FROM HESSE     STATUS=OK           356 CALLS     3109 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45719        90.579        .23118       -1.5573    
   2  Prefactor     .10004E-03    17.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.2537        1.2473        .58562E-04   -1.5347    
   4  Prefactor     .28076        76.027        .49441E-02   -1.5602    
   5  norm          6.3267        2.6301        .90305E-04   -1.5205    
   6  Prefactor     6.1437        39.725        .16201E-03   -1.5212    
   7  Prefactor     .10059E-03    58.595        .47890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .71039        .20865        .20678E-04   -1.5539    
   9  Prefactor     .10000E-03    5.6644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9684        22.434        .20238E-03   -1.5310    
  11  Prefactor     1.9065        10.719        .15045E-02   -1.5432    
  12  norm          1.8515        1.2441        .78277E-04   -1.5436    
  13  Prefactor     24.267        21.960        .81332E-04   -1.4722    
  14  Prefactor     .10002E-03    66.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.9981        4.0075        .24412E-03   -1.5425    
  16  norm          .10000E-03    2.4981        .13736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.4527        17.055        .14691E-03   -1.5162    
  18  Prefactor     1.0734        20.872        .23507E-02   -1.5501    
  19  Prefactor     .10004E-03    16.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    33.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0274        .24783        .32962E-03   -.92119    
  22  Prefactor     .95309        .12858        .18367E-03   -.94310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37165e-08
Minuit parameter uncertainties:
  1  12.8888
  2  0.00165956
  3  1.24731
  4  9.25048
  5  2.63016
  6  31.2749
  7  0.0118054
  8  0.208652
  9  1.41495e-05
  10  18.8816
  11  9.04351
  12  1.24408
  13  21.9668
  14  0.00240555
  15  4.00807
  16  1.95417e-05
  17  17.0661
  18  9.46994
  19  0.00161601
  20  0.000490196
  21  0.248107
  22  0.128616
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.427e+01  2.197e+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.531e-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.027e+00  2.481e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.70
Ra Dec: 347.931 26.083
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 4.71e-08 +/- 4.26e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.35e-05

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

Saving results to:
/scratch/kocevski/696502/likelihoodResults_654307201_654566401_4FGL_J2311.7+2604_daily_bin1601.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) = 8002.16345944
delta logL = 0.260182121048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8002.15001424
delta logL = 0.273627319623

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.227       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0121       1.0000          .0000       10.000    
     3 'Normalizat'    .99416       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96450       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=   8002.150     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      285 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.223        29.251        .11014E-03   -.37077E-03
   2  Index         3.0123        1.2266        .64206E-02   -.14756E-03
   3  Normalizat    .99412        .24170        .33440E-03   -.30138E-03
   4  Prefactor     .96452        .12885        .18270E-03   -.63437E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.2231
  Index      = 3.01229
  Normalizat = 0.994116
  Prefactor  = 0.964518
 **********
 **   18 **HESSE 
 **********

 FCN=   8002.150     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.223        20.606        .44055E-05   -1.4981    
   2  Index         3.0123        .86787        .25682E-03   -.40884    
   3  Normalizat    .99412        .24065        .13376E-04   -.93228    
   4  Prefactor     .96452        .12818        .36540E-04   -.93922    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66019e-10
Minuit parameter uncertainties:
  1  20.6166
  2  0.873134
  3  0.240914
  4  0.12822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696502': 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) = 8002.1500142
delta logL = 0.273627358886

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.322e+01  2.062e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.012e+00  8.731e-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.645e-01  1.282e-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.941e-01  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 347.931 26.083
Photon Index (Free Index): 3.01 +/- 0.87
Photon Flux (Free Index): 7.04e-08 +/- 5.63e-08
Energy Flux (Free Index): 1.40e-05 +/- 1.10e-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/696502/cmap_HighResolution_654307201_654566401_4FGL_J2311.7+2604_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', photon_flux='4.71e-08', energy_flux2='1.40e-05', photon_flux_error='4.26e-08', dlogl='2.74e-01', energy_flux='1.49e-05', photon_flux2='7.04e-08', job_status='DONE', time_completed='2021-09-29 08:45:27.185285', photon_index_error2='0.87', photon_index2='3.01', ts='1.70', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='1.10e-05', EG='1.03', time_epoch_completed='1632930327.19', return_code='0', job_id='696502', GAL2='0.96', EG2='0.99', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='5.63e-08', ts2='2.28', photon_index='2.43' WHERE bin_id='1601' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:45:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 696502: <4FGL_J2311.7+2604_daily_bin1601> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1601 347.931 26.0831 654307201 654566401 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 :                                   762.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            886 sec.

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

