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


Performing analysis on: 4FGL_J2301.0-0158_daily_bin334
RA = 345.263, Dec = -1.9758
tmin = 325900801, tmax = 326160001
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='641240', job_status='RUN', time_executed='2021-09-29 05:39:31.674091', time_epoch_executed='1632919171.67' WHERE source_name='4FGL J2301.0-0158' and cadence='daily' and bin_id='334'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641240

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641240/ft1_4FGL_J2301.0-0158_daily_bin334.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641240/ft2_4FGL_J2301.0-0158_daily_bin334.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641240/ft1_4FGL_J2301.0-0158_daily_bin334.fits outfile=/scratch/kocevski/641240/ft1_filteredMKT_4FGL_J2301.0-0158_daily_bin334.fits ra=345.263 dec=-1.9758 rad=12.0 tmin=325900801.0 tmax=326160001.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.50
user 3.25
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641240/ft1_filtered_4FGL_J2301.0-0158_daily_bin334.fits" evtable="EVENTS" scfile=/scratch/kocevski/641240/ft2_4FGL_J2301.0-0158_daily_bin334.fits sctable="SC_DATA" outfile=/scratch/kocevski/641240/ltcube_325900801_326160001_4FGL_J2301.0-0158_daily_bin334.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/641240/ft2_4FGL_J2301.0-0158_daily_bin334.fits
.....................!
real 11.77
user 11.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641240/ft1_filtered_4FGL_J2301.0-0158_daily_bin334.fits evtable="EVENTS" scfile=/scratch/kocevski/641240/ft2_4FGL_J2301.0-0158_daily_bin334.fits sctable="SC_DATA" expcube=/scratch/kocevski/641240/ltcube_325900801_326160001_4FGL_J2301.0-0158_daily_bin334.fits outfile=/scratch/kocevski/641240/expmap_325900801_326160001_4FGL_J2301.0-0158_daily_bin334.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/641240/ltcube_325900801_326160001_4FGL_J2301.0-0158_daily_bin334.fits
.....................!
real 190.53
user 185.23
sys 4.98

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/641240/ft1_filtered_4FGL_J2301.0-0158_daily_bin334.fits scfile=/scratch/kocevski/641240/ft2_4FGL_J2301.0-0158_daily_bin334.fits outfile=/scratch/kocevski/641240/cmap_325900801_326160001_4FGL_J2301.0-0158_daily_bin334.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/641240/ft1_filtered_4FGL_J2301.0-0158_daily_bin334.fits scfile=/scratch/kocevski/641240/ft2_4FGL_J2301.0-0158_daily_bin334.fits outfile=/scratch/kocevski/641240/cmap_HighResolution_325900801_326160001_4FGL_J2301.0-0158_daily_bin334.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/641240/ft1_filtered_4FGL_J2301.0-0158_daily_bin334.fits evtable="EVENTS" scfile=/scratch/kocevski/641240/ft2_4FGL_J2301.0-0158_daily_bin334.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/641240/Model_4FGL_J2301.0-0158_daily_bin334.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/641240/ft1_filtered_4FGL_J2301.0-0158_daily_bin334.fits....................!
real 59.28
user 57.92
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    9.0501       1.0000         .10000E-03   10000.    
     3 'norm      '    18.174       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.737       1.0000         .10000E-03   10000.    
     6 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10284       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.570       1.0000         .10000E-03   10000.    
     9 'norm      '    14.294       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.110       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.9235       1.0000         .10000E-03   10000.    
    12 'Prefactor '    53.318       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .68036E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.2615       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.2112       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    148.84       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.5981       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .67694       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.5441       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .87319       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93422       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=   5922.457     FROM MIGRAD    STATUS=CONVERGED    622 CALLS     3023 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3977        .90009E-07** at limit **
   2  Prefactor     9.0499        4.7741        .15487E-06   -.31171E-04
   3  norm          18.173        6.0900       -.17616E-06   -.64668E-04
   4  Prefactor     .10000E-03    28.324        .27228E-07** at limit **
   5  Prefactor     16.787        15.342       -.55821E-05   -.57404E-03
   6  norm          .10000E-03    .89713        .16826E-05** at limit **
   7  Prefactor     .30508E-03    39.101        .61107E-05** at limit **
   8  Prefactor     10.572        9.9740        .28715E-06   -.34384E-04
   9  norm          14.292        10.836       -.34003E-06    .21842E-04
  10  Prefactor     13.107        28.144        .10632E-05    .45976E-05
  11  Prefactor     5.9207        18.264       -.40272E-06    .64321E-05
  12  Prefactor     53.311        58.772       -.11734E-05    .11031E-03
  13  Prefactor     .10036E-03    8.2344        .17967E-05** at limit **
  14  norm          2.2613        1.1032       -.31776E-07    .21948E-03
  15  norm          .10000E-03    1.8224        .89056E-07** at limit **
  16  Prefactor     6.2107        11.260        .41754E-06    .48679E-05
  17  Prefactor     .10000E-03    10.988       -.51201E-07** at limit **
  18  Prefactor     148.88        167.46        .12234E-06    .45947E-05
  19  Prefactor     .10000E-03    7.3095       -.20077E-06** at limit **
  20  norm          .10000E-03    14.271       -.15159E-06** at limit **
  21  Prefactor     4.5921        114.69        .57586E-05    .25606E-05
  22  Prefactor     .67604        4.9911        .15447E-05   -.41571E-03
  23  Prefactor     1.5471        94.296       -.16521E-04    .34144E-04
  24  Normalizat    .87346        .21673       -.24592E-05    .20129E-03
  25  Prefactor     .93406        .13199        .41329E-06    .96100E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.04992
  norm       = 18.173
  Prefactor  = 0.0001
  Prefactor  = 16.7867
  norm       = 0.0001
  Prefactor  = 0.000305077
  Prefactor  = 10.5723
  norm       = 14.2923
  Prefactor  = 13.1065
  Prefactor  = 5.9207
  Prefactor  = 53.3108
  Prefactor  = 0.000100359
  norm       = 2.26129
  norm       = 0.0001
  Prefactor  = 6.21074
  Prefactor  = 0.0001
  Prefactor  = 148.88
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.59213
  Prefactor  = 0.676038
  Prefactor  = 1.5471
  Normalizat = 0.873464
  Prefactor  = 0.934056
 **********
 **   18 **HESSE 
 **********

 FCN=   5922.457     FROM HESSE     STATUS=OK           443 CALLS     3466 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.4637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.0499        4.7696        .11656E-03   -1.5106    
   3  norm          18.173        6.1003        .93950E-04   -1.4855    
   4  Prefactor     .10000E-03    28.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.787        18.403        .97899E-04   -1.4888    
   6  norm          .10000E-03    1.7890        .12932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .30508E-03    51.443        .11059       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.572        9.9978        .12324E-03   -1.5058    
   9  norm          14.292        10.843        .10594E-03   -1.4952    
  10  Prefactor     13.107        28.152        .11063E-03   -1.4984    
  11  Prefactor     5.9207        18.314        .16499E-03   -1.5221    
  12  Prefactor     53.311        54.614        .54929E-04   -1.4246    
  13  Prefactor     .10036E-03    46.231        .38374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.2613        1.0980        .53397E-04   -1.5407    
  15  norm          .10000E-03    1.8242        .10142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.2107        11.253        .16108E-03   -1.5209    
  17  Prefactor     .10000E-03    10.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     148.88        166.34        .16517E-03   -1.3262    
  19  Prefactor     .10000E-03    7.3398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    14.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.5921        114.25        .18771E-03   -1.5279    
  22  Prefactor     .67604        4.9015        .31658E-03   -1.5544    
  23  Prefactor     1.5471        94.865        .34300E-03   -1.5459    
  24  Normalizat    .87346        .25406        .30665E-03   -.97399    
  25  Prefactor     .93406        .15498        .19757E-03   -.94961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.47014e-09
