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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin873
RA = 203.154, Dec = -12.9436
tmin = 465609601, tmax = 465868801
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='761183', job_status='RUN', time_executed='2021-09-08 02:49:32.870019', time_epoch_executed='1631094572.87' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='873'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/761183

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/761183/ft1_4FGL_J1332.6-1256_daily_bin873.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/761183/ft2_4FGL_J1332.6-1256_daily_bin873.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/761183/ft1_4FGL_J1332.6-1256_daily_bin873.fits outfile=/scratch/kocevski/761183/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin873.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=465609601.0 tmax=465868801.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.59
user 3.32
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/761183/ft2_4FGL_J1332.6-1256_daily_bin873.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/761183/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin873.fits evtable="EVENTS" outfile="/scratch/kocevski/761183/ft1_filtered_4FGL_J1332.6-1256_daily_bin873.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.36
user 0.36
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/761183/ft1_filtered_4FGL_J1332.6-1256_daily_bin873.fits" evtable="EVENTS" scfile=/scratch/kocevski/761183/ft2_4FGL_J1332.6-1256_daily_bin873.fits sctable="SC_DATA" outfile=/scratch/kocevski/761183/ltcube_465609601_465868801_4FGL_J1332.6-1256_daily_bin873.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/761183/ft2_4FGL_J1332.6-1256_daily_bin873.fits
.....................!
real 17.20
user 14.19
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/761183/ft1_filtered_4FGL_J1332.6-1256_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/761183/ft2_4FGL_J1332.6-1256_daily_bin873.fits sctable="SC_DATA" expcube=/scratch/kocevski/761183/ltcube_465609601_465868801_4FGL_J1332.6-1256_daily_bin873.fits outfile=/scratch/kocevski/761183/expmap_465609601_465868801_4FGL_J1332.6-1256_daily_bin873.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/761183/ltcube_465609601_465868801_4FGL_J1332.6-1256_daily_bin873.fits
.....................!
real 208.40
user 188.21
sys 4.91

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/761183/ft1_filtered_4FGL_J1332.6-1256_daily_bin873.fits scfile=/scratch/kocevski/761183/ft2_4FGL_J1332.6-1256_daily_bin873.fits outfile=/scratch/kocevski/761183/cmap_465609601_465868801_4FGL_J1332.6-1256_daily_bin873.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/761183/ft1_filtered_4FGL_J1332.6-1256_daily_bin873.fits scfile=/scratch/kocevski/761183/ft2_4FGL_J1332.6-1256_daily_bin873.fits outfile=/scratch/kocevski/761183/cmap_HighResolution_465609601_465868801_4FGL_J1332.6-1256_daily_bin873.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.59
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/761183/ft1_filtered_4FGL_J1332.6-1256_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/761183/ft2_4FGL_J1332.6-1256_daily_bin873.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/761183/Model_4FGL_J1332.6-1256_daily_bin873.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/761183/ft1_filtered_4FGL_J1332.6-1256_daily_bin873.fits.....................!
real 58.09
user 54.34
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1834       1.0000         .10000E-03   10000.    
     2 'norm      '    18.786       1.0000         .10000E-03   10000.    
     3 'Prefactor '    110.46       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2569       1.0000         .10000E-03   10000.    
     5 'norm      '    .11083E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7658       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    19.854       1.0000         .10000E-03   10000.    
    12 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    58.997       1.0000         .10000E-03   10000.    
    15 'norm      '    .10708E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.1949       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    47.741       1.0000         .10000E-03   10000.    
    20 'norm      '    2.7732       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10810E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2303       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2017       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=   6846.252     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2706 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1835        .37953       -.19303E-07    .52995E-03
   2  norm          18.788        12.762        .16102E-06   -.60983E-05
   3  Prefactor     110.42        100.14        .38033E-05   -.44953E-05
   4  norm          1.2572        1.8806        .75822E-07   -.33682E-05
   5  norm          .10000E-03    10.360       -.15246E-05** at limit **
   6  norm          .10000E-03    6.4243       -.10361E-06** at limit **
   7  Prefactor     .10000E-03    4.8208        .17836E-06** at limit **
   8  Prefactor     2.7659        5.6359        .34634E-05   -.97747E-04
   9  Prefactor     .10000E-03    28.096        .21812E-07** at limit **
  10  norm          .10000E-03    .80497       -.87347E-08** at limit **
  11  norm          19.861        5.8850       -.17430E-07   -.95652E-05
  12  norm          .10000E-03    3.5799        .47931E-07** at limit **
  13  Prefactor     .10000E-03    5.9458        .14990E-06** at limit **
  14  Prefactor     58.991        39.856        .61601E-06   -.75643E-05
  15  norm          .10000E-03    90.889        .15398E-05** at limit **
  16  Prefactor     .10000E-03    4.5211       -.56006E-07** at limit **
  17  norm          4.1964        5.6946        .14232E-05   -.21332E-04
  18  Prefactor     .10000E-03    5.0324        .15463E-06** at limit **
  19  Prefactor     47.751        53.829       -.11730E-05    .66768E-05
  20  norm          2.7738        4.6335        .18862E-05   -.25115E-04
  21  norm          .10000E-03    1.4054        .58407E-07** at limit **
  22  Prefactor     .10000E-03    87.140       -.88316E-06** at limit **
  23  Normalizat    1.2307        .27425        .96067E-06    .68816E-04
  24  Prefactor     1.2015        .14884       -.13484E-05   -.55033E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.18345
  norm       = 18.788
  Prefactor  = 110.417
  norm       = 1.25722
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.76587
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 19.8606
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.9911
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.19637
  Prefactor  = 0.0001
  Prefactor  = 47.7508
  norm       = 2.77379
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23072
  Prefactor  = 1.20146
 **********
 **   18 **HESSE 
 **********

 FCN=   6846.252     FROM HESSE     STATUS=OK           393 CALLS     3099 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1835        .37958        .27235E-04   -1.5490    
   2  norm          18.788        12.763        .92406E-04   -1.4841    
   3  Prefactor     110.42        100.28        .19136E-03   -1.3602    
   4  norm          1.2572        1.8443        .13497E-03   -1.5484    
   5  norm          .10000E-03    10.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.4462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.8377        .17742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.7659        5.6518        .12237E-02   -1.5375    
   9  Prefactor     .10000E-03    28.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.2329        .14263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          19.861        5.8746        .89888E-04   -1.4816    
  12  norm          .10000E-03    3.5934        .15281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.9550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     58.991        39.846        .52233E-04   -1.4170    
  15  norm          .10000E-03    91.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.5278        .17181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.1964        5.6841        .98382E-03   -1.5298    
  18  Prefactor     .10000E-03    5.1554        .36210E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     47.751        53.842        .58033E-04   -1.4325    
  20  norm          2.7738        4.6200        .11187E-02   -1.5375    
  21  norm          .10000E-03    1.4440        .19152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    88.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2307        .31023        .38307E-03   -.85659    
  24  Prefactor     1.2015        .16956        .21048E-03   -.86286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99486e-10
