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


Performing analysis on: 4FGL_J0132.1-0956_daily_bin1035
RA = 23.0306, Dec = -9.9386
tmin = 507600001, tmax = 507859201
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='621708', job_status='RUN', time_executed='2021-08-14 03:18:09.054359', time_epoch_executed='1628936289.05' WHERE source_name='4FGL J0132.1-0956' and cadence='daily' and bin_id='1035'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/621708

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/621708/ft1_4FGL_J0132.1-0956_daily_bin1035.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/621708/ft2_4FGL_J0132.1-0956_daily_bin1035.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/621708/ft1_4FGL_J0132.1-0956_daily_bin1035.fits outfile=/scratch/kocevski/621708/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1035.fits ra=23.0306 dec=-9.9386 rad=12.0 tmin=507600001.0 tmax=507859201.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 5.23
user 3.36
sys 1.75

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/621708/ft1_filtered_4FGL_J0132.1-0956_daily_bin1035.fits" evtable="EVENTS" scfile=/scratch/kocevski/621708/ft2_4FGL_J0132.1-0956_daily_bin1035.fits sctable="SC_DATA" outfile=/scratch/kocevski/621708/ltcube_507600001_507859201_4FGL_J0132.1-0956_daily_bin1035.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/621708/ft2_4FGL_J0132.1-0956_daily_bin1035.fits
.....................!
real 14.49
user 11.95
sys 2.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/621708/ft1_filtered_4FGL_J0132.1-0956_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/621708/ft2_4FGL_J0132.1-0956_daily_bin1035.fits sctable="SC_DATA" expcube=/scratch/kocevski/621708/ltcube_507600001_507859201_4FGL_J0132.1-0956_daily_bin1035.fits outfile=/scratch/kocevski/621708/expmap_507600001_507859201_4FGL_J0132.1-0956_daily_bin1035.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/621708/ltcube_507600001_507859201_4FGL_J0132.1-0956_daily_bin1035.fits
.....................!
real 194.32
user 185.01
sys 6.23

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/621708/ft1_filtered_4FGL_J0132.1-0956_daily_bin1035.fits scfile=/scratch/kocevski/621708/ft2_4FGL_J0132.1-0956_daily_bin1035.fits outfile=/scratch/kocevski/621708/cmap_507600001_507859201_4FGL_J0132.1-0956_daily_bin1035.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.59
user 0.37
sys 1.49

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/621708/ft1_filtered_4FGL_J0132.1-0956_daily_bin1035.fits scfile=/scratch/kocevski/621708/ft2_4FGL_J0132.1-0956_daily_bin1035.fits outfile=/scratch/kocevski/621708/cmap_HighResolution_507600001_507859201_4FGL_J0132.1-0956_daily_bin1035.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 2.27
user 0.37
sys 1.63

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/621708/ft1_filtered_4FGL_J0132.1-0956_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/621708/ft2_4FGL_J0132.1-0956_daily_bin1035.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/621708/Model_4FGL_J0132.1-0956_daily_bin1035.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/621708/ft1_filtered_4FGL_J0132.1-0956_daily_bin1035.fits.....................!
real 58.95
user 55.19
sys 3.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9987       1.0000         .10000E-03   10000.    
     2 'norm      '    21.331       1.0000         .10000E-03   10000.    
     3 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23164E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13978E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9479       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.0238       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6363       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.6988       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    12.742       1.0000         .10000E-03   10000.    
    16 'Prefactor '    261.55       1.0000         .10000E-03   10000.    
    17 'norm      '    .27220       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.0111       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .79415       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0900       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=   5617.379     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2294 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9990        2.8200       -.13287E-07   -.17359E-03
   2  norm          21.328        5.6436        .11066E-08    .76341E-04
   3  norm          .10000E-03    4.4588        .70386E-08** at limit **
   4  Prefactor     .10004E-03    15.699       -.75280E-06** at limit **
   5  Prefactor     .10000E-03    63.274        .22678E-06** at limit **
   6  Prefactor     .10000E-03    17.945        .57718E-07** at limit **
   7  Prefactor     .10000E-03    13.917        .23425E-06** at limit **
   8  Prefactor     .10000E-03    14.306        .75826E-05** at limit **
   9  Prefactor     1.9482        3.1783        .10186E-05    .10667E-02
  10  Prefactor     4.0226        12.387        .13873E-05    .99254E-04
  11  Prefactor     2.6345        56.661        .11919E-05    .55231E-04
  12  Prefactor     .10000E-03    9.4778        .11834E-06** at limit **
  13  norm          2.6950        43.347        .14514E-05    .94609E-04
  14  norm          .10000E-03    .41698       -.57812E-07** at limit **
  15  norm          12.742        6.7561        .52005E-08    .59229E-04
  16  Prefactor     261.55        136.47        .21065E-06   -.28237E-04
  17  norm          .26927        1.3607        .30818E-06   -.16307E-03
  18  Prefactor     4.0114        4.0581        .32949E-06    .36596E-03
  19  Prefactor     .10000E-03    9.7810       -.53172E-07** at limit **
  20  Normalizat    .79425        .19043       -.68136E-06   -.23885E-03
  21  Prefactor     1.0900        .17580       -.13743E-06   -.34931E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.99896
  norm       = 21.3279
  norm       = 0.0001
  Prefactor  = 0.000100042
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100004
  Prefactor  = 1.94817
  Prefactor  = 4.0226
  Prefactor  = 2.6345
  Prefactor  = 0.0001
  norm       = 2.69498
  norm       = 0.0001
  norm       = 12.7422
  Prefactor  = 261.55
  norm       = 0.269268
  Prefactor  = 4.0114
  Prefactor  = 0.0001
  Normalizat = 0.79425
  Prefactor  = 1.08998
 **********
 **   18 **HESSE 
 **********

 FCN=   5617.379     FROM HESSE     STATUS=OK           331 CALLS     2625 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9990        2.8202        .10261E-03   -1.5308    
   2  norm          21.328        5.6401        .86724E-04   -1.4784    
   3  norm          .10000E-03    4.6387        .30880E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10004E-03    20.438        .86778E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    64.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.775        .29640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.9482        3.3000        .16863E-03   -1.5429    
  10  Prefactor     4.0226        12.578        .20103E-03   -1.5307    
  11  Prefactor     2.6345        56.321        .25113E-03   -1.5383    
  12  Prefactor     .10000E-03    9.5950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.6950        43.155        .24798E-03   -1.5380    
  14  norm          .10000E-03    .56766        .93800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.742        6.7372        .11222E-03   -1.4994    
  16  Prefactor     261.55        136.84        .25063E-04   -1.2459    
  17  norm          .26927        4.7220        .16228E-02   -1.5604    
  18  Prefactor     4.0114        4.0821        .14539E-03   -1.5307    
  19  Prefactor     .10000E-03    9.8522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .79425        .21656        .26700E-03   -1.0028    
  21  Prefactor     1.0900        .20052        .23072E-03   -.89787    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55974e-08
