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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1107
RA = 203.154, Dec = -12.9436
tmin = 526262401, tmax = 526521601
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='761542', job_status='RUN', time_executed='2021-09-08 02:48:48.895203', time_epoch_executed='1631094528.9' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1107'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/761542

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/761542/ft1_4FGL_J1332.6-1256_daily_bin1107.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/761542/ft2_4FGL_J1332.6-1256_daily_bin1107.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/761542/ft1_4FGL_J1332.6-1256_daily_bin1107.fits outfile=/scratch/kocevski/761542/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1107.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=526262401.0 tmax=526521601.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.28
user 3.80
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/761542/ft2_4FGL_J1332.6-1256_daily_bin1107.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/761542/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1107.fits evtable="EVENTS" outfile="/scratch/kocevski/761542/ft1_filtered_4FGL_J1332.6-1256_daily_bin1107.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.82
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/761542/ft1_filtered_4FGL_J1332.6-1256_daily_bin1107.fits" evtable="EVENTS" scfile=/scratch/kocevski/761542/ft2_4FGL_J1332.6-1256_daily_bin1107.fits sctable="SC_DATA" outfile=/scratch/kocevski/761542/ltcube_526262401_526521601_4FGL_J1332.6-1256_daily_bin1107.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/761542/ft2_4FGL_J1332.6-1256_daily_bin1107.fits
.....................!
real 16.55
user 15.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/761542/ft1_filtered_4FGL_J1332.6-1256_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/761542/ft2_4FGL_J1332.6-1256_daily_bin1107.fits sctable="SC_DATA" expcube=/scratch/kocevski/761542/ltcube_526262401_526521601_4FGL_J1332.6-1256_daily_bin1107.fits outfile=/scratch/kocevski/761542/expmap_526262401_526521601_4FGL_J1332.6-1256_daily_bin1107.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/761542/ltcube_526262401_526521601_4FGL_J1332.6-1256_daily_bin1107.fits
.....................!
real 192.76
user 186.24
sys 4.85

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/761542/ft1_filtered_4FGL_J1332.6-1256_daily_bin1107.fits scfile=/scratch/kocevski/761542/ft2_4FGL_J1332.6-1256_daily_bin1107.fits outfile=/scratch/kocevski/761542/cmap_526262401_526521601_4FGL_J1332.6-1256_daily_bin1107.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 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/761542/ft1_filtered_4FGL_J1332.6-1256_daily_bin1107.fits scfile=/scratch/kocevski/761542/ft2_4FGL_J1332.6-1256_daily_bin1107.fits outfile=/scratch/kocevski/761542/cmap_HighResolution_526262401_526521601_4FGL_J1332.6-1256_daily_bin1107.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 0.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/761542/ft1_filtered_4FGL_J1332.6-1256_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/761542/ft2_4FGL_J1332.6-1256_daily_bin1107.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/761542/Model_4FGL_J1332.6-1256_daily_bin1107.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/761542/ft1_filtered_4FGL_J1332.6-1256_daily_bin1107.fits.....................!
real 61.04
user 59.13
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/761542/ft1_filtered_4FGL_J1332.6-1256_daily_bin1107.fits', '/scratch/kocevski/761542/ft2_4FGL_J1332.6-1256_daily_bin1107.fits', expMap='/scratch/kocevski/761542/expmap_526262401_526521601_4FGL_J1332.6-1256_daily_bin1107.fits', expCube='/scratch/kocevski/761542/ltcube_526262401_526521601_4FGL_J1332.6-1256_daily_bin1107.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/761542/Model_4FGL_J1332.6-1256_daily_bin1107.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/761542/ft1_filtered_4FGL_J1332.6-1256_daily_bin1107.fits
Spacecraft file(s): /scratch/kocevski/761542/ft2_4FGL_J1332.6-1256_daily_bin1107.fits
Exposure map: /scratch/kocevski/761542/expmap_526262401_526521601_4FGL_J1332.6-1256_daily_bin1107.fits
Exposure cube: /scratch/kocevski/761542/ltcube_526262401_526521601_4FGL_J1332.6-1256_daily_bin1107.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/761542/Model_4FGL_J1332.6-1256_daily_bin1107.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) = 7598.23118576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6422       1.0000         .10000E-03   10000.    
     2 'norm      '    11.737       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .21590E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    2.4554       1.0000         .10000E-03   10000.    
     5 'norm      '    35.499       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.223       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.1615       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3725       1.0000         .10000E-03   10000.    
    11 'norm      '    7.1056       1.0000         .10000E-03   10000.    
    12 'norm      '    2.4150       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   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      '    5.6192       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.993       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6147       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78655       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=   7598.206     FROM MIGRAD    STATUS=CONVERGED    617 CALLS     2419 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6418        .41790        .32816E-07    .65354E-04
   2  norm          11.737        8.4290        .65702E-09    .18660E-04
   3  Prefactor     .81287        54.223        .33267E-05   -.10005E-03
   4  norm          2.4553        1.9165       -.51941E-07    .18930E-04
   5  norm          35.471        15.446        .11950E-06   -.50986E-04
   6  norm          .10000E-03    6.5456        .50605E-07** at limit **
   7  Prefactor     .10000E-03    5.4855        .79322E-06** at limit **
   8  Prefactor     17.226        11.435        .73261E-06    .57235E-03
   9  Prefactor     5.1638        49.943       -.15589E-04    .97493E-04
  10  norm          1.3730        1.4546        .11799E-06    .55579E-04
  11  norm          7.1110        6.3874        .11397E-05    .79178E-03
  12  norm          2.4102        8.2483        .78728E-05   -.56459E-05
  13  Prefactor     .10000E-03    5.0748       -.50292E-08** at limit **
  14  Prefactor     .10000E-03    10.810       -.12989E-06** at limit **
  15  norm          .10000E-03    11.613       -.21949E-07** at limit **
  16  Prefactor     .10000E-03    4.0748       -.95170E-07** at limit **
  17  norm          5.6199        4.2065        .16394E-06    .10884E-04
  18  Prefactor     .10000E-03    1.3416        .78379E-07** at limit **
  19  Prefactor     .10000E-03    31.644        .42438E-07** at limit **
  20  norm          .10000E-03    2.0418       -.48763E-07** at limit **
  21  norm          .10000E-03    .66966       -.96674E-07** at limit **
  22  Prefactor     13.984        20.084        .98805E-07   -.74807E-04
  23  Normalizat    1.6142        .24549       -.40133E-05    .73350E-04
  24  Prefactor     .78675        .12097        .29890E-05    .25375E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.64184
  norm       = 11.7373
  Prefactor  = 0.81287
  norm       = 2.45526
  norm       = 35.4713
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.2259
  Prefactor  = 5.16378
  norm       = 1.37305
  norm       = 7.11104
  norm       = 2.41022
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.61993
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 13.984
  Normalizat = 1.61423
  Prefactor  = 0.786747
 **********
 **   18 **HESSE 
 **********

 FCN=   7598.206     FROM HESSE     STATUS=OK           409 CALLS     2828 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6418        .41885        .27117E-04   -1.5452    
   2  norm          11.737        8.4315        .11693E-03   -1.5023    
   3  Prefactor     .81287        49.630        .20789       -1.5528    
   4  norm          2.4553        1.9177        .10364E-03   -1.5395    
   5  norm          35.471        15.457        .67262E-04   -1.4516    
   6  norm          .10000E-03    6.5869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.5144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.226        11.457        .96509E-04   -1.4878    
   9  Prefactor     5.1638        51.147        .17695E-03   -1.5253    
  10  norm          1.3730        1.4362        .10310E-03   -1.5474    
  11  norm          7.1110        6.4239        .13263E-03   -1.5175    
  12  norm          2.4102        8.5417        .13170E-02   -1.5397    
  13  Prefactor     .10000E-03    5.1058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    11.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.1111        .17181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.6199        4.2083        .74605E-03   -1.5234    
  18  Prefactor     .10000E-03    1.3468        .98582E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    31.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.0498        .12163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .67609        .69651E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.984        20.084        .10708E-03   -1.4960    
  23  Normalizat    1.6142        .28380        .30586E-03   -.74617    
  24  Prefactor     .78675        .14058        .21890E-03   -1.0022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.59904e-10