Minuit parameter uncertainties:
  1  3.45504e-06
  2  4.76983
  3  6.10055
  4  2.07612e-05
  5  18.4091
  6  4.57781e-05
  7  0.205601
  8  9.99937
  9  10.8446
  10  28.1802
  11  18.3315
  12  54.6652
  13  0.0081486
  14  1.09797
  15  9.17744e-06
  16  11.2573
  17  2.19568e-05
  18  166.863
  19  3.26741e-05
  20  2.24858e-05
  21  45.9078
  22  3.64081
  23  24.269
  24  0.254412
  25  0.155056
Done.

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

Extracting fit parameters...

4FGL J2301.0-0158
   Spectrum: LogParabola
333         norm:  1.429e+01  1.084e+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:  9.341e-01  1.551e-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:  8.735e-01  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.63
Ra Dec: 345.263 -1.976
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 4.35e-08 +/- 3.30e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.08e-05

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

Saving results to:
/scratch/kocevski/641240/likelihoodResults_325900801_326160001_4FGL_J2301.0-0158_daily_bin334.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) = 5922.24439601
delta logL = 0.2124463506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5922.2420001
delta logL = 0.214842259348

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.708       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8897       1.0000          .0000       5.0000    
     3 'Normalizat'    .88797       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92760       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=   5922.242     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      224 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.708        12.209        .26109E-02   -.13771E-02
   2  alpha         1.8898        .57130        .42300        .13358E-04
   3  Normalizat    .88807        .19681        .68780E-01    .19522E-03
   4  Prefactor     .92764        .13129        .45356E-01   -.10505E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.7084
  alpha      = 1.88976
  Normalizat = 0.888068
  Prefactor  = 0.927636
 **********
 **   18 **HESSE 
 **********

 FCN=   5922.242     FROM HESSE     STATUS=OK            29 CALLS      253 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.708        11.161        .10444E-03   -1.4941    
   2  alpha         1.8898        .61006        .15950E-01   -.24659    
   3  Normalizat    .88807        .22869        .30430E-03   -.96881    
   4  Prefactor     .92764        .15274        .19813E-03   -.95182    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95256e-09
