/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 70 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 = 7431
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0132.1-0956_daily_bin1055
RA = 23.0306, Dec = -9.9386
tmin = 512784001, tmax = 513043201
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='621736', job_status='RUN', time_executed='2021-08-14 03:20:54.599210', time_epoch_executed='1628936454.6' WHERE source_name='4FGL J0132.1-0956' and cadence='daily' and bin_id='1055'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/621736

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/621736/ft1_4FGL_J0132.1-0956_daily_bin1055.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/621736/ft2_4FGL_J0132.1-0956_daily_bin1055.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/621736/ft1_4FGL_J0132.1-0956_daily_bin1055.fits outfile=/scratch/kocevski/621736/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1055.fits ra=23.0306 dec=-9.9386 rad=12.0 tmin=512784001.0 tmax=513043201.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 9.04
user 4.14
sys 4.76

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/621736/ft2_4FGL_J0132.1-0956_daily_bin1055.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/621736/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1055.fits evtable="EVENTS" outfile="/scratch/kocevski/621736/ft1_filtered_4FGL_J0132.1-0956_daily_bin1055.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 5.09
user 0.34
sys 4.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/621736/ft1_filtered_4FGL_J0132.1-0956_daily_bin1055.fits" evtable="EVENTS" scfile=/scratch/kocevski/621736/ft2_4FGL_J0132.1-0956_daily_bin1055.fits sctable="SC_DATA" outfile=/scratch/kocevski/621736/ltcube_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.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/621736/ft2_4FGL_J0132.1-0956_daily_bin1055.fits
.....................!
real 17.52
user 11.70
sys 5.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/621736/ft1_filtered_4FGL_J0132.1-0956_daily_bin1055.fits evtable="EVENTS" scfile=/scratch/kocevski/621736/ft2_4FGL_J0132.1-0956_daily_bin1055.fits sctable="SC_DATA" expcube=/scratch/kocevski/621736/ltcube_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.fits outfile=/scratch/kocevski/621736/expmap_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.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/621736/ltcube_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.fits
.....................!
real 198.07
user 185.65
sys 11.04

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/621736/ft1_filtered_4FGL_J0132.1-0956_daily_bin1055.fits scfile=/scratch/kocevski/621736/ft2_4FGL_J0132.1-0956_daily_bin1055.fits outfile=/scratch/kocevski/621736/cmap_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.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 5.66
user 0.35
sys 4.62

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/621736/ft1_filtered_4FGL_J0132.1-0956_daily_bin1055.fits scfile=/scratch/kocevski/621736/ft2_4FGL_J0132.1-0956_daily_bin1055.fits outfile=/scratch/kocevski/621736/cmap_HighResolution_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.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 5.84
user 0.41
sys 4.59

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/621736/ft1_filtered_4FGL_J0132.1-0956_daily_bin1055.fits evtable="EVENTS" scfile=/scratch/kocevski/621736/ft2_4FGL_J0132.1-0956_daily_bin1055.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/621736/Model_4FGL_J0132.1-0956_daily_bin1055.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/621736/ft1_filtered_4FGL_J0132.1-0956_daily_bin1055.fits.....................!
real 55.95
user 47.67
sys 6.88

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/621736/ft1_filtered_4FGL_J0132.1-0956_daily_bin1055.fits', '/scratch/kocevski/621736/ft2_4FGL_J0132.1-0956_daily_bin1055.fits', expMap='/scratch/kocevski/621736/expmap_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.fits', expCube='/scratch/kocevski/621736/ltcube_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/621736/Model_4FGL_J0132.1-0956_daily_bin1055.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/621736/ft1_filtered_4FGL_J0132.1-0956_daily_bin1055.fits
Spacecraft file(s): /scratch/kocevski/621736/ft2_4FGL_J0132.1-0956_daily_bin1055.fits
Exposure map: /scratch/kocevski/621736/expmap_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.fits
Exposure cube: /scratch/kocevski/621736/ltcube_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/621736/Model_4FGL_J0132.1-0956_daily_bin1055.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) = 4320.31200175

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11382E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    14.585       1.0000         .10000E-03   10000.    
     3 'norm      '    3.3831       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14554E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12492E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.664       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.787       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10451E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .42959E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .27269       1.0000         .10000E-03   10000.    
    13 'norm      '    54.087       1.0000         .10000E-03   10000.    
    14 'norm      '    2.6530       1.0000         .10000E-03   10000.    
    15 'norm      '    13.388       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10923E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.9828       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.344       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1487       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .77868       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=   4320.306     FROM MIGRAD    STATUS=CONVERGED    838 CALLS     2579 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    17.297        .21623E-02** at limit **
   2  norm          14.588        6.8524        .10488E-03    .73538E-03
   3  norm          3.3827        5.7028        .19496E-03    .38849E-03
   4  Prefactor     .10000E-03    6.7850        .16718E-02** at limit **
   5  Prefactor     .10000E-03    23.321        .18142E-02** at limit **
   6  Prefactor     .10000E-03    13.266        .18142E-02** at limit **
   7  Prefactor     .10000E-03    47.317        .18142E-02** at limit **
   8  Prefactor     30.665        13.438        .72356E-04    .26510E-03
   9  Prefactor     11.791        5.9769        .10788E-03   -.10697E-02
  10  Prefactor     .10000E-03    6.7467        .16663E-02** at limit **
  11  Prefactor     .10008E-03    83.751        .14615    ** at limit **
  12  Prefactor     .25840        243.46        .40841E-02    .36140E-04
  13  norm          54.188        44.785        .54539E-04    .16818E-03
  14  norm          2.6520        1.9766        .75303E-04   -.39253E-04
  15  norm          13.387        7.8361        .10947E-03    .16637E-03
  16  Prefactor     .10000E-03    58.466        .18142E-02** at limit **
  17  norm          3.9832        3.4760        .10833E-03   -.18869E-03
  18  Prefactor     12.342        7.2513        .11401E-03    .47563E-04
  19  Prefactor     .10000E-03    9.8832        .18142E-02** at limit **
  20  Normalizat    1.1490        .28123        .26199E-03    .13254E-03
  21  Prefactor     .77855        .24305        .29008E-03    .14082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100047
  norm       = 14.5875
  norm       = 3.3827
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 30.6648
  Prefactor  = 11.7906
  Prefactor  = 0.0001
  Prefactor  = 0.000100077
  Prefactor  = 0.258404
  norm       = 54.1876
  norm       = 2.65205
  norm       = 13.3871
  Prefactor  = 0.0001
  norm       = 3.98322
  Prefactor  = 12.3421
  Prefactor  = 0.0001
  Normalizat = 1.14898
  Prefactor  = 0.77855
 **********
 **   18 **HESSE 
 **********

 FCN=   4320.306     FROM HESSE     STATUS=OK           307 CALLS     2886 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    17.472        .43245E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          14.588        6.8511        .41951E-05   -1.4944    
   3  norm          3.3827        5.7018        .77983E-05   -1.5340    
   4  Prefactor     .10000E-03    6.7851        .33436E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.322        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.267        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    47.320        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.665        13.426        .14471E-04   -1.4600    
   9  Prefactor     11.791        5.9745        .21576E-04   -1.5021    
  10  Prefactor     .10000E-03    6.7470        .33326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10008E-03    84.797        .14167       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .25840        232.66        .16336E-03   -1.5606    
  13  norm          54.188        44.726        .10908E-04   -1.4234    
  14  norm          2.6520        1.9753        .30121E-05   -1.5382    
  15  norm          13.387        7.8360        .21894E-04   -1.4976    
  16  Prefactor     .10000E-03    58.467        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.9832        3.4745        .43332E-05   -1.5309    
  18  Prefactor     12.342        7.2475        .45606E-05   -1.5005    
  19  Prefactor     .10000E-03    9.8841        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1490        .28038        .52398E-04   -.88194    
  21  Prefactor     .77855        .24323        .11603E-04   -1.0052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58029e-09
