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


Performing analysis on: 4FGL_J0132.1-0956_daily_bin1623
RA = 23.0306, Dec = -9.9386
tmin = 660009601, tmax = 660268801
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='140798', job_status='RUN', time_executed='2021-12-07 12:10:33.159791', time_epoch_executed='1638907833.16' WHERE source_name='4FGL J0132.1-0956' and cadence='daily' and bin_id='1623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/140798

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/140798/ft1_4FGL_J0132.1-0956_daily_bin1623.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/140798/ft2_4FGL_J0132.1-0956_daily_bin1623.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/140798/ft1_4FGL_J0132.1-0956_daily_bin1623.fits outfile=/scratch/kocevski/140798/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1623.fits ra=23.0306 dec=-9.9386 rad=12.0 tmin=660009601.0 tmax=660268801.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.95
user 4.61
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/140798/ft2_4FGL_J0132.1-0956_daily_bin1623.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/140798/ft1_filteredMKT_4FGL_J0132.1-0956_daily_bin1623.fits evtable="EVENTS" outfile="/scratch/kocevski/140798/ft1_filtered_4FGL_J0132.1-0956_daily_bin1623.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.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/140798/ft1_filtered_4FGL_J0132.1-0956_daily_bin1623.fits" evtable="EVENTS" scfile=/scratch/kocevski/140798/ft2_4FGL_J0132.1-0956_daily_bin1623.fits sctable="SC_DATA" outfile=/scratch/kocevski/140798/ltcube_660009601_660268801_4FGL_J0132.1-0956_daily_bin1623.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/140798/ft2_4FGL_J0132.1-0956_daily_bin1623.fits
.....................!
real 15.53
user 15.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/140798/ft1_filtered_4FGL_J0132.1-0956_daily_bin1623.fits evtable="EVENTS" scfile=/scratch/kocevski/140798/ft2_4FGL_J0132.1-0956_daily_bin1623.fits sctable="SC_DATA" expcube=/scratch/kocevski/140798/ltcube_660009601_660268801_4FGL_J0132.1-0956_daily_bin1623.fits outfile=/scratch/kocevski/140798/expmap_660009601_660268801_4FGL_J0132.1-0956_daily_bin1623.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/140798/ltcube_660009601_660268801_4FGL_J0132.1-0956_daily_bin1623.fits
.....................!
real 192.65
user 187.23
sys 4.62

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/140798/ft1_filtered_4FGL_J0132.1-0956_daily_bin1623.fits scfile=/scratch/kocevski/140798/ft2_4FGL_J0132.1-0956_daily_bin1623.fits outfile=/scratch/kocevski/140798/cmap_660009601_660268801_4FGL_J0132.1-0956_daily_bin1623.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 0.62
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/140798/ft1_filtered_4FGL_J0132.1-0956_daily_bin1623.fits scfile=/scratch/kocevski/140798/ft2_4FGL_J0132.1-0956_daily_bin1623.fits outfile=/scratch/kocevski/140798/cmap_HighResolution_660009601_660268801_4FGL_J0132.1-0956_daily_bin1623.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 0.57
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/140798/ft1_filtered_4FGL_J0132.1-0956_daily_bin1623.fits evtable="EVENTS" scfile=/scratch/kocevski/140798/ft2_4FGL_J0132.1-0956_daily_bin1623.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/140798/Model_4FGL_J0132.1-0956_daily_bin1623.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/140798/ft1_filtered_4FGL_J0132.1-0956_daily_bin1623.fits.....................!
real 42.40
user 40.98
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34857E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.4120       1.0000         .10000E-03   10000.    
     3 'norm      '    6.2926       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.214       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6777       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.5772       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10779E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.629       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2545       1.0000         .10000E-03   10000.    
    15 'norm      '    10.588       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    11.061       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0545       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85627       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=   3762.061     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2206 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.1434       -.41620E-06** at limit **
   2  norm          2.4112        5.5052        .20872E-05   -.38580E-03
   3  norm          6.2886        7.2591        .23133E-05   -.14627E-03
   4  Prefactor     13.214        18.566       -.21735E-06    .76186E-05
   5  Prefactor     .10000E-03    54.152       -.91493E-05** at limit **
   6  Prefactor     .10000E-03    23.407        .18123E-04** at limit **
   7  Prefactor     7.6270        110.16       -.12578E-03   -.24101E-04
   8  Prefactor     8.5764        10.626        .93175E-05    .30234E-03
   9  Prefactor     .10000E-03    3.3393        .12909E-07** at limit **
  10  Prefactor     .10000E-03    21.170       -.10291E-04** at limit **
  11  Prefactor     .10000E-03    108.40       -.31141E-04** at limit **
  12  Prefactor     10.619        15.159        .15454E-05    .14258E-03
  13  norm          .10000E-03    30.350       -.10652E-04** at limit **
  14  norm          1.2548        1.7151       -.35786E-06   -.42399E-03
  15  norm          10.588        6.8934       -.70828E-06    .76754E-04
  16  Prefactor     .10000E-03    75.054        .38331E-04** at limit **
  17  norm          11.062        4.5139       -.97354E-07    .13701E-04
  18  Prefactor     .10000E-03    2.0770       -.58623E-07** at limit **
  19  Prefactor     .10000E-03    4.4462       -.92485E-08** at limit **
  20  Normalizat    1.0543        .22519        .21890E-05    .21890E-03
  21  Prefactor     .85633        .20768        .19011E-05    .18433E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.41122
  norm       = 6.28862
  Prefactor  = 13.2144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.62704
  Prefactor  = 8.57643
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6192
  norm       = 0.0001
  norm       = 1.25482
  norm       = 10.5879
  Prefactor  = 0.0001
  norm       = 11.0617
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05429
  Prefactor  = 0.856326
 **********
 **   18 **HESSE 
 **********

 FCN=   3762.061     FROM HESSE     STATUS=OK           313 CALLS     2519 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.8543        .20877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4112        5.4578        .20222E-03   -1.5397    
   3  norm          6.2886        7.1632        .16002E-03   -1.5206    
   4  Prefactor     13.214        18.553        .11019E-03   -1.4981    
   5  Prefactor     .10000E-03    54.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.6270        110.66        .14472E-03   -1.5156    
   8  Prefactor     8.5764        10.575        .13687E-03   -1.5122    
   9  Prefactor     .10000E-03    3.3989        .10938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    108.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.619        15.149        .12289E-03   -1.5056    
  13  norm          .10000E-03    30.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2548        1.6858        .88913E-04   -1.5484    
  15  norm          10.588        6.8945        .12313E-03   -1.5057    
  16  Prefactor     .10000E-03    74.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          11.062        4.5248        .79228E-04   -1.5043    
  18  Prefactor     .10000E-03    2.1030        .86309E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.4471        .12632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0543        .25461        .24442E-03   -.91233    
  21  Prefactor     .85633        .23474        .25341E-03   -.97684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.16451e-10
