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


Performing analysis on: 4FGL_J0132.1-0956_daily_bin1145
RA = 23.0306, Dec = -9.9386
tmin = 536112001, tmax = 536371201
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='623150', job_status='RUN', time_executed='2021-08-14 03:22:39.641477', time_epoch_executed='1628936559.64' WHERE source_name='4FGL J0132.1-0956' and cadence='daily' and bin_id='1145'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/623150

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/623150/ft1_4FGL_J0132.1-0956_daily_bin1145.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/623150/ft2_4FGL_J0132.1-0956_daily_bin1145.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/623150/ft1_4FGL_J0132.1-0956_daily_bin1145.fits outfile=/scratch/kocevski/623150/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1145.fits ra=23.0306 dec=-9.9386 rad=12.0 tmin=536112001.0 tmax=536371201.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.59
user 3.40
sys 0.82

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/623150/ft1_filtered_4FGL_J0132.1-0956_daily_bin1145.fits" evtable="EVENTS" scfile=/scratch/kocevski/623150/ft2_4FGL_J0132.1-0956_daily_bin1145.fits sctable="SC_DATA" outfile=/scratch/kocevski/623150/ltcube_536112001_536371201_4FGL_J0132.1-0956_daily_bin1145.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/623150/ft2_4FGL_J0132.1-0956_daily_bin1145.fits
.....................!
real 14.90
user 13.36
sys 1.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/623150/ft1_filtered_4FGL_J0132.1-0956_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/623150/ft2_4FGL_J0132.1-0956_daily_bin1145.fits sctable="SC_DATA" expcube=/scratch/kocevski/623150/ltcube_536112001_536371201_4FGL_J0132.1-0956_daily_bin1145.fits outfile=/scratch/kocevski/623150/expmap_536112001_536371201_4FGL_J0132.1-0956_daily_bin1145.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/623150/ltcube_536112001_536371201_4FGL_J0132.1-0956_daily_bin1145.fits
.....................!
real 196.18
user 187.82
sys 6.44

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/623150/ft1_filtered_4FGL_J0132.1-0956_daily_bin1145.fits scfile=/scratch/kocevski/623150/ft2_4FGL_J0132.1-0956_daily_bin1145.fits outfile=/scratch/kocevski/623150/cmap_536112001_536371201_4FGL_J0132.1-0956_daily_bin1145.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 2.33
user 0.39
sys 0.72

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/623150/ft1_filtered_4FGL_J0132.1-0956_daily_bin1145.fits scfile=/scratch/kocevski/623150/ft2_4FGL_J0132.1-0956_daily_bin1145.fits outfile=/scratch/kocevski/623150/cmap_HighResolution_536112001_536371201_4FGL_J0132.1-0956_daily_bin1145.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 1.60
user 0.39
sys 0.73

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/623150/ft1_filtered_4FGL_J0132.1-0956_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/623150/ft2_4FGL_J0132.1-0956_daily_bin1145.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/623150/Model_4FGL_J0132.1-0956_daily_bin1145.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/623150/ft1_filtered_4FGL_J0132.1-0956_daily_bin1145.fits....................!
real 52.43
user 44.23
sys 2.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    5.8393       1.0000         .10000E-03   10000.    
     3 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.744       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.659       1.0000         .10000E-03   10000.    
     6 'Prefactor '    33.090       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12553E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3194       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.052       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8170       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.0718       1.0000         .10000E-03   10000.    
    15 'norm      '    50.235       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.532       1.0000         .10000E-03   10000.    
    17 'norm      '    3.0514       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.5675       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.1681       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .97453       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4251.053     FROM MIGRAD    STATUS=CONVERGED     65 CALLS     1785 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1448       -.43633E-06** at limit **
   2  norm          5.8393        1.0103       -.95130E-07   -.22188E-04
   3  norm          .10000E-03    3.4651        .22622E-06** at limit **
   4  Prefactor     14.746        1.1032        .33642E-06   -.85298E-03
   5  Prefactor     15.659        1.0098        .97599E-07   -.27982E-03
   6  Prefactor     33.093        1.2997        .40680E-06   -.27298E-02
   7  Prefactor     .10000E-03    54.147       -.16326E-05** at limit **
   8  Prefactor     3.3158        6.1300       -.10172E-04    .30450E-03
   9  Prefactor     .10000E-03    2.0514        .47724E-06** at limit **
  10  Prefactor     14.053        1.0651        .27066E-06   -.62026E-03
  11  Prefactor     2.8132        1.4225       -.16921E-05    .87881E-03
  12  Prefactor     .10000E-03    4.0934        .50435E-07** at limit **
  13  norm          .10000E-03    16.608       -.10538E-06** at limit **
  14  norm          5.0719        2.2152       -.79721E-07    .58620E-04
  15  norm          50.231        1.2718        .32422E-06   -.18392E-02
  16  Prefactor     15.535        1.5957        .92099E-06   -.28599E-02
  17  norm          3.0520        3.1339       -.11965E-06   -.34187E-04
  18  Prefactor     7.5690        3.2668        .35077E-05    .26956E-02
  19  Prefactor     9.1714        1.1629        .54389E-06   -.30802E-03
  20  Normalizat    .97429        .24971        .16922E-05    .14642E-04
  21  Prefactor     .84591        .23233        .57978E-06    .18715E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.83927
  norm       = 0.0001
  Prefactor  = 14.7463
  Prefactor  = 15.6594
  Prefactor  = 33.093
  Prefactor  = 0.000100003
  Prefactor  = 3.31583
  Prefactor  = 0.0001
  Prefactor  = 14.0535
  Prefactor  = 2.81316
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.0719
  norm       = 50.2313
  Prefactor  = 15.5354
  norm       = 3.05197
  Prefactor  = 7.56898
  Prefactor  = 9.17144
  Normalizat = 0.974286
  Prefactor  = 0.845915
 **********
 **   18 **HESSE 
 **********

 FCN=   4251.053     FROM HESSE     STATUS=OK           363 CALLS     2148 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1425        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.8393        4.4653        .41549E-02   -1.5225    
   3  norm          .10000E-03    3.4175        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.746        23.556        .26077E-02   -1.4940    
   5  Prefactor     15.659        30.440        .25304E-02   -1.4916    
   6  Prefactor     33.093        28.530        .17415E-02   -1.4557    
   7  Prefactor     .10000E-03    54.004        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.3158        7.5432        .55545E-02   -1.5344    
   9  Prefactor     .10000E-03    2.0368        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.053        22.626        .26713E-02   -1.4958    
  11  Prefactor     2.8132        100.43        .60584E-02   -1.5373    
  12  Prefactor     .10000E-03    4.0851        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    16.593        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.0719        2.2282        .44635E-02   -1.5258    
  15  norm          50.231        13.295        .14145E-02   -1.4289    
  16  Prefactor     15.535        304.06        .25407E-02   -1.4919    
  17  norm          3.0520        3.1621        .58063E-02   -1.5359    
  18  Prefactor     7.5690        6.1235        .36445E-02   -1.5158    
  19  Prefactor     9.1714        19.287        .33091E-02   -1.5102    
  20  Normalizat    .97429        .23795        .45847E-01   -.93897    
  21  Prefactor     .84591        .20570        .44309E-01   -.98057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06439e-06
