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


Performing analysis on: 4FGL_J0132.1-0956_daily_bin1631
RA = 23.0306, Dec = -9.9386
tmin = 662083201, tmax = 662342401
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='551766', job_status='RUN', time_executed='2021-12-28 00:05:30.678306', time_epoch_executed='1640678730.68' WHERE source_name='4FGL J0132.1-0956' and cadence='daily' and bin_id='1631'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551766

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551766/ft1_4FGL_J0132.1-0956_daily_bin1631.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551766/ft2_4FGL_J0132.1-0956_daily_bin1631.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551766/ft1_4FGL_J0132.1-0956_daily_bin1631.fits outfile=/scratch/kocevski/551766/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1631.fits ra=23.0306 dec=-9.9386 rad=12.0 tmin=662083201.0 tmax=662342401.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.92
user 3.70
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551766/ft2_4FGL_J0132.1-0956_daily_bin1631.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/551766/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1631.fits evtable="EVENTS" outfile="/scratch/kocevski/551766/ft1_filtered_4FGL_J0132.1-0956_daily_bin1631.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 0.73
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551766/ft1_filtered_4FGL_J0132.1-0956_daily_bin1631.fits" evtable="EVENTS" scfile=/scratch/kocevski/551766/ft2_4FGL_J0132.1-0956_daily_bin1631.fits sctable="SC_DATA" outfile=/scratch/kocevski/551766/ltcube_662083201_662342401_4FGL_J0132.1-0956_daily_bin1631.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/551766/ft2_4FGL_J0132.1-0956_daily_bin1631.fits
.....................!
real 12.34
user 11.75
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551766/ft1_filtered_4FGL_J0132.1-0956_daily_bin1631.fits evtable="EVENTS" scfile=/scratch/kocevski/551766/ft2_4FGL_J0132.1-0956_daily_bin1631.fits sctable="SC_DATA" expcube=/scratch/kocevski/551766/ltcube_662083201_662342401_4FGL_J0132.1-0956_daily_bin1631.fits outfile=/scratch/kocevski/551766/expmap_662083201_662342401_4FGL_J0132.1-0956_daily_bin1631.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/551766/ltcube_662083201_662342401_4FGL_J0132.1-0956_daily_bin1631.fits
.....................!
real 195.34
user 185.41
sys 4.87

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/551766/ft1_filtered_4FGL_J0132.1-0956_daily_bin1631.fits scfile=/scratch/kocevski/551766/ft2_4FGL_J0132.1-0956_daily_bin1631.fits outfile=/scratch/kocevski/551766/cmap_662083201_662342401_4FGL_J0132.1-0956_daily_bin1631.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.67
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551766/ft1_filtered_4FGL_J0132.1-0956_daily_bin1631.fits scfile=/scratch/kocevski/551766/ft2_4FGL_J0132.1-0956_daily_bin1631.fits outfile=/scratch/kocevski/551766/cmap_HighResolution_662083201_662342401_4FGL_J0132.1-0956_daily_bin1631.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.15
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551766/ft1_filtered_4FGL_J0132.1-0956_daily_bin1631.fits evtable="EVENTS" scfile=/scratch/kocevski/551766/ft2_4FGL_J0132.1-0956_daily_bin1631.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551766/Model_4FGL_J0132.1-0956_daily_bin1631.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/551766/ft1_filtered_4FGL_J0132.1-0956_daily_bin1631.fits.....................!
real 91.84
user 84.39
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2025       1.0000         .10000E-03   10000.    
     2 'norm      '    5.2460       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.370       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    35.417       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.128       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .85563       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.439       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.1717       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5049       1.0000         .10000E-03   10000.    
    15 'norm      '    19.562       1.0000         .10000E-03   10000.    
    16 'Prefactor '    72.096       1.0000         .10000E-03   10000.    
    17 'norm      '    21.064       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .65503       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0911       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=   9363.772     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     2188 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2027        2.1319       -.34954E-06   -.84303E-03
   2  norm          5.2449        2.6723        .43280E-07   -.24406E-04
   3  norm          .10000E-03    1.1804        .30661E-07** at limit **
   4  Prefactor     35.367        16.127       -.12724E-05    .86151E-04
   5  Prefactor     .10000E-03    25.371       -.82794E-06** at limit **
   6  Prefactor     35.415        26.355       -.11619E-05   -.26920E-06
   7  Prefactor     11.120        41.967       -.21015E-04   -.10185E-03
   8  Prefactor     .85946        3.5695        .21566E-05   -.46067E-03
   9  Prefactor     .10000E-03    1.1108        .45757E-06** at limit **
  10  Prefactor     .10000E-03    6.5833       -.23768E-06** at limit **
  11  Prefactor     34.437        27.229       -.21431E-05    .15099E-04
  12  Prefactor     5.1718        5.4174        .87206E-07   -.28232E-03
  13  norm          .10000E-03    5.9364       -.18736E-06** at limit **
  14  norm          1.5050        .84366       -.15392E-06   -.47488E-03
  15  norm          19.562        5.5765       -.54252E-07   -.46827E-04
  16  Prefactor     72.097        58.837        .72803E-06   -.30089E-04
  17  norm          21.064        2.8258        .10077E-07   -.43036E-04
  18  Prefactor     .10000E-03    .87205       -.40837E-07** at limit **
  19  Prefactor     .10000E-03    2.9088       -.32884E-06** at limit **
  20  Normalizat    .65505        .13643        .81396E-06   -.33714E-03
  21  Prefactor     1.0911        .13539        .94534E-06   -.36752E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.20273
  norm       = 5.24493
  norm       = 0.0001
  Prefactor  = 35.3672
  Prefactor  = 0.0001
  Prefactor  = 35.4155
  Prefactor  = 11.1199
  Prefactor  = 0.859456
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.4366
  Prefactor  = 5.17178
  norm       = 0.0001
  norm       = 1.50497
  norm       = 19.5623
  Prefactor  = 72.0968
  norm       = 21.0638
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.655049
  Prefactor  = 1.09109
 **********
 **   18 **HESSE 
 **********

 FCN=   9363.772     FROM HESSE     STATUS=OK           319 CALLS     2507 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2027        2.0871        .17692E-03   -1.5489    
   2  norm          5.2449        2.6718        .10923E-03   -1.5250    
   3  norm          .10000E-03    1.1848        .10263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     35.367        16.098        .67384E-04   -1.4518    
   5  Prefactor     .10000E-03    25.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     35.415        25.990        .67339E-04   -1.4517    
   7  Prefactor     11.120        42.715        .12010E-03   -1.5041    
   8  Prefactor     .85946        12.101        .28930E-02   -1.5523    
   9  Prefactor     .10000E-03    1.1273        .99479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.6450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.437        27.155        .68286E-04   -1.4534    
  12  Prefactor     5.1718        5.4092        .17677E-03   -1.5253    
  13  norm          .10000E-03    5.9460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5050        .83600        .63654E-04   -1.5463    
  15  norm          19.562        5.5790        .90557E-04   -1.4823    
  16  Prefactor     72.097        58.851        .47281E-04   -1.4008    
  17  norm          21.064        2.8280        .57268E-04   -1.4790    
  18  Prefactor     .10000E-03    .88328        .88217E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.9196        .16117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .65505        .15317        .28626E-03   -1.0570    
  21  Prefactor     1.0911        .15302        .23281E-03   -.89752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.63904e-10
