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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1629
RA = 347.768, Dec = 34.4223
tmin = 661564801, tmax = 661824001
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='447559', job_status='RUN', time_executed='2021-12-22 02:46:40.472796', time_epoch_executed='1640170000.47' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1629'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447559

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447559/ft1_4FGL_J2311.0+3425_daily_bin1629.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447559/ft2_4FGL_J2311.0+3425_daily_bin1629.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447559/ft1_4FGL_J2311.0+3425_daily_bin1629.fits outfile=/scratch/kocevski/447559/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1629.fits ra=347.768 dec=34.4223 rad=12.0 tmin=661564801.0 tmax=661824001.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.70
user 3.39
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/447559/ft2_4FGL_J2311.0+3425_daily_bin1629.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/447559/ft2_4FGL_J2311.0+3425_daily_bin1629.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/447559/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1629.fits evtable="EVENTS" outfile="/scratch/kocevski/447559/ft1_filtered_4FGL_J2311.0+3425_daily_bin1629.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.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447559/ft1_filtered_4FGL_J2311.0+3425_daily_bin1629.fits" evtable="EVENTS" scfile=/scratch/kocevski/447559/ft2_4FGL_J2311.0+3425_daily_bin1629.fits sctable="SC_DATA" outfile=/scratch/kocevski/447559/ltcube_661564801_661824001_4FGL_J2311.0+3425_daily_bin1629.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/447559/ft2_4FGL_J2311.0+3425_daily_bin1629.fits
.....................!
real 14.48
user 13.96
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447559/ft1_filtered_4FGL_J2311.0+3425_daily_bin1629.fits evtable="EVENTS" scfile=/scratch/kocevski/447559/ft2_4FGL_J2311.0+3425_daily_bin1629.fits sctable="SC_DATA" expcube=/scratch/kocevski/447559/ltcube_661564801_661824001_4FGL_J2311.0+3425_daily_bin1629.fits outfile=/scratch/kocevski/447559/expmap_661564801_661824001_4FGL_J2311.0+3425_daily_bin1629.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/447559/ltcube_661564801_661824001_4FGL_J2311.0+3425_daily_bin1629.fits
.....................!
real 193.68
user 186.23
sys 5.71

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Added 157 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2311.0+3425 @ 347.768 34.4223

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/447559/ft1_filtered_4FGL_J2311.0+3425_daily_bin1629.fits scfile=/scratch/kocevski/447559/ft2_4FGL_J2311.0+3425_daily_bin1629.fits outfile=/scratch/kocevski/447559/cmap_661564801_661824001_4FGL_J2311.0+3425_daily_bin1629.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.768 yref=34.4223 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447559/ft1_filtered_4FGL_J2311.0+3425_daily_bin1629.fits scfile=/scratch/kocevski/447559/ft2_4FGL_J2311.0+3425_daily_bin1629.fits outfile=/scratch/kocevski/447559/cmap_HighResolution_661564801_661824001_4FGL_J2311.0+3425_daily_bin1629.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.768 yref=34.4223 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.62
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447559/ft1_filtered_4FGL_J2311.0+3425_daily_bin1629.fits evtable="EVENTS" scfile=/scratch/kocevski/447559/ft2_4FGL_J2311.0+3425_daily_bin1629.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447559/Model_4FGL_J2311.0+3425_daily_bin1629.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 FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/447559/ft1_filtered_4FGL_J2311.0+3425_daily_bin1629.fits.....................!
real 116.64
user 114.26
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/447559/ft1_filtered_4FGL_J2311.0+3425_daily_bin1629.fits', '/scratch/kocevski/447559/ft2_4FGL_J2311.0+3425_daily_bin1629.fits', expMap='/scratch/kocevski/447559/expmap_661564801_661824001_4FGL_J2311.0+3425_daily_bin1629.fits', expCube='/scratch/kocevski/447559/ltcube_661564801_661824001_4FGL_J2311.0+3425_daily_bin1629.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/447559/Model_4FGL_J2311.0+3425_daily_bin1629.xml', optimizer='MINUIT')

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

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.866e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.240e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/447559/ft1_filtered_4FGL_J2311.0+3425_daily_bin1629.fits
Spacecraft file(s): /scratch/kocevski/447559/ft2_4FGL_J2311.0+3425_daily_bin1629.fits
Exposure map: /scratch/kocevski/447559/expmap_661564801_661824001_4FGL_J2311.0+3425_daily_bin1629.fits
Exposure cube: /scratch/kocevski/447559/ltcube_661564801_661824001_4FGL_J2311.0+3425_daily_bin1629.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/447559/Model_4FGL_J2311.0+3425_daily_bin1629.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) = 10043.0206731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.0306       1.0000         .10000E-03   10000.    
     3 'Prefactor '    49.518       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.531       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.4772       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1691       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.718       1.0000         .10000E-03   10000.    
    10 'Prefactor '    39.915       1.0000         .10000E-03   10000.    
    11 'norm      '    2.9823       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .56328       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.724       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.6993       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .30406E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1209       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0396       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10042.99     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2696 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    13.247        .15789E-06** at limit **
   2  norm          2.0306        1.2030        .11418E-06    .11122E-03
   3  Prefactor     49.332        65.832       -.64238E-06   -.28783E-04
   4  Prefactor     12.530        7.4800        .73472E-06    .23415E-03
   5  Prefactor     .10000E-03    15.104        .16484E-06** at limit **
   6  norm          1.4766        3.2342       -.41752E-07    .59238E-04
   7  Prefactor     6.1652        14.466       -.24842E-06   -.13861E-04
   8  Prefactor     .10000E-03    1.6807       -.13263E-07** at limit **
   9  Prefactor     15.717        12.639        .19164E-06   -.30961E-05
  10  Prefactor     39.930        35.805       -.82292E-06   -.96061E-04
  11  norm          2.9827        1.4918        .35168E-07   -.33339E-03
  12  Prefactor     .10000E-03    14.596        .32516E-06** at limit **
  13  Prefactor     .49120        7.5699        .14054E-05   -.27626E-03
  14  Prefactor     .10000E-03    6.8490        .91199E-07** at limit **
  15  norm          .10000E-03    2.2052        .15507E-06** at limit **
  16  norm          11.724        9.5241       -.12379E-06   -.60954E-04
  17  Prefactor     .10000E-03    24.889        .78700E-06** at limit **
  18  norm          5.7020        3.1845       -.17017E-06   -.43516E-03
  19  Prefactor     .10000E-03    23.117        .37358E-06** at limit **
  20  Prefactor     .10000E-03    20.906        .21174E-06** at limit **
  21  Prefactor     .10000E-03    53.075        .40724E-06** at limit **
  22  Prefactor     .10000E-03    3.3809        .26880E-06** at limit **
  23  Normalizat    1.1204        .24134       -.44812E-05   -.21234E-03
  24  Prefactor     1.0399        .10327        .13654E-05   -.70599E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.03057
  Prefactor  = 49.3321
  Prefactor  = 12.5299
  Prefactor  = 0.0001
  norm       = 1.47658
  Prefactor  = 6.1652
  Prefactor  = 0.0001
  Prefactor  = 15.7166
  Prefactor  = 39.9299
  norm       = 2.9827
  Prefactor  = 0.0001
  Prefactor  = 0.491197
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 11.7236
  Prefactor  = 0.0001
  norm       = 5.70203
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.12044
  Prefactor  = 1.03988
 **********
 **   18 **HESSE 
 **********

 FCN=   10042.99     FROM HESSE     STATUS=OK           399 CALLS     3095 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.0306        1.1984        .81450E-04   -1.5423    
   3  Prefactor     49.332        65.935        .28494E-03   -1.4302    
   4  Prefactor     12.530        7.4925        .56579E-03   -1.5000    
   5  Prefactor     .10000E-03    15.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4766        3.1443        .22527E-03   -1.5465    
   7  Prefactor     6.1652        14.456        .16163E-03   -1.5211    
   8  Prefactor     .10000E-03    1.6849        .12686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.717        12.643        .10102E-03   -1.4915    
  10  Prefactor     39.930        35.868        .63445E-04   -1.4443    
  11  norm          2.9827        1.4906        .82335E-04   -1.5363    
  12  Prefactor     .10000E-03    14.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .49120        81.589        .47451E-02   -1.5568    
  14  Prefactor     .10000E-03    6.8542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.2262        .14544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.724        9.5227        .11700E-03   -1.5023    
  17  Prefactor     .10000E-03    25.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.7020        3.1995        .12684E-03   -1.5230    
  19  Prefactor     .10000E-03    23.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    53.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.4863        .35788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1204        .24984        .39180E-03   -.89098    
  24  Prefactor     1.0399        .10841        .17434E-03   -.91412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69492e-09
