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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1046
RA = 203.154, Dec = -12.9436
tmin = 510451201, tmax = 510710401
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='761445', job_status='RUN', time_executed='2021-09-08 02:49:22.483566', time_epoch_executed='1631094562.48' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1046'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/761445

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/761445/ft1_4FGL_J1332.6-1256_daily_bin1046.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/761445/ft2_4FGL_J1332.6-1256_daily_bin1046.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/761445/ft1_4FGL_J1332.6-1256_daily_bin1046.fits outfile=/scratch/kocevski/761445/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1046.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=510451201.0 tmax=510710401.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.45
user 3.73
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/761445/ft2_4FGL_J1332.6-1256_daily_bin1046.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/761445/ft2_4FGL_J1332.6-1256_daily_bin1046.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/761445/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1046.fits evtable="EVENTS" outfile="/scratch/kocevski/761445/ft1_filtered_4FGL_J1332.6-1256_daily_bin1046.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 3.22
user 0.33
sys 0.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/761445/ft1_filtered_4FGL_J1332.6-1256_daily_bin1046.fits" evtable="EVENTS" scfile=/scratch/kocevski/761445/ft2_4FGL_J1332.6-1256_daily_bin1046.fits sctable="SC_DATA" outfile=/scratch/kocevski/761445/ltcube_510451201_510710401_4FGL_J1332.6-1256_daily_bin1046.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/761445/ft2_4FGL_J1332.6-1256_daily_bin1046.fits
.....................!
real 23.18
user 14.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/761445/ft1_filtered_4FGL_J1332.6-1256_daily_bin1046.fits evtable="EVENTS" scfile=/scratch/kocevski/761445/ft2_4FGL_J1332.6-1256_daily_bin1046.fits sctable="SC_DATA" expcube=/scratch/kocevski/761445/ltcube_510451201_510710401_4FGL_J1332.6-1256_daily_bin1046.fits outfile=/scratch/kocevski/761445/expmap_510451201_510710401_4FGL_J1332.6-1256_daily_bin1046.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/761445/ltcube_510451201_510710401_4FGL_J1332.6-1256_daily_bin1046.fits
.....................!
real 196.05
user 185.98
sys 5.33

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

