/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 229 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 = 7480
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1332.0-0509_daily_bin238
RA = 203.02, Dec = -5.1611
tmin = 301017601, tmax = 301276801
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='735888', job_status='RUN', time_executed='2021-09-08 01:35:46.410544', time_epoch_executed='1631090146.41' WHERE source_name='4FGL J1332.0-0509' and cadence='daily' and bin_id='238'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/735888

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/735888/ft1_4FGL_J1332.0-0509_daily_bin238.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/735888/ft2_4FGL_J1332.0-0509_daily_bin238.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/735888/ft1_4FGL_J1332.0-0509_daily_bin238.fits outfile=/scratch/kocevski/735888/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin238.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=301017601.0 tmax=301276801.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 3.61
user 3.32
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/735888/ft2_4FGL_J1332.0-0509_daily_bin238.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/735888/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin238.fits evtable="EVENTS" outfile="/scratch/kocevski/735888/ft1_filtered_4FGL_J1332.0-0509_daily_bin238.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/735888/ft1_filtered_4FGL_J1332.0-0509_daily_bin238.fits" evtable="EVENTS" scfile=/scratch/kocevski/735888/ft2_4FGL_J1332.0-0509_daily_bin238.fits sctable="SC_DATA" outfile=/scratch/kocevski/735888/ltcube_301017601_301276801_4FGL_J1332.0-0509_daily_bin238.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/735888/ft2_4FGL_J1332.0-0509_daily_bin238.fits
.....................!
real 15.53
user 15.11
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/735888/ft1_filtered_4FGL_J1332.0-0509_daily_bin238.fits evtable="EVENTS" scfile=/scratch/kocevski/735888/ft2_4FGL_J1332.0-0509_daily_bin238.fits sctable="SC_DATA" expcube=/scratch/kocevski/735888/ltcube_301017601_301276801_4FGL_J1332.0-0509_daily_bin238.fits outfile=/scratch/kocevski/735888/expmap_301017601_301276801_4FGL_J1332.0-0509_daily_bin238.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/735888/ltcube_301017601_301276801_4FGL_J1332.0-0509_daily_bin238.fits
.....................!
real 192.69
user 186.62
sys 5.61

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/735888/ft1_filtered_4FGL_J1332.0-0509_daily_bin238.fits scfile=/scratch/kocevski/735888/ft2_4FGL_J1332.0-0509_daily_bin238.fits outfile=/scratch/kocevski/735888/cmap_301017601_301276801_4FGL_J1332.0-0509_daily_bin238.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 1.05
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/735888/ft1_filtered_4FGL_J1332.0-0509_daily_bin238.fits scfile=/scratch/kocevski/735888/ft2_4FGL_J1332.0-0509_daily_bin238.fits outfile=/scratch/kocevski/735888/cmap_HighResolution_301017601_301276801_4FGL_J1332.0-0509_daily_bin238.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/735888/ft1_filtered_4FGL_J1332.0-0509_daily_bin238.fits evtable="EVENTS" scfile=/scratch/kocevski/735888/ft2_4FGL_J1332.0-0509_daily_bin238.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/735888/Model_4FGL_J1332.0-0509_daily_bin238.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/735888/ft1_filtered_4FGL_J1332.0-0509_daily_bin238.fits.....................!
real 63.96
user 62.50
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/735888/ft1_filtered_4FGL_J1332.0-0509_daily_bin238.fits', '/scratch/kocevski/735888/ft2_4FGL_J1332.0-0509_daily_bin238.fits', expMap='/scratch/kocevski/735888/expmap_301017601_301276801_4FGL_J1332.0-0509_daily_bin238.fits', expCube='/scratch/kocevski/735888/ltcube_301017601_301276801_4FGL_J1332.0-0509_daily_bin238.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/735888/Model_4FGL_J1332.0-0509_daily_bin238.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/735888/ft1_filtered_4FGL_J1332.0-0509_daily_bin238.fits
Spacecraft file(s): /scratch/kocevski/735888/ft2_4FGL_J1332.0-0509_daily_bin238.fits
Exposure map: /scratch/kocevski/735888/expmap_301017601_301276801_4FGL_J1332.0-0509_daily_bin238.fits
Exposure cube: /scratch/kocevski/735888/ltcube_301017601_301276801_4FGL_J1332.0-0509_daily_bin238.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/735888/Model_4FGL_J1332.0-0509_daily_bin238.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) = 8362.7215894

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .65442       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.8409       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.638       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3260       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3506       1.0000         .10000E-03   10000.    
    10 'Prefactor '    38.573       1.0000         .10000E-03   10000.    
    11 'norm      '    3.5193       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.3005       1.0000         .10000E-03   10000.    
    14 'norm      '    14.262       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8426       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.021       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.4515       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.7528       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3371       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0246       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=   8362.678     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2706 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.247        .50182E-06** at limit **
   2  norm          .10000E-03    8.5805       -.31408E-06** at limit **
   3  norm          .65441        .22252       -.28135E-08   -.79575E-03
   4  Prefactor     .10000E-03    33.149       -.61120E-07** at limit **
   5  norm          .10000E-03    7.0217       -.16619E-06** at limit **
   6  norm          2.8410        5.7949        .20435E-05   -.12605E-04
   7  Prefactor     21.639        12.711        .14501E-06    .35192E-05
   8  Prefactor     1.3257        55.772        .19079E-04   -.42744E-04
   9  Prefactor     8.3502        9.0517        .70696E-06   -.14044E-04
  10  Prefactor     38.576        22.173       -.14696E-06   -.88561E-04
  11  norm          3.5192        1.5637       -.37212E-07   -.28533E-04
  12  norm          .10000E-03    2.0632        .43958E-06** at limit **
  13  norm          7.3019        7.0316        .29454E-06    .30071E-04
  14  norm          14.262        23.987        .21106E-06    .64471E-05
  15  Prefactor     .10000E-03    2.5361        .27750E-06** at limit **
  16  Prefactor     5.8427        13.263        .12113E-05    .11120E-04
  17  Prefactor     20.042        45.842       -.11358E-05    .88543E-05
  18  norm          .10000E-03    1.4437        .16060E-07** at limit **
  19  Prefactor     .10000E-03    4.9521       -.82921E-07** at limit **
  20  norm          4.4515        2.3463        .20050E-06    .50491E-04
  21  Prefactor     .10000E-03    13.591       -.42065E-06** at limit **
  22  norm          7.7529        8.4077        .55601E-07    .81643E-05
  23  Normalizat    1.3372        .21559        .90486E-06    .10357E-03
  24  Prefactor     1.0245        .14312       -.18937E-05   -.26772E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.654412
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.84101
  Prefactor  = 21.639
  Prefactor  = 1.32566
  Prefactor  = 8.35016
  Prefactor  = 38.5757
  norm       = 3.51923
  norm       = 0.0001
  norm       = 7.30187
  norm       = 14.2623
  Prefactor  = 0.0001
  Prefactor  = 5.8427
  Prefactor  = 20.0415
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.45148
  Prefactor  = 0.0001
  norm       = 7.75288
  Normalizat = 1.33715
  Prefactor  = 1.02455
 **********
 **   18 **HESSE 
 **********

 FCN=   8362.678     FROM HESSE     STATUS=OK           401 CALLS     3107 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.5873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .65441        .22199        .24107E-04   -1.5546    
   4  Prefactor     .10000E-03    33.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    7.1237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.8410        5.7828        .12062E-02   -1.5371    
   7  Prefactor     21.639        12.709        .86108E-04   -1.4777    
   8  Prefactor     1.3257        57.085        .19085E-02   -1.5478    
   9  Prefactor     8.3502        9.0690        .69365E-03   -1.5130    
  10  Prefactor     38.576        22.080        .64535E-04   -1.4465    
  11  norm          3.5192        1.5656        .72426E-04   -1.5333    
  12  norm          .10000E-03    2.0877        .12791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.3019        7.0111        .14845E-03   -1.5167    
  14  norm          14.262        23.996        .10606E-03   -1.4952    
  15  Prefactor     .10000E-03    2.5949        .14228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.8427        13.267        .83074E-03   -1.5224    
  17  Prefactor     20.042        45.868        .89513E-04   -1.4812    
  18  norm          .10000E-03    1.4465        .10730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.9651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.4515        2.3473        .48969E-03   -1.5286    
  21  Prefactor     .10000E-03    13.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.7529        8.4101        .14402E-03   -1.5151    
  23  Normalizat    1.3372        .26033        .31291E-03   -.82464    
  24  Prefactor     1.0245        .17023        .23366E-03   -.91916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.49105e-10
