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


Performing analysis on: 4FGL_J1332.0-0509_daily_bin608
RA = 203.02, Dec = -5.1611
tmin = 396921601, tmax = 397180801
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='737495', job_status='RUN', time_executed='2021-09-08 01:40:58.430504', time_epoch_executed='1631090458.43' WHERE source_name='4FGL J1332.0-0509' and cadence='daily' and bin_id='608'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/737495

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/737495/ft1_4FGL_J1332.0-0509_daily_bin608.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/737495/ft2_4FGL_J1332.0-0509_daily_bin608.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/737495/ft1_4FGL_J1332.0-0509_daily_bin608.fits outfile=/scratch/kocevski/737495/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin608.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=396921601.0 tmax=397180801.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.62
user 4.34
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/737495/ft2_4FGL_J1332.0-0509_daily_bin608.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/737495/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin608.fits evtable="EVENTS" outfile="/scratch/kocevski/737495/ft1_filtered_4FGL_J1332.0-0509_daily_bin608.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.54
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/737495/ft1_filtered_4FGL_J1332.0-0509_daily_bin608.fits" evtable="EVENTS" scfile=/scratch/kocevski/737495/ft2_4FGL_J1332.0-0509_daily_bin608.fits sctable="SC_DATA" outfile=/scratch/kocevski/737495/ltcube_396921601_397180801_4FGL_J1332.0-0509_daily_bin608.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/737495/ft2_4FGL_J1332.0-0509_daily_bin608.fits
.....................!
real 15.95
user 15.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/737495/ft1_filtered_4FGL_J1332.0-0509_daily_bin608.fits evtable="EVENTS" scfile=/scratch/kocevski/737495/ft2_4FGL_J1332.0-0509_daily_bin608.fits sctable="SC_DATA" expcube=/scratch/kocevski/737495/ltcube_396921601_397180801_4FGL_J1332.0-0509_daily_bin608.fits outfile=/scratch/kocevski/737495/expmap_396921601_397180801_4FGL_J1332.0-0509_daily_bin608.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/737495/ltcube_396921601_397180801_4FGL_J1332.0-0509_daily_bin608.fits
.....................!
real 191.82
user 187.24
sys 4.14

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/737495/ft1_filtered_4FGL_J1332.0-0509_daily_bin608.fits scfile=/scratch/kocevski/737495/ft2_4FGL_J1332.0-0509_daily_bin608.fits outfile=/scratch/kocevski/737495/cmap_396921601_397180801_4FGL_J1332.0-0509_daily_bin608.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/737495/ft1_filtered_4FGL_J1332.0-0509_daily_bin608.fits scfile=/scratch/kocevski/737495/ft2_4FGL_J1332.0-0509_daily_bin608.fits outfile=/scratch/kocevski/737495/cmap_HighResolution_396921601_397180801_4FGL_J1332.0-0509_daily_bin608.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/737495/ft1_filtered_4FGL_J1332.0-0509_daily_bin608.fits evtable="EVENTS" scfile=/scratch/kocevski/737495/ft2_4FGL_J1332.0-0509_daily_bin608.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/737495/Model_4FGL_J1332.0-0509_daily_bin608.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/737495/ft1_filtered_4FGL_J1332.0-0509_daily_bin608.fits.....................!
real 48.81
user 47.46
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.924       1.0000         .10000E-03   10000.    
     2 'norm      '    .10103E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4195       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.840       1.0000         .10000E-03   10000.    
     5 'norm      '    14.401       1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14007       1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.532       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.3244       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.4284       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    25.542       1.0000         .10000E-03   10000.    
    14 'norm      '    18.971       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.011       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .59573E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    47.148       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6239       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69474       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5698.458     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     2358 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.910        2.7866       -.42722E-06    .85345E-03
   2  norm          .10004E-03    43.471       -.12476E-04** at limit **
   3  norm          2.4195        .43866       -.36852E-07    .24984E-03
   4  Prefactor     15.963        24.807        .66497E-05   -.83270E-02
   5  norm          14.397        3.6111       -.16482E-05    .29565E-02
   6  norm          .10000E-03    4.7421        .24387E-05** at limit **
   7  Prefactor     .31566E-03    1582.9       -.39362E-05** at limit **
   8  Prefactor     31.517        2.4624       -.24729E-06   -.11510E-03
   9  Prefactor     5.3320        10.400        .10173E-04    .28939E-02
  10  Prefactor     .10000E-03    17.916       -.18161E-05** at limit **
  11  norm          5.4276        2.0710       -.25629E-06    .30079E-04
  12  norm          .10000E-03    2.6003        .31511E-05** at limit **
  13  norm          25.545        2.5690        .10633E-05    .38925E-02
  14  norm          18.966        1.3325        .16248E-06   -.19935E-03
  15  Prefactor     .10000E-03    8.2631        .39189E-05** at limit **
  16  Prefactor     10.001        2.9691       -.76721E-06   -.42928E-03
  17  Prefactor     .12697E-03    152.16        .18410E-04** at limit **
  18  norm          .10000E-03    5.4984       -.30887E-06** at limit **
  19  Prefactor     .10000E-03    27.025        .99654E-06** at limit **
  20  norm          .10000E-03    3.3495       -.21117E-05** at limit **
  21  Prefactor     47.154        2.6157       -.42831E-06    .49930E-03
  22  norm          .10000E-03    8.0029       -.92268E-05** at limit **
  23  Normalizat    1.6239        .29893       -.14207E-04    .19171E-04
  24  Prefactor     .69499        .18456        .14902E-04    .18137E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.9104
  norm       = 0.000100045
  norm       = 2.41948
  Prefactor  = 15.9632
  norm       = 14.3966
  norm       = 0.0001
  Prefactor  = 0.00031566
  Prefactor  = 31.5171
  Prefactor  = 5.33205
  Prefactor  = 0.0001
  norm       = 5.42758
  norm       = 0.0001
  norm       = 25.5448
  norm       = 18.966
  Prefactor  = 0.0001
  Prefactor  = 10.0006
  Prefactor  = 0.000126967
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 47.1537
  norm       = 0.0001
  Normalizat = 1.62388
  Prefactor  = 0.694994
 **********
 **   18 **HESSE 
 **********

 FCN=   5698.458     FROM HESSE     STATUS=OK           459 CALLS     2817 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.910        55.413        .17200E-02   -1.4543    
   2  norm          .10004E-03    43.892        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4195        .46195        .45844E-02   -1.5397    
   4  Prefactor     15.963        100.09        .25159E-02   -1.4909    
   5  norm          14.397        14.988        .26386E-02   -1.4949    
   6  norm          .10000E-03    4.7516        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .31566E-03    6.8665        .97006E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     31.517        30.806        .17839E-02   -1.4585    
   9  Prefactor     5.3320        11.158        .43544E-02   -1.5246    
  10  Prefactor     .10000E-03    17.917        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.4276        2.0738        .43117E-02   -1.5242    
  12  norm          .10000E-03    2.5616        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          25.545        10.698        .19816E-02   -1.4697    
  14  norm          18.966        27.443        .22989E-02   -1.4837    
  15  Prefactor     .10000E-03    8.0049        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.001        32.380        .31661E-02   -1.5075    
  17  Prefactor     .12697E-03    162.32        .10534E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.4307        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    26.922        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.6005        .33739E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     47.154        38.863        .14599E-02   -1.4334    
  22  norm          .10000E-03    8.0108        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.6239        .26853        .66373E-01   -.74354    
  24  Prefactor     .69499        .15875        .60786E-01   -1.0372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06641e-06
