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


Performing analysis on: 4FGL_J1332.0-0509_daily_bin828
RA = 203.02, Dec = -5.1611
tmin = 453945601, tmax = 454204801
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='738950', job_status='RUN', time_executed='2021-09-08 01:42:27.851392', time_epoch_executed='1631090547.85' WHERE source_name='4FGL J1332.0-0509' and cadence='daily' and bin_id='828'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/738950

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/738950/ft1_4FGL_J1332.0-0509_daily_bin828.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/738950/ft2_4FGL_J1332.0-0509_daily_bin828.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/738950/ft1_4FGL_J1332.0-0509_daily_bin828.fits outfile=/scratch/kocevski/738950/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin828.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=453945601.0 tmax=454204801.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.09
user 3.82
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/738950/ft2_4FGL_J1332.0-0509_daily_bin828.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/738950/ft2_4FGL_J1332.0-0509_daily_bin828.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/738950/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin828.fits evtable="EVENTS" outfile="/scratch/kocevski/738950/ft1_filtered_4FGL_J1332.0-0509_daily_bin828.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.52
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/738950/ft1_filtered_4FGL_J1332.0-0509_daily_bin828.fits" evtable="EVENTS" scfile=/scratch/kocevski/738950/ft2_4FGL_J1332.0-0509_daily_bin828.fits sctable="SC_DATA" outfile=/scratch/kocevski/738950/ltcube_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.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/738950/ft2_4FGL_J1332.0-0509_daily_bin828.fits
.....................!
real 15.74
user 15.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/738950/ft1_filtered_4FGL_J1332.0-0509_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/738950/ft2_4FGL_J1332.0-0509_daily_bin828.fits sctable="SC_DATA" expcube=/scratch/kocevski/738950/ltcube_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.fits outfile=/scratch/kocevski/738950/expmap_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.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/738950/ltcube_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.fits
.....................!
real 192.77
user 187.49
sys 4.77

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 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J1332.0-0509 @ 203.02 -5.1611

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/738950/ft1_filtered_4FGL_J1332.0-0509_daily_bin828.fits scfile=/scratch/kocevski/738950/ft2_4FGL_J1332.0-0509_daily_bin828.fits outfile=/scratch/kocevski/738950/cmap_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.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=203.02 yref=-5.1611 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.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/738950/ft1_filtered_4FGL_J1332.0-0509_daily_bin828.fits scfile=/scratch/kocevski/738950/ft2_4FGL_J1332.0-0509_daily_bin828.fits outfile=/scratch/kocevski/738950/cmap_HighResolution_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.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=203.02 yref=-5.1611 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.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/738950/ft1_filtered_4FGL_J1332.0-0509_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/738950/ft2_4FGL_J1332.0-0509_daily_bin828.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/738950/Model_4FGL_J1332.0-0509_daily_bin828.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/738950/ft1_filtered_4FGL_J1332.0-0509_daily_bin828.fits.....................!
real 64.58
user 63.01
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/738950/ft1_filtered_4FGL_J1332.0-0509_daily_bin828.fits', '/scratch/kocevski/738950/ft2_4FGL_J1332.0-0509_daily_bin828.fits', expMap='/scratch/kocevski/738950/expmap_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.fits', expCube='/scratch/kocevski/738950/ltcube_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/738950/Model_4FGL_J1332.0-0509_daily_bin828.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1332.0-0509'

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  2.389e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.394e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.669e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/738950/ft1_filtered_4FGL_J1332.0-0509_daily_bin828.fits
Spacecraft file(s): /scratch/kocevski/738950/ft2_4FGL_J1332.0-0509_daily_bin828.fits
Exposure map: /scratch/kocevski/738950/expmap_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.fits
Exposure cube: /scratch/kocevski/738950/ltcube_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/738950/Model_4FGL_J1332.0-0509_daily_bin828.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) = 8650.62980004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.522       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.6369       1.0000         .10000E-03   10000.    
     4 'Prefactor '    47.157       1.0000         .10000E-03   10000.    
     5 'norm      '    4.1368       1.0000         .10000E-03   10000.    
     6 'norm      '    2.1396       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6132       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.713       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.1246       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.264       1.0000         .10000E-03   10000.    
    11 'norm      '    .43367E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    1.6611       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .90528E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.855       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.8182       1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.123       1.0000         .10000E-03   10000.    
    22 'norm      '    10.546       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0754       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8650.627     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2706 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.523        28.495        .16127E-06    .13924E-04
   2  norm          .10000E-03    8.8023        .14420E-06** at limit **
   3  norm          1.6369        .26863       -.48986E-08    .34316E-04
   4  Prefactor     47.159        45.350        .52619E-06    .59922E-04
   5  norm          4.1368        5.8834        .58517E-07   -.54064E-04
   6  norm          2.1397        5.2385        .41632E-06   -.15134E-03
   7  Prefactor     7.6133        5.7370       -.48029E-07   -.23277E-04
   8  Prefactor     10.714        14.577        .19535E-06    .32534E-04
   9  Prefactor     9.1244        6.3875        .10909E-05   -.87040E-03
  10  Prefactor     15.258        14.872       -.19971E-05   -.53174E-03
  11  norm          .43573E-01    .41254       -.42424E-07    .33382E-05
  12  norm          1.6630        3.5590        .11556E-05   -.10906E-03
  13  norm          .10000E-03    2.6597       -.41343E-07** at limit **
  14  norm          .10000E-03    8.5830        .19865E-06** at limit **
  15  Prefactor     .10001E-03    1.2733       -.13369E-06** at limit **
  16  Prefactor     .10000E-03    7.6722       -.26681E-06** at limit **
  17  Prefactor     16.853        19.803       -.51351E-06   -.11839E-03
  18  norm          .10000E-03    4.8099        .69133E-07** at limit **
  19  Prefactor     .10000E-03    2.1032        .55301E-08** at limit **
  20  norm          6.8182        2.4461        .17683E-07    .29497E-06
  21  Prefactor     16.123        19.970        .66529E-07    .21804E-05
  22  norm          10.546        10.067       -.10239E-08   -.29407E-05
  23  Normalizat    1.0753        .18049       -.14849E-06    .74964E-05
  24  Prefactor     .89189        .11582       -.96402E-07    .17873E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.5225
  norm       = 0.0001
  norm       = 1.63693
  Prefactor  = 47.1593
  norm       = 4.13683
  norm       = 2.13969
  Prefactor  = 7.61333
  Prefactor  = 10.7141
  Prefactor  = 9.12443
  Prefactor  = 15.2581
  norm       = 0.0435734
  norm       = 1.66299
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 16.8535
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.81825
  Prefactor  = 16.1229
  norm       = 10.5462
  Normalizat = 1.07534
  Prefactor  = 0.891892
 **********
 **   18 **HESSE 
 **********

 FCN=   8650.627     FROM HESSE     STATUS=OK           409 CALLS     3115 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.523        28.639        .82591E-04   -1.4738    
   2  norm          .10000E-03    8.8142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6369        .27082        .18158E-04   -1.5452    
   4  Prefactor     47.159        45.496        .58390E-04   -1.4333    
   5  norm          4.1368        5.8770        .19818E-03   -1.5301    
   6  norm          2.1397        5.2379        .28178E-03   -1.5415    
   7  Prefactor     7.6133        5.7435        .14534E-03   -1.5156    
   8  Prefactor     10.714        14.612        .12241E-03   -1.5053    
   9  Prefactor     9.1244        6.8069        .66340E-03   -1.5104    
  10  Prefactor     15.258        15.776        .10252E-03   -1.4927    
  11  norm          .43573E-01    6.3342        .11286E-02   -1.5666    
  12  norm          1.6630        3.5942        .17254E-03   -1.5450    
  13  norm          .10000E-03    2.7051        .14789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    8.5943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    12.698        .20087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.7131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.853        19.946        .97555E-04   -1.4887    
  18  norm          .10000E-03    4.9891        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.1042        .13173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.8182        2.4488        .83714E-04   -1.5186    
  21  Prefactor     16.123        19.974        .99747E-04   -1.4905    
  22  norm          10.546        10.068        .12338E-03   -1.5058    
  23  Normalizat    1.0753        .21522        .29384E-03   -.90548    
  24  Prefactor     .89189        .13664        .21362E-03   -.96425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26786e-09
