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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1170
RA = 203.154, Dec = -12.9436
tmin = 542592001, tmax = 542851201
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='763604', job_status='RUN', time_executed='2021-09-08 02:55:40.441378', time_epoch_executed='1631094940.44' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/763604

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/763604/ft1_4FGL_J1332.6-1256_daily_bin1170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/763604/ft2_4FGL_J1332.6-1256_daily_bin1170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/763604/ft1_4FGL_J1332.6-1256_daily_bin1170.fits outfile=/scratch/kocevski/763604/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1170.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=542592001.0 tmax=542851201.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.98
user 6.67
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/763604/ft1_filtered_4FGL_J1332.6-1256_daily_bin1170.fits" evtable="EVENTS" scfile=/scratch/kocevski/763604/ft2_4FGL_J1332.6-1256_daily_bin1170.fits sctable="SC_DATA" outfile=/scratch/kocevski/763604/ltcube_542592001_542851201_4FGL_J1332.6-1256_daily_bin1170.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/763604/ft2_4FGL_J1332.6-1256_daily_bin1170.fits
.....................!
real 18.85
user 18.47
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/763604/ft1_filtered_4FGL_J1332.6-1256_daily_bin1170.fits evtable="EVENTS" scfile=/scratch/kocevski/763604/ft2_4FGL_J1332.6-1256_daily_bin1170.fits sctable="SC_DATA" expcube=/scratch/kocevski/763604/ltcube_542592001_542851201_4FGL_J1332.6-1256_daily_bin1170.fits outfile=/scratch/kocevski/763604/expmap_542592001_542851201_4FGL_J1332.6-1256_daily_bin1170.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/763604/ltcube_542592001_542851201_4FGL_J1332.6-1256_daily_bin1170.fits
.....................!
real 195.74
user 189.90
sys 5.13

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/763604/ft1_filtered_4FGL_J1332.6-1256_daily_bin1170.fits scfile=/scratch/kocevski/763604/ft2_4FGL_J1332.6-1256_daily_bin1170.fits outfile=/scratch/kocevski/763604/cmap_542592001_542851201_4FGL_J1332.6-1256_daily_bin1170.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/763604/ft1_filtered_4FGL_J1332.6-1256_daily_bin1170.fits scfile=/scratch/kocevski/763604/ft2_4FGL_J1332.6-1256_daily_bin1170.fits outfile=/scratch/kocevski/763604/cmap_HighResolution_542592001_542851201_4FGL_J1332.6-1256_daily_bin1170.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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/763604/ft1_filtered_4FGL_J1332.6-1256_daily_bin1170.fits evtable="EVENTS" scfile=/scratch/kocevski/763604/ft2_4FGL_J1332.6-1256_daily_bin1170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/763604/Model_4FGL_J1332.6-1256_daily_bin1170.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/763604/ft1_filtered_4FGL_J1332.6-1256_daily_bin1170.fits......................!
real 34.91
user 33.53
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2983       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4730       1.0000         .10000E-03   10000.    
     3 'Prefactor '    76.038       1.0000         .10000E-03   10000.    
     4 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.9895       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10400E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .52310       1.0000         .10000E-03   10000.    
    11 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.002       1.0000         .10000E-03   10000.    
    14 'Prefactor '    44.358       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.4477       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    10.967       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .84951       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0420       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=   3303.607     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2671 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2983        .76291        .14629E-07   -.99557E-04
   2  norm          1.4707        41.117        .13300E-04   -.11069E-04
   3  Prefactor     76.048        88.034       -.31831E-06    .33345E-05
   4  norm          .10000E-03    3.3414        .31527E-07** at limit **
   5  norm          5.9923        16.174        .13867E-05    .24589E-04
   6  norm          .10000E-03    6.0953        .67008E-07** at limit **
   7  Prefactor     .10000E-03    27.183       -.80131E-07** at limit **
   8  Prefactor     .10000E-03    7.0956       -.14367E-06** at limit **
   9  Prefactor     .10000E-03    22.176        .64709E-06** at limit **
  10  norm          .52351        2.0787        .51792E-06    .10276E-03
  11  norm          .10000E-03    3.0367        .14182E-06** at limit **
  12  norm          .10000E-03    10.501        .58676E-06** at limit **
  13  Prefactor     44.005        25.039       -.11006E-05   -.45537E-03
  14  Prefactor     44.360        39.605       -.60843E-07   -.75364E-04
  15  norm          .10000E-03    33.781       -.62347E-06** at limit **
  16  Prefactor     .10000E-03    8.7369        .63993E-06** at limit **
  17  norm          2.4482        8.7685        .46463E-05   -.14890E-03
  18  Prefactor     .10000E-03    2.7083       -.27434E-07** at limit **
  19  Prefactor     .10000E-03    49.665        .80298E-06** at limit **
  20  norm          .10000E-03    4.2958       -.27505E-07** at limit **
  21  norm          10.967        5.5355        .19724E-06    .14360E-03
  22  Prefactor     .10000E-03    33.013       -.53625E-06** at limit **
  23  Normalizat    .84936        .34410       -.33473E-05   -.28777E-04
  24  Prefactor     1.0420        .17350       -.49727E-07    .11141E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.29826
  norm       = 1.4707
  Prefactor  = 76.0481
  norm       = 0.0001
  norm       = 5.99226
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.52351
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 44.0053
  Prefactor  = 44.3599
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.44818
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.9674
  Prefactor  = 0.0001
  Normalizat = 0.849362
  Prefactor  = 1.04204
 **********
 **   18 **HESSE 
 **********

 FCN=   3303.607     FROM HESSE     STATUS=OK           389 CALLS     3060 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2983        .76566        .23145E-04   -1.5345    
   2  norm          1.4707        41.362        .17698E-02   -1.5465    
   3  Prefactor     76.048        88.068        .23024E-03   -1.3962    
   4  norm          .10000E-03    3.4211        .10256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.9923        16.165        .82034E-03   -1.5218    
   6  norm          .10000E-03    6.0959        .13860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.077        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.1253        .14949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    22.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .52351        2.0643        .15262E-03   -1.5563    
  11  norm          .10000E-03    3.0824        .97769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    10.994        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     44.005        25.227        .60438E-04   -1.4380    
  14  Prefactor     44.360        39.640        .60196E-04   -1.4375    
  15  norm          .10000E-03    33.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.7838        .16619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4482        8.8396        .13074E-02   -1.5395    
  18  Prefactor     .10000E-03    2.7218        .92364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    49.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.3055        .11634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          10.967        5.5398        .91661E-04   -1.5046    
  22  Prefactor     .10000E-03    33.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84936        .38475        .38807E-03   -.98263    
  24  Prefactor     1.0420        .19797        .18803E-03   -.91341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.61428e-10
