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


Performing analysis on: 4FGL_J0132.1-0956_daily_bin1703
RA = 23.0306, Dec = -9.9386
tmin = 680745601, tmax = 681004801
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='302436', job_status='RUN', time_executed='2022-08-01 00:09:03.677876', time_epoch_executed='1659337743.68' WHERE source_name='4FGL J0132.1-0956' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/302436

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/302436/ft1_4FGL_J0132.1-0956_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/302436/ft2_4FGL_J0132.1-0956_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/302436/ft1_4FGL_J0132.1-0956_daily_bin1703.fits outfile=/scratch/kocevski/302436/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1703.fits ra=23.0306 dec=-9.9386 rad=12.0 tmin=680745601.0 tmax=681004801.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.06
user 2.80
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/302436/ft2_4FGL_J0132.1-0956_daily_bin1703.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/302436/ft2_4FGL_J0132.1-0956_daily_bin1703.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/302436/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/302436/ft1_filtered_4FGL_J0132.1-0956_daily_bin1703.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.52
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 628

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/302436/ft1_filtered_4FGL_J0132.1-0956_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/302436/ft2_4FGL_J0132.1-0956_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/302436/ltcube_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.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/302436/ft2_4FGL_J0132.1-0956_daily_bin1703.fits
.....................!
real 16.50
user 16.07
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/302436/ft1_filtered_4FGL_J0132.1-0956_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/302436/ft2_4FGL_J0132.1-0956_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/302436/ltcube_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.fits outfile=/scratch/kocevski/302436/expmap_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.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/302436/ltcube_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.fits
.....................!
real 193.16
user 187.33
sys 5.16

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

Setting source of interest to:
4FGL J0132.1-0956 @ 23.0306 -9.9386

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/302436/ft1_filtered_4FGL_J0132.1-0956_daily_bin1703.fits scfile=/scratch/kocevski/302436/ft2_4FGL_J0132.1-0956_daily_bin1703.fits outfile=/scratch/kocevski/302436/cmap_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.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=23.0306 yref=-9.9386 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.58
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/302436/ft1_filtered_4FGL_J0132.1-0956_daily_bin1703.fits scfile=/scratch/kocevski/302436/ft2_4FGL_J0132.1-0956_daily_bin1703.fits outfile=/scratch/kocevski/302436/cmap_HighResolution_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.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=23.0306 yref=-9.9386 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/302436/ft1_filtered_4FGL_J0132.1-0956_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/302436/ft2_4FGL_J0132.1-0956_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/302436/Model_4FGL_J0132.1-0956_daily_bin1703.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/302436/ft1_filtered_4FGL_J0132.1-0956_daily_bin1703.fits.....................!
real 65.19
user 63.12
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/302436/ft1_filtered_4FGL_J0132.1-0956_daily_bin1703.fits', '/scratch/kocevski/302436/ft2_4FGL_J0132.1-0956_daily_bin1703.fits', expMap='/scratch/kocevski/302436/expmap_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.fits', expCube='/scratch/kocevski/302436/ltcube_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/302436/Model_4FGL_J0132.1-0956_daily_bin1703.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0132.1-0956'

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  6.833e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.697e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  3.135e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  3.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/302436/ft1_filtered_4FGL_J0132.1-0956_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/302436/ft2_4FGL_J0132.1-0956_daily_bin1703.fits
Exposure map: /scratch/kocevski/302436/expmap_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.fits
Exposure cube: /scratch/kocevski/302436/ltcube_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/302436/Model_4FGL_J0132.1-0956_daily_bin1703.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6873.66394497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0470       1.0000         .10000E-03   10000.    
     2 'norm      '    3.6981       1.0000         .10000E-03   10000.    
     3 'norm      '    1.9944       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.172       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.761       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2508       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.216       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .95787       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10825E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.1891       1.0000         .10000E-03   10000.    
    15 'norm      '    41.055       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .63640       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18129E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0325       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88377       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6873.420     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     1896 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0462        3.1904        .29201E-05    .31005E-03
   2  norm          3.6981        3.2393       -.44745E-07   -.78961E-04
   3  norm          1.9932        5.0576       -.65836E-06   -.13887E-03
   4  Prefactor     12.172        11.685        .22241E-07   -.51685E-05
   5  Prefactor     16.763        17.302       -.16656E-06   -.97544E-05
   6  Prefactor     2.1742        27.420        .16863E-05    .47549E-05
   7  Prefactor     .10000E-03    30.712       -.24408E-05** at limit **
   8  Prefactor     14.214        8.7661        .28300E-06    .20359E-03
   9  Prefactor     .95744        2.2877        .41852E-06    .18592E-03
  10  Prefactor     .10008E-03    7.1956       -.33766E-05** at limit **
  11  Prefactor     .10000E-03    30.139       -.19240E-05** at limit **
  12  Prefactor     .10000E-03    4.4969        .63162E-07** at limit **
  13  norm          .10000E-03    9.9852       -.40334E-07** at limit **
  14  norm          2.1891        1.0385        .21694E-07    .37380E-04
  15  norm          41.054        8.0877        .50095E-07   -.41663E-05
  16  Prefactor     .10000E-03    24.484        .21008E-05** at limit **
  17  norm          .63673        1.7956        .54558E-06    .12436E-03
  18  Prefactor     .10000E-03    1.7444        .15814E-06** at limit **
  19  Prefactor     .10000E-03    7.5744        .85849E-07** at limit **
  20  Normalizat    1.0324        .16839       -.11408E-05   -.15008E-04
  21  Prefactor     .88406        .16348        .16402E-06    .21180E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.04625
  norm       = 3.69814
  norm       = 1.9932
  Prefactor  = 12.1719
  Prefactor  = 16.7633
  Prefactor  = 2.17424
  Prefactor  = 0.0001
  Prefactor  = 14.2135
  Prefactor  = 0.957444
  Prefactor  = 0.000100083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.18912
  norm       = 41.0539
  Prefactor  = 0.0001
  norm       = 0.63673
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.03237
  Prefactor  = 0.884059
 **********
 **   18 **HESSE 
 **********

 FCN=   6873.420     FROM HESSE     STATUS=OK           325 CALLS     2221 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0462        3.2459        .88688E-03   -1.5422    
   2  norm          3.6981        3.2366        .13429E-03   -1.5323    
   3  norm          1.9932        5.0118        .27515E-03   -1.5426    
   4  Prefactor     12.172        11.686        .11482E-03   -1.5010    
   5  Prefactor     16.763        17.300        .97830E-04   -1.4889    
   6  Prefactor     2.1742        27.367        .27388E-03   -1.5413    
   7  Prefactor     .10000E-03    30.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.214        8.7703        .10623E-03   -1.4954    
   9  Prefactor     .95744        2.2350        .18663E-03   -1.5512    
  10  Prefactor     .10008E-03    38.426        .37535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    30.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.5497        .17166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1891        1.0399        .27818E-04   -1.5412    
  15  norm          41.054        8.0908        .62561E-04   -1.4426    
  16  Prefactor     .10000E-03    24.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .63673        1.8002        .17352E-03   -1.5548    
  18  Prefactor     .10000E-03    3.8280        .21164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.6461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0324        .19158        .24238E-03   -.91954    
  21  Prefactor     .88406        .18795        .25987E-03   -.96700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24189e-09