Minuit parameter uncertainties:
  1  1.20718e-05
  2  1.19838
  3  66.0326
  4  7.49306
  5  2.1408e-05
  6  3.14464
  7  14.4639
  8  1.40132e-06
  9  12.6453
  10  35.8876
  11  1.49066
  12  3.82638e-05
  13  12.6774
  14  6.9117e-06
  15  6.43242e-06
  16  9.52393
  17  0.000151565
  18  3.19957
  19  3.71292e-05
  20  3.3837e-05
  21  6.31905e-05
  22  7.76091e-06
  23  0.250101
  24  0.108432
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.983e+00  1.491e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.240e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.040e+00  1.084e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.120e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.70
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 8.25e-08 +/- 4.12e-08
Energy Flux (Fixed Index): 2.93e-05 +/- 1.46e-05

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) = 10041.5859734
delta logL = 1.4074643933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10041.5254628
delta logL = 1.46797507014

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0445       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1986       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0295       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10041.53     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      213 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0441        .71131        .12192E-01   -.10383E-02
   2  alpha         1.1982        .32195        .29879       -.73321E-04
   3  Normalizat    1.1846        .21039        .86386E-01    .97790E-04
   4  Prefactor     1.0297        .91018E-01    .41298E-01    .17816E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.04413
  alpha      = 1.1982
  Normalizat = 1.18459
  Prefactor  = 1.02973
 **********
 **   18 **HESSE 
 **********

 FCN=   10041.53     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0441        1.0857        .56774E-03   -1.5504    
   2  alpha         1.1982        .50700        .12361E-01   -.54770    
   3  Normalizat    1.1846        .24357        .38253E-03   -.87080    
   4  Prefactor     1.0297        .10560        .17518E-03   -.91745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28625e-10
