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


Performing analysis on: 4FGL_J2301.0-0158_daily_bin405
RA = 345.263, Dec = -1.9758
tmin = 344304001, tmax = 344563201
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='641348', job_status='RUN', time_executed='2021-09-29 05:35:59.205965', time_epoch_executed='1632918959.21' WHERE source_name='4FGL J2301.0-0158' and cadence='daily' and bin_id='405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641348

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641348/ft1_4FGL_J2301.0-0158_daily_bin405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641348/ft2_4FGL_J2301.0-0158_daily_bin405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641348/ft1_4FGL_J2301.0-0158_daily_bin405.fits outfile=/scratch/kocevski/641348/ft1_filteredMKT_4FGL_J2301.0-0158_daily_bin405.fits ra=345.263 dec=-1.9758 rad=12.0 tmin=344304001.0 tmax=344563201.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.39
user 3.15
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/641348/ft2_4FGL_J2301.0-0158_daily_bin405.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/641348/ft2_4FGL_J2301.0-0158_daily_bin405.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/641348/ft1_filteredMKT_4FGL_J2301.0-0158_daily_bin405.fits evtable="EVENTS" outfile="/scratch/kocevski/641348/ft1_filtered_4FGL_J2301.0-0158_daily_bin405.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641348/ft1_filtered_4FGL_J2301.0-0158_daily_bin405.fits" evtable="EVENTS" scfile=/scratch/kocevski/641348/ft2_4FGL_J2301.0-0158_daily_bin405.fits sctable="SC_DATA" outfile=/scratch/kocevski/641348/ltcube_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.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/641348/ft2_4FGL_J2301.0-0158_daily_bin405.fits
.....................!
real 12.17
user 11.79
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641348/ft1_filtered_4FGL_J2301.0-0158_daily_bin405.fits evtable="EVENTS" scfile=/scratch/kocevski/641348/ft2_4FGL_J2301.0-0158_daily_bin405.fits sctable="SC_DATA" expcube=/scratch/kocevski/641348/ltcube_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.fits outfile=/scratch/kocevski/641348/expmap_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.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/641348/ltcube_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.fits
.....................!
real 190.90
user 185.55
sys 4.93

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 J2301.0-0158 @ 345.263 -1.9758

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/641348/ft1_filtered_4FGL_J2301.0-0158_daily_bin405.fits scfile=/scratch/kocevski/641348/ft2_4FGL_J2301.0-0158_daily_bin405.fits outfile=/scratch/kocevski/641348/cmap_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.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=345.263 yref=-1.9758 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641348/ft1_filtered_4FGL_J2301.0-0158_daily_bin405.fits scfile=/scratch/kocevski/641348/ft2_4FGL_J2301.0-0158_daily_bin405.fits outfile=/scratch/kocevski/641348/cmap_HighResolution_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.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=345.263 yref=-1.9758 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/641348/ft1_filtered_4FGL_J2301.0-0158_daily_bin405.fits evtable="EVENTS" scfile=/scratch/kocevski/641348/ft2_4FGL_J2301.0-0158_daily_bin405.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/641348/Model_4FGL_J2301.0-0158_daily_bin405.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/641348/ft1_filtered_4FGL_J2301.0-0158_daily_bin405.fits.....................!
real 54.82
user 53.39
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/641348/ft1_filtered_4FGL_J2301.0-0158_daily_bin405.fits', '/scratch/kocevski/641348/ft2_4FGL_J2301.0-0158_daily_bin405.fits', expMap='/scratch/kocevski/641348/expmap_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.fits', expCube='/scratch/kocevski/641348/ltcube_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/641348/Model_4FGL_J2301.0-0158_daily_bin405.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2301.0-0158'

4FGL J2301.0-0158
   Spectrum: LogParabola
