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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1350
RA = 26.2585, Dec = -27.5363
tmin = 589248001, tmax = 589507201
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='834246', job_status='RUN', time_executed='2021-08-14 16:04:12.867152', time_epoch_executed='1628982252.87' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834246

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834246/ft1_4FGL_J0145.0-2732_daily_bin1350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834246/ft2_4FGL_J0145.0-2732_daily_bin1350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834246/ft1_4FGL_J0145.0-2732_daily_bin1350.fits outfile=/scratch/kocevski/834246/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1350.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=589248001.0 tmax=589507201.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.11
user 2.95
sys 1.09

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834246/ft2_4FGL_J0145.0-2732_daily_bin1350.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/834246/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1350.fits evtable="EVENTS" outfile="/scratch/kocevski/834246/ft1_filtered_4FGL_J0145.0-2732_daily_bin1350.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 1.44
user 0.34
sys 1.02

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834246/ft1_filtered_4FGL_J0145.0-2732_daily_bin1350.fits" evtable="EVENTS" scfile=/scratch/kocevski/834246/ft2_4FGL_J0145.0-2732_daily_bin1350.fits sctable="SC_DATA" outfile=/scratch/kocevski/834246/ltcube_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.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/834246/ft2_4FGL_J0145.0-2732_daily_bin1350.fits
.....................!
real 14.17
user 12.44
sys 1.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834246/ft1_filtered_4FGL_J0145.0-2732_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/834246/ft2_4FGL_J0145.0-2732_daily_bin1350.fits sctable="SC_DATA" expcube=/scratch/kocevski/834246/ltcube_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.fits outfile=/scratch/kocevski/834246/expmap_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.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/834246/ltcube_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.fits
.....................!
real 192.37
user 185.66
sys 5.55

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/834246/ft1_filtered_4FGL_J0145.0-2732_daily_bin1350.fits scfile=/scratch/kocevski/834246/ft2_4FGL_J0145.0-2732_daily_bin1350.fits outfile=/scratch/kocevski/834246/cmap_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.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 1.41
user 0.37
sys 1.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834246/ft1_filtered_4FGL_J0145.0-2732_daily_bin1350.fits scfile=/scratch/kocevski/834246/ft2_4FGL_J0145.0-2732_daily_bin1350.fits outfile=/scratch/kocevski/834246/cmap_HighResolution_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.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 1.41
user 0.39
sys 1.00

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834246/ft1_filtered_4FGL_J0145.0-2732_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/834246/ft2_4FGL_J0145.0-2732_daily_bin1350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834246/Model_4FGL_J0145.0-2732_daily_bin1350.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/834246/ft1_filtered_4FGL_J0145.0-2732_daily_bin1350.fits......................!
real 31.97
user 29.43
sys 2.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/834246/ft1_filtered_4FGL_J0145.0-2732_daily_bin1350.fits', '/scratch/kocevski/834246/ft2_4FGL_J0145.0-2732_daily_bin1350.fits', expMap='/scratch/kocevski/834246/expmap_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.fits', expCube='/scratch/kocevski/834246/ltcube_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/834246/Model_4FGL_J0145.0-2732_daily_bin1350.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/834246/ft1_filtered_4FGL_J0145.0-2732_daily_bin1350.fits
Spacecraft file(s): /scratch/kocevski/834246/ft2_4FGL_J0145.0-2732_daily_bin1350.fits
Exposure map: /scratch/kocevski/834246/expmap_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.fits
Exposure cube: /scratch/kocevski/834246/ltcube_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/834246/Model_4FGL_J0145.0-2732_daily_bin1350.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) = 2704.81848461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.364       1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.172       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.244       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3604       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .43655       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.9470       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .12391E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    72.965       1.0000         .10000E-03   10000.    
    16 'norm      '    11.769       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.826       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.8317       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    71.460       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0043       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89434       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=   2704.814     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2486 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.364        9.2022        .10271E-06    .78994E-05
   2  Prefactor     29.168        25.087       -.64588E-05   -.31000E-04
   3  Prefactor     11.251        34.191        .19164E-04    .22478E-05
   4  Prefactor     9.3586        10.569       -.11915E-06   -.87488E-04
   5  Prefactor     .10000E-03    8.9751       -.11930E-05** at limit **
   6  norm          .10000E-03    1.9339        .63193E-07** at limit **
   7  norm          .10000E-03    1.7092       -.39465E-07** at limit **
   8  Prefactor     .10000E-03    8.2586        .10955E-05** at limit **
   9  Prefactor     .10000E-03    3.4796       -.28910E-07** at limit **
  10  norm          .43637        1.4955       -.25477E-06   -.85474E-03
  11  Prefactor     .10000E-03    16.503       -.16100E-05** at limit **
  12  norm          3.9503        4.2548       -.63884E-06   -.22170E-03
  13  Prefactor     .10000E-03    3.6006        .13032E-06** at limit **
  14  norm          .10000E-03    10.257       -.57080E-06** at limit **
  15  Prefactor     72.994        91.379        .31922E-04    .10939E-05
  16  norm          11.769        4.8008        .38291E-07   -.14390E-04
  17  Prefactor     .10000E-03    5.0365       -.16630E-06** at limit **
  18  Prefactor     10.828        8.5688        .37775E-06   -.38834E-04
  19  Prefactor     3.8262        10.973       -.26225E-05   -.20110E-03
  20  Prefactor     .10000E-03    15.816        .21164E-05** at limit **
  21  Prefactor     71.464        64.278        .47421E-05    .43662E-05
  22  Normalizat    1.0043        .26521       -.19481E-05    .17911E-04
  23  Prefactor     .89459        .28792       -.21332E-05   -.97931E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 13.3639
  Prefactor  = 29.1677
  Prefactor  = 11.2515
  Prefactor  = 9.35855
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.436371
  Prefactor  = 0.0001
  norm       = 3.95026
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 72.9935
  norm       = 11.769
  Prefactor  = 0.0001
  Prefactor  = 10.8278
  Prefactor  = 3.82618
  Prefactor  = 0.0001
  Prefactor  = 71.4639
  Normalizat = 1.00427
  Prefactor  = 0.894595
 **********
 **   18 **HESSE 
 **********

 FCN=   2704.814     FROM HESSE     STATUS=OK           372 CALLS     2858 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.364        9.2025        .10957E-03   -1.4977    
   2  Prefactor     29.168        25.050        .74178E-04   -1.4627    
   3  Prefactor     11.251        34.037        .11948E-03   -1.5037    
   4  Prefactor     9.3586        10.623        .13099E-03   -1.5096    
   5  Prefactor     .10000E-03    8.9865        .15215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.9423        .70613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.7140        .66396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.2586        .14597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.4947        .94730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .43637        1.3709        .11457E-02   -1.5576    
  11  Prefactor     .10000E-03    16.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.9503        4.2519        .10465E-03   -1.5310    
  13  Prefactor     .10000E-03    3.6627        .96338E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    10.631        .32386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     72.994        90.951        .47000E-04   -1.3997    
  16  norm          11.769        4.8029        .70316E-04   -1.5022    
  17  Prefactor     .10000E-03    5.0391        .11400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.828        8.5472        .12176E-03   -1.5050    
  19  Prefactor     3.8262        10.950        .20618E-03   -1.5317    
  20  Prefactor     .10000E-03    15.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     71.464        64.177        .47489E-04   -1.4015    
  22  Normalizat    1.0043        .31677        .23950E-03   -.92887    
  23  Prefactor     .89459        .34290        .28761E-03   -.96330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.80505e-10
