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


Performing analysis on: 4FGL_J0132.1-0956_daily_bin1203
RA = 23.0306, Dec = -9.9386
tmin = 551145601, tmax = 551404801
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='623214', job_status='RUN', time_executed='2021-08-14 03:25:49.845621', time_epoch_executed='1628936749.85' WHERE source_name='4FGL J0132.1-0956' and cadence='daily' and bin_id='1203'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/623214

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/623214/ft1_4FGL_J0132.1-0956_daily_bin1203.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/623214/ft2_4FGL_J0132.1-0956_daily_bin1203.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/623214/ft1_4FGL_J0132.1-0956_daily_bin1203.fits outfile=/scratch/kocevski/623214/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1203.fits ra=23.0306 dec=-9.9386 rad=12.0 tmin=551145601.0 tmax=551404801.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.01
user 3.42
sys 1.57

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/623214/ft1_filtered_4FGL_J0132.1-0956_daily_bin1203.fits" evtable="EVENTS" scfile=/scratch/kocevski/623214/ft2_4FGL_J0132.1-0956_daily_bin1203.fits sctable="SC_DATA" outfile=/scratch/kocevski/623214/ltcube_551145601_551404801_4FGL_J0132.1-0956_daily_bin1203.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/623214/ft2_4FGL_J0132.1-0956_daily_bin1203.fits
.....................!
real 15.12
user 12.69
sys 2.05

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/623214/ft1_filtered_4FGL_J0132.1-0956_daily_bin1203.fits evtable="EVENTS" scfile=/scratch/kocevski/623214/ft2_4FGL_J0132.1-0956_daily_bin1203.fits sctable="SC_DATA" expcube=/scratch/kocevski/623214/ltcube_551145601_551404801_4FGL_J0132.1-0956_daily_bin1203.fits outfile=/scratch/kocevski/623214/expmap_551145601_551404801_4FGL_J0132.1-0956_daily_bin1203.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/623214/ltcube_551145601_551404801_4FGL_J0132.1-0956_daily_bin1203.fits
.....................!
real 194.82
user 186.20
sys 7.10

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/623214/ft1_filtered_4FGL_J0132.1-0956_daily_bin1203.fits scfile=/scratch/kocevski/623214/ft2_4FGL_J0132.1-0956_daily_bin1203.fits outfile=/scratch/kocevski/623214/cmap_551145601_551404801_4FGL_J0132.1-0956_daily_bin1203.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 7.52
user 0.38
sys 1.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/623214/ft1_filtered_4FGL_J0132.1-0956_daily_bin1203.fits scfile=/scratch/kocevski/623214/ft2_4FGL_J0132.1-0956_daily_bin1203.fits outfile=/scratch/kocevski/623214/cmap_HighResolution_551145601_551404801_4FGL_J0132.1-0956_daily_bin1203.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 4.17
user 0.39
sys 1.62

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/623214/ft1_filtered_4FGL_J0132.1-0956_daily_bin1203.fits evtable="EVENTS" scfile=/scratch/kocevski/623214/ft2_4FGL_J0132.1-0956_daily_bin1203.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/623214/Model_4FGL_J0132.1-0956_daily_bin1203.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/623214/ft1_filtered_4FGL_J0132.1-0956_daily_bin1203.fits.....................!
real 42.10
user 28.92
sys 3.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    11.531       1.0000         .10000E-03   10000.    
     3 'norm      '    6.8510       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10433E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.216       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.473       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    62.508       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.3085       1.0000         .10000E-03   10000.    
    16 'Prefactor '    74.795       1.0000         .10000E-03   10000.    
    17 'norm      '    9.8738       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .56001       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .85751       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0105       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=   2026.448     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2194 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0841       -.49947E-06** at limit **
   2  norm          11.529        9.1403        .20703E-06    .99618E-04
   3  norm          6.8498        10.690       -.18421E-08    .69273E-04
   4  Prefactor     .10000E-03    54.714       -.69645E-06** at limit **
   5  Prefactor     .10000E-03    153.75       -.70903E-06** at limit **
   6  Prefactor     38.206        59.601        .47343E-06    .21029E-04
   7  Prefactor     18.434        46.657        .80329E-06   -.28608E-05
   8  Prefactor     .10000E-03    3.1576       -.46594E-06** at limit **
   9  Prefactor     .10000E-03    6.5670        .98829E-07** at limit **
  10  Prefactor     .10000E-03    84.974       -.27633E-06** at limit **
  11  Prefactor     62.532        80.364        .16223E-05    .20140E-04
  12  Prefactor     .10000E-03    7.9181        .54179E-06** at limit **
  13  norm          .10000E-03    20.416        .44545E-06** at limit **
  14  norm          .10000E-03    2.9724       -.15143E-06** at limit **
  15  norm          5.3074        7.7069        .16496E-06    .75589E-04
  16  Prefactor     75.044        225.71        .79932E-05    .26782E-04
  17  norm          9.8753        17.465        .23969E-06    .13017E-04
  18  Prefactor     .56588        17.718       -.22992E-05    .13305E-03
  19  Prefactor     .10000E-03    16.983       -.37591E-07** at limit **
  20  Normalizat    .85617        .38726       -.11265E-04    .93462E-05
  21  Prefactor     1.0116        .32043        .76817E-05   -.31181E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 11.5287
  norm       = 6.84977
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.2058
  Prefactor  = 18.4336
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 62.5317
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.30741
  Prefactor  = 75.0442
  norm       = 9.87527
  Prefactor  = 0.565879
  Prefactor  = 0.0001
  Normalizat = 0.856166
  Prefactor  = 1.01161
 **********
 **   18 **HESSE 
 **********

 FCN=   2026.448     FROM HESSE     STATUS=OK           317 CALLS     2511 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1186        .77317E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.529        9.1396        .11068E-03   -1.5029    
   3  norm          6.8498        10.643        .15329E-03   -1.5184    
   4  Prefactor     .10000E-03    54.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    154.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.206        59.531        .64835E-04   -1.4471    
   7  Prefactor     18.434        46.747        .93186E-04   -1.4849    
   8  Prefactor     .10000E-03    3.1781        .78268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.5955        .11261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    85.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     62.532        80.450        .50754E-04   -1.4125    
  12  Prefactor     .10000E-03    7.9541        .12393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    20.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.9837        .75802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3074        7.7066        .14606E-03   -1.5247    
  16  Prefactor     75.044        228.15        .23213E-03   -1.3973    
  17  norm          9.8753        17.450        .12752E-03   -1.5079    
  18  Prefactor     .56588        42.632        .34667E-02   -1.5558    
  19  Prefactor     .10000E-03    16.984        .18124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85617        .39160        .29018E-03   -.98018    
  21  Prefactor     1.0116        .32358        .23148E-03   -.92343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.19426e-10
