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


Performing analysis on: 4FGL_J1332.0-0509_daily_bin615
RA = 203.02, Dec = -5.1611
tmin = 398736001, tmax = 398995201
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='737505', job_status='RUN', time_executed='2021-09-08 01:41:55.058938', time_epoch_executed='1631090515.06' WHERE source_name='4FGL J1332.0-0509' and cadence='daily' and bin_id='615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/737505

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/737505/ft1_4FGL_J1332.0-0509_daily_bin615.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/737505/ft2_4FGL_J1332.0-0509_daily_bin615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/737505/ft1_4FGL_J1332.0-0509_daily_bin615.fits outfile=/scratch/kocevski/737505/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin615.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=398736001.0 tmax=398995201.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 6.12
user 5.77
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/737505/ft2_4FGL_J1332.0-0509_daily_bin615.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/737505/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin615.fits evtable="EVENTS" outfile="/scratch/kocevski/737505/ft1_filtered_4FGL_J1332.0-0509_daily_bin615.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/737505/ft1_filtered_4FGL_J1332.0-0509_daily_bin615.fits" evtable="EVENTS" scfile=/scratch/kocevski/737505/ft2_4FGL_J1332.0-0509_daily_bin615.fits sctable="SC_DATA" outfile=/scratch/kocevski/737505/ltcube_398736001_398995201_4FGL_J1332.0-0509_daily_bin615.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/737505/ft2_4FGL_J1332.0-0509_daily_bin615.fits
.....................!
real 15.99
user 15.50
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/737505/ft1_filtered_4FGL_J1332.0-0509_daily_bin615.fits evtable="EVENTS" scfile=/scratch/kocevski/737505/ft2_4FGL_J1332.0-0509_daily_bin615.fits sctable="SC_DATA" expcube=/scratch/kocevski/737505/ltcube_398736001_398995201_4FGL_J1332.0-0509_daily_bin615.fits outfile=/scratch/kocevski/737505/expmap_398736001_398995201_4FGL_J1332.0-0509_daily_bin615.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/737505/ltcube_398736001_398995201_4FGL_J1332.0-0509_daily_bin615.fits
.....................!
real 191.64
user 186.14
sys 4.72

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/737505/ft1_filtered_4FGL_J1332.0-0509_daily_bin615.fits scfile=/scratch/kocevski/737505/ft2_4FGL_J1332.0-0509_daily_bin615.fits outfile=/scratch/kocevski/737505/cmap_398736001_398995201_4FGL_J1332.0-0509_daily_bin615.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/737505/ft1_filtered_4FGL_J1332.0-0509_daily_bin615.fits scfile=/scratch/kocevski/737505/ft2_4FGL_J1332.0-0509_daily_bin615.fits outfile=/scratch/kocevski/737505/cmap_HighResolution_398736001_398995201_4FGL_J1332.0-0509_daily_bin615.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.328       1.0000         .10000E-03   10000.    
     2 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .66592       1.0000         .10000E-03   10000.    
     4 'Prefactor '    94.002       1.0000         .10000E-03   10000.    
     5 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.115       1.0000         .10000E-03   10000.    
     8 'Prefactor '    42.442       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .42419       1.0000         .10000E-03   10000.    
    11 'norm      '    6.3494       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.194       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0120       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    18.733       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8651       1.0000         .10000E-03   10000.    
    20 'norm      '    4.2163       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    10.863       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88364       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96034       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5790.898     FROM MIGRAD    STATUS=CONVERGED    945 CALLS     3108 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.333        36.417        .58908E-04   -.10113E-04
   2  norm          .10000E-03    60.228        .18142E-02** at limit **
   3  norm          .66595        .22079        .19295E-04   -.19585E-03
   4  Prefactor     94.020        73.578        .41452E-04    .12616E-05
   5  norm          .10000E-03    9.4746        .18142E-02** at limit **
   6  norm          .10000E-03    2.9512        .12766E-02** at limit **
   7  Prefactor     14.114        8.3270        .10661E-03    .98105E-05
   8  Prefactor     42.431        28.029        .61534E-04   -.48036E-05
   9  Prefactor     .10000E-03    4.2403        .15158E-02** at limit **
  10  Prefactor     .47752        119.88        .42012E-02    .28568E-04
  11  norm          6.3502        1.9360        .55676E-04   -.24503E-05
  12  norm          .10000E-03    1.7292        .96944E-03** at limit **
  13  norm          10.190        7.8837        .12550E-03    .59608E-04
  14  norm          .10000E-03    13.901        .18142E-02** at limit **
  15  Prefactor     5.0124        4.2344        .13599E-03    .11704E-05
  16  Prefactor     .10000E-03    13.688        .18142E-02** at limit **
  17  Prefactor     .10000E-03    19.984        .18142E-02** at limit **
  18  norm          18.733        8.0455        .92539E-04   -.11057E-05
  19  Prefactor     7.8738        13.295        .71488E-03    .16841E-04
  20  norm          4.2166        2.5643        .91735E-04   -.27264E-05
  21  Prefactor     .10000E-03    39.225        .18142E-02** at limit **
  22  norm          10.863        11.183        .60778E-03    .56116E-05
  23  Normalizat    .88271        .26571        .32289E-03   -.20527E-04
  24  Prefactor     .96097        .16853        .21106E-03    .18529E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.3334
  norm       = 0.0001
  norm       = 0.665951
  Prefactor  = 94.0203
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.1137
  Prefactor  = 42.4307
  Prefactor  = 0.0001
  Prefactor  = 0.477517
  norm       = 6.35022
  norm       = 0.0001
  norm       = 10.1899
  norm       = 0.0001
  Prefactor  = 5.01237
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.7331
  Prefactor  = 7.87376
  norm       = 4.21662
  Prefactor  = 0.0001
  norm       = 10.8633
  Normalizat = 0.882711
  Prefactor  = 0.960968
 **********
 **   18 **HESSE 
 **********

 FCN=   5790.898     FROM HESSE     STATUS=OK           377 CALLS     3485 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.333        36.414        .11782E-04   -1.4346    
   2  norm          .10000E-03    60.252        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .66595        .22076        .38591E-05   -1.5545    
   4  Prefactor     94.020        73.551        .82905E-05   -1.3766    
   5  norm          .10000E-03    9.4783        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.9512        .25532E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.114        8.3082        .42645E-05   -1.4956    
   8  Prefactor     42.431        28.002        .24614E-05   -1.4404    
   9  Prefactor     .10000E-03    4.2425        .30316E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .47752        113.08        .16805E-03   -1.5570    
  11  norm          6.3502        1.9356        .22270E-05   -1.5204    
  12  norm          .10000E-03    1.7291        .19389E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.190        7.6799        .50199E-05   -1.5069    
  14  norm          .10000E-03    13.902        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.0124        4.2341        .54397E-05   -1.5260    
  16  Prefactor     .10000E-03    13.690        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.984        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.733        8.0451        .37016E-05   -1.4842    
  19  Prefactor     7.8738        13.288        .28595E-04   -1.5147    
  20  norm          4.2166        2.5639        .36694E-05   -1.5297    
  21  Prefactor     .10000E-03    39.231        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          10.863        11.183        .24311E-04   -1.5049    
  23  Normalizat    .88271        .26418        .12916E-04   -.97070    
  24  Prefactor     .96097        .16841        .84425E-05   -.94042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.847e-11