Minuit parameter uncertainties:
  1  55.4973
  2  0.00280525
  3  0.461946
  4  80.144
  5  14.9924
  6  1.7326e-06
  7  0.0769721
  8  30.822
  9  11.1622
  10  2.61919e-05
  11  2.07383
  12  4.42938e-07
  13  10.6991
  14  27.4612
  15  2.67158e-05
  16  32.4369
  17  0.132684
  18  3.57772e-06
  19  0.000456826
  20  2.21775e-06
  21  38.8834
  22  2.10642e-05
  23  0.268774
  24  0.15885
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  5.428e+00  2.074e+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:  6.950e-01  1.588e-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.624e+00  2.688e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.44
Ra Dec: 203.020 -5.161
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.64e-07 +/- 6.27e-08
Energy Flux (Fixed Index): 4.94e-05 +/- 1.89e-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) = 5697.01770779
delta logL = 1.4407419054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5696.98949212
delta logL = 1.46895757574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8537       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6148       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65628       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=   5696.989     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      214 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8535        2.0441        .45647E-02    .22796E-03
   2  alpha         1.6148        .35561        .26043       -.29014E-04
   3  Normalizat    1.7195        .24985        .64973E-01    .11578E-04
   4  Prefactor     .65627        .15693        .62364E-01    .16171E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.85346
  alpha      = 1.61476
  Normalizat = 1.71955
  Prefactor  = 0.65627
 **********
 **   18 **HESSE 
 **********

 FCN=   5696.989     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8535        2.4180        .66552E-04   -1.5267    
   2  alpha         1.6148        .44063        .10965E-01   -.36195    
   3  Normalizat    1.7195        .29416        .28735E-03   -.71783    
   4  Prefactor     .65627        .18386        .27589E-03   -1.0527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61433e-10
Minuit parameter uncertainties:
  1  2.418
  2  0.443282
  3  0.294459
  4  0.184028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/737495': 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) = 5696.9894921
delta logL = 1.46895758668

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  4.853e+00  2.418e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  1.615e+00  4.433e-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:  6.563e-01  1.840e-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.720e+00  2.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.34
Ra Dec: 203.020 -5.161
Photon Index (Free Index): 1.61 +/- 0.44
Photon Flux (Free Index): 8.86e-08 +/- 5.28e-08
Energy Flux (Free Index): 6.75e-05 +/- 3.45e-05

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/737495/cmap_HighResolution_396921601_397180801_4FGL_J1332.0-0509_daily_bin608.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.64e-07', energy_flux2='6.75e-05', photon_flux_error='6.27e-08', dlogl='1.47e+00', energy_flux='4.94e-05', photon_flux2='8.86e-08', job_status='DONE', time_completed='2021-09-08 01:50:28.135595', photon_index_error2='0.44', photon_index2='1.61', ts='20.44', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='3.45e-05', EG='1.62', time_epoch_completed='1631091028.14', return_code='0', job_id='737495', GAL2='0.66', EG2='1.72', return_code2='0', energy_flux_error='1.89e-05', photon_flux_error2='5.28e-08', ts2='23.34', photon_index='2.39' WHERE bin_id='608' AND source_name='4FGL J1332.0-0509' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 01:50:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 737495: <4FGL_J1332.0-0509_daily_bin608> in cluster <slac> Done

Job <4FGL_J1332.0-0509_daily_bin608> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 01:35:47 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 01:38: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:38:05 2021
Terminated at Wed Sep  8 01:50:29 2021
Results reported at Wed Sep  8 01:50:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.0-0509_daily_bin608 203.02 -5.1611 396921601 397180801 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 :                                   569.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            882 sec.

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

