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


Performing analysis on: 4FGL_J0132.7-1654_daily_bin1052
RA = 23.176, Dec = -16.9103
tmin = 512006401, tmax = 512265601
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='631184', job_status='RUN', time_executed='2021-08-14 03:49:36.615012', time_epoch_executed='1628938176.62' WHERE source_name='4FGL J0132.7-1654' and cadence='daily' and bin_id='1052'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631184

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631184/ft1_4FGL_J0132.7-1654_daily_bin1052.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631184/ft2_4FGL_J0132.7-1654_daily_bin1052.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631184/ft1_4FGL_J0132.7-1654_daily_bin1052.fits outfile=/scratch/kocevski/631184/ft1_filteredMKT_4FGL_J0132.7-1654_daily_bin1052.fits ra=23.176 dec=-16.9103 rad=12.0 tmin=512006401.0 tmax=512265601.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 4.39
user 3.28
sys 0.83

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/631184/ft2_4FGL_J0132.7-1654_daily_bin1052.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/631184/ft2_4FGL_J0132.7-1654_daily_bin1052.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/631184/ft1_filteredMKT_4FGL_J0132.7-1654_daily_bin1052.fits evtable="EVENTS" outfile="/scratch/kocevski/631184/ft1_filtered_4FGL_J0132.7-1654_daily_bin1052.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 1.14
user 0.34
sys 0.75

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631184/ft1_filtered_4FGL_J0132.7-1654_daily_bin1052.fits" evtable="EVENTS" scfile=/scratch/kocevski/631184/ft2_4FGL_J0132.7-1654_daily_bin1052.fits sctable="SC_DATA" outfile=/scratch/kocevski/631184/ltcube_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.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/631184/ft2_4FGL_J0132.7-1654_daily_bin1052.fits
.....................!
real 14.66
user 12.88
sys 1.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631184/ft1_filtered_4FGL_J0132.7-1654_daily_bin1052.fits evtable="EVENTS" scfile=/scratch/kocevski/631184/ft2_4FGL_J0132.7-1654_daily_bin1052.fits sctable="SC_DATA" expcube=/scratch/kocevski/631184/ltcube_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.fits outfile=/scratch/kocevski/631184/expmap_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.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/631184/ltcube_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.fits
.....................!
real 194.30
user 186.43
sys 6.09

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 J0132.7-1654 @ 23.176 -16.9103

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/631184/ft1_filtered_4FGL_J0132.7-1654_daily_bin1052.fits scfile=/scratch/kocevski/631184/ft2_4FGL_J0132.7-1654_daily_bin1052.fits outfile=/scratch/kocevski/631184/cmap_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.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.176 yref=-16.9103 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 1.20
user 0.37
sys 0.76

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631184/ft1_filtered_4FGL_J0132.7-1654_daily_bin1052.fits scfile=/scratch/kocevski/631184/ft2_4FGL_J0132.7-1654_daily_bin1052.fits outfile=/scratch/kocevski/631184/cmap_HighResolution_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.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.176 yref=-16.9103 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 1.16
user 0.38
sys 0.76

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/631184/ft1_filtered_4FGL_J0132.7-1654_daily_bin1052.fits evtable="EVENTS" scfile=/scratch/kocevski/631184/ft2_4FGL_J0132.7-1654_daily_bin1052.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/631184/Model_4FGL_J0132.7-1654_daily_bin1052.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/631184/ft1_filtered_4FGL_J0132.7-1654_daily_bin1052.fits.....................!
real 52.30
user 48.40
sys 2.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/631184/ft1_filtered_4FGL_J0132.7-1654_daily_bin1052.fits', '/scratch/kocevski/631184/ft2_4FGL_J0132.7-1654_daily_bin1052.fits', expMap='/scratch/kocevski/631184/expmap_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.fits', expCube='/scratch/kocevski/631184/ltcube_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/631184/Model_4FGL_J0132.7-1654_daily_bin1052.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0132.7-1654'

4FGL J0132.7-1654
   Spectrum: LogParabola
