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


Performing analysis on: 4FGL_J0132.1-0956_daily_bin1219
RA = 23.0306, Dec = -9.9386
tmin = 555292801, tmax = 555552001
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='623237', job_status='RUN', time_executed='2021-08-14 03:26:28.543041', time_epoch_executed='1628936788.54' WHERE source_name='4FGL J0132.1-0956' and cadence='daily' and bin_id='1219'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/623237

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/623237/ft1_4FGL_J0132.1-0956_daily_bin1219.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/623237/ft2_4FGL_J0132.1-0956_daily_bin1219.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/623237/ft1_4FGL_J0132.1-0956_daily_bin1219.fits outfile=/scratch/kocevski/623237/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1219.fits ra=23.0306 dec=-9.9386 rad=12.0 tmin=555292801.0 tmax=555552001.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 10.29
user 3.37
sys 5.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/623237/ft1_filtered_4FGL_J0132.1-0956_daily_bin1219.fits" evtable="EVENTS" scfile=/scratch/kocevski/623237/ft2_4FGL_J0132.1-0956_daily_bin1219.fits sctable="SC_DATA" outfile=/scratch/kocevski/623237/ltcube_555292801_555552001_4FGL_J0132.1-0956_daily_bin1219.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/623237/ft2_4FGL_J0132.1-0956_daily_bin1219.fits
.....................!
real 20.01
user 12.45
sys 6.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/623237/ft1_filtered_4FGL_J0132.1-0956_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/623237/ft2_4FGL_J0132.1-0956_daily_bin1219.fits sctable="SC_DATA" expcube=/scratch/kocevski/623237/ltcube_555292801_555552001_4FGL_J0132.1-0956_daily_bin1219.fits outfile=/scratch/kocevski/623237/expmap_555292801_555552001_4FGL_J0132.1-0956_daily_bin1219.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/623237/ltcube_555292801_555552001_4FGL_J0132.1-0956_daily_bin1219.fits
.....................!
real 208.23
user 185.93
sys 11.31

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/623237/ft1_filtered_4FGL_J0132.1-0956_daily_bin1219.fits scfile=/scratch/kocevski/623237/ft2_4FGL_J0132.1-0956_daily_bin1219.fits outfile=/scratch/kocevski/623237/cmap_555292801_555552001_4FGL_J0132.1-0956_daily_bin1219.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.63
user 0.37
sys 5.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/623237/ft1_filtered_4FGL_J0132.1-0956_daily_bin1219.fits scfile=/scratch/kocevski/623237/ft2_4FGL_J0132.1-0956_daily_bin1219.fits outfile=/scratch/kocevski/623237/cmap_HighResolution_555292801_555552001_4FGL_J0132.1-0956_daily_bin1219.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.79
user 0.38
sys 5.23

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/623237/ft1_filtered_4FGL_J0132.1-0956_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/623237/ft2_4FGL_J0132.1-0956_daily_bin1219.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/623237/Model_4FGL_J0132.1-0956_daily_bin1219.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/623237/ft1_filtered_4FGL_J0132.1-0956_daily_bin1219.fits.....................!
real 54.02
user 44.21
sys 7.88

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8899       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.8679       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .57985E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .92277E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13671E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.532       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10116E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.1859       1.0000         .10000E-03   10000.    
    15 'norm      '    .68771E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8185       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8840       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .74533       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0637       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=   4086.540     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2618 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8914        4.4192       -.35851E-06   -.28365E-03
   2  norm          .10000E-03    1.2213        .10747E-06** at limit **
   3  norm          2.8696        5.6240       -.31295E-05   -.10929E-03
   4  Prefactor     .10088E-03    26.845        .10906E-04** at limit **
   5  Prefactor     .10000E-03    16.252        .19951E-07** at limit **
   6  Prefactor     .10592E-03    38.165       -.57484E-05** at limit **
   7  Prefactor     .10000E-03    12.218       -.20258E-06** at limit **
   8  Prefactor     .10000E-03    3.7641       -.50231E-06** at limit **
   9  Prefactor     .10000E-03    2.0382       -.84980E-06** at limit **
  10  Prefactor     .10000E-03    19.634       -.13599E-06** at limit **
  11  Prefactor     33.522        38.041       -.23986E-05   -.55510E-04
  12  Prefactor     .10000E-03    8.3214       -.19506E-05** at limit **
  13  norm          .10000E-03    26.378       -.19320E-05** at limit **
  14  norm          3.1860        1.9507        .22595E-07    .29469E-03
  15  norm          .10019E-03    118.25       -.38810E-04** at limit **
  16  Prefactor     .10005E-03    139.15       -.17699E-04** at limit **
  17  norm          1.8199        4.7357       -.48406E-05    .18901E-03
  18  Prefactor     1.8838        4.1471       -.23553E-05    .16921E-03
  19  Prefactor     .10000E-03    6.6903        .12677E-06** at limit **
  20  Normalizat    .74513        .19107        .20780E-05    .41315E-03
  21  Prefactor     1.0638        .17747        .20510E-06    .45297E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.89143
  norm       = 0.0001
  norm       = 2.86965
  Prefactor  = 0.000100881
  Prefactor  = 0.0001
  Prefactor  = 0.000105918
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.522
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.18597
  norm       = 0.000100187
  Prefactor  = 0.00010005
  norm       = 1.81992
  Prefactor  = 1.88383
  Prefactor  = 0.0001
  Normalizat = 0.745126
  Prefactor  = 1.06376
 **********
 **   18 **HESSE 
 **********

 FCN=   4086.540     FROM HESSE     STATUS=OK           327 CALLS     2945 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8914        4.4063        .11357E-03   -1.5266    
   2  norm          .10000E-03    1.2291        .68982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.8696        5.6443        .19494E-03   -1.5369    
   4  Prefactor     .10088E-03    96.368        .49445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10592E-03    43.362        .94222E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.3520        .23916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.0549        .89081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.522        38.103        .69201E-04   -1.4549    
  12  Prefactor     .10000E-03    8.4553        .17998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    26.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1860        1.9521        .67458E-04   -1.5351    
  15  norm          .10019E-03    10.239        .50088E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10005E-03    142.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8199        4.7115        .21401E-03   -1.5438    
  18  Prefactor     1.8838        4.1070        .18622E-03   -1.5433    
  19  Prefactor     .10000E-03    6.6948        .16150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .74513        .21259        .26393E-03   -1.0214    
  21  Prefactor     1.0638        .19921        .21057E-03   -.90633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.65249e-09