Minuit parameter uncertainties:
  1  1.24362e-05
  2  4.40883e-06
  3  0.221995
  4  5.96416e-05
  5  5.63933e-05
  6  5.78395
  7  12.711
  8  17.4154
  9  9.07053
  10  22.0847
  11  1.5656
  12  4.50358e-05
  13  7.01188
  14  24.0125
  15  3.15614e-05
  16  13.2737
  17  45.9486
  18  2.47378e-06
  19  1.40196e-05
  20  2.34737
  21  1.19437e-05
  22  8.41138
  23  0.260583
  24  0.170316
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  3.519e+00  1.566e+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:  1.025e+00  1.703e-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.337e+00  2.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.59
Ra Dec: 203.020 -5.161
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 4.73e-08
Energy Flux (Fixed Index): 3.20e-05 +/- 1.42e-05

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) = 8362.66216063
delta logL = 0.0158487941444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8362.66114822
delta logL = 0.0168612007765

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4792       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4809       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3279       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0284       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=   8362.661     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4788        27.776        .54196E-02    .28995E-03
   2  alpha         2.4810        3.5584        .35943        .33184E-04
   3  Normalizat    1.3275        .13025        .70927E-01    .66830E-05
   4  Prefactor     1.0286        .79715E-01    .41390E-01   -.80872E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.47878
  alpha      = 2.48102
  Normalizat = 1.32748
  Prefactor  = 1.02856
 **********
 **   18 **HESSE 
 **********

 FCN=   8362.661     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4788        1.5576        .70360E-04   -1.5335    
   2  alpha         2.4810        .47393        .14021E-01   -.75938E-02
   3  Normalizat    1.3275        .25624        .31383E-03   -.82750    
   4  Prefactor     1.0286        .16741        .23324E-03   -.91783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45788e-12