Minuit parameter uncertainties:
  1  2.0872
  2  2.67184
  3  3.17206e-06
  4  16.1002
  5  3.84918e-05
  6  25.9987
  7  42.8326
  8  6.45105
  9  1.99237e-06
  10  8.27258e-06
  11  27.1652
  12  5.40969
  13  3.70495e-06
  14  0.836003
  15  5.57916
  16  58.8987
  17  2.82802
  18  2.244e-06
  19  3.48662e-07
  20  0.15327
  21  0.153078
Done.

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

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  3.705e-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:  1.091e+00  1.531e-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:  6.550e-01  1.533e-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: 4.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.65e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551766/likelihoodResults_662083201_662342401_4FGL_J0132.1-0956_daily_bin1631.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) = 9363.77322296
delta logL = -0.000800446779976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9363.7724225
delta logL = 1.58652255777e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7094       1.0000          .0000       5.0000    
     3 'Normalizat'    .65507       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0911       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=   9363.772     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      190 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.1628        .90712E-02** at limit **
   2  alpha         2.7223        3.6091        .41335       -.10825E-04
   3  Normalizat    .65505        .12954        .64695E-01    .55998E-04
   4  Prefactor     1.0911        .13382        .37936E-01    .19943E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.72226
  Normalizat = 0.65505
  Prefactor  = 1.09109
 **********
 **   18 **HESSE 
 **********

 FCN=   9363.772     FROM HESSE     STATUS=OK            29 CALLS      219 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.0152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7223        3.5990        .16534        .89022E-01
   3  Normalizat    .65505        .14592        .28626E-03   -1.0570    
   4  Prefactor     1.0911        .15100        .23281E-03   -.89752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17925e-10
Minuit parameter uncertainties:
  1  7.62134e-06
  2  2.49095
  3  0.146006
  4  0.15106
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551766': 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) = 9363.7724224
delta logL = 1.11238477984e-07

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  7.621e-06  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.722e+00  2.491e+00  0.000e+00  5.000e+00 ( 1.000e+00)
311         beta:  3.135e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  3.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  1.091e+00  1.511e-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:  6.551e-01  1.460e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/551766/cmap_HighResolution_662083201_662342401_4FGL_J0132.1-0956_daily_bin1631.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.65e-06', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2021-12-28 00:19:10.429029', job_id='551766', GAL2='1.09', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1640679550.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.11e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1631' AND source_name='4FGL J0132.1-0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 28 00:19:10 PST 2021


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

Job <4FGL_J0132.1-0956_daily_bin1631> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 28 00:05:10 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 28 00:05:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 28 00:05:11 2021
Terminated at Tue Dec 28 00:19:11 2021
Results reported at Tue Dec 28 00:19:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0132.1-0956_daily_bin1631 23.0306 -9.9386 662083201 662342401 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 :                                   773.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            841 sec.

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