Setting source of interest to:
4FGL J1332.6-1256 @ 203.154 -12.9436

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/761445/ft1_filtered_4FGL_J1332.6-1256_daily_bin1046.fits scfile=/scratch/kocevski/761445/ft2_4FGL_J1332.6-1256_daily_bin1046.fits outfile=/scratch/kocevski/761445/cmap_510451201_510710401_4FGL_J1332.6-1256_daily_bin1046.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.154 yref=-12.9436 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.36
user 0.42
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/761445/ft1_filtered_4FGL_J1332.6-1256_daily_bin1046.fits scfile=/scratch/kocevski/761445/ft2_4FGL_J1332.6-1256_daily_bin1046.fits outfile=/scratch/kocevski/761445/cmap_HighResolution_510451201_510710401_4FGL_J1332.6-1256_daily_bin1046.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.154 yref=-12.9436 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.30
user 0.40
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/761445/ft1_filtered_4FGL_J1332.6-1256_daily_bin1046.fits evtable="EVENTS" scfile=/scratch/kocevski/761445/ft2_4FGL_J1332.6-1256_daily_bin1046.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/761445/Model_4FGL_J1332.6-1256_daily_bin1046.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/761445/ft1_filtered_4FGL_J1332.6-1256_daily_bin1046.fits.....................!
real 57.81
user 53.69
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/761445/ft1_filtered_4FGL_J1332.6-1256_daily_bin1046.fits', '/scratch/kocevski/761445/ft2_4FGL_J1332.6-1256_daily_bin1046.fits', expMap='/scratch/kocevski/761445/expmap_510451201_510710401_4FGL_J1332.6-1256_daily_bin1046.fits', expCube='/scratch/kocevski/761445/ltcube_510451201_510710401_4FGL_J1332.6-1256_daily_bin1046.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/761445/Model_4FGL_J1332.6-1256_daily_bin1046.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1332.6-1256'

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  5.331e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.403e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.310e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  9.736e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/761445/ft1_filtered_4FGL_J1332.6-1256_daily_bin1046.fits
Spacecraft file(s): /scratch/kocevski/761445/ft2_4FGL_J1332.6-1256_daily_bin1046.fits
Exposure map: /scratch/kocevski/761445/expmap_510451201_510710401_4FGL_J1332.6-1256_daily_bin1046.fits
Exposure cube: /scratch/kocevski/761445/ltcube_510451201_510710401_4FGL_J1332.6-1256_daily_bin1046.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/761445/Model_4FGL_J1332.6-1256_daily_bin1046.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) = 6544.77027297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2308       1.0000         .10000E-03   10000.    
     2 'norm      '    .26456       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.5239       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2623       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.112       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.8174       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10344E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.5018       1.0000         .10000E-03   10000.    
    12 'norm      '    11.653       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.6982       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.707       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10109E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    9.5952       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    51.570       1.0000         .10000E-03   10000.    
    23 'Normalizat'    2.0847       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .58779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6544.767     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2798 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2308        .51604       -.16370E-07    .30918E-02
   2  norm          .36968        9.5879        .60321E-05   -.31649E-03
   3  Prefactor     .10000E-03    34.110       -.47154E-06** at limit **
   4  norm          3.5238        2.4568        .28677E-07    .20556E-03
   5  norm          1.2612        29.817        .17544E-04    .76377E-05
   6  norm          .10000E-03    4.7583       -.83809E-07** at limit **
   7  Prefactor     10.113        11.312        .26675E-06    .21138E-03
   8  Prefactor     4.8177        12.428        .19584E-06    .18371E-03
   9  Prefactor     .10000E-03    13.611        .11770E-06** at limit **
  10  norm          .10000E-03    .85531       -.10138E-05** at limit **
  11  norm          7.5021        4.9478        .13210E-06    .63622E-03
  12  norm          11.655        10.171        .17801E-06    .34351E-03
  13  Prefactor     9.7053        14.539        .12527E-06    .87833E-04
  14  Prefactor     19.719        39.590       -.33463E-06    .73738E-04
  15  norm          .10000E-03    11.842       -.26730E-07** at limit **
  16  Prefactor     .10000E-03    6.9542        .10679E-05** at limit **
  17  norm          .10000E-03    6.7769       -.32077E-06** at limit **
  18  Prefactor     .10000E-03    3.4121       -.84295E-07** at limit **
  19  Prefactor     .10000E-03    26.402       -.38498E-07** at limit **
  20  norm          9.5950        8.0032        .40901E-06    .15112E-03
  21  norm          .10000E-03    .97494        .45465E-07** at limit **
  22  Prefactor     51.580        48.107        .58940E-07    .11345E-03
  23  Normalizat    2.0847        .27320       -.13318E-05    .72151E-03
  24  Prefactor     .58763        .12958        .10095E-05    .81699E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.23083
  norm       = 0.369679
  Prefactor  = 0.000100001
  norm       = 3.52385
  norm       = 1.26125
  norm       = 0.0001
  Prefactor  = 10.1134
  Prefactor  = 4.81772
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 7.5021
  norm       = 11.6552
  Prefactor  = 9.7053
  Prefactor  = 19.719
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 9.59499
  norm       = 0.0001
  Prefactor  = 51.5804
  Normalizat = 2.08471
  Prefactor  = 0.587634
 **********
 **   18 **HESSE 
 **********

 FCN=   6544.767     FROM HESSE     STATUS=OK           397 CALLS     3195 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2308        .51902        .22349E-04   -1.5348    
   2  norm          .36968        62.461        .36844E-02   -1.5586    
   3  Prefactor     .10000E-03    34.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.5238        2.4582        .10290E-03   -1.5333    
   5  norm          1.2612        31.731        .19841E-02   -1.5483    
   6  norm          .10000E-03    4.7639        .17236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.113        11.296        .12601E-03   -1.5072    
   8  Prefactor     4.8177        12.480        .18329E-03   -1.5269    
   9  Prefactor     .10000E-03    13.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.3559        .14541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.5021        4.9413        .13058E-03   -1.5160    
  12  norm          11.655        10.161        .11735E-03   -1.5025    
  13  Prefactor     9.7053        14.531        .12868E-03   -1.5085    
  14  Prefactor     19.719        39.648        .90223E-04   -1.4820    
  15  norm          .10000E-03    11.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.0313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.9799        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.4505        .14574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    26.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          9.5950        7.9966        .64685E-03   -1.5088    
  21  norm          .10000E-03    .98361        .77988E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     51.580        48.150        .55847E-04   -1.4270    
  23  Normalizat    2.0847        .31436        .30353E-03   -.62444    
  24  Prefactor     .58763        .15046        .26125E-03   -1.0811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7419e-09
