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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1268
RA = 26.2585, Dec = -27.5363
tmin = 567993601, tmax = 568252801
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='834140', job_status='RUN', time_executed='2021-08-14 16:03:20.941348', time_epoch_executed='1628982200.94' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1268'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834140

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834140/ft1_4FGL_J0145.0-2732_daily_bin1268.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834140/ft2_4FGL_J0145.0-2732_daily_bin1268.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834140/ft1_4FGL_J0145.0-2732_daily_bin1268.fits outfile=/scratch/kocevski/834140/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1268.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=567993601.0 tmax=568252801.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 4.58
user 2.12
sys 2.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/834140/ft2_4FGL_J0145.0-2732_daily_bin1268.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834140/ft2_4FGL_J0145.0-2732_daily_bin1268.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/834140/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1268.fits evtable="EVENTS" outfile="/scratch/kocevski/834140/ft1_filtered_4FGL_J0145.0-2732_daily_bin1268.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 2.69
user 0.32
sys 2.21

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834140/ft1_filtered_4FGL_J0145.0-2732_daily_bin1268.fits" evtable="EVENTS" scfile=/scratch/kocevski/834140/ft2_4FGL_J0145.0-2732_daily_bin1268.fits sctable="SC_DATA" outfile=/scratch/kocevski/834140/ltcube_567993601_568252801_4FGL_J0145.0-2732_daily_bin1268.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/834140/ft2_4FGL_J0145.0-2732_daily_bin1268.fits
.....................!
real 15.81
user 12.87
sys 2.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834140/ft1_filtered_4FGL_J0145.0-2732_daily_bin1268.fits evtable="EVENTS" scfile=/scratch/kocevski/834140/ft2_4FGL_J0145.0-2732_daily_bin1268.fits sctable="SC_DATA" expcube=/scratch/kocevski/834140/ltcube_567993601_568252801_4FGL_J0145.0-2732_daily_bin1268.fits outfile=/scratch/kocevski/834140/expmap_567993601_568252801_4FGL_J0145.0-2732_daily_bin1268.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/834140/ltcube_567993601_568252801_4FGL_J0145.0-2732_daily_bin1268.fits
.....................!
real 195.43
user 185.08
sys 8.01

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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J0145.0-2732 @ 26.2585 -27.5363

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/834140/ft1_filtered_4FGL_J0145.0-2732_daily_bin1268.fits scfile=/scratch/kocevski/834140/ft2_4FGL_J0145.0-2732_daily_bin1268.fits outfile=/scratch/kocevski/834140/cmap_567993601_568252801_4FGL_J0145.0-2732_daily_bin1268.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=26.2585 yref=-27.5363 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 2.64
user 0.38
sys 2.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834140/ft1_filtered_4FGL_J0145.0-2732_daily_bin1268.fits scfile=/scratch/kocevski/834140/ft2_4FGL_J0145.0-2732_daily_bin1268.fits outfile=/scratch/kocevski/834140/cmap_HighResolution_567993601_568252801_4FGL_J0145.0-2732_daily_bin1268.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=26.2585 yref=-27.5363 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 2.69
user 0.40
sys 2.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834140/ft1_filtered_4FGL_J0145.0-2732_daily_bin1268.fits evtable="EVENTS" scfile=/scratch/kocevski/834140/ft2_4FGL_J0145.0-2732_daily_bin1268.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834140/Model_4FGL_J0145.0-2732_daily_bin1268.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/834140/ft1_filtered_4FGL_J0145.0-2732_daily_bin1268.fits.....................!
real 47.63
user 42.96
sys 4.02

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/834140/ft1_filtered_4FGL_J0145.0-2732_daily_bin1268.fits', '/scratch/kocevski/834140/ft2_4FGL_J0145.0-2732_daily_bin1268.fits', expMap='/scratch/kocevski/834140/expmap_567993601_568252801_4FGL_J0145.0-2732_daily_bin1268.fits', expCube='/scratch/kocevski/834140/ltcube_567993601_568252801_4FGL_J0145.0-2732_daily_bin1268.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/834140/Model_4FGL_J0145.0-2732_daily_bin1268.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0145.0-2732'

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.960e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.480e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  9.678e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/834140/ft1_filtered_4FGL_J0145.0-2732_daily_bin1268.fits
Spacecraft file(s): /scratch/kocevski/834140/ft2_4FGL_J0145.0-2732_daily_bin1268.fits
Exposure map: /scratch/kocevski/834140/expmap_567993601_568252801_4FGL_J0145.0-2732_daily_bin1268.fits
Exposure cube: /scratch/kocevski/834140/ltcube_567993601_568252801_4FGL_J0145.0-2732_daily_bin1268.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/834140/Model_4FGL_J0145.0-2732_daily_bin1268.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) = 4960.20773985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5990       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1666       1.0000         .10000E-03   10000.    
     6 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.1726       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6155       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .55078       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5089       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5036       1.0000         .10000E-03   10000.    
    14 'norm      '    6.0111       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .47467       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6104       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.095       1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.390       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3905       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .54478       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4960.137     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2987 TOTAL
                     EDM=   .59E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2132       -.26761E-07** at limit **
   2  Prefactor     .10000E-03    2.8070       -.40272E-07** at limit **
   3  Prefactor     .10000E-03    14.526        .13815E-05** at limit **
   4  Prefactor     6.5994        5.2837       -.93295E-07   -.16987E-04
   5  Prefactor     3.1643        8.5698        .35714E-05   -.88681E-04
   6  norm          .10000E-03    1.0029        .31800E-06** at limit **
   7  norm          3.1723        2.4504        .11241E-06   -.27173E-05
   8  Prefactor     2.6201        37.014       -.16064E-05   -.30817E-04
   9  Prefactor     .10000E-03    1.1878        .34596E-07** at limit **
  10  norm          .55079        .91687        .30356E-08   -.28346E-04
  11  Prefactor     .10000E-03    11.124       -.40778E-06** at limit **
  12  norm          1.5089        2.2704        .13731E-06    .17839E-04
  13  Prefactor     2.5039        3.8872       -.81139E-07   -.16529E-04
  14  norm          6.0109        3.8869       -.63127E-07   -.23055E-04
  15  Prefactor     .10000E-03    17.840       -.15559E-05** at limit **
  16  norm          .47478        1.4770        .53829E-07   -.38262E-04
  17  Prefactor     .10000E-03    9.4524       -.21989E-06** at limit **
  18  Prefactor     2.6099        5.2090        .94920E-06    .70508E-04
  19  Prefactor     .10001E-03    6.0535       -.34889E-06** at limit **
  20  Prefactor     22.127        52.439       -.74216E-05   -.30661E-04
  21  Prefactor     28.396        38.893       -.96943E-06   -.57281E-05
  22  Normalizat    1.3905        .19607       -.95759E-06   -.17876E-04
  23  Prefactor     .54467        .20937        .13855E-05   -.67828E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.59944
  Prefactor  = 3.16433
  norm       = 0.0001
  norm       = 3.17233
  Prefactor  = 2.62012
  Prefactor  = 0.0001
  norm       = 0.550787
  Prefactor  = 0.0001
  norm       = 1.50892
  Prefactor  = 2.50395
  norm       = 6.01093
  Prefactor  = 0.0001
  norm       = 0.474782
  Prefactor  = 0.0001
  Prefactor  = 2.60986
  Prefactor  = 0.000100014
  Prefactor  = 22.1266
  Prefactor  = 28.396
  Normalizat = 1.39052
  Prefactor  = 0.544668
 **********
 **   18 **HESSE 
 **********

 FCN=   4960.137     FROM HESSE     STATUS=OK           380 CALLS     3367 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2186        .75754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.8262        .11521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.5994        5.2755        .13678E-03   -1.5194    
   5  Prefactor     3.1643        8.6014        .11388E-02   -1.5352    
   6  norm          .10000E-03    1.0351        .69123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.1723        2.4197        .86900E-04   -1.5352    
   8  Prefactor     2.6201        35.773        .25221E-03   -1.5384    
   9  Prefactor     .10000E-03    1.1916        .74941E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55079        .78653        .84261E-03   -1.5560    
  11  Prefactor     .10000E-03    11.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5089        2.2302        .11959E-03   -1.5462    
  13  Prefactor     2.5039        3.8664        .16444E-03   -1.5391    
  14  norm          6.0109        3.8738        .10360E-03   -1.5218    
  15  Prefactor     .10000E-03    17.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .47478        1.4896        .14578E-03   -1.5570    
  17  Prefactor     .10000E-03    9.5383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.6099        5.1774        .21590E-03   -1.5385    
  19  Prefactor     .10001E-03    38.654        .32735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     22.127        52.466        .85214E-04   -1.4767    
  21  Prefactor     28.396        38.741        .75190E-04   -1.4642    
  22  Normalizat    1.3905        .21833        .19626E-03   -.80903    
  23  Prefactor     .54467        .23310        .33596E-03   -1.0997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29377e-09
