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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin126
RA = 347.766, Dec = 2.0995
tmin = 271987201, tmax = 272246401
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='672889', job_status='RUN', time_executed='2021-09-29 07:18:46.677749', time_epoch_executed='1632925126.68' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='126'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672889

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672889/ft1_4FGL_J2311.0+0205_daily_bin126.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672889/ft2_4FGL_J2311.0+0205_daily_bin126.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672889/ft1_4FGL_J2311.0+0205_daily_bin126.fits outfile=/scratch/kocevski/672889/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin126.fits ra=347.766 dec=2.0995 rad=12.0 tmin=271987201.0 tmax=272246401.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 1.61
user 1.43
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/672889/ft2_4FGL_J2311.0+0205_daily_bin126.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/672889/ft2_4FGL_J2311.0+0205_daily_bin126.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/672889/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin126.fits evtable="EVENTS" outfile="/scratch/kocevski/672889/ft1_filtered_4FGL_J2311.0+0205_daily_bin126.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672889/ft1_filtered_4FGL_J2311.0+0205_daily_bin126.fits" evtable="EVENTS" scfile=/scratch/kocevski/672889/ft2_4FGL_J2311.0+0205_daily_bin126.fits sctable="SC_DATA" outfile=/scratch/kocevski/672889/ltcube_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.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/672889/ft2_4FGL_J2311.0+0205_daily_bin126.fits
.....................!
real 12.12
user 11.78
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672889/ft1_filtered_4FGL_J2311.0+0205_daily_bin126.fits evtable="EVENTS" scfile=/scratch/kocevski/672889/ft2_4FGL_J2311.0+0205_daily_bin126.fits sctable="SC_DATA" expcube=/scratch/kocevski/672889/ltcube_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.fits outfile=/scratch/kocevski/672889/expmap_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.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/672889/ltcube_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.fits
.....................!
real 189.98
user 184.89
sys 4.72

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.0+0205 @ 347.766 2.0995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/672889/ft1_filtered_4FGL_J2311.0+0205_daily_bin126.fits scfile=/scratch/kocevski/672889/ft2_4FGL_J2311.0+0205_daily_bin126.fits outfile=/scratch/kocevski/672889/cmap_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.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.766 yref=2.0995 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672889/ft1_filtered_4FGL_J2311.0+0205_daily_bin126.fits scfile=/scratch/kocevski/672889/ft2_4FGL_J2311.0+0205_daily_bin126.fits outfile=/scratch/kocevski/672889/cmap_HighResolution_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.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.766 yref=2.0995 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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/672889/ft1_filtered_4FGL_J2311.0+0205_daily_bin126.fits evtable="EVENTS" scfile=/scratch/kocevski/672889/ft2_4FGL_J2311.0+0205_daily_bin126.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/672889/Model_4FGL_J2311.0+0205_daily_bin126.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/672889/ft1_filtered_4FGL_J2311.0+0205_daily_bin126.fits.....................!
real 83.59
user 82.26
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/672889/ft1_filtered_4FGL_J2311.0+0205_daily_bin126.fits', '/scratch/kocevski/672889/ft2_4FGL_J2311.0+0205_daily_bin126.fits', expMap='/scratch/kocevski/672889/expmap_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.fits', expCube='/scratch/kocevski/672889/ltcube_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/672889/Model_4FGL_J2311.0+0205_daily_bin126.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.0+0205'

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.504e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/672889/ft1_filtered_4FGL_J2311.0+0205_daily_bin126.fits
Spacecraft file(s): /scratch/kocevski/672889/ft2_4FGL_J2311.0+0205_daily_bin126.fits
Exposure map: /scratch/kocevski/672889/expmap_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.fits
Exposure cube: /scratch/kocevski/672889/ltcube_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/672889/Model_4FGL_J2311.0+0205_daily_bin126.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) = 8795.99423216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3478       1.0000         .10000E-03   10000.    
     2 'norm      '    12.324       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.754       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.590       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .40144       1.0000         .10000E-03   10000.    
     8 'norm      '    1.4183       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8430       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1392       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.8921       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.674       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.4026       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10318E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.9204       1.0000         .10000E-03   10000.    
    20 'Prefactor '    49.887       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10904E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .82067       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91155       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8795.985     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2558 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3478        2.8116         .0000       -.14049E-03
   2  norm          12.327        8.9169         .0000        .17394E-02
   3  Prefactor     30.758        22.213         .0000       -.76812E-03
   4  Prefactor     11.591        7.9752         .0000       -.10146E-02
   5  Prefactor     .10000E-03    7.3127         .0000    ** at limit **
   6  Prefactor     .10000E-03    16.420         .0000    ** at limit **
   7  Prefactor     .37952        5.3590         .0000        .56748E-03
   8  norm          1.4183        .69941         .0000        .23352E-03
   9  norm          1.8465        4.4358         .0000        .11402E-02
  10  Prefactor     4.1379        8.8879         .0000        .54843E-02
  11  Prefactor     .10000E-03    126.32         .0000    ** at limit **
  12  norm          9.8956        11.201         .0000        .98754E-03
  13  Prefactor     12.676        8.8056         .0000       -.17196E-03
  14  Prefactor     .10000E-03    43.453         .0000    ** at limit **
  15  Prefactor     .10000E-03    2.3605         .0000    ** at limit **
  16  Prefactor     .10000E-03    7.4016         .0000    ** at limit **
  17  norm          4.4019        8.7863         .0000        .22316E-02
  18  Prefactor     .10000E-03    314.43         .0000    ** at limit **
  19  Prefactor     3.9203        3.5489         .0000        .60163E-03
  20  Prefactor     49.884        35.201         .0000       -.90041E-04
  21  Prefactor     .10000E-03    19.219         .0000    ** at limit **
  22  Normalizat    .82032        .17065         .0000        .25481E-04
  23  Prefactor     .91167        .10341         .0000       -.69000E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.34777
  norm       = 12.3268
  Prefactor  = 30.7579
  Prefactor  = 11.5908
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.379525
  norm       = 1.41827
  norm       = 1.84653
  Prefactor  = 4.13793
  Prefactor  = 0.0001
  norm       = 9.89559
  Prefactor  = 12.6762
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.40193
  Prefactor  = 0.000100004
  Prefactor  = 3.92028
  Prefactor  = 49.8844
  Prefactor  = 0.0001
  Normalizat = 0.820324
  Prefactor  = 0.911675
 **********
 **   18 **HESSE 
 **********

 FCN=   8795.985     FROM HESSE     STATUS=OK           370 CALLS     2928 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3478        2.8097        .16808E-03   -1.5402    
   2  norm          12.327        8.9312        .11411E-03   -1.5006    
   3  Prefactor     30.758        22.219        .72249E-04   -1.4598    
   4  Prefactor     11.591        7.9738        .11767E-03   -1.5027    
   5  Prefactor     .10000E-03    7.3345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37952        23.916        .37276E-02   -1.5585    
   8  norm          1.4183        .69477        .52696E-04   -1.5470    
   9  norm          1.8465        4.4266        .26304E-03   -1.5436    
  10  Prefactor     4.1379        8.8028        .99061E-03   -1.5301    
  11  Prefactor     .10000E-03    128.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.8956        11.074        .12741E-03   -1.5079    
  13  Prefactor     12.676        8.7730        .11251E-03   -1.4996    
  14  Prefactor     .10000E-03    43.455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.3637        .14064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.4115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.4019        8.7654        .95970E-03   -1.5288    
  18  Prefactor     .10000E-03    326.35        .36298E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9203        3.5488        .15597E-03   -1.5312    
  20  Prefactor     49.884        35.394        .56777E-04   -1.4294    
  21  Prefactor     .10000E-03    19.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .82032        .19930        .31253E-03   -.99319    
  23  Prefactor     .91167        .12093        .19218E-03   -.95734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54407e-08