Minuit parameter uncertainties:
  1  0.519022
  2  9.61945
  3  0.000310707
  4  2.45828
  5  12.6594
  6  1.58454e-05
  7  11.2987
  8  12.4868
  9  7.36373e-05
  10  8.52866e-05
  11  4.94154
  12  10.1627
  13  14.5359
  14  39.7006
  15  2.86731e-05
  16  0.000191494
  17  3.84228e-05
  18  1.3485e-05
  19  0.000324362
  20  7.99749
  21  3.40658e-06
  22  48.1868
  23  0.314671
  24  0.150558
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  7.502e+00  4.942e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.403e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.310e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  9.736e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  5.876e-01  1.506e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  2.085e+00  3.147e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.94
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 8.80e-08 +/- 5.80e-08
Energy Flux (Fixed Index): 3.07e-05 +/- 2.02e-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) = 6544.50559967
delta logL = 0.261793229935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6544.49029269
delta logL = 0.277100206277

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8423       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9182       1.0000          .0000       5.0000    
     3 'Normalizat'    2.1198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57746       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+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=   6544.490     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      271 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8424        5.5083        .13479E-03   -.65336E-03
   2  alpha         1.9176        .60972        .15820E-01   -.55325E-04
   3  Normalizat    2.1196        .29444        .30177E-03    .47091E-04
   4  Prefactor     .57757        .14596        .26330E-03    .63643E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.84241
  alpha      = 1.91757
  Normalizat = 2.11958
  Prefactor  = 0.577568
 **********
 **   18 **HESSE 
 **********

 FCN=   6544.490     FROM HESSE     STATUS=OK            23 CALLS      294 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8424        5.5052        .26959E-04   -1.5113    
   2  alpha         1.9176        .60914        .63280E-03   -.23513    
   3  Normalizat    2.1196        .29456        .12071E-04   -.61586    
   4  Prefactor     .57757        .14605        .10532E-04   -1.0854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53721e-10
Minuit parameter uncertainties:
  1  5.50548
  2  0.615696
  3  0.294821
  4  0.146143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/761445': 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) = 6544.49029186
delta logL = 0.277101039344

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  8.842e+00  5.505e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  1.918e+00  6.157e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  1.310e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  9.736e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  5.776e-01  1.461e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  2.120e+00  2.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.54
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 1.92 +/- 0.62
Photon Flux (Free Index): 5.57e-08 +/- 5.08e-08
Energy Flux (Free Index): 3.72e-05 +/- 2.70e-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/761445/cmap_HighResolution_510451201_510710401_4FGL_J1332.6-1256_daily_bin1046.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.80e-08', energy_flux2='3.72e-05', photon_flux_error='5.80e-08', dlogl='2.77e-01', energy_flux='3.07e-05', photon_flux2='5.57e-08', job_status='DONE', time_completed='2021-09-08 03:00:20.263776', photon_index_error2='0.62', photon_index2='1.92', ts='6.94', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', energy_flux_error2='2.70e-05', EG='2.08', time_epoch_completed='1631095220.26', return_code='0', job_id='761445', GAL2='0.58', EG2='2.12', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='5.08e-08', ts2='7.54', photon_index='2.40' WHERE bin_id='1046' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:00:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 761445: <4FGL_J1332.6-1256_daily_bin1046> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin1046> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 02:46:18 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:46:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 02:46:25 2021
Terminated at Wed Sep  8 03:00:21 2021
Results reported at Wed Sep  8 03:00:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1046 203.154 -12.9436 510451201 510710401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1332.6-1256 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   615.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            843 sec.

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