333         norm:  6.486e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
334        alpha:  2.316e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  1.074e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  5.227e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/641348/ft1_filtered_4FGL_J2301.0-0158_daily_bin405.fits
Spacecraft file(s): /scratch/kocevski/641348/ft2_4FGL_J2301.0-0158_daily_bin405.fits
Exposure map: /scratch/kocevski/641348/expmap_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.fits
Exposure cube: /scratch/kocevski/641348/ltcube_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/641348/Model_4FGL_J2301.0-0158_daily_bin405.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) = 5428.56312947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.296       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17194E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    12.634       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.730       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.867       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6836       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.9431       1.0000         .10000E-03   10000.    
    15 'norm      '    8.2963       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.9744       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .28132E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.3608       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .61850       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1619       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=   5428.322     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     2530 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.284        21.611        .21665E-07   -.92075E-03
   2  Prefactor     .10000E-03    4.9368        .99272E-07** at limit **
   3  norm          12.633        6.2256       -.13368E-05   -.32230E-03
   4  Prefactor     .10000E-03    160.81        .65121E-05** at limit **
   5  Prefactor     .10000E-03    5.9154        .69676E-06** at limit **
   6  norm          .10000E-03    .42017        .79249E-06** at limit **
   7  Prefactor     18.742        25.613       -.81313E-06   -.14510E-03
   8  Prefactor     .10000E-03    4.4006        .28672E-06** at limit **
   9  norm          .10000E-03    5.5434        .26298E-06** at limit **
  10  Prefactor     18.869        20.644        .59526E-06    .12195E-05
  11  Prefactor     7.6836        17.755       -.35289E-07    .32788E-04
  12  Prefactor     .10000E-03    23.613       -.16608E-05** at limit **
  13  Prefactor     .10000E-03    4.2428       -.21851E-05** at limit **
  14  norm          5.9428        1.5859        .49432E-07    .51582E-04
  15  norm          8.2967        7.5079       -.86422E-06    .17588E-03
  16  Prefactor     4.9747        6.5124       -.53581E-06    .75802E-04
  17  Prefactor     .10000E-03    17.764        .70718E-07** at limit **
  18  Prefactor     .10000E-03    80.711       -.25870E-05** at limit **
  19  Prefactor     .10000E-03    17.945       -.10325E-05** at limit **
  20  norm          .10000E-03    255.41       -.28557E-04** at limit **
  21  Prefactor     .10000E-03    170.06       -.29925E-05** at limit **
  22  Prefactor     4.3570        4.3436       -.71266E-06   -.13549E-03
  23  Prefactor     .10000E-03    31.239        .69316E-06** at limit **
  24  Normalizat    .61835        .23441       -.74297E-05   -.97494E-04
  25  Prefactor     1.1619        .15003        .42289E-06   -.46337E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.2843
  Prefactor  = 0.000100001
  norm       = 12.6331
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.7423
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.8691
  Prefactor  = 7.68358
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.94275
  norm       = 8.29675
  Prefactor  = 4.9747
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 4.35696
  Prefactor  = 0.0001
  Normalizat = 0.618346
  Prefactor  = 1.16189
 **********
 **   18 **HESSE 
 **********

 FCN=   5428.322     FROM HESSE     STATUS=OK           429 CALLS     2959 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.284        19.845        .52102E-04   -1.4167    
   2  Prefactor     .10000E-03    43.892        .26376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.633        6.2132        .11270E-03   -1.4997    
   4  Prefactor     .10000E-03    160.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.9237        .17503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .42479        .46464E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.742        25.498        .92544E-04   -1.4842    
   8  Prefactor     .10000E-03    4.4057        .15097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.5565        .16945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.869        20.644        .92209E-04   -1.4839    
  11  Prefactor     7.6836        17.739        .14467E-03   -1.5154    
  12  Prefactor     .10000E-03    23.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.1897        .14713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.9428        1.5849        .45308E-04   -1.5220    
  15  norm          8.2967        7.4708        .13919E-03   -1.5132    
  16  Prefactor     4.9747        6.5024        .18031E-03   -1.5262    
  17  Prefactor     .10000E-03    17.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    80.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    18.194        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    21.521        .10032       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    170.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.3570        4.3388        .14249E-03   -1.5290    
  23  Prefactor     .10000E-03    31.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .61835        .25170        .37527E-03   -1.0721    
  25  Prefactor     1.1619        .16454        .19092E-03   -.87512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.078e-09