Minuit parameter uncertainties:
  1  36.4318
  2  0.000141843
  3  0.220764
  4  73.6227
  5  6.56336e-05
  6  4.10975e-08
  7  8.30885
  8  28.0103
  9  4.53998e-06
  10  14.7235
  11  1.93564
  12  6.10282e-06
  13  7.68066
  14  6.57561e-06
  15  4.23439
  16  2.33388e-05
  17  6.17511e-06
  18  8.04553
  19  13.2925
  20  2.564
  21  6.15882e-05
  22  11.1856
  23  0.26457
  24  0.168502
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  6.350e+00  1.936e+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:  9.610e-01  1.685e-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:  8.827e-01  2.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 33.85
Ra Dec: 203.020 -5.161
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.92e-07 +/- 5.85e-08
Energy Flux (Fixed Index): 5.78e-05 +/- 1.76e-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) = 5788.76560395
delta logL = 2.13207810277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5788.75910884
delta logL = 2.13857321828

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7309       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7079       1.0000          .0000       5.0000    
     3 'Normalizat'    .97073       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92143       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=   5788.759     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7309        2.1266        .38665E-02    .26498E-02
   2  alpha         1.7079        .28993        .21074       -.48627E-04
   3  Normalizat    .97071        .21055        .69980E-01   -.52732E-05
   4  Prefactor     .92144        .14238        .45278E-01    .78030E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.7309
  alpha      = 1.70786
  Normalizat = 0.970715
  Prefactor  = 0.921443
 **********
 **   18 **HESSE 
 **********

 FCN=   5788.759     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7309        2.2349        .60285E-04   -1.5189    
   2  alpha         1.7079        .31477        .90078E-02   -.32241    
   3  Normalizat    .97071        .24330        .30960E-03   -.94018    
   4  Prefactor     .92144        .16444        .21486E-03   -.95396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.26859e-10
Minuit parameter uncertainties:
  1  2.2349
  2  0.315705
  3  0.243577
  4  0.164527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/737505': 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) = 5788.75910883
delta logL = 2.13857322199

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  6.731e+00  2.235e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  1.708e+00  3.157e-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:  9.214e-01  1.645e-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:  9.707e-01  2.436e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 37.95
Ra Dec: 203.020 -5.161
Photon Index (Free Index): 1.71 +/- 0.32
Photon Flux (Free Index): 1.27e-07 +/- 5.04e-08
Energy Flux (Free Index): 8.37e-05 +/- 3.35e-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/737505/cmap_HighResolution_398736001_398995201_4FGL_J1332.0-0509_daily_bin615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.92e-07', energy_flux2='8.37e-05', photon_flux_error='5.85e-08', dlogl='2.14e+00', energy_flux='5.78e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2021-09-08 01:52:21.488699', photon_index_error2='0.32', photon_index2='1.71', ts='33.85', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='3.35e-05', EG='0.88', time_epoch_completed='1631091141.49', return_code='0', job_id='737505', GAL2='0.92', EG2='0.97', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='5.04e-08', ts2='37.95', photon_index='2.39' WHERE bin_id='615' AND source_name='4FGL J1332.0-0509' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 01:52:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 737505: <4FGL_J1332.0-0509_daily_bin615> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.0-0509_daily_bin615 203.02 -5.1611 398736001 398995201 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 :                                   624.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            994 sec.

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