Minuit parameter uncertainties:
  1  0.00180529
  2  6.85145
  3  5.70267
  4  3.3998e-05
  5  4.51922e-06
  6  0.000107818
  7  0.000326228
  8  13.4268
  9  5.97478
  10  7.78943e-05
  11  0.00511075
  12  15.5655
  13  44.7534
  14  1.97532
  15  7.83658
  16  0.000190679
  17  3.47464
  18  7.24806
  19  0.000130635
  20  0.280748
  21  0.243565
Done.

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

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  5.419e+01  4.475e+01  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:  7.786e-01  2.436e-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.149e+00  2.807e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.15
Ra Dec: 23.031 -9.939
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 8.62e-08 +/- 7.12e-08
Energy Flux (Fixed Index): 1.98e-05 +/- 1.64e-05

TS (Fixed Index): 2.15
Ra Dec: 23.031 -9.939
Photon Flux Upper Limit: 2.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/621736/likelihoodResults_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.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) = 4318.57096317
delta logL = 1.73488070575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4318.51778245
delta logL = 1.78806142628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.434       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87713       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.

 FCN=   4318.518     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      284 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.467        13.727        .23980E-02   -.15655E-03
   2  alpha         5.0000        3.5729        .46268    ** at limit **
   3  Normalizat    1.0027        .23917        .46201E-01   -.26058E-04
   4  Prefactor     .87711        .21620        .44713E-01   -.85210E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 17.4673
  alpha      = 5
  Normalizat = 1.00271
  Prefactor  = 0.877111
 **********
 **   18 **HESSE 
 **********

 FCN=   4318.518     FROM HESSE     STATUS=OK            35 CALLS      319 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.467        12.461        .95921E-04   -1.4872    
   2  alpha         5.0000        3.3375        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0027        .27491        .27695E-03   -.92940    
   4  Prefactor     .87711        .24736        .27485E-03   -.96946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99871e-11
