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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1338
RA = 347.931, Dec = 26.0831
tmin = 586137601, tmax = 586396801
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='695564', job_status='RUN', time_executed='2021-09-29 08:26:18.698782', time_epoch_executed='1632929178.7' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1338'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695564

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695564/ft1_4FGL_J2311.7+2604_daily_bin1338.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695564/ft2_4FGL_J2311.7+2604_daily_bin1338.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695564/ft1_4FGL_J2311.7+2604_daily_bin1338.fits outfile=/scratch/kocevski/695564/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1338.fits ra=347.931 dec=26.0831 rad=12.0 tmin=586137601.0 tmax=586396801.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.53
user 4.28
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695564/ft1_filtered_4FGL_J2311.7+2604_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/695564/ft2_4FGL_J2311.7+2604_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/695564/ltcube_586137601_586396801_4FGL_J2311.7+2604_daily_bin1338.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/695564/ft2_4FGL_J2311.7+2604_daily_bin1338.fits
.....................!
real 10.29
user 9.92
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695564/ft1_filtered_4FGL_J2311.7+2604_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/695564/ft2_4FGL_J2311.7+2604_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/695564/ltcube_586137601_586396801_4FGL_J2311.7+2604_daily_bin1338.fits outfile=/scratch/kocevski/695564/expmap_586137601_586396801_4FGL_J2311.7+2604_daily_bin1338.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/695564/ltcube_586137601_586396801_4FGL_J2311.7+2604_daily_bin1338.fits
.....................!
real 191.98
user 187.55
sys 4.02

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/695564/ft1_filtered_4FGL_J2311.7+2604_daily_bin1338.fits scfile=/scratch/kocevski/695564/ft2_4FGL_J2311.7+2604_daily_bin1338.fits outfile=/scratch/kocevski/695564/cmap_586137601_586396801_4FGL_J2311.7+2604_daily_bin1338.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.53
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695564/ft1_filtered_4FGL_J2311.7+2604_daily_bin1338.fits scfile=/scratch/kocevski/695564/ft2_4FGL_J2311.7+2604_daily_bin1338.fits outfile=/scratch/kocevski/695564/cmap_HighResolution_586137601_586396801_4FGL_J2311.7+2604_daily_bin1338.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.56
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/695564/ft1_filtered_4FGL_J2311.7+2604_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/695564/ft2_4FGL_J2311.7+2604_daily_bin1338.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695564/Model_4FGL_J2311.7+2604_daily_bin1338.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/695564/ft1_filtered_4FGL_J2311.7+2604_daily_bin1338.fits.....................!
real 81.57
user 80.17
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.0867       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .13807E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    50.363       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .68375       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10592E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .54047       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9219       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10175E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.4209       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96698       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1911       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=   7565.298     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2035 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    86.930        .24854E-04** at limit **
   2  Prefactor     .10000E-03    9.9871        .26071E-06** at limit **
   3  norm          5.0866        1.5972       -.47057E-07   -.29950E-03
   4  Prefactor     .10000E-03    7.7727        .33914E-05** at limit **
   5  norm          .10000E-03    1.5054        .13933E-06** at limit **
   6  Prefactor     .10000E-03    99.188       -.66311E-04** at limit **
   7  Prefactor     50.364        18.493       -.39379E-06   -.11390E-04
   8  Prefactor     .68361        .21768        .32981E-09    .28892E-02
   9  Prefactor     .10000E-03    27.034       -.26774E-06** at limit **
  10  Prefactor     .10000E-03    8.2829       -.42329E-05** at limit **
  11  Prefactor     .10000E-03    12.209       -.64716E-06** at limit **
  12  norm          .54042        1.0843       -.31181E-06   -.21055E-02
  13  Prefactor     5.9237        16.846       -.10215E-05   -.55319E-04
  14  Prefactor     .10000E-03    10.466        .33686E-05** at limit **
  15  Prefactor     .10000E-03    1.2742       -.76473E-07** at limit **
  16  norm          .10000E-03    3.1222        .20079E-05** at limit **
  17  Prefactor     1.4159        20.785       -.46816E-05   -.54052E-03
  18  Prefactor     .10000E-03    5.6592        .97437E-06** at limit **
  19  Prefactor     .10000E-03    6.0908       -.33188E-05** at limit **
  20  Prefactor     .10000E-03    85.339        .34424E-04** at limit **
  21  Normalizat    .96699        .22771       -.10644E-05   -.19892E-03
  22  Prefactor     1.1911        .12443        .36032E-06   -.40283E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.08662
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.3644
  Prefactor  = 0.683607
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.540425
  Prefactor  = 5.92373
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 1.41586
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.966995
  Prefactor  = 1.19106
 **********
 **   18 **HESSE 
 **********

 FCN=   7565.298     FROM HESSE     STATUS=OK           340 CALLS     2375 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    86.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.0866        1.5964        .59146E-04   -1.5257    
   4  Prefactor     .10000E-03    7.7747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.6327        .20295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    97.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     50.364        18.069        .56510E-04   -1.4287    
   8  Prefactor     .68361        .21675        .22011E-04   -1.5543    
   9  Prefactor     .10000E-03    27.742        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.2858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.537        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .54042        .90560        .12231E-02   -1.5561    
  13  Prefactor     5.9237        16.842        .16502E-03   -1.5221    
  14  Prefactor     .10000E-03    10.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.2752        .95882E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.2740        .28291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.4159        19.539        .36291E-03   -1.5470    
  18  Prefactor     .10000E-03    5.6639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.0895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    85.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96699        .25697        .37078E-03   -.94144    
  22  Prefactor     1.1911        .14137        .18712E-03   -.86607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.074e-09
