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


Performing analysis on: 4FGL_J0132.7-1654_daily_bin1424
RA = 23.176, Dec = -16.9103
tmin = 608428801, tmax = 608688001
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='633149', job_status='RUN', time_executed='2021-08-14 03:56:39.726687', time_epoch_executed='1628938599.73' WHERE source_name='4FGL J0132.7-1654' and cadence='daily' and bin_id='1424'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/633149

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/633149/ft1_4FGL_J0132.7-1654_daily_bin1424.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/633149/ft2_4FGL_J0132.7-1654_daily_bin1424.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/633149/ft1_4FGL_J0132.7-1654_daily_bin1424.fits outfile=/scratch/kocevski/633149/ft1_filteredMKT_4FGL_J0132.7-1654_daily_bin1424.fits ra=23.176 dec=-16.9103 rad=12.0 tmin=608428801.0 tmax=608688001.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 6.31
user 4.70
sys 1.12

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/633149/ft2_4FGL_J0132.7-1654_daily_bin1424.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/633149/ft1_filteredMKT_4FGL_J0132.7-1654_daily_bin1424.fits evtable="EVENTS" outfile="/scratch/kocevski/633149/ft1_filtered_4FGL_J0132.7-1654_daily_bin1424.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 3.85
user 0.32
sys 1.05

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/633149/ft1_filtered_4FGL_J0132.7-1654_daily_bin1424.fits" evtable="EVENTS" scfile=/scratch/kocevski/633149/ft2_4FGL_J0132.7-1654_daily_bin1424.fits sctable="SC_DATA" outfile=/scratch/kocevski/633149/ltcube_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.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/633149/ft2_4FGL_J0132.7-1654_daily_bin1424.fits
.....................!
real 16.85
user 11.89
sys 1.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/633149/ft1_filtered_4FGL_J0132.7-1654_daily_bin1424.fits evtable="EVENTS" scfile=/scratch/kocevski/633149/ft2_4FGL_J0132.7-1654_daily_bin1424.fits sctable="SC_DATA" expcube=/scratch/kocevski/633149/ltcube_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.fits outfile=/scratch/kocevski/633149/expmap_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.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/633149/ltcube_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.fits
.....................!
real 196.58
user 186.38
sys 5.95

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/633149/ft1_filtered_4FGL_J0132.7-1654_daily_bin1424.fits scfile=/scratch/kocevski/633149/ft2_4FGL_J0132.7-1654_daily_bin1424.fits outfile=/scratch/kocevski/633149/cmap_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.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.43
user 0.37
sys 1.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/633149/ft1_filtered_4FGL_J0132.7-1654_daily_bin1424.fits scfile=/scratch/kocevski/633149/ft2_4FGL_J0132.7-1654_daily_bin1424.fits outfile=/scratch/kocevski/633149/cmap_HighResolution_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.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.58
user 0.40
sys 1.00

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/633149/ft1_filtered_4FGL_J0132.7-1654_daily_bin1424.fits evtable="EVENTS" scfile=/scratch/kocevski/633149/ft2_4FGL_J0132.7-1654_daily_bin1424.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/633149/Model_4FGL_J0132.7-1654_daily_bin1424.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/633149/ft1_filtered_4FGL_J0132.7-1654_daily_bin1424.fits.....................!
real 42.93
user 37.43
sys 2.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/633149/ft1_filtered_4FGL_J0132.7-1654_daily_bin1424.fits', '/scratch/kocevski/633149/ft2_4FGL_J0132.7-1654_daily_bin1424.fits', expMap='/scratch/kocevski/633149/expmap_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.fits', expCube='/scratch/kocevski/633149/ltcube_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/633149/Model_4FGL_J0132.7-1654_daily_bin1424.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/633149/ft1_filtered_4FGL_J0132.7-1654_daily_bin1424.fits
Spacecraft file(s): /scratch/kocevski/633149/ft2_4FGL_J0132.7-1654_daily_bin1424.fits
Exposure map: /scratch/kocevski/633149/expmap_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.fits
Exposure cube: /scratch/kocevski/633149/ltcube_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/633149/Model_4FGL_J0132.7-1654_daily_bin1424.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) = 3686.05608578

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11157E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.317       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11087E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    20.818       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.0657       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15272E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.386       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.890       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.364       1.0000         .10000E-03   10000.    
    10 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1740       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3758       1.0000         .10000E-03   10000.    
    15 'norm      '    .23796E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    .93184       1.0000         .10000E-03   10000.    
    17 'norm      '    3.6278       1.0000         .10000E-03   10000.    
    18 'norm      '    4.6768       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11331E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10293E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .18486E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    16.070       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0049       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0332       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3686.046     FROM MIGRAD    STATUS=CONVERGED   1164 CALLS     3820 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    97.555        .18142E-02** at limit **
   2  Prefactor     22.318        24.768        .84788E-04    .50013E-04
   3  Prefactor     .10000E-03    50.984        .18142E-02** at limit **
   4  norm          20.819        19.778        .87785E-04   -.25448E-04
   5  Prefactor     6.0696        9.7415        .81511E-03    .94250E-04
   6  Prefactor     .10029E-03    92.860        .45741E-02** at limit **
   7  Prefactor     14.388        6.8611        .10414E-03    .14023E-03
   8  Prefactor     26.897        15.024        .77255E-04    .74992E-04
   9  Prefactor     23.360        37.489        .82869E-04    .24077E-04
  10  norm          .10000E-03    1.1385        .63112E-03** at limit **
  11  norm          1.1795        3.4618        .18410E-03    .44144E-03
  12  Prefactor     .10000E-03    4.4534        .12503E-02** at limit **
  13  Prefactor     .10000E-03    13.072        .18142E-02** at limit **
  14  Prefactor     3.3778        4.8555        .15166E-03    .13200E-03
  15  norm          .10009E-03    223.35        .52579E-02** at limit **
  16  norm          .93165        1.3421        .88679E-03    .40972E-03
  17  norm          3.6278        2.9227        .88341E-04   -.32752E-04
  18  norm          4.6774        8.7384        .18609E-03    .16669E-03
  19  Prefactor     .10000E-03    34.101        .18142E-02** at limit **
  20  norm          .10000E-03    2.1770        .86691E-03** at limit **
  21  Prefactor     .10000E-03    21.248        .18142E-02** at limit **
  22  norm          .10000E-03    3.8567        .17887E-02** at limit **
  23  Prefactor     .10000E-03    4.6410        .12671E-02** at limit **
  24  Prefactor     16.095        26.913        .99910E-04    .30723E-05
  25  Prefactor     .10000E-03    8.5819        .17365E-02** at limit **
  26  Normalizat    1.0048        .27551        .25387E-03    .33091E-03
  27  Prefactor     1.0332        .28426        .27061E-03    .29694E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 22.3184
  Prefactor  = 0.0001
  norm       = 20.8188
  Prefactor  = 6.0696
  Prefactor  = 0.000100289
  Prefactor  = 14.3879
  Prefactor  = 26.8965
  Prefactor  = 23.3603
  norm       = 0.0001
  norm       = 1.17948
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.37776
  norm       = 0.000100094
  norm       = 0.931645
  norm       = 3.62776
  norm       = 4.67743
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0946
  Prefactor  = 0.0001
  Normalizat = 1.00479
  Prefactor  = 1.03316
 **********
 **   18 **HESSE 
 **********

 FCN=   3686.046     FROM HESSE     STATUS=OK           464 CALLS     4284 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    97.556        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.318        24.766        .33915E-05   -1.4763    
   3  Prefactor     .10000E-03    50.987        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          20.819        19.778        .35114E-05   -1.4795    
   5  Prefactor     6.0696        9.7317        .32604E-04   -1.5215    
   6  Prefactor     .10029E-03    94.121        .91481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.388        6.8609        .41656E-05   -1.4949    
   8  Prefactor     26.897        15.023        .15451E-04   -1.4670    
   9  Prefactor     23.360        37.490        .33147E-05   -1.4741    
  10  norm          .10000E-03    1.1385        .12622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1795        3.4592        .73641E-05   -1.5491    
  12  Prefactor     .10000E-03    4.4535        .25006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.073        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3778        4.8550        .60666E-05   -1.5340    
  15  norm          .10009E-03    228.78        .21031E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .93165        1.3413        .35472E-04   -1.5515    
  17  norm          3.6278        2.9225        .35336E-05   -1.5327    
  18  norm          4.6774        8.7323        .74435E-05   -1.5275    
  19  Prefactor     .10000E-03    34.101        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.1773        .17338E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    21.248        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.8638        .35774E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.6423        .25343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     16.095        26.910        .39964E-05   -1.4905    
  25  Prefactor     .10000E-03    8.5822        .34730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0048        .27556        .50774E-04   -.92870    
  27  Prefactor     1.0332        .28444        .54122E-04   -.91632    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88272e-09