Minuit parameter uncertainties:
  1  6.40974e-07
  2  3.72765e-06
  3  4.65636e-06
  4  5.2759
  5  8.60474
  6  2.50824e-06
  7  2.41977
  8  19.3766
  9  6.2649e-07
  10  0.786544
  11  4.25305e-06
  12  2.23037
  13  3.86677
  14  3.87395
  15  3.69216e-05
  16  1.48967
  17  2.21162e-05
  18  5.17824
  19  0.00145329
  20  52.5761
  21  38.7749
  22  0.218477
  23  0.233508
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  6.011e+00  3.874e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.480e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  9.678e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  5.447e-01  2.335e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.391e+00  2.185e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.29
Ra Dec: 26.259 -27.536
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 7.16e-08 +/- 4.61e-08
Energy Flux (Fixed Index): 1.88e-05 +/- 1.21e-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) = 4959.22387314
delta logL = 0.912628797089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4958.97672721
delta logL = 1.15977472779

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4958.977     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7808        2.2603        .61022E-02    .97210E-04
   2  alpha         1.4340        .36938        .24439       -.44620E-04
   3  Normalizat    1.4514        .18097        .43644E-01   -.54289E-05
   4  Prefactor     .50033        .20356        .78898E-01    .28847E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.78078
  alpha      = 1.43397
  Normalizat = 1.4514
  Prefactor  = 0.50033
 **********
 **   18 **HESSE 
 **********

 FCN=   4958.977     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .40E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7808        3.6551        .82201E-04   -1.5374    
   2  alpha         1.4340        .63944        .10034E-01   -.44052    
   3  Normalizat    1.4514        .20696        .19291E-03   -.79153    
   4  Prefactor     .50033        .23106        .34943E-03   -1.1196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00643e-12
