/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J1332.0-0509_daily_bin311
RA = 203.02, Dec = -5.1611
tmin = 319939201, tmax = 320198401
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='735992', job_status='RUN', time_executed='2021-09-08 01:33:42.634209', time_epoch_executed='1631090022.63' WHERE source_name='4FGL J1332.0-0509' and cadence='daily' and bin_id='311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/735992

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/735992/ft1_4FGL_J1332.0-0509_daily_bin311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/735992/ft2_4FGL_J1332.0-0509_daily_bin311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/735992/ft1_4FGL_J1332.0-0509_daily_bin311.fits outfile=/scratch/kocevski/735992/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin311.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=319939201.0 tmax=320198401.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.52
user 3.28
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/735992/ft1_filtered_4FGL_J1332.0-0509_daily_bin311.fits" evtable="EVENTS" scfile=/scratch/kocevski/735992/ft2_4FGL_J1332.0-0509_daily_bin311.fits sctable="SC_DATA" outfile=/scratch/kocevski/735992/ltcube_319939201_320198401_4FGL_J1332.0-0509_daily_bin311.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/735992/ft2_4FGL_J1332.0-0509_daily_bin311.fits
.....................!
real 15.02
user 14.51
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/735992/ft1_filtered_4FGL_J1332.0-0509_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/735992/ft2_4FGL_J1332.0-0509_daily_bin311.fits sctable="SC_DATA" expcube=/scratch/kocevski/735992/ltcube_319939201_320198401_4FGL_J1332.0-0509_daily_bin311.fits outfile=/scratch/kocevski/735992/expmap_319939201_320198401_4FGL_J1332.0-0509_daily_bin311.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/735992/ltcube_319939201_320198401_4FGL_J1332.0-0509_daily_bin311.fits
.....................!
real 193.77
user 186.95
sys 5.65

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/735992/ft1_filtered_4FGL_J1332.0-0509_daily_bin311.fits scfile=/scratch/kocevski/735992/ft2_4FGL_J1332.0-0509_daily_bin311.fits outfile=/scratch/kocevski/735992/cmap_319939201_320198401_4FGL_J1332.0-0509_daily_bin311.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/735992/ft1_filtered_4FGL_J1332.0-0509_daily_bin311.fits scfile=/scratch/kocevski/735992/ft2_4FGL_J1332.0-0509_daily_bin311.fits outfile=/scratch/kocevski/735992/cmap_HighResolution_319939201_320198401_4FGL_J1332.0-0509_daily_bin311.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/735992/ft1_filtered_4FGL_J1332.0-0509_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/735992/ft2_4FGL_J1332.0-0509_daily_bin311.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/735992/Model_4FGL_J1332.0-0509_daily_bin311.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/735992/ft1_filtered_4FGL_J1332.0-0509_daily_bin311.fits.....................!
real 66.22
user 64.65
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13303E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.5503       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8683       1.0000         .10000E-03   10000.    
     5 'norm      '    7.4290       1.0000         .10000E-03   10000.    
     6 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .17030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.551       1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.091       1.0000         .10000E-03   10000.    
    11 'norm      '    3.2490       1.0000         .10000E-03   10000.    
    12 'norm      '    .50360E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.163       1.0000         .10000E-03   10000.    
    14 'norm      '    14.837       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    51.427       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.1192       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.9644       1.0000         .10000E-03   10000.    
    22 'norm      '    20.640       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0673       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0955       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=   8735.434     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2727 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.581        .42797E-05** at limit **
   2  norm          .10000E-03    6.9228       -.58807E-07** at limit **
   3  norm          1.5502        .30190        .11410E-07   -.70181E-03
   4  Prefactor     9.8731        82.962        .22134E-05    .28167E-05
   5  norm          7.4293        8.8576        .14723E-05   -.37446E-03
   6  norm          .10000E-03    2.6546       -.17313E-07** at limit **
   7  Prefactor     .10001E-03    5.6529        .56313E-07** at limit **
   8  Prefactor     .10000E-03    3.0290       -.23812E-07** at limit **
   9  Prefactor     25.561        10.064       -.24295E-06   -.71708E-04
  10  Prefactor     41.144        18.668        .45080E-06   -.10526E-03
  11  norm          3.2488        1.4997        .62368E-07   -.14529E-03
  12  norm          .10001E-03    1.8777        .11032E-05** at limit **
  13  norm          10.172        6.3098       -.15780E-05   -.44357E-03
  14  norm          14.828        19.749       -.98921E-06   -.32672E-04
  15  Prefactor     .10000E-03    1.8632        .27194E-06** at limit **
  16  Prefactor     .10000E-03    10.597        .49582E-07** at limit **
  17  Prefactor     51.436        39.238        .25213E-05    .32542E-04
  18  norm          .10000E-03    1.5216        .17650E-07** at limit **
  19  Prefactor     .10000E-03    4.6614        .13160E-06** at limit **
  20  norm          1.1193        1.9628        .42232E-06   -.12139E-03
  21  Prefactor     8.9668        14.168        .22427E-06   -.39315E-05
  22  norm          20.632        13.626        .19123E-06    .56042E-05
  23  Normalizat    1.0674        .20988       -.14731E-05   -.13936E-03
  24  Prefactor     1.0955        .13652       -.49039E-06   -.25285E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.55024
  Prefactor  = 9.87307
  norm       = 7.42935
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 25.5612
  Prefactor  = 41.1444
  norm       = 3.24884
  norm       = 0.000100005
  norm       = 10.1716
  norm       = 14.8285
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.4358
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.11927
  Prefactor  = 8.96681
  norm       = 20.6319
  Normalizat = 1.06738
  Prefactor  = 1.09548
 **********
 **   18 **HESSE 
 **********

 FCN=   8735.434     FROM HESSE     STATUS=OK           403 CALLS     3130 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.9247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.5502        .30267        .21175E-04   -1.5459    
   4  Prefactor     9.8731        83.399        .12756E-03   -1.5079    
   5  norm          7.4293        8.8620        .73573E-03   -1.5163    
   6  norm          .10000E-03    2.6565        .14872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    25.942        .41965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.0299        .15886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.561        10.014        .79249E-04   -1.4696    
  10  Prefactor     41.144        18.634        .62533E-04   -1.4424    
  11  norm          3.2488        1.4998        .73718E-04   -1.5347    
  12  norm          .10001E-03    6.4377        .21785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.172        6.3353        .12569E-03   -1.5070    
  14  norm          14.828        19.761        .10398E-03   -1.4938    
  15  Prefactor     .10000E-03    3.7797        .24690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     51.436        39.327        .55925E-04   -1.4272    
  18  norm          .10000E-03    1.5281        .11256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.6730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.1193        1.9308        .16538E-03   -1.5496    
  21  Prefactor     8.9668        14.163        .13387E-03   -1.5109    
  22  norm          20.632        13.629        .88162E-04   -1.4799    
  23  Normalizat    1.0674        .24301        .33547E-03   -.90806    
  24  Prefactor     1.0955        .15899        .22215E-03   -.89611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32198e-09