Minuit parameter uncertainties:
  1  1.19157e-06
  2  5.45894
  3  7.16413
  4  18.5608
  5  0.000314219
  6  6.19593e-05
  7  58.2325
  8  10.5773
  9  2.6712e-06
  10  3.16981e-05
  11  0.000402773
  12  15.1541
  13  6.17682e-06
  14  1.68589
  15  6.89497
  16  6.89209e-05
  17  4.52493
  18  5.86003e-06
  19  2.40971e-06
  20  0.254903
  21  0.235016
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.563e-01  2.350e-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:  1.054e+00  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 23.031 -9.939
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/140798/likelihoodResults_660009601_660268801_4FGL_J0132.1-0956_daily_bin1623.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) = 3762.06153505
delta logL = -0.000156147804319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3762.06137797
delta logL = 9.27337168832e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2871       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0543       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85633       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=   3762.061     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      245 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    93.120        .90712E-02** at limit **
   2  alpha         3.3573        3.7461        .44083       -.49530E-05
   3  Normalizat    1.0543        .21480        .40278E-01   -.32356E-03
   4  Prefactor     .85633        .20369        .44446E-01   -.83270E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100033
  alpha      = 3.35728
  Normalizat = 1.05428
  Prefactor  = 0.856329
 **********
 **   18 **HESSE 
 **********

 FCN=   3762.061     FROM HESSE     STATUS=OK            27 CALLS      272 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    85.366        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3573        3.6852        .17633        .35001    
   3  Normalizat    1.0543        .24237        .24442E-03   -.91233    
   4  Prefactor     .85633        .22998        .25341E-03   -.97684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.90708e-10
Minuit parameter uncertainties:
  1  0.00338581
  2  2.34855
  3  0.242629
  4  0.230236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/140798': 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) = 3762.06137782
delta logL = 1.07254072645e-06

Extracting fit parameters...

4FGL J0132.1-0956
   Spectrum: LogParabola
309         norm:  1.000e-04  3.386e-03  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  3.357e+00  2.349e+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.563e-01  2.302e-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:  1.054e+00  2.426e-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/140798/cmap_HighResolution_660009601_660268801_4FGL_J0132.1-0956_daily_bin1623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-05', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-12-07 12:19:08.268728', job_id='140798', GAL2='0.86', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1638908348.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1623' AND source_name='4FGL J0132.1-0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:19:08 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 140798: <4FGL_J0132.1-0956_daily_bin1623> in cluster <slac> Done

Job <4FGL_J0132.1-0956_daily_bin1623> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec  7 12:10:14 2021
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 12:10:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 12:10:26 2021
Terminated at Tue Dec  7 12:19:09 2021
Results reported at Tue Dec  7 12:19:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0132.1-0956_daily_bin1623 23.0306 -9.9386 660009601 660268801 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 :                                   514.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   522 sec.
    Turnaround time :                            535 sec.

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

