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


Performing analysis on: 4FGL_J2301.0-0158_daily_bin1056
RA = 345.263, Dec = -1.9758
tmin = 513043201, tmax = 513302401
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='644493', job_status='RUN', time_executed='2021-09-29 05:47:52.432233', time_epoch_executed='1632919672.43' WHERE source_name='4FGL J2301.0-0158' and cadence='daily' and bin_id='1056'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644493

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644493/ft1_4FGL_J2301.0-0158_daily_bin1056.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644493/ft2_4FGL_J2301.0-0158_daily_bin1056.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644493/ft1_4FGL_J2301.0-0158_daily_bin1056.fits outfile=/scratch/kocevski/644493/ft1_filteredMKT_4FGL_J2301.0-0158_daily_bin1056.fits ra=345.263 dec=-1.9758 rad=12.0 tmin=513043201.0 tmax=513302401.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 6.31
user 6.06
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644493/ft2_4FGL_J2301.0-0158_daily_bin1056.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/644493/ft1_filteredMKT_4FGL_J2301.0-0158_daily_bin1056.fits evtable="EVENTS" outfile="/scratch/kocevski/644493/ft1_filtered_4FGL_J2301.0-0158_daily_bin1056.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644493/ft1_filtered_4FGL_J2301.0-0158_daily_bin1056.fits" evtable="EVENTS" scfile=/scratch/kocevski/644493/ft2_4FGL_J2301.0-0158_daily_bin1056.fits sctable="SC_DATA" outfile=/scratch/kocevski/644493/ltcube_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.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/644493/ft2_4FGL_J2301.0-0158_daily_bin1056.fits
.....................!
real 11.93
user 11.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644493/ft1_filtered_4FGL_J2301.0-0158_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/644493/ft2_4FGL_J2301.0-0158_daily_bin1056.fits sctable="SC_DATA" expcube=/scratch/kocevski/644493/ltcube_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.fits outfile=/scratch/kocevski/644493/expmap_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.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/644493/ltcube_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.fits
.....................!
real 190.52
user 185.94
sys 4.28

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/644493/ft1_filtered_4FGL_J2301.0-0158_daily_bin1056.fits scfile=/scratch/kocevski/644493/ft2_4FGL_J2301.0-0158_daily_bin1056.fits outfile=/scratch/kocevski/644493/cmap_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644493/ft1_filtered_4FGL_J2301.0-0158_daily_bin1056.fits scfile=/scratch/kocevski/644493/ft2_4FGL_J2301.0-0158_daily_bin1056.fits outfile=/scratch/kocevski/644493/cmap_HighResolution_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/644493/ft1_filtered_4FGL_J2301.0-0158_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/644493/ft2_4FGL_J2301.0-0158_daily_bin1056.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/644493/Model_4FGL_J2301.0-0158_daily_bin1056.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/644493/ft1_filtered_4FGL_J2301.0-0158_daily_bin1056.fits.....................!
real 45.66
user 44.42
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/644493/ft1_filtered_4FGL_J2301.0-0158_daily_bin1056.fits', '/scratch/kocevski/644493/ft2_4FGL_J2301.0-0158_daily_bin1056.fits', expMap='/scratch/kocevski/644493/expmap_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.fits', expCube='/scratch/kocevski/644493/ltcube_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/644493/Model_4FGL_J2301.0-0158_daily_bin1056.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/644493/ft1_filtered_4FGL_J2301.0-0158_daily_bin1056.fits
Spacecraft file(s): /scratch/kocevski/644493/ft2_4FGL_J2301.0-0158_daily_bin1056.fits
Exposure map: /scratch/kocevski/644493/expmap_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.fits
Exposure cube: /scratch/kocevski/644493/ltcube_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/644493/Model_4FGL_J2301.0-0158_daily_bin1056.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) = 4477.94802928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.1088       1.0000         .10000E-03   10000.    
     4 'Prefactor '    103.66       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18221E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    12.190       1.0000         .10000E-03   10000.    
     7 'Prefactor '    56.574       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    15.167       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.793       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.407       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.521       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.100       1.0000         .10000E-03   10000.    
    14 'norm      '    1.1724       1.0000         .10000E-03   10000.    
    15 'norm      '    3.1196       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    99.860       1.0000         .10000E-03   10000.    
    18 'Prefactor '    137.58       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10753E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .36457E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .27035       1.0000         .10000E-03   10000.    
    23 'Prefactor '    71.179       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .45019       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0023       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=   4477.942     FROM MIGRAD    STATUS=CONVERGED   1043 CALLS     4865 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.3199        .17644E-02** at limit **
   2  Prefactor     .10000E-03    3.1023        .11454E-02** at limit **
   3  norm          2.1094        5.1192        .21614E-03   -.14033E-03
   4  Prefactor     103.68        101.35        .19747E-03   -.54694E-05
   5  Prefactor     .10218E-03    146.57        .95105E-01** at limit **
   6  norm          12.187        4.8187        .49206E-04   -.13527E-02
   7  Prefactor     56.572        62.480        .53334E-04   -.99589E-04
   8  Prefactor     .10000E-03    4.1384        .13292E-02** at limit **
   9  norm          15.170        14.345        .10284E-03    .73621E-04
  10  Prefactor     14.796        34.964        .10414E-03    .12009E-04
  11  Prefactor     33.409        19.424        .34664E-03    .34633E-04
  12  Prefactor     25.544        63.002        .79295E-04   -.13047E-04
  13  Prefactor     11.099        11.885        .12025E-03    .23919E-04
  14  norm          1.1722        1.0179        .60430E-04   -.28784E-03
  15  norm          3.1198        6.1424        .21495E-03   -.56805E-04
  16  Prefactor     .10000E-03    7.0883        .17363E-02** at limit **
  17  Prefactor     99.826        64.783        .40230E-04   -.72344E-05
  18  Prefactor     137.49        187.50        .17170E-03    .23558E-04
  19  Prefactor     .10000E-03    24.961        .36285E-03** at limit **
  20  norm          .10351E-03    37.854        .96407E-01** at limit **
  21  Prefactor     .10000E-03    24.016        .18142E-02** at limit **
  22  Prefactor     .26264        22.396        .20956E-02    .10933E-02
  23  Prefactor     71.172        42.141        .47582E-04   -.99871E-04
  24  Normalizat    .45020        .28289        .40052E-03   -.24184E-04
  25  Prefactor     1.0022        .17671        .18471E-03   -.10309E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.10943
  Prefactor  = 103.68
  Prefactor  = 0.000102179
  norm       = 12.187
  Prefactor  = 56.5723
  Prefactor  = 0.0001
  norm       = 15.1704
  Prefactor  = 14.7957
  Prefactor  = 33.4089
  Prefactor  = 25.5438
  Prefactor  = 11.0991
  norm       = 1.17223
  norm       = 3.11976
  Prefactor  = 0.0001
  Prefactor  = 99.8257
  Prefactor  = 137.489
  Prefactor  = 0.000100001
  norm       = 0.000103511
  Prefactor  = 0.0001
  Prefactor  = 0.262641
  Prefactor  = 71.1721
  Normalizat = 0.450204
  Prefactor  = 1.00223
 **********
 **   18 **HESSE 
 **********

 FCN=   4477.942     FROM HESSE     STATUS=OK           421 CALLS     5286 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.3210        .35288E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.1027        .22907E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.1094        5.1163        .86457E-05   -1.5417    
   4  Prefactor     103.68        101.32        .78986E-05   -1.3668    
   5  Prefactor     .10218E-03    122.45        .10419       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.187        4.7689        .98412E-05   -1.5010    
   7  Prefactor     56.572        62.485        .10667E-04   -1.4202    
   8  Prefactor     .10000E-03    4.1385        .26583E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.170        14.341        .41138E-05   -1.4929    
  10  Prefactor     14.796        34.953        .41655E-05   -1.4938    
  11  Prefactor     33.409        19.424        .13866E-04   -1.4551    
  12  Prefactor     25.544        63.003        .31718E-05   -1.4697    
  13  Prefactor     11.099        11.884        .48100E-05   -1.5042    
  14  norm          1.1722        1.0178        .24172E-05   -1.5491    
  15  norm          3.1198        6.1411        .85979E-05   -1.5355    
  16  Prefactor     .10000E-03    7.0894        .34726E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     99.826        64.782        .80460E-05   -1.3706    
  18  Prefactor     137.49        186.88        .34340E-04   -1.3357    
  19  Prefactor     .10000E-03    24.962        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10351E-03    34.010        .10125       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    24.016        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .26264        21.278        .83826E-04   -1.5605    
  23  Prefactor     71.172        42.141        .95165E-05   -1.4019    
  24  Normalizat    .45020        .28194        .16021E-04   -1.1478    
  25  Prefactor     1.0022        .17657        .36943E-04   -.92655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.62301e-09