Minuit parameter uncertainties:
  1  12.4631
  2  9.08203e-07
  3  0.275295
  4  0.247672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/621736': 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) = 4318.51777336
delta logL = 1.78807052204

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.747e+01  1.246e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  5.000e+00  9.082e-07  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.771e-01  2.477e-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.003e+00  2.753e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.22
Ra Dec: 23.031 -9.939
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 2.20e-07 +/- 1.56e-07
Energy Flux (Free Index): 3.04e-05 +/- 2.17e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/621736/cmap_HighResolution_512784001_513043201_4FGL_J0132.1-0956_daily_bin1055.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.17e-05', comment='SUCCESS', photon_flux='8.62e-08', energy_flux2='3.04e-05', photon_flux_error='7.12e-08', dlogl='1.79e+00', energy_flux='1.98e-05', photon_flux2='2.20e-07', job_status='DONE', time_completed='2021-08-14 03:31:41.137103', photon_index_error2='0.00', photon_index2='5.00', ts='2.15', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='2.25e-07', energy_flux_error2='2.17e-05', EG='1.15', time_epoch_completed='1628937101.14', return_code='0', job_id='621736', GAL2='0.88', EG2='1.00', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='1.56e-07', ts2='6.22', photon_index='2.70' WHERE bin_id='1055' AND source_name='4FGL J0132.1-0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 03:31:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 621736: <4FGL_J0132.1-0956_daily_bin1055> in cluster <slac> Done

Job <4FGL_J0132.1-0956_daily_bin1055> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 03:15:29 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 03:15:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 03:15:45 2021
Terminated at Sat Aug 14 03:31:46 2021
Results reported at Sat Aug 14 03:31:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0132.1-0956_daily_bin1055 23.0306 -9.9386 512784001 513043201 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 :                                   702.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   961 sec.
    Turnaround time :                            977 sec.

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

