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


Performing analysis on: 4FGL_J0132.1-0956_daily_bin1138
RA = 23.0306, Dec = -9.9386
tmin = 534297601, tmax = 534556801
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='623143', job_status='RUN', time_executed='2021-08-14 03:23:38.759759', time_epoch_executed='1628936618.76' WHERE source_name='4FGL J0132.1-0956' and cadence='daily' and bin_id='1138'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/623143

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/623143/ft1_4FGL_J0132.1-0956_daily_bin1138.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/623143/ft2_4FGL_J0132.1-0956_daily_bin1138.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/623143/ft1_4FGL_J0132.1-0956_daily_bin1138.fits outfile=/scratch/kocevski/623143/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1138.fits ra=23.0306 dec=-9.9386 rad=12.0 tmin=534297601.0 tmax=534556801.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.61
user 3.29
sys 0.99

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/623143/ft2_4FGL_J0132.1-0956_daily_bin1138.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/623143/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1138.fits evtable="EVENTS" outfile="/scratch/kocevski/623143/ft1_filtered_4FGL_J0132.1-0956_daily_bin1138.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.11
user 0.32
sys 0.94

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/623143/ft1_filtered_4FGL_J0132.1-0956_daily_bin1138.fits" evtable="EVENTS" scfile=/scratch/kocevski/623143/ft2_4FGL_J0132.1-0956_daily_bin1138.fits sctable="SC_DATA" outfile=/scratch/kocevski/623143/ltcube_534297601_534556801_4FGL_J0132.1-0956_daily_bin1138.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/623143/ft2_4FGL_J0132.1-0956_daily_bin1138.fits
.....................!
real 14.33
user 12.64
sys 1.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/623143/ft1_filtered_4FGL_J0132.1-0956_daily_bin1138.fits evtable="EVENTS" scfile=/scratch/kocevski/623143/ft2_4FGL_J0132.1-0956_daily_bin1138.fits sctable="SC_DATA" expcube=/scratch/kocevski/623143/ltcube_534297601_534556801_4FGL_J0132.1-0956_daily_bin1138.fits outfile=/scratch/kocevski/623143/expmap_534297601_534556801_4FGL_J0132.1-0956_daily_bin1138.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/623143/ltcube_534297601_534556801_4FGL_J0132.1-0956_daily_bin1138.fits
.....................!
real 195.44
user 187.89
sys 5.58

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/623143/ft1_filtered_4FGL_J0132.1-0956_daily_bin1138.fits scfile=/scratch/kocevski/623143/ft2_4FGL_J0132.1-0956_daily_bin1138.fits outfile=/scratch/kocevski/623143/cmap_534297601_534556801_4FGL_J0132.1-0956_daily_bin1138.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 1.89
user 0.38
sys 0.90

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/623143/ft1_filtered_4FGL_J0132.1-0956_daily_bin1138.fits scfile=/scratch/kocevski/623143/ft2_4FGL_J0132.1-0956_daily_bin1138.fits outfile=/scratch/kocevski/623143/cmap_HighResolution_534297601_534556801_4FGL_J0132.1-0956_daily_bin1138.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 3.26
user 0.38
sys 0.90

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/623143/ft1_filtered_4FGL_J0132.1-0956_daily_bin1138.fits evtable="EVENTS" scfile=/scratch/kocevski/623143/ft2_4FGL_J0132.1-0956_daily_bin1138.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/623143/Model_4FGL_J0132.1-0956_daily_bin1138.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/623143/ft1_filtered_4FGL_J0132.1-0956_daily_bin1138.fits.....................!
real 66.47
user 56.50
sys 2.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4709       1.0000         .10000E-03   10000.    
     2 'norm      '    2.8579       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    62.915       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.534       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4577       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .91803E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.7607       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.008       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.5220       1.0000         .10000E-03   10000.    
    13 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.7116       1.0000         .10000E-03   10000.    
    15 'norm      '    14.052       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.0603       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8091       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .84005       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85508       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=   5828.897     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2180 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4711        2.1912        .12639E-06   -.10961E-04
   2  norm          2.8580        2.6324        .18177E-07    .13023E-06
   3  norm          .10000E-03    1.2450       -.73161E-07** at limit **
   4  Prefactor     .10000E-03    20.502       -.12668E-06** at limit **
   5  Prefactor     62.914        35.605       -.62938E-07   -.23137E-04
   6  Prefactor     .10000E-03    8.8202       -.13920E-06** at limit **
   7  Prefactor     30.522        52.197       -.27822E-05   -.61898E-04
   8  Prefactor     7.4616        10.070        .56864E-06    .32528E-04
   9  Prefactor     .10004E-03    1.4521        .53362E-07** at limit **
  10  Prefactor     4.7610        7.2097        .46058E-05   -.13879E-03
  11  Prefactor     26.968        36.442       -.51434E-05   -.32330E-03
  12  Prefactor     4.5228        4.9860        .21637E-06    .39497E-04
  13  norm          .10000E-03    19.049        .12513E-06** at limit **
  14  norm          1.7117        1.0894       -.71401E-07    .75222E-04
  15  norm          14.051        6.1923        .12552E-07    .25364E-04
  16  Prefactor     8.0636        95.129        .14377E-05    .10223E-04
  17  norm          .10000E-03    .92361        .66120E-07** at limit **
  18  Prefactor     2.8094        2.6891       -.17076E-06   -.76530E-05
  19  Prefactor     .10000E-03    15.817       -.18263E-06** at limit **
  20  Normalizat    .83997        .15991        .28812E-05   -.10039E-03
  21  Prefactor     .85510        .15168       -.15298E-05    .13053E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.47112
  norm       = 2.85797
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 62.9136
  Prefactor  = 0.0001
  Prefactor  = 30.5223
  Prefactor  = 7.4616
  Prefactor  = 0.000100036
  Prefactor  = 4.76095
  Prefactor  = 26.9682
  Prefactor  = 4.52279
  norm       = 0.0001
  norm       = 1.7117
  norm       = 14.0515
  Prefactor  = 8.06363
  norm       = 0.000100002
  Prefactor  = 2.80939
  Prefactor  = 0.0001
  Normalizat = 0.839974
  Prefactor  = 0.8551
 **********
 **   18 **HESSE 
 **********

 FCN=   5828.897     FROM HESSE     STATUS=OK           323 CALLS     2503 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4711        2.1614        .13354E-03   -1.5465    
   2  norm          2.8580        2.6307        .11390E-03   -1.5370    
   3  norm          .10000E-03    1.2477        .83184E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     62.914        35.572        .25295E-03   -1.4120    
   6  Prefactor     .10000E-03    8.8291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     30.522        51.851        .72509E-04   -1.4602    
   8  Prefactor     7.4616        9.9831        .14686E-03   -1.5162    
   9  Prefactor     .10004E-03    26.054        .17226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.7610        7.3820        .92202E-03   -1.5272    
  11  Prefactor     26.968        38.133        .77086E-04   -1.4669    
  12  Prefactor     4.5228        4.9883        .17276E-03   -1.5283    
  13  norm          .10000E-03    19.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7117        1.0919        .32129E-04   -1.5446    
  15  norm          14.051        6.1907        .10685E-03   -1.4958    
  16  Prefactor     8.0636        94.983        .14122E-03   -1.5140    
  17  norm          .10000E-03    3.2542        .14050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.8094        2.6918        .11779E-03   -1.5373    
  19  Prefactor     .10000E-03    16.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .83997        .17903        .23050E-03   -.98603    
  21  Prefactor     .85510        .17297        .22995E-03   -.97728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71005e-09
