/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 = 7386
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.7+2604_daily_bin387
RA = 347.931, Dec = 26.0831
tmin = 339638401, tmax = 339897601
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='690082', job_status='RUN', time_executed='2021-09-29 08:10:43.732304', time_epoch_executed='1632928243.73' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='387'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/690082

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/690082/ft1_4FGL_J2311.7+2604_daily_bin387.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/690082/ft2_4FGL_J2311.7+2604_daily_bin387.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/690082/ft1_4FGL_J2311.7+2604_daily_bin387.fits outfile=/scratch/kocevski/690082/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin387.fits ra=347.931 dec=26.0831 rad=12.0 tmin=339638401.0 tmax=339897601.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.33
user 3.10
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/690082/ft1_filtered_4FGL_J2311.7+2604_daily_bin387.fits" evtable="EVENTS" scfile=/scratch/kocevski/690082/ft2_4FGL_J2311.7+2604_daily_bin387.fits sctable="SC_DATA" outfile=/scratch/kocevski/690082/ltcube_339638401_339897601_4FGL_J2311.7+2604_daily_bin387.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/690082/ft2_4FGL_J2311.7+2604_daily_bin387.fits
.....................!
real 12.47
user 12.07
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/690082/ft1_filtered_4FGL_J2311.7+2604_daily_bin387.fits evtable="EVENTS" scfile=/scratch/kocevski/690082/ft2_4FGL_J2311.7+2604_daily_bin387.fits sctable="SC_DATA" expcube=/scratch/kocevski/690082/ltcube_339638401_339897601_4FGL_J2311.7+2604_daily_bin387.fits outfile=/scratch/kocevski/690082/expmap_339638401_339897601_4FGL_J2311.7+2604_daily_bin387.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/690082/ltcube_339638401_339897601_4FGL_J2311.7+2604_daily_bin387.fits
.....................!
real 190.60
user 184.90
sys 5.03

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/690082/ft1_filtered_4FGL_J2311.7+2604_daily_bin387.fits scfile=/scratch/kocevski/690082/ft2_4FGL_J2311.7+2604_daily_bin387.fits outfile=/scratch/kocevski/690082/cmap_339638401_339897601_4FGL_J2311.7+2604_daily_bin387.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.57
user 0.37
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41565E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10207E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2719       1.0000         .10000E-03   10000.    
     5 'norm      '    2.2566       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3295       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11655       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.434       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8323       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.8512       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .28219E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4500       1.0000         .10000E-03   10000.    
    16 'norm      '    .69429       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.3933       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .30744       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2462       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=   7218.741     FROM MIGRAD    STATUS=CONVERGED    854 CALLS     2459 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    88.535        .21931    ** at limit **
   2  Prefactor     .10000E-03    6.2618        .18142E-02** at limit **
   3  norm          .10000E-03    .50897        .10093E-02** at limit **
   4  Prefactor     5.2369        22.329        .17505E-03   -.98065E-04
   5  norm          2.2566        1.3509        .74196E-04   -.76612E-05
   6  Prefactor     .10000E-03    34.730        .18142E-02** at limit **
   7  Prefactor     6.3259        6.3780        .79773E-03   -.23515E-04
   8  Prefactor     .11656        .93109E-01    .23741E-03    .80216E-02
   9  Prefactor     12.440        9.5544        .11360E-03    .69052E-05
  10  Prefactor     3.8295        25.154        .20616E-03   -.77202E-05
  11  Prefactor     .10000E-03    7.9173        .27678E-02** at limit **
  12  norm          3.8511        1.5905        .65358E-04   -.31414E-03
  13  Prefactor     .10000E-03    29.942        .42831E-03** at limit **
  14  Prefactor     .10000E-03    21.668        .18142E-02** at limit **
  15  Prefactor     2.4497        4.9349        .25366E-03   -.64897E-04
  16  norm          .69392        5.6861        .37970E-03   -.16647E-03
  17  Prefactor     .10000E-03    9.0945        .18142E-02** at limit **
  18  Prefactor     .10000E-03    8.0743        .18142E-02** at limit **
  19  Prefactor     .10000E-03    6.1204        .18142E-02** at limit **
  20  Prefactor     9.3851        26.125        .13076E-03   -.21127E-04
  21  Normalizat    .30744        .21502        .49830E-03    .18708E-05
  22  Prefactor     1.2462        .12475        .15137E-03   -.11874E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.23687
  norm       = 2.25662
  Prefactor  = 0.0001
  Prefactor  = 6.32593
  Prefactor  = 0.116555
  Prefactor  = 12.4397
  Prefactor  = 3.82953
  Prefactor  = 0.0001
  norm       = 3.85111
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.44973
  norm       = 0.693922
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.3851
  Normalizat = 0.30744
  Prefactor  = 1.24616
 **********
 **   18 **HESSE 
 **********

 FCN=   7218.741     FROM HESSE     STATUS=OK           332 CALLS     2791 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    91.133        .21517       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.2627        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .50918        .20185E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.2369        22.316        .70022E-05   -1.5250    
   5  norm          2.2566        1.3509        .29678E-05   -1.5408    
   6  Prefactor     .10000E-03    34.734        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.3259        6.3774        .31909E-04   -1.5205    
   8  Prefactor     .11656        .93094E-01    .47483E-04   -1.5640    
   9  Prefactor     12.440        9.5540        .45440E-05   -1.5002    
  10  Prefactor     3.8295        25.150        .82466E-05   -1.5317    
  11  Prefactor     .10000E-03    7.9927        .55356E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.8511        1.5903        .26143E-05   -1.5315    
  13  Prefactor     .10000E-03    29.944        .85661E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.673        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4497        4.9337        .10146E-04   -1.5395    
  16  norm          .69392        5.6819        .15188E-04   -1.5541    
  17  Prefactor     .10000E-03    9.0961        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.0753        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.1206        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.3851        26.124        .52304E-05   -1.5095    
  21  Normalizat    .30744        .21487        .19932E-04   -1.2240    
  22  Prefactor     1.2462        .12470        .60548E-05   -.84922    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15967e-10
