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


Performing analysis on: 4FGL_J0132.1-0956_daily_bin1080
RA = 23.0306, Dec = -9.9386
tmin = 519264001, tmax = 519523201
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='621772', job_status='RUN', time_executed='2021-08-14 03:18:39.202312', time_epoch_executed='1628936319.2' WHERE source_name='4FGL J0132.1-0956' and cadence='daily' and bin_id='1080'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/621772

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/621772/ft1_4FGL_J0132.1-0956_daily_bin1080.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/621772/ft2_4FGL_J0132.1-0956_daily_bin1080.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/621772/ft1_4FGL_J0132.1-0956_daily_bin1080.fits outfile=/scratch/kocevski/621772/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1080.fits ra=23.0306 dec=-9.9386 rad=12.0 tmin=519264001.0 tmax=519523201.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 7.14
user 3.28
sys 3.53

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/621772/ft1_filtered_4FGL_J0132.1-0956_daily_bin1080.fits" evtable="EVENTS" scfile=/scratch/kocevski/621772/ft2_4FGL_J0132.1-0956_daily_bin1080.fits sctable="SC_DATA" outfile=/scratch/kocevski/621772/ltcube_519264001_519523201_4FGL_J0132.1-0956_daily_bin1080.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/621772/ft2_4FGL_J0132.1-0956_daily_bin1080.fits
.....................!
real 16.07
user 11.79
sys 4.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/621772/ft1_filtered_4FGL_J0132.1-0956_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/621772/ft2_4FGL_J0132.1-0956_daily_bin1080.fits sctable="SC_DATA" expcube=/scratch/kocevski/621772/ltcube_519264001_519523201_4FGL_J0132.1-0956_daily_bin1080.fits outfile=/scratch/kocevski/621772/expmap_519264001_519523201_4FGL_J0132.1-0956_daily_bin1080.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/621772/ltcube_519264001_519523201_4FGL_J0132.1-0956_daily_bin1080.fits
.....................!
real 196.37
user 186.15
sys 9.09

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/621772/ft1_filtered_4FGL_J0132.1-0956_daily_bin1080.fits scfile=/scratch/kocevski/621772/ft2_4FGL_J0132.1-0956_daily_bin1080.fits outfile=/scratch/kocevski/621772/cmap_519264001_519523201_4FGL_J0132.1-0956_daily_bin1080.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 3.89
user 0.37
sys 3.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/621772/ft1_filtered_4FGL_J0132.1-0956_daily_bin1080.fits scfile=/scratch/kocevski/621772/ft2_4FGL_J0132.1-0956_daily_bin1080.fits outfile=/scratch/kocevski/621772/cmap_HighResolution_519264001_519523201_4FGL_J0132.1-0956_daily_bin1080.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.91
user 0.40
sys 3.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/621772/ft1_filtered_4FGL_J0132.1-0956_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/621772/ft2_4FGL_J0132.1-0956_daily_bin1080.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/621772/Model_4FGL_J0132.1-0956_daily_bin1080.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/621772/ft1_filtered_4FGL_J0132.1-0956_daily_bin1080.fits.....................!
real 65.60
user 59.21
sys 5.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1847       1.0000         .10000E-03   10000.    
     2 'norm      '    2.7683       1.0000         .10000E-03   10000.    
     3 'norm      '    .19172E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13213       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.605       1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.567       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .27695E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .74770       1.0000         .10000E-03   10000.    
    14 'norm      '    8.2957       1.0000         .10000E-03   10000.    
    15 'norm      '    27.703       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.3956       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0993       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.347       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .78884       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .93144       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=   6209.677     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2273 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1826        3.8052       -.50784E-07   -.54630E-04
   2  norm          2.7686        2.6658        .32256E-06    .15165E-03
   3  norm          .10000E-03    3.5377       -.21745E-06** at limit **
   4  Prefactor     .15520E-03    22.170       -.23020E-05** at limit **
   5  Prefactor     .10000E-03    66.655        .48160E-07** at limit **
   6  Prefactor     10.599        34.194        .19294E-05   -.15585E-05
   7  Prefactor     31.617        34.079       -.23743E-05   -.84497E-04
   8  Prefactor     .10000E-03    7.1510       -.11348E-06** at limit **
   9  Prefactor     .10000E-03    1.3882       -.14891E-06** at limit **
  10  Prefactor     .10000E-03    7.3984       -.18473E-06** at limit **
  11  Prefactor     .10000E-03    21.846        .97112E-07** at limit **
  12  Prefactor     .10000E-03    2.2420        .73660E-07** at limit **
  13  norm          .67827        134.19        .42465E-05    .67802E-04
  14  norm          8.2946        1.7981        .34150E-07    .13023E-04
  15  norm          27.698        8.2334        .37848E-07   -.14072E-04
  16  Prefactor     .10000E-03    34.917       -.24065E-06** at limit **
  17  norm          3.3950        1.9814       -.11958E-06   -.94902E-04
  18  Prefactor     1.0953        2.4432        .10235E-05    .14391E-03
  19  Prefactor     17.346        13.061       -.50068E-06   -.36193E-04
  20  Normalizat    .78905        .16957        .86452E-06   -.25788E-03
  21  Prefactor     .93157        .16960       -.23844E-05   -.99131E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.18262
  norm       = 2.76863
  norm       = 0.000100001
  Prefactor  = 0.000155197
  Prefactor  = 0.0001
  Prefactor  = 10.5992
  Prefactor  = 31.617
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.678273
  norm       = 8.2946
  norm       = 27.6977
  Prefactor  = 0.0001
  norm       = 3.39497
  Prefactor  = 1.09526
  Prefactor  = 17.3463
  Normalizat = 0.789049
  Prefactor  = 0.931565
 **********
 **   18 **HESSE 
 **********

 FCN=   6209.677     FROM HESSE     STATUS=OK           335 CALLS     2608 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1826        3.6871        .17002E-03   -1.5412    
   2  norm          2.7686        2.6550        .12130E-03   -1.5375    
   3  norm          .10000E-03    7.4923        .27543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15520E-03    16.958        .87307E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    67.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.599        33.239        .12303E-03   -1.5057    
   7  Prefactor     31.617        34.165        .71315E-04   -1.4583    
   8  Prefactor     .10000E-03    33.829        .27614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.4012        .90491E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.4498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.2497        .11525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .67827        152.50        .58294E-02   -1.5543    
  14  norm          8.2946        1.8056        .46891E-04   -1.5132    
  15  norm          27.698        8.1615        .76115E-04   -1.4655    
  16  Prefactor     .10000E-03    34.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.3950        1.9802        .81042E-04   -1.5339    
  18  Prefactor     1.0953        2.4351        .19560E-02   -1.5499    
  19  Prefactor     17.346        13.114        .96164E-04   -1.4875    
  20  Normalizat    .78905        .18969        .25616E-03   -1.0048    
  21  Prefactor     .93157        .18561        .23643E-03   -.95047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87266e-09