Minuit parameter uncertainties:
  1  4.40656
  2  4.93222e-06
  3  5.6453
  4  0.0184538
  5  1.8671e-05
  6  0.0320618
  7  5.87138e-06
  8  6.18579e-05
  9  4.57668e-06
  10  2.72069e-05
  11  38.1308
  12  1.91081e-05
  13  3.42997e-05
  14  1.95217
  15  0.00277162
  16  0.00536123
  17  4.71246
  18  4.10763
  19  1.21391e-05
  20  0.212824
  21  0.199346
Done.

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

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  3.430e-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:  1.064e+00  1.993e-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:  7.451e-01  2.128e-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: 9.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/623237/likelihoodResults_555292801_555552001_4FGL_J0132.1-0956_daily_bin1219.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) = 4086.54025922
delta logL = -0.000179666921213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4086.54007977
delta logL = -2.12962277146e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10092E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6809       1.0000          .0000       5.0000    
     3 'Normalizat'    .74520       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0637       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=   4086.540     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      182 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    29.659        .90712E-02** at limit **
   2  alpha         2.7254        3.6277        .41289       -.87804E-05
   3  Normalizat    .74512        .18458        .42891E-01   -.65470E-04
   4  Prefactor     1.0638        .17415        .39165E-01   -.36573E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.72543
  Normalizat = 0.745123
  Prefactor  = 1.06376
 **********
 **   18 **HESSE 
 **********

 FCN=   4086.540     FROM HESSE     STATUS=OK            29 CALLS      211 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7254        3.6002        .16515        .90294E-01
   3  Normalizat    .74512        .20649        .26394E-03   -1.0214    
   4  Prefactor     1.0638        .19495        .21057E-03   -.90633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22602e-10
Minuit parameter uncertainties:
  1  0.00015721
  2  2.49238
  3  0.206706
  4  0.195083
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/623237': 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) = 4086.54007945
delta logL = 1.01334080682e-07

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  1.572e-04  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.725e+00  2.492e+00  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:  1.064e+00  1.951e-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:  7.451e-01  2.067e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/623237/cmap_HighResolution_555292801_555552001_4FGL_J0132.1-0956_daily_bin1219.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.19e-05', job_status='DONE', photon_flux_upper_limit='9.53e-08', time_completed='2021-08-14 03:37:08.445232', job_id='623237', GAL2='1.06', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1628937428.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.01e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1219' AND source_name='4FGL J0132.1-0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 03:37:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 623237: <4FGL_J0132.1-0956_daily_bin1219> in cluster <slac> Done

Job <4FGL_J0132.1-0956_daily_bin1219> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 03:21:34 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 03:22:30 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:22:30 2021
Terminated at Sat Aug 14 03:37:09 2021
Results reported at Sat Aug 14 03:37:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0132.1-0956_daily_bin1219 23.0306 -9.9386 555292801 555552001 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 :                                   693.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             245.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            935 sec.

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