Minuit parameter uncertainties:
  1  9.20344
  2  25.0588
  3  34.0962
  4  10.6254
  5  1.97015e-05
  6  5.96096e-06
  7  3.40989e-06
  8  7.63353e-06
  9  3.99691e-06
  10  1.37103
  11  9.18106e-06
  12  4.25222
  13  1.39851e-05
  14  0.000123405
  15  91.1246
  16  4.80308
  17  1.71312e-05
  18  8.54819
  19  10.956
  20  5.16646e-06
  21  64.2391
  22  0.317369
  23  0.343729
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  1.234e-04  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:  8.946e-01  3.437e-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.004e+00  3.174e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 26.259 -27.536
Photon Flux Upper Limit: 1.69e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834246/likelihoodResults_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.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): 102
logL (Free Index) = 2704.81419962
delta logL = -0.0004468569241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2704.78594512
delta logL = 0.0278076380537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25126       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9988       1.0000          .0000       5.0000    
     3 'Normalizat'    .97714       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91440       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=   2704.786     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      318 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25214        44.218        .22460E-01    .37158E-03
   2  alpha         5.0000        4.9961        .46298    ** at limit **
   3  Normalizat    .97689        .58582E-01    .45880E-01   -.69964E-04
   4  Prefactor     .91462        .63352E-01    .45188E-01   -.13791E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.252135
  alpha      = 5
  Normalizat = 0.976887
  Prefactor  = 0.914622
 **********
 **   18 **HESSE 
 **********

 FCN=   2704.786     FROM HESSE     STATUS=OK            37 CALLS      355 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25214        2.2497        .86122E-03   -1.5608    
   2  alpha         5.0000        4.9994        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .97689        .32046        .24250E-03   -.93809    
   4  Prefactor     .91462        .35177        .28460E-03   -.95632    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34966e-11
Minuit parameter uncertainties:
  1  1.50605
  2  0.000485453
  3  0.321088
  4  0.352645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834246': 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) = 2704.78594048
delta logL = 0.0278122861855

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  2.521e-01  1.506e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  5.000e+00  4.855e-04  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:  9.146e-01  3.526e-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:  9.769e-01  3.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 26.259 -27.536

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/834246/cmap_HighResolution_589248001_589507201_4FGL_J0145.0-2732_daily_bin1350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-05', job_status='DONE', photon_flux_upper_limit='1.69e-07', time_completed='2021-08-14 16:12:05.641351', job_id='834246', GAL2='0.91', fit_tolerance='1e-08', EG2='0.98', EG='1.00', time_epoch_completed='1628982725.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.78e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1350' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:12:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 834246: <4FGL_J0145.0-2732_daily_bin1350> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1350> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:59 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:03:43 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:03:43 2021
Terminated at Sat Aug 14 16:12:06 2021
Results reported at Sat Aug 14 16:12:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1350 26.2585 -27.5363 589248001 589507201 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 :                                   484.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   503 sec.
    Turnaround time :                            667 sec.

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