Minuit parameter uncertainties:
  1  1.55764
  2  0.476817
  3  0.256489
  4  0.1675
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/735888': 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) = 8362.66114672
delta logL = 0.0168626991326

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  3.479e+00  1.558e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.481e+00  4.768e-01  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:  1.029e+00  1.675e-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.327e+00  2.565e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.59
Ra Dec: 203.020 -5.161
Photon Index (Free Index): 2.48 +/- 0.48
Photon Flux (Free Index): 1.14e-07 +/- 6.21e-08
Energy Flux (Free Index): 3.20e-05 +/- 1.39e-05

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/735888/cmap_HighResolution_301017601_301276801_4FGL_J1332.0-0509_daily_bin238.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='3.20e-05', photon_flux_error='4.73e-08', dlogl='1.69e-02', energy_flux='3.20e-05', photon_flux2='1.14e-07', job_status='DONE', time_completed='2021-09-08 01:47:23.981937', photon_index_error2='0.48', photon_index2='2.48', ts='11.59', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.39e-05', EG='1.34', time_epoch_completed='1631090843.98', return_code='0', job_id='735888', GAL2='1.03', EG2='1.33', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='6.21e-08', ts2='11.59', photon_index='2.39' WHERE bin_id='238' AND source_name='4FGL J1332.0-0509' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 01:47:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 735888: <4FGL_J1332.0-0509_daily_bin238> in cluster <slac> Done

Job <4FGL_J1332.0-0509_daily_bin238> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep  8 01:30:49 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 01:31:40 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:31:40 2021
Terminated at Wed Sep  8 01:47:24 2021
Results reported at Wed Sep  8 01:47:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.0-0509_daily_bin238 203.02 -5.1611 301017601 301276801 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 :                                   696.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            995 sec.

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

