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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1740
RA = 26.2585, Dec = -27.5363
tmin = 690336001, tmax = 690595201
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='822734', job_status='RUN', time_executed='2022-11-20 00:09:13.978156', time_epoch_executed='1668931753.98' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822734

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822734/ft1_4FGL_J0145.0-2732_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822734/ft2_4FGL_J0145.0-2732_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822734/ft1_4FGL_J0145.0-2732_daily_bin1740.fits outfile=/scratch/kocevski/822734/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1740.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=690336001.0 tmax=690595201.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 2.99
user 2.75
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/822734/ft2_4FGL_J0145.0-2732_daily_bin1740.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/822734/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/822734/ft1_filtered_4FGL_J0145.0-2732_daily_bin1740.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.34
sys 0.15

Number of photons that the gtmktime cut: 698

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822734/ft1_filtered_4FGL_J0145.0-2732_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/822734/ft2_4FGL_J0145.0-2732_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/822734/ltcube_690336001_690595201_4FGL_J0145.0-2732_daily_bin1740.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/822734/ft2_4FGL_J0145.0-2732_daily_bin1740.fits
.....................!
real 14.64
user 14.16
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822734/ft1_filtered_4FGL_J0145.0-2732_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822734/ft2_4FGL_J0145.0-2732_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/822734/ltcube_690336001_690595201_4FGL_J0145.0-2732_daily_bin1740.fits outfile=/scratch/kocevski/822734/expmap_690336001_690595201_4FGL_J0145.0-2732_daily_bin1740.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/822734/ltcube_690336001_690595201_4FGL_J0145.0-2732_daily_bin1740.fits
.....................!
real 191.83
user 185.46
sys 5.68

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/822734/ft1_filtered_4FGL_J0145.0-2732_daily_bin1740.fits scfile=/scratch/kocevski/822734/ft2_4FGL_J0145.0-2732_daily_bin1740.fits outfile=/scratch/kocevski/822734/cmap_690336001_690595201_4FGL_J0145.0-2732_daily_bin1740.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822734/ft1_filtered_4FGL_J0145.0-2732_daily_bin1740.fits scfile=/scratch/kocevski/822734/ft2_4FGL_J0145.0-2732_daily_bin1740.fits outfile=/scratch/kocevski/822734/cmap_HighResolution_690336001_690595201_4FGL_J0145.0-2732_daily_bin1740.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/822734/ft1_filtered_4FGL_J0145.0-2732_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822734/ft2_4FGL_J0145.0-2732_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/822734/Model_4FGL_J0145.0-2732_daily_bin1740.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/822734/ft1_filtered_4FGL_J0145.0-2732_daily_bin1740.fits.....................!
real 60.51
user 59.07
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29587E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.2379       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38889E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11657E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8110       1.0000          .0000       .10000E+07
     6 'norm      '    .18297E-04   1.0000          .0000       .10000E+07
     7 'norm      '    3.2829       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9746       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.9535       1.0000          .0000       .10000E+07
    10 'norm      '    .84468       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.801       1.0000          .0000       .10000E+07
    12 'norm      '    1.5104       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2713       1.0000          .0000       .10000E+07
    14 'norm      '    3.1727       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12703E-02   1.0000          .0000       .10000E+07
    16 'norm      '    1.1566       1.0000          .0000       .10000E+07
    17 'Prefactor '    32.246       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34994E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.8290       1.0000          .0000       .10000E+07
    20 'Prefactor '    32.628       1.0000          .0000       .10000E+07
    21 'Prefactor '    .47969E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    .95195       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89045       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=   7752.362     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1915 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .48883       -.24988E-06** at limit **
   2  Prefactor     5.1913        4.7957       -.22353E-06   -.14199E-03
   3  Prefactor      .0000        3.0519        .22440E-07** at limit **
   4  Prefactor      .0000        .86072       -.24242E-06** at limit **
   5  Prefactor     4.7744        8.3580       -.21982E-05   -.13672E-03
   6  norm          .55511E-10    2.5775        .30884E-06** at limit **
   7  norm          3.2830        1.8453       -.16533E-06    .84433E-02
   8  Prefactor     1.9788        6.9067        .24204E-06    .70688E-03
   9  Prefactor     1.9638        4.6449       -.59439E-06   -.39783E-03
  10  norm          .84401        1.0402       -.60598E-06    .41540E-02
  11  Prefactor     12.680        17.573       -.25561E-05    .13870E-02
  12  norm          1.5089        1.8118        .59331E-06   -.30482E-02
  13  Prefactor     2.2699        2.9500       -.12319E-05    .40003E-02
  14  norm          3.1710        2.3388        .11065E-07    .33316E-02
  15  Prefactor     .18929E-07    77.474       -.14904E-05** at limit **
  16  norm          1.1551        2.3158       -.42698E-06    .88633E-05
  17  Prefactor     32.094        13.588        .14536E-05    .33336E-02
  18  Prefactor      .0000        1.8822        .23926E-06** at limit **
  19  Prefactor     6.8146        5.7164       -.17745E-06    .64229E-03
  20  Prefactor     32.779        1.9711        .75316E-07   -.96245E-02
  21  Prefactor     .55511E-10    37.866        .61935E-05** at limit **
  22  Normalizat    .95245        .16856        .15957E-04    .23657E-03
  23  Prefactor     .89037        .18320        .14852E-04    .23204E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 5.1913
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.77436
  norm       = 5.55112e-11
  norm       = 3.28303
  Prefactor  = 1.97877
  Prefactor  = 1.96378
  norm       = 0.844006
  Prefactor  = 12.68
  norm       = 1.50894
  Prefactor  = 2.26988
  norm       = 3.17096
  Prefactor  = 1.89293e-08
  norm       = 1.1551
  Prefactor  = 32.0945
  Prefactor  = 0
  Prefactor  = 6.8146
  Prefactor  = 32.7788
  Prefactor  = 5.55112e-11
  Normalizat = 0.952447
  Prefactor  = 0.890366
 **********
 **   18 **HESSE 
 **********

 FCN=   7752.362     FROM HESSE     STATUS=OK           420 CALLS     2335 TOTAL
                     EDM=   .90E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .48923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.1913        4.8098        .43896E-03   -1.5662    
   3  Prefactor      .0000        3.0476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .85708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7744        8.6241        .45842E-03   -1.5664    
   6  norm          .55511E-10    2.5615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.2830        1.8518        .55859E-03   -1.5672    
   8  Prefactor     1.9788        7.0007        .73748E-03   -1.5680    
   9  Prefactor     1.9638        4.8478        .74211E-03   -1.5680    
  10  norm          .84401        1.0477        .49663E-03   -1.5690    
  11  Prefactor     12.680        17.645        .27972E-03   -1.5637    
  12  norm          1.5089        1.8646        .86999E-03   -1.5683    
  13  Prefactor     2.2699        2.9709        .68115E-03   -1.5678    
  14  norm          3.1710        2.3486        .56871E-03   -1.5672    
  15  Prefactor     .18929E-07    77.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1551        2.3404        .10728E-02   -1.5686    
  17  Prefactor     32.094        13.588        .17613E-03   -1.5595    
  18  Prefactor      .0000        1.8730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.8146        5.7295        .38370E-03   -1.5656    
  20  Prefactor     32.779        42.392        .17509E-03   -1.5593    
  21  Prefactor     .55511E-10    37.901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .95245        .14342        .45562E-01   -.94641    
  23  Prefactor     .89037        .15573        .44883E-01   -.96479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.96171e-08
