aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 18 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7157
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1723
RA = 26.2585, Dec = -27.5363
tmin = 685929601, tmax = 686188801
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='430225', job_status='RUN', time_executed='2022-09-30 00:05:43.600305', time_epoch_executed='1664521543.6' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430225

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430225/ft1_4FGL_J0145.0-2732_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430225/ft2_4FGL_J0145.0-2732_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430225/ft1_4FGL_J0145.0-2732_daily_bin1723.fits outfile=/scratch/kocevski/430225/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1723.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=685929601.0 tmax=686188801.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.62
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430225/ft2_4FGL_J0145.0-2732_daily_bin1723.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/430225/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/430225/ft1_filtered_4FGL_J0145.0-2732_daily_bin1723.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 383

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430225/ft1_filtered_4FGL_J0145.0-2732_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430225/ft2_4FGL_J0145.0-2732_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430225/ltcube_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.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/430225/ft2_4FGL_J0145.0-2732_daily_bin1723.fits
.....................!
real 17.35
user 16.94
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430225/ft1_filtered_4FGL_J0145.0-2732_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430225/ft2_4FGL_J0145.0-2732_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430225/ltcube_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.fits outfile=/scratch/kocevski/430225/expmap_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.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/430225/ltcube_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.fits
.....................!
real 191.51
user 185.68
sys 5.29

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/430225/ft1_filtered_4FGL_J0145.0-2732_daily_bin1723.fits scfile=/scratch/kocevski/430225/ft2_4FGL_J0145.0-2732_daily_bin1723.fits outfile=/scratch/kocevski/430225/cmap_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.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 0.54
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430225/ft1_filtered_4FGL_J0145.0-2732_daily_bin1723.fits scfile=/scratch/kocevski/430225/ft2_4FGL_J0145.0-2732_daily_bin1723.fits outfile=/scratch/kocevski/430225/cmap_HighResolution_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.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 0.56
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430225/ft1_filtered_4FGL_J0145.0-2732_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430225/ft2_4FGL_J0145.0-2732_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430225/Model_4FGL_J0145.0-2732_daily_bin1723.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/430225/ft1_filtered_4FGL_J0145.0-2732_daily_bin1723.fits.....................!
real 43.18
user 39.05
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430225/ft1_filtered_4FGL_J0145.0-2732_daily_bin1723.fits', '/scratch/kocevski/430225/ft2_4FGL_J0145.0-2732_daily_bin1723.fits', expMap='/scratch/kocevski/430225/expmap_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.fits', expCube='/scratch/kocevski/430225/ltcube_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430225/Model_4FGL_J0145.0-2732_daily_bin1723.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  0.000e+00  1.000e+06 ( 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 -5.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/430225/ft1_filtered_4FGL_J0145.0-2732_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/430225/ft2_4FGL_J0145.0-2732_daily_bin1723.fits
Exposure map: /scratch/kocevski/430225/expmap_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.fits
Exposure cube: /scratch/kocevski/430225/ltcube_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430225/Model_4FGL_J0145.0-2732_daily_bin1723.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) = 4400.20919873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2333       1.0000          .0000       .10000E+07
     2 'Prefactor '    20.148       1.0000          .0000       .10000E+07
     3 'Prefactor '    .63776E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .30950E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10271E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .10808E-06   1.0000          .0000       .10000E+07
     7 'norm      '    7.8335       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14283E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .88311       1.0000          .0000       .10000E+07
    10 'norm      '    1.2285       1.0000          .0000       .10000E+07
    11 'Prefactor '    .37208E-02   1.0000          .0000       .10000E+07
    12 'norm      '    4.2153       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.3907       1.0000          .0000       .10000E+07
    14 'norm      '    .43826       1.0000          .0000       .10000E+07
    15 'Prefactor '    .59314E-01   1.0000          .0000       .10000E+07
    16 'norm      '    1.9927       1.0000          .0000       .10000E+07
    17 'Prefactor '    24.345       1.0000          .0000       .10000E+07
    18 'Prefactor '    .40253E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.3252       1.0000          .0000       .10000E+07
    20 'Prefactor '    .66247       1.0000          .0000       .10000E+07
    21 'Prefactor '    .83000E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .69825       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1689       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4400.154     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1486 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2396        3.7055       -.73837E-07    .61582E-03
   2  Prefactor     20.072        7.3551       -.51480E-07    .59689E-01
   3  Prefactor     .14988E-08    6.4015        .56639E-07** at limit **
   4  Prefactor     .61062E-09    3.5067       -.30475E-07** at limit **
   5  Prefactor     .55511E-10    6.1329        .19647E-06** at limit **
   6  norm           .0000        .77572       -.14763E-08** at limit **
   7  norm          7.8315        3.2728       -.88173E-07   -.11398E-03
   8  Prefactor     .12212E-08    10.011        .15488E-06** at limit **
   9  Prefactor     .88440        3.4860        .15868E-06    .27298E-01
  10  norm          1.2266        1.1845       -.96687E-07    .22993E-03
  11  Prefactor     .16098E-08    54.245       -.31266E-06** at limit **
  12  norm          4.2011        3.8204       -.25312E-07   -.19097E-02
  13  Prefactor     8.3736        5.2377       -.14191E-06    .37844E-02
  14  norm          .43972        8.5864       -.99679E-06    .23083E-02
  15  Prefactor     .55511E-10    33.844       -.14336E-06** at limit **
  16  norm          1.9838        3.2318        .12672E-06    .34389E-03
  17  Prefactor     24.497        1.4368       -.21173E-07    .56879E-01
  18  Prefactor      .0000        1.9953       -.29956E-07** at limit **
  19  Prefactor     3.3241        3.8532        .78605E-07   -.13353E-03
  20  Prefactor     .19429E-08    217.15        .63644E-05** at limit **
  21  Prefactor     .55511E-10    13.339       -.74639E-06** at limit **
  22  Normalizat    .69851        .22044       -.19814E-06   -.43676E-04
  23  Prefactor     1.1692        .24841        .85710E-05   -.64197E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.23956
  Prefactor  = 20.0722
  Prefactor  = 1.4988e-09
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 7.83153
  Prefactor  = 1.22125e-09
  Prefactor  = 0.884398
  norm       = 1.22665
  Prefactor  = 1.60982e-09
  norm       = 4.20107
  Prefactor  = 8.37362
  norm       = 0.439724
  Prefactor  = 5.55112e-11
  norm       = 1.9838
  Prefactor  = 24.4973
  Prefactor  = 0
  Prefactor  = 3.32408
  Prefactor  = 1.94289e-09
  Prefactor  = 5.55112e-11
  Normalizat = 0.698515
  Prefactor  = 1.16924
 **********
 **   18 **HESSE 
 **********

 FCN=   4400.154     FROM HESSE     STATUS=OK           422 CALLS     1908 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2396        3.7182        .48951E-03   -1.5667    
   2  Prefactor     20.072        10.623        .22286E-03   -1.5618    
   3  Prefactor     .14988E-08    6.4770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .61062E-09    3.5002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    6.1359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .77517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.8315        3.2796        .35803E-03   -1.5652    
   8  Prefactor     .12212E-08    10.031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .88440        5.8318        .46935E-03   -1.5689    
  10  norm          1.2266        1.1662        .10148E-02   -1.5686    
  11  Prefactor     .16098E-08    54.161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.2011        3.9781        .49058E-03   -1.5667    
  13  Prefactor     8.3736        5.2709        .34584E-03   -1.5650    
  14  norm          .43972        2.8340        .54601E-02   -1.5695    
  15  Prefactor     .55511E-10    33.866        .15187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9838        3.2623        .73361E-03   -1.5680    
  17  Prefactor     24.497        15.884        .20272E-03   -1.5609    
  18  Prefactor      .0000        1.9949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3241        3.8668        .55485E-03   -1.5671    
  20  Prefactor     .19429E-08    215.83        .63809E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    13.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .69851        .19829        .42267E-01   -1.0395    
  23  Prefactor     1.1692        .21266        .54563E-01   -.87283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.09267e-08