Minuit parameter uncertainties:
  1  1.79484e-05
  2  2.40471e-05
  3  5.11734
  4  101.493
  5  0.0327399
  6  4.76906
  7  62.5571
  8  6.4231e-07
  9  14.3445
  10  35.0012
  11  19.4273
  12  63.168
  13  11.8865
  14  1.01778
  15  6.1423
  16  3.8294e-06
  17  64.8284
  18  187.69
  19  0.000384764
  20  0.0218662
  21  5.44463e-06
  22  4.72878
  23  42.1587
  24  0.282838
  25  0.176677
Done.

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

Extracting fit parameters...

4FGL J2301.0-0158
   Spectrum: LogParabola
333         norm:  1.517e+01  1.434e+01  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.002e+00  1.767e-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:  4.502e-01  2.828e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.70
Ra Dec: 345.263 -1.976
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 4.62e-08 +/- 4.36e-08
Energy Flux (Fixed Index): 1.51e-05 +/- 1.42e-05

TS (Fixed Index): 1.70
Ra Dec: 345.263 -1.976
Photon Flux Upper Limit: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/644493/likelihoodResults_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.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) = 4477.56067449
delta logL = 0.381664463319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4477.55697715
delta logL = 0.385361801504

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0029       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2782       1.0000          .0000       5.0000    
     3 'Normalizat'    .40399       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0250       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.

 FCN=   4477.557     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      246 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0110        184.26        .33395E-02    .28166E-03
   2  alpha         3.2775        3.4250        .39630        .41161E-04
   3  Normalizat    .40394        .90521E-01    .95220E-01    .33947E-04
   4  Prefactor     1.0250        .60834E-01    .41677E-01   -.22581E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 9.01104
  alpha      = 3.27752
  Normalizat = 0.403943
  Prefactor  = 1.02502
 **********
 **   18 **HESSE 
 **********

 FCN=   4477.557     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0110        15.797        .13358E-03   -1.5108    
   2  alpha         3.2775        1.3892        .16389E-01    .31625    
   3  Normalizat    .40394        .26343        .42193E-03   -1.1710    
   4  Prefactor     1.0250        .17666        .18285E-03   -.91900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6781e-11