Minuit parameter uncertainties:
  1  9.49243e-06
  2  3.92408e-06
  3  1.59638
  4  2.40598e-06
  5  1.06456e-05
  6  0.000383663
  7  18.0712
  8  0.216749
  9  5.40606e-05
  10  3.19033e-06
  11  1.48799e-05
  12  0.905627
  13  16.8557
  14  4.95737e-06
  15  5.54305e-07
  16  0.000254678
  17  10.5231
  18  1.49448e-06
  19  4.55831e-07
  20  0.000230585
  21  0.257301
  22  0.141413
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  5.924e+00  1.686e+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:  1.191e+00  1.414e-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.670e-01  2.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/695564/likelihoodResults_586137601_586396801_4FGL_J2311.7+2604_daily_bin1338.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) = 7565.13168947
delta logL = 0.165857764728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7565.12429564
delta logL = 0.173251594579

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6981       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5026       1.0000          .0000       10.000    
     3 'Normalizat'    .93683       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1997       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7565.124     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      283 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6836        296.68        .10322E-02   -.27393E-03
   2  Index         3.5052        5.2280        .77927E-02   -.33264E-04
   3  Normalizat    .93680        .23825        .37613E-03   -.38054E-04
   4  Prefactor     1.1997        .12727        .18652E-03   -.70230E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.68359
  Index      = 3.50517
  Normalizat = 0.936799
  Prefactor  = 1.19974
 **********
 **   18 **HESSE 
 **********

 FCN=   7565.124     FROM HESSE     STATUS=OK            27 CALLS      310 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6836        9.9306        .41286E-04   -1.5380    
   2  Index         3.5052        1.9795        .31171E-03   -.30361    
   3  Normalizat    .93680        .26109        .15045E-04   -.95179    
   4  Prefactor     1.1997        .14236        .37303E-04   -.86339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49086e-11
Minuit parameter uncertainties:
  1  9.93673
  2  2.04119
  3  0.26144
  4  0.142405
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695564': 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) = 7565.12429445
delta logL = 0.173252787415

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.684e+00  9.937e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.505e+00  2.041e+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:  1.200e+00  1.424e-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.368e-01  2.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/695564/cmap_HighResolution_586137601_586396801_4FGL_J2311.7+2604_daily_bin1338.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.63e-03', job_status='DONE', photon_flux_upper_limit='9.86e-08', time_completed='2021-09-29 08:37:47.288473', job_id='695564', GAL2='1.20', fit_tolerance='1e-08', EG2='0.94', EG='0.97', time_epoch_completed='1632929867.29', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.73e-01', ts2='0.51', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1338' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:37:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 695564: <4FGL_J2311.7+2604_daily_bin1338> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1338> 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) <bullet0209>, 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:37:48 2021
Results reported at Wed Sep 29 08:37:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1338 347.931 26.0831 586137601 586396801 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.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            701 sec.

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