Minuit parameter uncertainties:
  1  11.1623
  2  0.616693
  3  0.228939
  4  0.152814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641240': 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) = 5922.24199917
delta logL = 0.214843192465

Extracting fit parameters...

4FGL J2301.0-0158
   Spectrum: LogParabola
333         norm:  1.471e+01  1.116e+01  1.000e-04  1.000e+04 ( 1.000e-12)
334        alpha:  1.890e+00  6.167e-01  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:  9.276e-01  1.528e-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:  8.881e-01  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.06
Ra Dec: 345.263 -1.976
Photon Index (Free Index): 1.89 +/- 0.62
Photon Flux (Free Index): 3.27e-08 +/- 2.93e-08
Energy Flux (Free Index): 1.85e-05 +/- 1.67e-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/641240/cmap_HighResolution_325900801_326160001_4FGL_J2301.0-0158_daily_bin334.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-05', comment='SUCCESS', photon_flux='4.35e-08', energy_flux2='1.85e-05', photon_flux_error='3.30e-08', dlogl='2.15e-01', energy_flux='1.42e-05', photon_flux2='3.27e-08', job_status='DONE', time_completed='2021-09-29 05:50:47.238675', photon_index_error2='0.62', photon_index2='1.89', ts='3.63', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='1.67e-05', EG='0.87', time_epoch_completed='1632919847.24', return_code='0', job_id='641240', GAL2='0.93', EG2='0.89', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='2.93e-08', ts2='4.06', photon_index='2.32' WHERE bin_id='334' AND source_name='4FGL J2301.0-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:50:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 641240: <4FGL_J2301.0-0158_daily_bin334> in cluster <slac> Done

Job <4FGL_J2301.0-0158_daily_bin334> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 05:35:35 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:35: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 05:35:38 2021
Terminated at Wed Sep 29 05:50:47 2021
Results reported at Wed Sep 29 05:50:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2301.0-0158_daily_bin334 345.263 -1.9758 325900801 326160001 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 :                                   670.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             244.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            912 sec.

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