Minuit parameter uncertainties:
  1  8.78228e-05
  2  24.7776
  3  8.81175e-05
  4  19.7843
  5  9.73419
  6  0.0104449
  7  6.86129
  8  15.0255
  9  37.5279
  10  8.6676e-06
  11  3.45976
  12  1.72867e-06
  13  4.40464e-05
  14  4.8556
  15  0.00932761
  16  1.34139
  17  2.92265
  18  8.73464
  19  2.01298e-05
  20  3.77469e-06
  21  4.33797e-05
  22  4.34518e-05
  23  9.18442e-07
  24  26.9307
  25  4.09344e-06
  26  0.275953
  27  0.28486
Done.

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

Extracting fit parameters...

4FGL J0132.7-1654
   Spectrum: LogParabola
298         norm:  9.316e-01  1.341e+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

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.033e+00  2.849e-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:  1.005e+00  2.760e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.78
Ra Dec: 23.176 -16.910
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.29e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/633149/likelihoodResults_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.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) = 3685.96482329
delta logL = 0.0815018755297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3685.96083663
delta logL = 0.0854885319491

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90675       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0063       1.0000          .0000       5.0000    
     3 'Normalizat'    .97434       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0549       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=   3685.961     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      212 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90646        29.920        .12832E-01    .50114E-03
   2  alpha         3.0065        3.3681        .42272        .20055E-04
   3  Normalizat    .97424        .64183E-01    .45845E-01    .66636E-05
   4  Prefactor     1.0550        .66663E-01    .60635E-01    .56446E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.906457
  alpha      = 3.00651
  Normalizat = 0.974236
  Prefactor  = 1.05498
 **********
 **   18 **HESSE 
 **********

 FCN=   3685.961     FROM HESSE     STATUS=OK            35 CALLS      247 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90646        1.6690        .68612E-03   -1.5518    
   2  alpha         3.0065        1.9972        .27923E-01    .20402    
   3  Normalizat    .97424        .27328        .25735E-03   -.93899    
   4  Prefactor     1.0550        .28670        .26815E-03   -.90919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08061e-09