Minuit parameter uncertainties:
  1  0.418851
  2  8.43232
  3  12.7134
  4  1.91773
  5  15.4585
  6  3.20877e-07
  7  7.05617e-05
  8  11.458
  9  32.5391
  10  1.4362
  11  6.42457
  12  8.54597
  13  1.41127e-06
  14  1.53421e-05
  15  3.51738e-06
  16  6.31209e-06
  17  4.20849
  18  2.18427e-06
  19  6.13897e-06
  20  2.88714e-06
  21  2.30965e-06
  22  20.0934
  23  0.284088
  24  0.140647
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  7.111e+00  6.425e+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:  7.867e-01  1.406e-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:  1.614e+00  2.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.56
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 8.34e-08 +/- 7.53e-08
Energy Flux (Fixed Index): 2.91e-05 +/- 2.63e-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) = 7596.71285693
delta logL = 1.49359833994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7596.69045586
delta logL = 1.51599941397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4562       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5579       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83601       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.

 FCN=   7596.690     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      248 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4549        13.065        .65245E-02    .48981E-03
   2  alpha         3.5583        3.8381        .19776        .91998E-04
   3  Normalizat    1.4661        .93499E-01    .71704E-01    .10174E-04
   4  Prefactor     .83601        .46146E-01    .44184E-01    .95699E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.45489
  alpha      = 3.55825
  Normalizat = 1.46606
  Prefactor  = 0.836013
 **********
 **   18 **HESSE 
 **********

 FCN=   7596.690     FROM HESSE     STATUS=OK            33 CALLS      281 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4549        5.7803        .52756E-04   -1.5395    
   2  alpha         3.5583        1.3262        .83030E-02    .43709    
   3  Normalizat    1.4661        .28713        .31726E-03   -.78737    
   4  Prefactor     .83601        .14586        .21293E-03   -.98414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02803e-10