Minuit parameter uncertainties:
  1  3.65544
  2  0.648285
  3  0.207085
  4  0.23149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834140': 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) = 4958.97672713
delta logL = 1.15977480332

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  2.781e+00  3.655e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  1.434e+00  6.483e-01  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  9.678e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  5.003e-01  2.315e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.451e+00  2.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.63
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 1.43 +/- 0.65
Photon Flux (Free Index): 2.70e-08 +/- 3.13e-08
Energy Flux (Free Index): 3.31e-05 +/- 3.13e-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/834140/cmap_HighResolution_567993601_568252801_4FGL_J0145.0-2732_daily_bin1268.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.16e-08', energy_flux2='3.31e-05', photon_flux_error='4.61e-08', dlogl='1.16e+00', energy_flux='1.88e-05', photon_flux2='2.70e-08', job_status='DONE', time_completed='2021-08-14 16:13:12.520862', photon_index_error2='0.65', photon_index2='1.43', ts='4.29', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', energy_flux_error2='3.13e-05', EG='1.39', time_epoch_completed='1628982792.52', return_code='0', job_id='834140', GAL2='0.50', EG2='1.45', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='3.13e-08', ts2='6.63', photon_index='2.48' WHERE bin_id='1268' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:13:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 834140: <4FGL_J0145.0-2732_daily_bin1268> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1268> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:50 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:02:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 16:02:33 2021
Terminated at Sat Aug 14 16:13:13 2021
Results reported at Sat Aug 14 16:13:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1268 26.2585 -27.5363 567993601 568252801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0145.0-2732 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   616.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            743 sec.

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