Minuit parameter uncertainties:
  1  2.82032
  2  5.64027
  3  1.13382e-06
  4  0.00185251
  5  0.000237248
  6  0.000141459
  7  0.000402562
  8  0.000489429
  9  3.30035
  10  12.5859
  11  24.3877
  12  0.000105191
  13  21.5867
  14  2.13689e-06
  15  6.73761
  16  137.009
  17  2.25499
  18  4.08239
  19  0.000131252
  20  0.216795
  21  0.200662
Done.

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

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  2.695e+00  2.159e+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:  1.090e+00  2.007e-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.942e-01  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 23.031 -9.939
Photon Flux Upper Limit: 9.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/621708/likelihoodResults_507600001_507859201_4FGL_J0132.1-0956_daily_bin1035.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) = 5616.56822403
delta logL = 0.810971925266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5616.18646505
delta logL = 1.19273090437

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5057       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .70477       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1429       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=   5616.186     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      213 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5215        5.8462        .39336E-02    .50758E-03
   2  alpha         5.0000        3.2666        .46389    ** at limit **
   3  Normalizat    .70508        .17862        .63636E-01    .26196E-03
   4  Prefactor     1.1426        .17463        .36146E-01    .10590E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.52147
  alpha      = 5
  Normalizat = 0.705078
  Prefactor  = 1.14259
 **********
 **   18 **HESSE 
 **********

 FCN=   5616.186     FROM HESSE     STATUS=OK            29 CALLS      242 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5215        5.0205        .13521E-03   -1.5197    
   2  alpha         5.0000        3.4236        .70958E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .70508        .20532        .28153E-03   -1.0369    
   4  Prefactor     1.1426        .20099        .22576E-03   -.88117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08983e-10
Minuit parameter uncertainties:
  1  5.02085
  2  1.91359e-05
  3  0.205539
  4  0.201124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/621708': 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) = 5616.1864567
delta logL = 1.19273925335

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  6.521e+00  5.021e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  5.000e+00  1.914e-05  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.143e+00  2.011e-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.051e-01  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.57
Ra Dec: 23.031 -9.939
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.20e-08 +/- 6.28e-08
Energy Flux (Free Index): 1.14e-05 +/- 8.73e-06

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/621708/cmap_HighResolution_507600001_507859201_4FGL_J0132.1-0956_daily_bin1035.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-05', comment='SUCCESS', energy_flux2='1.14e-05', dlogl='1.19e+00', photon_flux2='8.20e-08', job_status='DONE', time_completed='2021-08-14 03:28:42.147294', photon_index_error2='0.00', photon_index2='5.00', ts='0.02', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='9.47e-08', energy_flux_error2='8.73e-06', EG='0.79', time_epoch_completed='1628936922.15', return_code='0', job_id='621708', GAL2='1.14', EG2='0.71', return_code2='0', photon_flux_error2='6.28e-08', ts2='2.57', photon_index='2.70' WHERE bin_id='1035' AND source_name='4FGL J0132.1-0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 03:28:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 621708: <4FGL_J0132.1-0956_daily_bin1035> in cluster <slac> Done

Job <4FGL_J0132.1-0956_daily_bin1035> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 03:15:27 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 03:15:32 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:15:32 2021
Terminated at Sat Aug 14 03:28:43 2021
Results reported at Sat Aug 14 03:28:43 2021

Your job looked like:

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

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

