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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin928
RA = 203.154, Dec = -12.9436
tmin = 479865601, tmax = 480124801
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='761241', job_status='RUN', time_executed='2021-09-08 02:50:12.149123', time_epoch_executed='1631094612.15' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/761241

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/761241/ft1_4FGL_J1332.6-1256_daily_bin928.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/761241/ft2_4FGL_J1332.6-1256_daily_bin928.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/761241/ft1_4FGL_J1332.6-1256_daily_bin928.fits outfile=/scratch/kocevski/761241/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin928.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=479865601.0 tmax=480124801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.89
user 3.22
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/761241/ft1_filtered_4FGL_J1332.6-1256_daily_bin928.fits" evtable="EVENTS" scfile=/scratch/kocevski/761241/ft2_4FGL_J1332.6-1256_daily_bin928.fits sctable="SC_DATA" outfile=/scratch/kocevski/761241/ltcube_479865601_480124801_4FGL_J1332.6-1256_daily_bin928.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/761241/ft2_4FGL_J1332.6-1256_daily_bin928.fits
.....................!
real 17.76
user 16.42
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/761241/ft1_filtered_4FGL_J1332.6-1256_daily_bin928.fits evtable="EVENTS" scfile=/scratch/kocevski/761241/ft2_4FGL_J1332.6-1256_daily_bin928.fits sctable="SC_DATA" expcube=/scratch/kocevski/761241/ltcube_479865601_480124801_4FGL_J1332.6-1256_daily_bin928.fits outfile=/scratch/kocevski/761241/expmap_479865601_480124801_4FGL_J1332.6-1256_daily_bin928.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/761241/ltcube_479865601_480124801_4FGL_J1332.6-1256_daily_bin928.fits
.....................!
real 198.23
user 185.15
sys 5.42

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/761241/ft1_filtered_4FGL_J1332.6-1256_daily_bin928.fits scfile=/scratch/kocevski/761241/ft2_4FGL_J1332.6-1256_daily_bin928.fits outfile=/scratch/kocevski/761241/cmap_479865601_480124801_4FGL_J1332.6-1256_daily_bin928.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.21
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/761241/ft1_filtered_4FGL_J1332.6-1256_daily_bin928.fits scfile=/scratch/kocevski/761241/ft2_4FGL_J1332.6-1256_daily_bin928.fits outfile=/scratch/kocevski/761241/cmap_HighResolution_479865601_480124801_4FGL_J1332.6-1256_daily_bin928.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.77
user 0.40
sys 0.21

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/761241/ft1_filtered_4FGL_J1332.6-1256_daily_bin928.fits evtable="EVENTS" scfile=/scratch/kocevski/761241/ft2_4FGL_J1332.6-1256_daily_bin928.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/761241/Model_4FGL_J1332.6-1256_daily_bin928.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/761241/ft1_filtered_4FGL_J1332.6-1256_daily_bin928.fits....................!
real 61.16
user 56.31
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7184       1.0000         .10000E-03   10000.    
     2 'norm      '    18.767       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.6170       1.0000         .10000E-03   10000.    
     4 'norm      '    5.4945       1.0000         .10000E-03   10000.    
     5 'norm      '    5.4629       1.0000         .10000E-03   10000.    
     6 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .91081       1.0000         .10000E-03   10000.    
    11 'norm      '    4.8353       1.0000         .10000E-03   10000.    
    12 'norm      '    5.9956       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.709       1.0000         .10000E-03   10000.    
    15 'norm      '    46.170       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    17.431       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.3026       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .87010E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.291       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5247       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73557       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=   6883.207     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2388 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7184        .41953        .52473E-07   -.74678E-03
   2  norm          18.766        12.433        .32181E-06   -.15427E-04
   3  Prefactor     9.7244        100.68       -.20485E-04   -.79041E-05
   4  norm          5.4946        3.2358        .76568E-07   -.51564E-05
   5  norm          5.4603        11.582        .21574E-05    .33340E-04
   6  norm          .10000E-03    5.9042       -.51784E-08** at limit **
   7  Prefactor     .10000E-03    10.064        .67778E-06** at limit **
   8  Prefactor     .10000E-03    6.5383        .17221E-06** at limit **
   9  Prefactor     .10000E-03    27.747       -.11383E-08** at limit **
  10  norm          .91084        1.4523        .21714E-06    .35007E-04
  11  norm          4.8354        4.6921        .90502E-07   -.95767E-04
  12  norm          5.9960        8.5605       -.30141E-06   -.77131E-04
  13  Prefactor     .10000E-03    7.8044       -.18389E-06** at limit **
  14  Prefactor     37.706        32.886        .73343E-06    .34701E-05
  15  norm          46.162        38.746        .66799E-06   -.66788E-05
  16  Prefactor     .10000E-03    12.003       -.65925E-06** at limit **
  17  norm          17.431        8.0533        .16154E-06   -.36445E-04
  18  Prefactor     3.2961        5.7684        .25754E-05   -.27755E-03
  19  Prefactor     .10000E-03    19.955        .66952E-06** at limit **
  20  norm          .10014E-03    6.1010       -.41980E-06** at limit **
  21  norm          .10000E-03    .62525       -.54858E-08** at limit **
  22  Prefactor     26.266        25.845        .11088E-05   -.26277E-04
  23  Normalizat    1.5246        .24022       -.20472E-05   -.14821E-03
  24  Prefactor     .73557        .12094       -.26827E-06   -.25977E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.71838
  norm       = 18.7655
  Prefactor  = 9.72444
  norm       = 5.49456
  norm       = 5.46035
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.910836
  norm       = 4.83537
  norm       = 5.99601
  Prefactor  = 0.0001
  Prefactor  = 37.7063
  norm       = 46.1625
  Prefactor  = 0.0001
  norm       = 17.4312
  Prefactor  = 3.29613
  Prefactor  = 0.0001
  norm       = 0.000100144
  norm       = 0.0001
  Prefactor  = 26.2661
  Normalizat = 1.52463
  Prefactor  = 0.735573
 **********
 **   18 **HESSE 
 **********

 FCN=   6883.207     FROM HESSE     STATUS=OK           403 CALLS     2791 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7184        .42005        .25118E-04   -1.5446    
   2  norm          18.766        12.433        .92455E-04   -1.4841    
   3  Prefactor     9.7244        100.29        .12922E-03   -1.5084    
   4  norm          5.4946        3.2405        .11054E-03   -1.5239    
   5  norm          5.4603        11.576        .17191E-03   -1.5241    
   6  norm          .10000E-03    5.9368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.6041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    27.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .91084        1.4251        .11877E-03   -1.5517    
  11  norm          4.8354        4.6519        .14857E-03   -1.5268    
  12  norm          5.9960        8.5018        .16398E-03   -1.5218    
  13  Prefactor     .10000E-03    7.8212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.706        32.889        .65268E-04   -1.4479    
  15  norm          46.162        38.733        .29504E-03   -1.4348    
  16  Prefactor     .10000E-03    12.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          17.431        8.0622        .95930E-04   -1.4873    
  18  Prefactor     3.2961        5.8345        .11139E-02   -1.5345    
  19  Prefactor     .10000E-03    19.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10014E-03    46.475        .36787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .62919        .64054E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     26.266        25.841        .78127E-04   -1.4683    
  23  Normalizat    1.5246        .27334        .31177E-03   -.77088    
  24  Prefactor     .73557        .13843        .22277E-03   -1.0215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99792e-09