Minuit parameter uncertainties:
  1  3.24618
  2  3.23679
  3  5.01282
  4  11.688
  5  17.3054
  6  15.4359
  7  7.82916e-05
  8  8.77108
  9  2.23518
  10  0.00356471
  11  7.47367e-05
  12  8.58902e-06
  13  1.19635e-05
  14  1.0399
  15  8.09107
  16  1.36364e-05
  17  1.80036
  18  1.32903e-05
  19  1.22179e-05
  20  0.191705
  21  0.188085
Done.

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

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  1.196e-05  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.697e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  3.135e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  3.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.841e-01  1.881e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.032e+00  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 23.031 -9.939
Photon Flux Upper Limit: 5.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/302436/likelihoodResults_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.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) = 6873.42049011
delta logL = -0.000473597980999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6873.42001647
delta logL = 3.91437424696e-08

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 'alpha     '    2.6825       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0324       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88406       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6873.420     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      232 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    623.16        .18142E-01** at limit **
   2  alpha         2.2051        3.3979        .82582E-01   -.67456E-08
   3  Normalizat    1.0324        .32445E-01    .24238E-03    .40056E-04
   4  Prefactor     .88406        .32612E-01    .25987E-03    .42347E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.20508
  Normalizat = 1.03237
  Prefactor  = 0.884059
 **********
 **   18 **HESSE 
 **********

 FCN=   6873.420     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.688        .54490E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2051        2.5033        .33033E-02   -.11825    
   3  Normalizat    1.0324        .18340        .96953E-05   -.91954    
   4  Prefactor     .88406        .18431        .10395E-04   -.96700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29563e-12
Minuit parameter uncertainties:
  1  2.73066e-05
  2  412.774
  3  0.183515
  4  0.184444
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/302436': 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) = 6873.42001582
delta logL = 6.9061297836e-07

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  2.731e-05  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.205e+00  4.128e+02  0.000e+00  5.000e+00 ( 1.000e+00)
311         beta:  3.135e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  3.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.841e-01  1.844e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.032e+00  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 23.031 -9.939

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/302436/cmap_HighResolution_680745601_681004801_4FGL_J0132.1-0956_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-05', job_status='DONE', photon_flux_upper_limit='5.04e-08', time_completed='2022-08-01 00:19:51.738305', job_id='302436', GAL2='0.88', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1659338391.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='6.91e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1703' AND source_name='4FGL J0132.1-0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 00:19:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 302436: <4FGL_J0132.1-0956_daily_bin1703> in cluster <slac> Done

Job <4FGL_J0132.1-0956_daily_bin1703> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug  1 00:05:07 2022
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 00:07:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 00:07:30 2022
Terminated at Mon Aug  1 00:19:52 2022
Results reported at Mon Aug  1 00:19:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0132.1-0956_daily_bin1703 23.0306 -9.9386 680745601 681004801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0132.1-0956 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   645.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            885 sec.

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