Minuit parameter uncertainties:
  1  0.000715578
  2  2.11713e-05
  3  3.17637e-06
  4  21.6345
  5  1.35096
  6  1.45466e-05
  7  6.37811
  8  0.093094
  9  9.5552
  10  19.6396
  11  0.000124267
  12  1.59032
  13  0.000248566
  14  0.000122459
  15  4.93456
  16  3.97152
  17  9.33992e-05
  18  9.55589e-06
  19  1.75067e-08
  20  26.1561
  21  0.21545
  22  0.124733
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.486e-04  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:  1.246e+00  1.247e-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:  3.074e-01  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/690082/likelihoodResults_339638401_339897601_4FGL_J2311.7+2604_daily_bin387.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7218.74103349
delta logL = -0.000159325136337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7218.74087481
delta logL = -6.38477104076e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6265       1.0000          .0000       10.000    
     3 'Normalizat'    .30744       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2462       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=   7218.741     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      289 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10189E-03    56.051        .36285E-02** at limit **
   2  Index         2.5575        7.3669        .50000        .13974E-04
   3  Normalizat    .30744        .68053E-02    .49829E-03    .87611E-05
   4  Prefactor     1.2462        .40286E-02    .15137E-03    .43561E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101893
  Index      = 2.55754
  Normalizat = 0.307439
  Prefactor  = 1.24616
 **********
 **   18 **HESSE 
 **********

 FCN=   7218.741     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      318 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10189E-03    269.83        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5575        8.6610        .50000       -.51036    
   3  Normalizat    .30744        .15074E-01    .19932E-04   -1.2240    
   4  Prefactor     1.2462        .89237E-02    .60548E-05   -.84922    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.14177e-09
Minuit parameter uncertainties:
  1  0.0454096
  2  291.499
  3  0.0150741
  4  0.00892367
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/690082': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7218.74087451
delta logL = -3.41819941241e-07

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.019e-04  4.541e-02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.558e+00  2.915e+02  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.246e+00  8.924e-03  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:  3.074e-01  1.507e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.931 26.083

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/690082/cmap_HighResolution_339638401_339897601_4FGL_J2311.7+2604_daily_bin387.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.67e-08', time_completed='2021-09-29 08:22:11.139715', job_id='690082', GAL2='1.25', fit_tolerance='1e-08', EG2='0.31', EG='0.31', time_epoch_completed='1632928931.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='-3.42e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='387' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:22:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 690082: <4FGL_J2311.7+2604_daily_bin387> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin387> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 08:10:31 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:10:33 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:10:33 2021
Terminated at Wed Sep 29 08:22:11 2021
Results reported at Wed Sep 29 08:22:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin387 347.931 26.0831 339638401 339897601 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 :                                   680.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            700 sec.

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