Minuit parameter uncertainties:
  1  2.80986
  2  8.93215
  3  22.2246
  4  7.97456
  5  2.98601e-06
  6  0.000119585
  7  6.02725
  8  0.694779
  9  4.42739
  10  8.80551
  11  0.000472078
  12  11.0763
  13  8.77389
  14  5.33598e-05
  15  1.73196e-07
  16  3.07672e-07
  17  8.76797
  18  0.00242766
  19  3.54901
  20  35.4086
  21  3.99063e-05
  22  0.199479
  23  0.120963
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.986e-06  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.117e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  8.203e-01  1.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 5.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672889/likelihoodResults_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.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) = 8795.98515765
delta logL = -0.000649797968435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8795.98450785
delta logL = 1.40971678775e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1829       1.0000          .0000       10.000    
     3 'Normalizat'    .82032       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91167       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8795.985     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      210 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.993        .90712E-02** at limit **
   2  Index         2.1799        8.5958        .50000        .34065E-05
   3  Normalizat    .82032        .59663E-02    .70629E-01    .39984E-05
   4  Prefactor     .91167        .38721E-02    .45154E-01   -.30648E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.17986
  Normalizat = 0.820324
  Prefactor  = 0.911675
 **********
 **   18 **HESSE 
 **********

 FCN=   8795.985     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      243 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    103.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1799        5.6506        .50000       -.59926    
   3  Normalizat    .82032        .15821E-01    .31253E-03   -.99319    
   4  Prefactor     .91167        .10283E-01    .19218E-03   -.95734    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.37453e-07
Minuit parameter uncertainties:
  1  2.24468e-05
  2  447.508
  3  0.0158213
  4  0.0102828
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672889': 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) = 8795.98450785
delta logL = 5.33691491e-09

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.245e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.180e+00  4.475e+02  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.117e-01  1.028e-02  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  8.203e-01  1.582e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.766 2.099

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/672889/cmap_HighResolution_271987201_272246401_4FGL_J2311.0+0205_daily_bin126.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.02e-03', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2021-09-29 07:31:18.863467', job_id='672889', GAL2='0.91', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632925878.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.34e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='126' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:31:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 672889: <4FGL_J2311.0+0205_daily_bin126> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin126> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:15:36 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:15:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 07:15:38 2021
Terminated at Wed Sep 29 07:31:19 2021
Results reported at Wed Sep 29 07:31:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin126 347.766 2.0995 271987201 272246401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.0+0205 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   752.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   941 sec.
    Turnaround time :                            943 sec.

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