Minuit parameter uncertainties:
  1  4.3265e-06
  2  4.80985
  3  5.57373e-06
  4  6.91609e-06
  5  8.62409
  6  2.65257e-05
  7  1.85182
  8  7.00071
  9  4.84785
  10  1.0477
  11  17.6453
  12  1.86458
  13  2.97088
  14  2.3486
  15  0.00242093
  16  2.34039
  17  13.5879
  18  1.67937e-06
  19  5.72954
  20  42.3927
  21  7.85938e-05
  22  0.143477
  23  0.155807
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  3.171e+00  2.349e+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:  8.904e-01  1.558e-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.524e-01  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.27
Ra Dec: 26.259 -27.536
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 3.78e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 9.92e-06 +/- 7.35e-06

TS (Fixed Index): 3.27
Ra Dec: 26.259 -27.536
Photon Flux Upper Limit: 9.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.54e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/822734/likelihoodResults_690336001_690595201_4FGL_J0145.0-2732_daily_bin1740.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) = 7751.98357006
delta logL = 0.378339791881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7751.98065549
delta logL = 0.381254364396

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9713       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5303       1.0000          .0000       5.0000    
     3 'Normalizat'    .89774       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93696       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=   7751.981     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      206 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9707        33.582        .58878E-03   -.69527E-03
   2  alpha         3.5308        2.6692        .46783        .14169E-04
   3  Normalizat    .89773        .57793E-01    .44873E-01   -.47374E-04
   4  Prefactor     .93697        .63658E-01    .45474E-01    .30657E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.97068
  alpha      = 3.53083
  Normalizat = 0.897732
  Prefactor  = 0.93697
 **********
 **   18 **HESSE 
 **********

 FCN=   7751.981     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9707        3.3687        .83170E-05   -1.5673    
   2  alpha         3.5308        1.5927        .29680E-01    .42501    
   3  Normalizat    .89773        .17294        .22258E-03   -.96540    
   4  Prefactor     .93697        .19496        .25489E-03   -.94861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63549e-10
Minuit parameter uncertainties:
  1  3.36872
  2  1.76381
  3  0.173048
  4  0.19511
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822734': 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) = 7751.98065541
delta logL = 0.381254446543

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  2.971e+00  3.369e+00  0.000e+00  1.000e+06 ( 1.000e-11)
291        alpha:  3.531e+00  1.764e+00  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:  9.370e-01  1.951e-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:  8.977e-01  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.20
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 3.53 +/- 1.76
Photon Flux (Free Index): 7.13e-08 +/- 5.11e-08
Energy Flux (Free Index): 1.19e-05 +/- 7.05e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/822734/cmap_HighResolution_690336001_690595201_4FGL_J0145.0-2732_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.54e-05', comment='SUCCESS', photon_flux='3.78e-08', energy_flux2='1.19e-05', photon_flux_error='2.80e-08', dlogl='3.81e-01', energy_flux='9.92e-06', photon_flux2='7.13e-08', job_status='DONE', time_completed='2022-11-20 00:20:06.308165', photon_index_error2='1.76', photon_index2='3.53', ts='3.27', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='9.66e-08', energy_flux_error2='7.05e-06', EG='0.95', time_epoch_completed='1668932406.31', return_code='0', job_id='822734', GAL2='0.94', EG2='0.90', return_code2='0', energy_flux_error='7.35e-06', photon_flux_error2='5.11e-08', ts2='4.20', photon_index='2.48' WHERE bin_id='1740' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:20:06 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 822734: <4FGL_J0145.0-2732_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:08 2022
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:08:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:08:15 2022
Terminated at Sun Nov 20 00:20:07 2022
Results reported at Sun Nov 20 00:20:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1740 26.2585 -27.5363 690336001 690595201 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 :                                   653.53 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            899 sec.

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