Minuit parameter uncertainties:
  1  3.6875
  2  2.65508
  3  0.00013096
  4  0.0612065
  5  0.00026933
  6  33.2972
  7  34.1862
  8  0.000157822
  9  4.78737e-06
  10  4.13881e-06
  11  3.28535e-05
  12  3.97703e-06
  13  20.3919
  14  1.80557
  15  8.16178
  16  1.93149e-05
  17  1.98027
  18  2.43533
  19  13.1164
  20  0.189848
  21  0.185736
Done.

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

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  6.783e-01  2.039e+01  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:  9.316e-01  1.857e-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:  7.890e-01  1.898e-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: 8.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.92e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/621772/likelihoodResults_519264001_519523201_4FGL_J0132.1-0956_daily_bin1080.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): 102
logL (Free Index) = 6209.67374361
delta logL = 0.00366236560967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6209.66715984
delta logL = 0.0102461407778

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8430       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1665       1.0000          .0000       5.0000    
     3 'Normalizat'    .78896       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93007       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=   6209.667     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      278 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8406        35.927        .24115E-03    .75429E-06
   2  alpha         2.1687        3.5330        .81270E-01   -.20896E-05
   3  Normalizat    .78895        .18236        .25615E-03   -.26186E-05
   4  Prefactor     .93008        .18295        .23656E-03   -.28835E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 2.84057
  alpha      = 2.16873
  Normalizat = 0.788954
  Prefactor  = 0.93008
 **********
 **   18 **HESSE 
 **********

 FCN=   6209.667     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .32E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8406        34.524        .96461E-05   -1.5371    
   2  alpha         2.1687        3.5257        .32508E-02   -.13290    
   3  Normalizat    .78895        .18255        .10246E-04   -1.0048    
   4  Prefactor     .93008        .18303        .94623E-05   -.95098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20735e-14
Minuit parameter uncertainties:
  1  19.8198
  2  2.8011
  3  0.182692
  4  0.183151
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/621772': 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) = 6209.6671595
delta logL = 0.0102464811525

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  2.841e+00  1.982e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.169e+00  2.801e+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:  9.301e-01  1.832e-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:  7.890e-01  1.827e-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/621772/cmap_HighResolution_519264001_519523201_4FGL_J0132.1-0956_daily_bin1080.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-05', job_status='DONE', photon_flux_upper_limit='8.34e-08', time_completed='2021-08-14 03:30:21.863598', job_id='621772', GAL2='0.93', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1628937021.86', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1080' AND source_name='4FGL J0132.1-0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 03:30:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 621772: <4FGL_J0132.1-0956_daily_bin1080> in cluster <slac> Done

Job <4FGL_J0132.1-0956_daily_bin1080> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 03:15:31 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 03:16:04 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:16:04 2021
Terminated at Sat Aug 14 03:30:23 2021
Results reported at Sat Aug 14 03:30:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0132.1-0956_daily_bin1080 23.0306 -9.9386 519264001 519523201 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 :                                   737.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            892 sec.

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