298         norm:  1.629e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
299        alpha:  2.269e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
300         beta:  6.074e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  4.847e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/631184/ft1_filtered_4FGL_J0132.7-1654_daily_bin1052.fits
Spacecraft file(s): /scratch/kocevski/631184/ft2_4FGL_J0132.7-1654_daily_bin1052.fits
Exposure map: /scratch/kocevski/631184/expmap_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.fits
Exposure cube: /scratch/kocevski/631184/ltcube_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/631184/Model_4FGL_J0132.7-1654_daily_bin1052.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) = 5076.91252183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    114.63       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    44.984       1.0000         .10000E-03   10000.    
     4 'norm      '    9.6388       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1779       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7822       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9553       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .19586E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.3806       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    24.248       1.0000         .10000E-03   10000.    
    16 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.3199       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.4462       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10645E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10815E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .75811       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2868       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5076.907     FROM MIGRAD    STATUS=CONVERGED    674 CALLS     3320 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     114.62        112.01        .17291E-05   -.54828E-05
   2  Prefactor     .10000E-03    17.815       -.16716E-06** at limit **
   3  Prefactor     44.982        38.602        .29291E-06   -.89582E-06
   4  norm          9.6393        10.894       -.34166E-07   -.58458E-05
   5  Prefactor     .10000E-03    2.7499        .62655E-07** at limit **
   6  Prefactor     3.1770        12.281        .54285E-05    .21103E-04
   7  Prefactor     1.7808        3.2938        .13269E-06   -.44054E-04
   8  Prefactor     3.9575        6.3339        .13351E-06   -.28810E-04
   9  Prefactor     .10000E-03    98.503        .23402E-06** at limit **
  10  norm          .10000E-03    1.0162       -.32267E-07** at limit **
  11  norm          .10000E-03    1.0610        .73588E-07** at limit **
  12  Prefactor     8.3747        13.397        .16378E-06   -.21405E-04
  13  Prefactor     .10000E-03    4.3582        .22032E-07** at limit **
  14  Prefactor     .10000E-03    1.1522        .14170E-07** at limit **
  15  norm          24.236        32.803        .11850E-05   -.14496E-04
  16  norm          .10000E-03    .70706        .12799E-06** at limit **
  17  norm          .10000E-03    1.1411        .18897E-06** at limit **
  18  norm          3.3193        4.7007        .19255E-06   -.19872E-04
  19  Prefactor     .10000E-03    40.225       -.14969E-05** at limit **
  20  norm          .10000E-03    1.0666        .18554E-07** at limit **
  21  Prefactor     .10000E-03    40.983       -.24613E-05** at limit **
  22  norm          4.4468        2.5197        .75103E-07   -.22479E-04
  23  Prefactor     .10002E-03    2.5180       -.58268E-06** at limit **
  24  Prefactor     .10000E-03    35.568        .25328E-05** at limit **
  25  Prefactor     .10000E-03    14.487        .41368E-07** at limit **
  26  Normalizat    .75811        .18275       -.94501E-06   -.10893E-03
  27  Prefactor     1.2868        .19961       -.56392E-06   -.14484E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 114.616
  Prefactor  = 0.0001
  Prefactor  = 44.9822
  norm       = 9.6393
  Prefactor  = 0.0001
  Prefactor  = 3.17701
  Prefactor  = 1.78077
  Prefactor  = 3.95748
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 8.37474
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.2363
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.31928
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.44682
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.758106
  Prefactor  = 1.28679
 **********
 **   18 **HESSE 
 **********

 FCN=   5076.907     FROM HESSE     STATUS=OK           484 CALLS     3804 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     114.62        112.40        .37577E-04   -1.3563    
   2  Prefactor     .10000E-03    17.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     44.982        38.616        .59778E-04   -1.4366    
   4  norm          9.6393        10.893        .12908E-03   -1.5087    
   5  Prefactor     .10000E-03    2.7746        .11542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1770        12.323        .11366E-02   -1.5351    
   7  Prefactor     1.7808        3.2640        .16774E-03   -1.5441    
   8  Prefactor     3.9575        6.2396        .20282E-03   -1.5310    
   9  Prefactor     .10000E-03    98.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.0272        .13839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.0937        .14339E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.3747        13.391        .13848E-03   -1.5129    
  13  Prefactor     .10000E-03    4.3652        .14527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.1574        .74666E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          24.236        32.758        .81348E-04   -1.4723    
  16  norm          .10000E-03    1.0976        .11530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.9860        .14677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.3193        4.6842        .17526E-03   -1.5344    
  19  Prefactor     .10000E-03    40.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.0794        .71842E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    41.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.4468        2.5188        .80568E-04   -1.5286    
  23  Prefactor     .10002E-03    18.208        .20838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    36.356        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    14.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .75811        .21297        .25676E-03   -1.0164    
  27  Prefactor     1.2868        .23703        .23077E-03   -.83701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.07178e-10