Minuit parameter uncertainties:
  1  1.48362e-06
  2  4.46556
  3  1.05244e-06
  4  23.5708
  5  30.4702
  6  28.5418
  7  0.000829218
  8  7.54535
  9  1.69683e-06
  10  22.6398
  11  33.6785
  12  4.22535e-06
  13  7.47737e-06
  14  2.22824
  15  13.2959
  16  138.274
  17  3.1623
  18  6.12402
  19  19.2999
  20  0.238207
  21  0.205891
Done.

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

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  7.477e-06  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:  8.459e-01  2.059e-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:  9.743e-01  2.382e-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.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.38e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/623150/likelihoodResults_536112001_536371201_4FGL_J0132.1-0956_daily_bin1145.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) = 4251.05302422
delta logL = -0.000286736087219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4251.05273768
delta logL = -2.00541762752e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10394E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7060       1.0000          .0000       5.0000    
     3 'Normalizat'    .97432       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84592       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=   4251.053     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      188 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    16.892        .90712E-02** at limit **
   2  alpha         2.6858        3.5976        .41330        .61706E-05
   3  Normalizat    .97429        .21204        .45844E-01    .20033E-04
   4  Prefactor     .84591        .20201        .44312E-01    .19324E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.68579
  Normalizat = 0.974286
  Prefactor  = 0.845915
 **********
 **   18 **HESSE 
 **********

 FCN=   4251.053     FROM HESSE     STATUS=OK            33 CALLS      221 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6858        3.5919        .50000        .74385E-01
   3  Normalizat    .97429        .24068        .26066E-03   -.93897    
   4  Prefactor     .84591        .22931        .26329E-03   -.98057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0691e-11
Minuit parameter uncertainties:
  1  5.72686e-05
  2  2.49392
  3  0.240952
  4  0.229573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/623150': 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) = 4251.05273746
delta logL = 2.67418727162e-08

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  5.727e-05  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.686e+00  2.494e+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:  8.459e-01  2.296e-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:  9.743e-01  2.410e-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/623150/cmap_HighResolution_536112001_536371201_4FGL_J0132.1-0956_daily_bin1145.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.38e-05', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-08-14 03:31:45.111624', job_id='623150', GAL2='0.85', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1628937105.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.67e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1145' AND source_name='4FGL J0132.1-0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 03:31:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 623150: <4FGL_J0132.1-0956_daily_bin1145> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0132.1-0956_daily_bin1145 23.0306 -9.9386 536112001 536371201 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 :                                   532.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            621 sec.

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