Minuit parameter uncertainties:
  1  2.16154
  2  2.6308
  3  1.5697e-06
  4  6.02441e-05
  5  35.5844
  6  1.12872e-06
  7  51.9277
  8  9.98532
  9  0.00194186
  10  7.3834
  11  38.1671
  12  4.98875
  13  8.73572e-05
  14  1.09187
  15  6.19101
  16  55.4603
  17  0.000155641
  18  2.69191
  19  8.06948e-05
  20  0.179159
  21  0.173082
Done.

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

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  8.736e-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:  8.551e-01  1.731e-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.400e-01  1.792e-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: 6.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/623143/likelihoodResults_534297601_534556801_4FGL_J0132.1-0956_daily_bin1138.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) = 5828.89688186
delta logL = -0.00024767031482

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5828.89663424
delta logL = -5.69480107515e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13547E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6155       1.0000          .0000       5.0000    
     3 'Normalizat'    .83989       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85519       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=   5828.897     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      238 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10056E-03    133.55        .47361E-02** at limit **
   2  alpha         2.4830        3.6517        .16483        .27226E-04
   3  Normalizat    .83997        .16859        .23050E-03   -.96472E-03
   4  Prefactor     .85510        .17061        .22995E-03   -.44164E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100561
  alpha      = 2.48305
  Normalizat = 0.83997
  Prefactor  = 0.855101
 **********
 **   18 **HESSE 
 **********

 FCN=   5828.897     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10056E-03    98.707        .94722E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4830        3.5532        .32966E-01   -.67808E-02
   3  Normalizat    .83997        .16871        .46099E-04   -.98603    
   4  Prefactor     .85510        .17071        .45989E-04   -.97728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.11478e-09
Minuit parameter uncertainties:
  1  0.0149104
  2  2.51985
  3  0.168813
  4  0.170816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/623143': 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) = 5828.89663209
delta logL = 2.10014604818e-06

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.006e-04  1.491e-02  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.483e+00  2.520e+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.551e-01  1.708e-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.400e-01  1.688e-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/623143/cmap_HighResolution_534297601_534556801_4FGL_J0132.1-0956_daily_bin1138.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-05', job_status='DONE', photon_flux_upper_limit='6.43e-08', time_completed='2021-08-14 03:34:31.908537', job_id='623143', GAL2='0.86', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1628937271.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='2.10e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1138' AND source_name='4FGL J0132.1-0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 03:34:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 623143: <4FGL_J0132.1-0956_daily_bin1138> in cluster <slac> Done

Job <4FGL_J0132.1-0956_daily_bin1138> 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) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 03:21:29 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:29 2021
Terminated at Sat Aug 14 03:34:35 2021
Results reported at Sat Aug 14 03:34:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0132.1-0956_daily_bin1138 23.0306 -9.9386 534297601 534556801 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 :                                   638.07 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             277.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            790 sec.

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