Minuit parameter uncertainties:
  1  15.8046
  2  1.48381
  3  0.264238
  4  0.176762
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644493': 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) = 4477.55697691
delta logL = 0.385362048582

Extracting fit parameters...

4FGL J2301.0-0158
   Spectrum: LogParabola
333         norm:  9.011e+00  1.580e+01  1.000e-04  1.000e+04 ( 1.000e-12)
334        alpha:  3.278e+00  1.484e+00  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.025e+00  1.768e-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:  4.039e-01  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.52
Ra Dec: 345.263 -1.976
Photon Index (Free Index): 3.28 +/- 1.48
Photon Flux (Free Index): 7.51e-08 +/- 6.02e-08
Energy Flux (Free Index): 1.39e-05 +/- 1.17e-05

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/644493/cmap_HighResolution_513043201_513302401_4FGL_J2301.0-0158_daily_bin1056.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-05', comment='SUCCESS', photon_flux='4.62e-08', energy_flux2='1.39e-05', photon_flux_error='4.36e-08', dlogl='3.85e-01', energy_flux='1.51e-05', photon_flux2='7.51e-08', job_status='DONE', time_completed='2021-09-29 05:59:15.154061', photon_index_error2='1.48', photon_index2='3.28', ts='1.70', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='1.17e-05', EG='0.45', time_epoch_completed='1632920355.15', return_code='0', job_id='644493', GAL2='1.03', EG2='0.40', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='6.02e-08', ts2='2.52', photon_index='2.32' WHERE bin_id='1056' AND source_name='4FGL J2301.0-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:59:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 644493: <4FGL_J2301.0-0158_daily_bin1056> in cluster <slac> Done

Job <4FGL_J2301.0-0158_daily_bin1056> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 05:45:40 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:45:43 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:45:43 2021
Terminated at Wed Sep 29 05:59:15 2021
Results reported at Wed Sep 29 05:59:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2301.0-0158_daily_bin1056 345.263 -1.9758 513043201 513302401 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 :                                   675.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            815 sec.

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