Minuit parameter uncertainties:
  1  1.08569
  2  0.511889
  3  0.2438
  4  0.105619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447559': 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) = 10041.525459
delta logL = 1.46797883788

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.044e+00  1.086e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.198e+00  5.119e-01  0.000e+00  5.000e+00 ( 1.000e+00)
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.030e+00  1.056e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.185e+00  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.61
Ra Dec: 347.768 34.422
Photon Index (Free Index): 1.20 +/- 0.51
Photon Flux (Free Index): 2.04e-08 +/- 1.79e-08
Energy Flux (Free Index): 5.72e-05 +/- 5.23e-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/447559/cmap_HighResolution_661564801_661824001_4FGL_J2311.0+3425_daily_bin1629.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.25e-08', energy_flux2='5.72e-05', photon_flux_error='4.12e-08', dlogl='1.47e+00', energy_flux='2.93e-05', photon_flux2='2.04e-08', job_status='DONE', time_completed='2021-12-22 02:59:53.418690', photon_index_error2='0.51', photon_index2='1.20', ts='15.70', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='5.23e-05', EG='1.12', time_epoch_completed='1640170793.42', return_code='0', job_id='447559', GAL2='1.03', EG2='1.18', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='1.79e-08', ts2='18.61', photon_index='2.24' WHERE bin_id='1629' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 22 02:59:53 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 447559: <4FGL_J2311.0+3425_daily_bin1629> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1629> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Dec 22 02:45:25 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 22 02:46:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 22 02:46:24 2021
Terminated at Wed Dec 22 02:59:53 2021
Results reported at Wed Dec 22 02:59:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1629 347.768 34.4223 661564801 661824001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.0+3425 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   790.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             370.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            868 sec.

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