Minuit parameter uncertainties:
  1  0.379585
  2  12.7649
  3  100.439
  4  1.8444
  5  0.000285115
  6  3.65103e-06
  7  8.42307e-07
  8  5.65288
  9  5.05942e-06
  10  3.4404e-06
  11  5.87481
  12  4.41674e-06
  13  1.04332e-06
  14  39.8642
  15  7.83788e-05
  16  2.61855e-06
  17  5.68483
  18  4.02478e-05
  19  53.8974
  20  4.62059
  21  4.15279e-06
  22  0.000376336
  23  0.310696
  24  0.16964
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.986e+01  5.875e+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:  1.201e+00  1.696e-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.231e+00  3.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 35.92
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 2.33e-07 +/- 6.89e-08
Energy Flux (Fixed Index): 8.12e-05 +/- 2.40e-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) = 6842.86323093
delta logL = 3.38901562716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6842.61892183
delta logL = 3.63332472854

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.129       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5729       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3602       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1631       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=   6842.619     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      210 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.129        8.0542        .19978E-02    .69787E-02
   2  alpha         1.5729        .26996        .21947       -.27892E-04
   3  Normalizat    1.3603        .26578        .83053E-01    .22828E-04
   4  Prefactor     1.1631        .14420        .35567E-01   -.18918E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 25.1287
  alpha      = 1.5729
  Normalizat = 1.36026
  Prefactor  = 1.16315
 **********
 **   18 **HESSE 
 **********

 FCN=   6842.619     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.129        8.3835        .79911E-04   -1.4705    
   2  alpha         1.5729        .29333        .92564E-02   -.37991    
   3  Normalizat    1.3603        .30419        .36768E-03   -.81785    
   4  Prefactor     1.1631        .16560        .21345E-03   -.87473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3596e-08
Minuit parameter uncertainties:
  1  8.38393
  2  0.294121
  3  0.304595
  4  0.165669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/761183': 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) = 6842.61892178
delta logL = 3.6333247749

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  2.513e+01  8.384e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  1.573e+00  2.941e-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:  1.163e+00  1.657e-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.360e+00  3.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 43.19
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 1.57 +/- 0.29
Photon Flux (Free Index): 1.16e-07 +/- 5.08e-08
Energy Flux (Free Index): 1.51e-04 +/- 7.05e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/761183/cmap_HighResolution_465609601_465868801_4FGL_J1332.6-1256_daily_bin873.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-07', energy_flux2='1.51e-04', photon_flux_error='6.89e-08', dlogl='3.63e+00', energy_flux='8.12e-05', photon_flux2='1.16e-07', job_status='DONE', time_completed='2021-09-08 03:00:35.656774', photon_index_error2='0.29', photon_index2='1.57', ts='35.92', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='7.05e-05', EG='1.23', time_epoch_completed='1631095235.66', return_code='0', job_id='761183', GAL2='1.16', EG2='1.36', return_code2='0', energy_flux_error='2.40e-05', photon_flux_error2='5.08e-08', ts2='43.19', photon_index='2.40' WHERE bin_id='873' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:00:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 761183: <4FGL_J1332.6-1256_daily_bin873> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin873> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 02:45:54 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:45:58 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:45:58 2021
Terminated at Wed Sep  8 03:00:36 2021
Results reported at Wed Sep  8 03:00:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin873 203.154 -12.9436 465609601 465868801 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 :                                   620.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            882 sec.

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