Minuit parameter uncertainties:
  1  3.71819
  2  10.6227
  3  0.000195556
  4  9.10691e-05
  5  4.3864e-05
  6  3.21675e-06
  7  3.27957
  8  0.000219609
  9  4.54208
  10  1.16622
  11  0.000588969
  12  3.9781
  13  5.27094
  14  2.23265
  15  0.000104607
  16  3.26233
  17  15.8841
  18  3.72058e-06
  19  3.86683
  20  0.0013026
  21  4.7262e-05
  22  0.198498
  23  0.212812
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  4.397e-01  2.233e+00  0.000e+00  1.000e+06 ( 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 -5.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:  1.169e+00  2.128e-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:  6.985e-01  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/430225/likelihoodResults_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.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) = 4400.08207995
delta logL = 0.0714781206179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4400.06417813
delta logL = 0.0893799422365

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32493       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .66737       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1949       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4400.064     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      304 TOTAL
                     EDM=   .62E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32487        .78591        .82296E-05    .34398E-03
   2  alpha         5.0000        4.5557        .72137E-01** at limit **
   3  Normalizat    .66744        .22411        .26579E-03    .60737E-05
   4  Prefactor     1.1948        .25442        .23903E-03    .50416E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.32487
  alpha      = 5
  Normalizat = 0.667437
  Prefactor  = 1.19478
 **********
 **   18 **HESSE 
 **********

 FCN=   4400.064     FROM HESSE     STATUS=OK            23 CALLS      327 TOTAL
                     EDM=   .65E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32487        .78488        .32918E-06   -1.5697    
   2  alpha         5.0000        4.5546        .14427E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .66744        .22426        .10632E-04   -1.0519    
   4  Prefactor     1.1948        .25465        .95612E-05   -.86492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51966e-13
Minuit parameter uncertainties:
  1  0.78488
  2  8.61038e-06
  3  0.224572
  4  0.254912
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430225': 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) = 4400.06417808
delta logL = 0.0893799920486

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  3.249e-01  7.849e-01  0.000e+00  1.000e+06 ( 1.000e-11)
291        alpha:  5.000e+00  8.610e-06  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  9.678e-02  0.000e+00 -5.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:  1.195e+00  2.549e-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:  6.674e-01  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/430225/cmap_HighResolution_685929601_686188801_4FGL_J0145.0-2732_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.96e-05', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2022-09-30 00:13:56.832929', job_id='430225', GAL2='1.19', fit_tolerance='1e-08', EG2='0.67', EG='0.70', time_epoch_completed='1664522036.83', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='8.94e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1723' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:13:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 430225: <4FGL_J0145.0-2732_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:03 2022
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:05:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:05:17 2022
Terminated at Fri Sep 30 00:13:57 2022
Results reported at Fri Sep 30 00:13:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1723 26.2585 -27.5363 685929601 686188801 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 :                                   490.55 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             385.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   520 sec.
    Turnaround time :                            534 sec.

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