Minuit parameter uncertainties:
  1  0.765658
  2  15.6103
  3  88.2191
  4  5.38502e-06
  5  16.177
  6  1.76054e-06
  7  2.08222e-05
  8  1.14432e-05
  9  1.35529e-06
  10  2.06454
  11  2.01684e-05
  12  0.000233678
  13  25.2331
  14  39.6633
  15  1.99697e-06
  16  6.83887e-05
  17  8.8443
  18  2.615e-06
  19  7.51808e-05
  20  2.86035e-06
  21  5.54004
  22  1.72594e-05
  23  0.385998
  24  0.198105
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  2.017e-05  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.042e+00  1.981e-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:  8.494e-01  3.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/763604/likelihoodResults_542592001_542851201_4FGL_J1332.6-1256_daily_bin1170.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) = 3303.60819834
delta logL = -0.00154103378145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3303.60665736
delta logL = -4.4904936658e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3966       1.0000          .0000       5.0000    
     3 'Normalizat'    .84936       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0421       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=   3303.607     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      196 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.0474        .90712E-02** at limit **
   2  alpha         2.3906        3.5262        .41196        .97670E-05
   3  Normalizat    .84937        .31685        .87624E-01    .39308E-04
   4  Prefactor     1.0420        .16981        .40397E-01    .52569E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.39061
  Normalizat = 0.849365
  Prefactor  = 1.04204
 **********
 **   18 **HESSE 
 **********

 FCN=   3303.607     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0888        .97934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3906        3.5258        .50000       -.43772E-01
   3  Normalizat    .84937        .35509        .38807E-03   -.98263    
   4  Prefactor     1.0420        .19089        .18803E-03   -.91341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04571e-10
Minuit parameter uncertainties:
  1  1.37166e-05
  2  2.49813
  3  0.356066
  4  0.191018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/763604': 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) = 3303.60665726
delta logL = 4.70117811346e-08

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  1.372e-05  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.391e+00  2.498e+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:  1.042e+00  1.910e-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:  8.494e-01  3.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.154 -12.944

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/763604/cmap_HighResolution_542592001_542851201_4FGL_J1332.6-1256_daily_bin1170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-05', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-08 03:04:30.846649', job_id='763604', GAL2='1.04', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1631095470.85', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='4.70e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1170' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:04:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 763604: <4FGL_J1332.6-1256_daily_bin1170> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin1170> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 02:52:34 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:52:37 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:52:37 2021
Terminated at Wed Sep  8 03:04:31 2021
Results reported at Wed Sep  8 03:04:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1170 203.154 -12.9436 542592001 542851201 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 :                                   518.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            717 sec.

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