Minuit parameter uncertainties:
  1  0.00019149
  2  5.28196e-07
  3  0.302668
  4  57.4983
  5  8.86358
  6  5.07953e-07
  7  0.000810927
  8  8.83556e-07
  9  10.0146
  10  18.6366
  11  1.49978
  12  0.000369769
  13  6.33576
  14  19.7694
  15  3.65491e-05
  16  2.1146e-05
  17  39.3467
  18  1.69869e-06
  19  9.29434e-06
  20  1.93088
  21  14.168
  22  13.6307
  23  0.243262
  24  0.159062
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  3.249e+00  1.500e+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.095e+00  1.591e-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.067e+00  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.20
Ra Dec: 203.020 -5.161
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 9.83e-08 +/- 4.53e-08
Energy Flux (Fixed Index): 2.96e-05 +/- 1.36e-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) = 8735.4053337
delta logL = 0.0286442816105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8735.40261029
delta logL = 0.0313676884944

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2420       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2217       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0880       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0865       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=   8735.403     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      230 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2394        32.592        .56238E-02    .28683E-03
   2  alpha         2.2203        2.7273        .41478        .27703E-05
   3  Normalizat    1.0883        .21738        .75169E-01    .15441E-04
   4  Prefactor     1.0864        .97718E-01    .38123E-01   -.57397E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.2394
  alpha      = 2.22029
  Normalizat = 1.08834
  Prefactor  = 1.0864
 **********
 **   18 **HESSE 
 **********

 FCN=   8735.403     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2394        1.5606        .76629E-04   -1.5348    
   2  alpha         2.2203        .68473        .18034E-01   -.11212    
   3  Normalizat    1.0883        .24790        .33268E-03   -.90127    
   4  Prefactor     1.0864        .16011        .22295E-03   -.89902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68907e-12
Minuit parameter uncertainties:
  1  1.56065
  2  0.693712
  3  0.248168
  4  0.160179
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/735992': 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) = 8735.4026071
delta logL = 0.0313708861286

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  3.239e+00  1.561e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.220e+00  6.937e-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.086e+00  1.602e-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.088e+00  2.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.18
Ra Dec: 203.020 -5.161
Photon Index (Free Index): 2.22 +/- 0.69
Photon Flux (Free Index): 8.46e-08 +/- 6.63e-08
Energy Flux (Free Index): 2.96e-05 +/- 1.42e-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/735992/cmap_HighResolution_319939201_320198401_4FGL_J1332.0-0509_daily_bin311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.83e-08', energy_flux2='2.96e-05', photon_flux_error='4.53e-08', dlogl='3.14e-02', energy_flux='2.96e-05', photon_flux2='8.46e-08', job_status='DONE', time_completed='2021-09-08 01:45:48.282186', photon_index_error2='0.69', photon_index2='2.22', ts='10.20', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.42e-05', EG='1.07', time_epoch_completed='1631090748.28', return_code='0', job_id='735992', GAL2='1.09', EG2='1.09', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='6.63e-08', ts2='10.18', photon_index='2.39' WHERE bin_id='311' AND source_name='4FGL J1332.0-0509' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 01:45:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 735992: <4FGL_J1332.0-0509_daily_bin311> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.0-0509_daily_bin311 203.02 -5.1611 319939201 320198401 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 :                                   720.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            893 sec.

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