Minuit parameter uncertainties:
  1  5.78156
  2  1.41674
  3  0.287445
  4  0.145929
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/761542': 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) = 7596.69045576
delta logL = 1.51599951003

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  2.455e+00  5.782e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  3.558e+00  1.417e+00  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:  8.360e-01  1.459e-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:  1.466e+00  2.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.98
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 3.56 +/- 1.42
Photon Flux (Free Index): 1.97e-07 +/- 9.65e-08
Energy Flux (Free Index): 3.53e-05 +/- 1.58e-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/761542/cmap_HighResolution_526262401_526521601_4FGL_J1332.6-1256_daily_bin1107.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.34e-08', energy_flux2='3.53e-05', photon_flux_error='7.53e-08', dlogl='1.52e+00', energy_flux='2.91e-05', photon_flux2='1.97e-07', job_status='DONE', time_completed='2021-09-08 02:59:45.531058', photon_index_error2='1.42', photon_index2='3.56', ts='5.56', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='1.61', time_epoch_completed='1631095185.53', return_code='0', job_id='761542', GAL2='0.84', EG2='1.47', return_code2='0', energy_flux_error='2.63e-05', photon_flux_error2='9.65e-08', ts2='8.98', photon_index='2.40' WHERE bin_id='1107' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 02:59:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 761542: <4FGL_J1332.6-1256_daily_bin1107> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin1107> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 02:46:26 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:46:33 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:33 2021
Terminated at Wed Sep  8 02:59:46 2021
Results reported at Wed Sep  8 02:59:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1107 203.154 -12.9436 526262401 526521601 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 :                                   644.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            800 sec.

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