Minuit parameter uncertainties:
  1  1.66907
  2  2.33585
  3  0.273675
  4  0.287121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/633149': 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) = 3685.96083651
delta logL = 0.0854886599632

Extracting fit parameters...

4FGL J0132.7-1654
   Spectrum: LogParabola
298         norm:  9.065e-01  1.669e+00  1.000e-04  1.000e+04 ( 1.000e-11)
299        alpha:  3.007e+00  2.336e+00  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.055e+00  2.871e-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:  9.742e-01  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.78
Ra Dec: 23.176 -16.910

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/633149/cmap_HighResolution_608428801_608688001_4FGL_J0132.7-1654_daily_bin1424.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.29e-05', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-08-14 04:07:06.848967', job_id='633149', GAL2='1.05', fit_tolerance='1e-08', EG2='0.97', EG='1.00', time_epoch_completed='1628939226.85', return_code2='0', ts='0.78', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='8.55e-02', ts2='0.96', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1424' AND source_name='4FGL J0132.7-1654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 04:07:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 633149: <4FGL_J0132.7-1654_daily_bin1424> in cluster <slac> Done

Job <4FGL_J0132.7-1654_daily_bin1424> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 03:51:43 2021
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 03:53:52 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:53:52 2021
Terminated at Sat Aug 14 04:07:08 2021
Results reported at Sat Aug 14 04:07:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0132.7-1654_daily_bin1424 23.176 -16.9103 608428801 608688001 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 :                                   617.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            925 sec.

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