Minuit parameter uncertainties:
  1  0.420046
  2  12.4343
  3  62.5928
  4  3.24059
  5  11.581
  6  3.54036e-06
  7  1.66811e-05
  8  1.33734e-05
  9  5.09403e-05
  10  1.42513
  11  4.65224
  12  8.50348
  13  1.11846e-05
  14  32.9049
  15  38.7541
  16  3.10543e-05
  17  8.06274
  18  5.83547
  19  3.73352e-06
  20  0.00518234
  21  5.01483e-07
  22  25.8517
  23  0.273603
  24  0.138496
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  4.835e+00  4.652e+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.356e-01  1.385e-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.525e+00  2.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.21
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 5.67e-08 +/- 5.46e-08
Energy Flux (Fixed Index): 1.98e-05 +/- 1.90e-05

TS (Fixed Index): 2.21
Ra Dec: 203.154 -12.944
Photon Flux Upper Limit: 1.63e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/761241/likelihoodResults_479865601_480124801_4FGL_J1332.6-1256_daily_bin928.txt

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) = 6883.16582265
delta logL = 0.0411386448259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6883.14043345
delta logL = 0.0665278458046

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7779       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8209       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4923       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74548       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=   6883.140     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      252 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7770        6.2726        .11796E-03   -.81362E-03
   2  alpha         2.8213        1.4155        .15986E-01   -.24893E-04
   3  Normalizat    1.4923        .28575        .31446E-03    .19089E-03
   4  Prefactor     .74548        .14053        .22141E-03   -.12051E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.77705
  alpha      = 2.82135
  Normalizat = 1.49228
  Prefactor  = 0.745481
 **********
 **   18 **HESSE 
 **********

 FCN=   6883.140     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7770        4.9410        .47184E-05   -1.5319    
   2  alpha         2.8213        1.1377        .63944E-03    .12890    
   3  Normalizat    1.4923        .27767        .62891E-04   -.77995    
   4  Prefactor     .74548        .13825        .88564E-05   -1.0177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47005e-10
Minuit parameter uncertainties:
  1  4.94149
  2  1.18196
  3  0.27795
  4  0.138319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/761241': 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) = 6883.14043333
delta logL = 0.0665279658369

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  3.777e+00  4.941e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.821e+00  1.182e+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:  7.455e-01  1.383e-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.492e+00  2.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.36
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 2.82 +/- 1.18
Photon Flux (Free Index): 8.45e-08 +/- 9.85e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.65e-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/761241/cmap_HighResolution_479865601_480124801_4FGL_J1332.6-1256_daily_bin928.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.67e-05', comment='SUCCESS', photon_flux='5.67e-08', energy_flux2='2.10e-05', photon_flux_error='5.46e-08', dlogl='6.65e-02', energy_flux='1.98e-05', photon_flux2='8.45e-08', job_status='DONE', time_completed='2021-09-08 03:01:32.507818', photon_index_error2='1.18', photon_index2='2.82', ts='2.21', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='1.63e-07', energy_flux_error2='1.65e-05', EG='1.52', time_epoch_completed='1631095292.51', return_code='0', job_id='761241', GAL2='0.75', EG2='1.49', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='9.85e-08', ts2='2.36', photon_index='2.40' WHERE bin_id='928' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:01:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 761241: <4FGL_J1332.6-1256_daily_bin928> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin928 203.154 -12.9436 479865601 480124801 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 :                                   661.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             222.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            934 sec.

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