Minuit parameter uncertainties:
  1  28.6559
  2  1.84186e-05
  3  0.270823
  4  45.5298
  5  5.87777
  6  5.23902
  7  5.74396
  8  14.617
  9  6.80745
  10  15.7801
  11  1.04962
  12  3.59469
  13  9.66655e-07
  14  2.75209e-05
  15  0.000537735
  16  3.73974e-05
  17  19.954
  18  8.83466e-06
  19  1.14329e-07
  20  2.44884
  21  19.9828
  22  10.0694
  23  0.215397
  24  0.13669
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  4.357e-02  1.050e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.394e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.669e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.919e-01  1.367e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.075e+00  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 203.020 -5.161
Photon Flux Upper Limit: 7.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/738950/likelihoodResults_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.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) = 8650.44760976
delta logL = 0.179594356656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8650.34027542
delta logL = 0.286928701458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23205       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8058       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90818       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8650.340     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      232 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23213        5.8558        .10123E-01    .28489E-02
   2  alpha         3.8053        3.6969        .50000        .59369E-04
   3  Normalizat    1.0314        .36009E-01    .67672E-01   -.35216E-03
   4  Prefactor     .90817        .24202E-01    .45109E-01   -.55685E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.232129
  alpha      = 3.80531
  Normalizat = 1.03139
  Prefactor  = 0.908174
 **********
 **   18 **HESSE 
 **********

 FCN=   8650.340     FROM HESSE     STATUS=OK            31 CALLS      263 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23213        3.2796        .58629E-04   -1.5612    
   2  alpha         3.8053        4.3033        .39264E-01    .54934    
   3  Normalizat    1.0314        .20883        .29938E-03   -.91986    
   4  Prefactor     .90817        .13711        .21191E-03   -.95856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03431e-07
Minuit parameter uncertainties:
  1  1.74477
  2  5.37647
  3  0.208994
  4  0.137158
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/738950': 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) = 8650.34027538
delta logL = 0.286928743244

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  2.321e-01  1.745e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  3.805e+00  5.376e+00  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  1.669e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.082e-01  1.372e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.031e+00  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 203.020 -5.161

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/738950/cmap_HighResolution_453945601_454204801_4FGL_J1332.0-0509_daily_bin828.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-05', job_status='DONE', photon_flux_upper_limit='7.63e-08', time_completed='2021-09-08 01:56:09.933475', job_id='738950', GAL2='0.91', fit_tolerance='1e-08', EG2='1.03', EG='1.08', time_epoch_completed='1631091369.93', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.87e-01', ts2='0.62', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='828' AND source_name='4FGL J1332.0-0509' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 01:56:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 738950: <4FGL_J1332.0-0509_daily_bin828> in cluster <slac> Done

Job <4FGL_J1332.0-0509_daily_bin828> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 01:40:47 2021
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 01:42:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 01:42:12 2021
Terminated at Wed Sep  8 01:56:10 2021
Results reported at Wed Sep  8 01:56:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.0-0509_daily_bin828 203.02 -5.1611 453945601 454204801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1332.0-0509 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   818.00 sec.
    Max Memory :                                 1039 MB
    Average Memory :                             301.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            923 sec.

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