Minuit parameter uncertainties:
  1  19.8468
  2  0.000450572
  3  6.21348
  4  0.00119673
  5  1.14453e-05
  6  4.83573e-07
  7  25.5129
  8  9.00602e-06
  9  2.4287e-05
  10  20.6514
  11  17.7515
  12  0.000180346
  13  6.9541e-05
  14  1.58494
  15  7.47166
  16  6.50332
  17  3.21953e-05
  18  0.000511047
  19  0.000242821
  20  0.000511987
  21  0.000187564
  22  4.33913
  23  5.4695e-05
  24  0.252168
  25  0.164616
Done.

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

Extracting fit parameters...

4FGL J2301.0-0158
   Spectrum: LogParabola
333         norm:  1.000e-04  2.429e-05  1.000e-04  1.000e+04 ( 1.000e-12)
334        alpha:  2.316e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  1.074e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  5.227e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.162e+00  1.646e-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:  6.183e-01  2.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 345.263 -1.976
Photon Flux Upper Limit: 7.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641348/likelihoodResults_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.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) = 5428.3224679
delta logL = -0.000854978052303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5428.32161293
delta logL = -2.78578227153e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3195       1.0000          .0000       5.0000    
     3 'Normalizat'    .61834       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1619       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=   5428.322     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      236 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    19.944        .16951E-02** at limit **
   2  alpha         2.4918        3.4549        .16515       -.15282E-07
   3  Normalizat    .61834        .23915        .37528E-03   -.46986E-04
   4  Prefactor     1.1619        .16386        .19092E-03   -.97491E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.49179
  Normalizat = 0.618344
  Prefactor  = 1.1619
 **********
 **   18 **HESSE 
 **********

 FCN=   5428.322     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.6156        .33901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4918        3.6393        .66061E-02   -.32839E-02
   3  Normalizat    .61834        .23925        .15011E-04   -1.0721    
   4  Prefactor     1.1619        .16392        .38184E-04   -.87512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57878e-11
Minuit parameter uncertainties:
  1  1.86794e-05
  2  421.258
  3  0.239653
  4  0.163996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641348': 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) = 5428.32161283
delta logL = 9.3740709417e-08

Extracting fit parameters...

4FGL J2301.0-0158
   Spectrum: LogParabola
333         norm:  1.000e-04  1.868e-05  1.000e-04  1.000e+04 ( 1.000e-12)
334        alpha:  2.492e+00  4.213e+02  0.000e+00  5.000e+00 ( 1.000e+00)
335         beta:  1.074e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  5.227e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.162e+00  1.640e-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:  6.183e-01  2.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 345.263 -1.976

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/641348/cmap_HighResolution_344304001_344563201_4FGL_J2301.0-0158_daily_bin405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-05', job_status='DONE', photon_flux_upper_limit='7.62e-08', time_completed='2021-09-29 05:46:28.564956', job_id='641348', GAL2='1.16', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1632919588.57', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='9.37e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='405' AND source_name='4FGL J2301.0-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:46:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 641348: <4FGL_J2301.0-0158_daily_bin405> in cluster <slac> Done

Job <4FGL_J2301.0-0158_daily_bin405> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 05:35:45 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:35:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 05:35:46 2021
Terminated at Wed Sep 29 05:46:29 2021
Results reported at Wed Sep 29 05:46:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2301.0-0158_daily_bin405 345.263 -1.9758 344304001 344563201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2301.0-0158 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   618.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            644 sec.

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