Minuit parameter uncertainties:
  1  2.31235e-05
  2  9.14068
  3  10.6461
  4  0.000141912
  5  0.000276257
  6  59.6234
  7  46.8405
  8  2.07325e-05
  9  1.56295e-05
  10  8.52584e-05
  11  80.5907
  12  4.58458e-05
  13  6.28049e-05
  14  5.38264e-06
  15  7.70803
  16  230.897
  17  17.4588
  18  9.82972
  19  1.0203e-06
  20  0.392903
  21  0.324201
Done.

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

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  6.280e-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.012e+00  3.242e-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:  8.562e-01  3.929e-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: 1.64e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.78e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/623214/likelihoodResults_551145601_551404801_4FGL_J0132.1-0956_daily_bin1203.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) = 2026.44805132
delta logL = -0.000231819303963

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2026.44782831
delta logL = -8.80661923475e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11684E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    .45241       1.0000          .0000       5.0000    
     3 'Normalizat'    .85622       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0116       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=   2026.448     FROM MIGRAD    STATUS=CONVERGED    128 CALLS      271 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    81.976        .79822E-01** at limit **
   2  alpha         5.0000        2.8003        .20000       -.27001E-07
   3  Normalizat    .85617        .23649E-01    .29020E-03    .61069E-03
   4  Prefactor     1.0116        .20404E-01    .23148E-03    .75257E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  alpha      = 4.99998
  Normalizat = 0.856168
  Prefactor  = 1.01162
 **********
 **   18 **HESSE 
 **********

 FCN=   2026.448     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    64.655        .27971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.8344        .80000E-02    1.5667    
   3  Normalizat    .85617        .36559        .58040E-04   -.98018    
   4  Prefactor     1.0116        .31673        .46296E-04   -.92343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87621e-09
Minuit parameter uncertainties:
  1  0.00113226
  2  3.96776
  3  0.366647
  4  0.317312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/623214': 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) = 2026.44781782
delta logL = 1.67852158484e-06

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  1.132e-03  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  5.000e+00  3.968e+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.012e+00  3.173e-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:  8.562e-01  3.666e-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/623214/cmap_HighResolution_551145601_551404801_4FGL_J0132.1-0956_daily_bin1203.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-05', job_status='DONE', photon_flux_upper_limit='1.64e-07', time_completed='2021-08-14 03:33:37.585713', job_id='623214', GAL2='1.01', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1628937217.59', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.68e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1203' AND source_name='4FGL J0132.1-0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 03:33:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 623214: <4FGL_J0132.1-0956_daily_bin1203> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0132.1-0956_daily_bin1203 23.0306 -9.9386 551145601 551404801 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 :                                   463.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            727 sec.

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