Minuit parameter uncertainties:
  1  112.608
  2  1.62943e-05
  3  38.637
  4  10.8956
  5  9.75225e-07
  6  12.3323
  7  3.26436
  8  6.2406
  9  0.000305551
  10  2.84777e-06
  11  8.358e-07
  12  13.3959
  13  1.54757e-06
  14  6.37743e-07
  15  32.7819
  16  7.45205e-06
  17  7.99527e-06
  18  4.68475
  19  1.46579e-05
  20  1.34607e-06
  21  4.55438e-05
  22  2.51883
  23  0.00106537
  24  0.000247517
  25  1.71149e-05
  26  0.2132
  27  0.237225
Done.

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

Extracting fit parameters...

4FGL J0132.7-1654
   Spectrum: LogParabola
298         norm:  1.000e-04  7.452e-06  1.000e-04  1.000e+04 ( 1.000e-11)
299        alpha:  2.269e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
300         beta:  6.074e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  4.847e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.287e+00  2.372e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  7.581e-01  2.132e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 23.176 -16.910
Photon Flux Upper Limit: 7.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/631184/likelihoodResults_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.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) = 5076.91152913
delta logL = -0.0043463511156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5076.90718311
delta logL = -3.34373908117e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11181E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3226       1.0000          .0000       5.0000    
     3 'Normalizat'    .75836       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2866       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5075.393     FROM MIGRAD    STATUS=CONVERGED    129 CALLS      287 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12980        .92597E-01    .38007E-02   -.29413E-03
   2  alpha         5.0000        .72349        .41283    ** at limit **
   3  Normalizat    .63522        .18151        .63000E-01    .26220E-05
   4  Prefactor     1.3793        .20123        .50679E-01   -.20316E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.1298
  alpha      = 5
  Normalizat = 0.635219
  Prefactor  = 1.37935
 **********
 **   18 **HESSE 
 **********

 FCN=   5075.393     FROM HESSE     STATUS=OK            29 CALLS      316 TOTAL
                     EDM=   .67E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12980        .92451E-01    .17202E-04   -1.5780    
   2  alpha         5.0000        3.0890        .53151E-01    20.420    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .63522        .21555        .27871E-03   -1.0651    
   4  Prefactor     1.3793        .24107        .22404E-03   -.80977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.70631e-12
Minuit parameter uncertainties:
  1  0.0924515
  2  2.05233e-07
  3  0.215839
  4  0.241265
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631184': 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) = 5075.39259632
delta logL = 1.51458645554

Extracting fit parameters...

4FGL J0132.7-1654
   Spectrum: LogParabola
298         norm:  1.298e-01  9.245e-02  1.000e-04  1.000e+04 ( 1.000e-11)
299        alpha:  5.000e+00  2.052e-07  0.000e+00  5.000e+00 ( 1.000e+00)
300         beta:  6.074e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  4.847e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.379e+00  2.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  6.352e-01  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.33
Ra Dec: 23.176 -16.910
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.82e-08 +/- 5.54e-08
Energy Flux (Free Index): 1.05e-05 +/- 7.46e-06

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/631184/cmap_HighResolution_512006401_512265601_4FGL_J0132.7-1654_daily_bin1052.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.48e-05', comment='SUCCESS', energy_flux2='1.05e-05', dlogl='1.51e+00', photon_flux2='7.82e-08', job_status='DONE', time_completed='2021-08-14 04:01:06.439822', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='7.04e-08', energy_flux_error2='7.46e-06', EG='0.76', time_epoch_completed='1628938866.44', return_code='0', job_id='631184', GAL2='1.38', EG2='0.64', return_code2='0', photon_flux_error2='5.54e-08', ts2='3.33', photon_index='2.27' WHERE bin_id='1052' AND source_name='4FGL J0132.7-1654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 04:01:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 631184: <4FGL_J0132.7-1654_daily_bin1052> in cluster <slac> Done

Job <4FGL_J0132.7-1654_daily_bin1052> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 03:45:26 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 03:47:58 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:47:58 2021
Terminated at Sat Aug 14 04:01:07 2021
Results reported at Sat Aug 14 04:01:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0132.7-1654_daily_bin1052 23.176 -16.9103 512006401 512265601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0132.7-1654 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   688.53 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            941 sec.

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

