/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 149 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 = 7393
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1332.6-1256_daily_bin307
RA = 203.154, Dec = -12.9436
tmin = 318902401, tmax = 319161601
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='756304', job_status='RUN', time_executed='2021-09-08 02:34:20.622323', time_epoch_executed='1631093660.62' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/756304

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/756304/ft1_4FGL_J1332.6-1256_daily_bin307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/756304/ft2_4FGL_J1332.6-1256_daily_bin307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/756304/ft1_4FGL_J1332.6-1256_daily_bin307.fits outfile=/scratch/kocevski/756304/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin307.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=318902401.0 tmax=319161601.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 3.54
user 3.28
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/756304/ft1_filtered_4FGL_J1332.6-1256_daily_bin307.fits" evtable="EVENTS" scfile=/scratch/kocevski/756304/ft2_4FGL_J1332.6-1256_daily_bin307.fits sctable="SC_DATA" outfile=/scratch/kocevski/756304/ltcube_318902401_319161601_4FGL_J1332.6-1256_daily_bin307.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/756304/ft2_4FGL_J1332.6-1256_daily_bin307.fits
.....................!
real 15.64
user 15.22
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/756304/ft1_filtered_4FGL_J1332.6-1256_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/756304/ft2_4FGL_J1332.6-1256_daily_bin307.fits sctable="SC_DATA" expcube=/scratch/kocevski/756304/ltcube_318902401_319161601_4FGL_J1332.6-1256_daily_bin307.fits outfile=/scratch/kocevski/756304/expmap_318902401_319161601_4FGL_J1332.6-1256_daily_bin307.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/756304/ltcube_318902401_319161601_4FGL_J1332.6-1256_daily_bin307.fits
.....................!
real 190.81
user 186.10
sys 4.10

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/756304/ft1_filtered_4FGL_J1332.6-1256_daily_bin307.fits scfile=/scratch/kocevski/756304/ft2_4FGL_J1332.6-1256_daily_bin307.fits outfile=/scratch/kocevski/756304/cmap_318902401_319161601_4FGL_J1332.6-1256_daily_bin307.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/756304/ft1_filtered_4FGL_J1332.6-1256_daily_bin307.fits scfile=/scratch/kocevski/756304/ft2_4FGL_J1332.6-1256_daily_bin307.fits outfile=/scratch/kocevski/756304/cmap_HighResolution_318902401_319161601_4FGL_J1332.6-1256_daily_bin307.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/756304/ft1_filtered_4FGL_J1332.6-1256_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/756304/ft2_4FGL_J1332.6-1256_daily_bin307.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/756304/Model_4FGL_J1332.6-1256_daily_bin307.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/756304/ft1_filtered_4FGL_J1332.6-1256_daily_bin307.fits.....................!
real 53.67
user 52.26
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3545       1.0000         .10000E-03   10000.    
     2 'norm      '    .11069E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .66601       1.0000         .10000E-03   10000.    
     5 'norm      '    15.698       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    41.049       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10427E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10438E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.8002       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10283E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.931       1.0000         .10000E-03   10000.    
    15 'norm      '    35.645       1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.843       1.0000         .10000E-03   10000.    
    17 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3204       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86823       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=   6330.202     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     2359 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3545        .36813       -.13620E-08    .44392E-03
   2  norm          .10000E-03    34.962       -.14848E-04** at limit **
   3  Prefactor     .10000E-03    57.843       -.98688E-05** at limit **
   4  norm          .66572        2.2554       -.76580E-06    .36839E-03
   5  norm          15.698        13.313        .99040E-07    .97635E-04
   6  norm          .10000E-03    5.0639        .11061E-07** at limit **
   7  Prefactor     .10000E-03    3.4285       -.10244E-08** at limit **
   8  Prefactor     41.047        14.194        .81836E-07    .52510E-05
   9  Prefactor     .10000E-03    9.1992        .46154E-06** at limit **
  10  norm          .10000E-03    .63900        .41740E-07** at limit **
  11  norm          .10000E-03    2.3540        .60125E-06** at limit **
  12  norm          1.7951        6.9198       -.74345E-06    .65199E-04
  13  Prefactor     .10000E-03    22.386        .14986E-05** at limit **
  14  Prefactor     16.928        22.565        .29892E-06    .43296E-05
  15  norm          35.645        32.237        .17776E-06    .62494E-05
  16  Prefactor     31.847        17.022       -.10158E-07   -.11436E-03
  17  norm          .10000E-03    6.1123       -.16464E-06** at limit **
  18  Prefactor     .10000E-03    2.7175        .64697E-07** at limit **
  19  Prefactor     .10000E-03    80.069        .10879E-04** at limit **
  20  norm          .10000E-03    2.4786       -.34362E-07** at limit **
  21  norm          .10000E-03    1.4191       -.65433E-07** at limit **
  22  Prefactor     .10000E-03    22.039       -.33859E-05** at limit **
  23  Normalizat    1.3202        .24965        .17212E-06    .27458E-04
  24  Prefactor     .86835        .12591       -.14304E-06   -.37073E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35449
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.66572
  norm       = 15.6977
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.0473
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.79508
  Prefactor  = 0.0001
  Prefactor  = 16.9284
  norm       = 35.6447
  Prefactor  = 31.8468
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.32025
  Prefactor  = 0.868352
 **********
 **   18 **HESSE 
 **********

 FCN=   6330.202     FROM HESSE     STATUS=OK           393 CALLS     2752 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3545        .36824        .24257E-04   -1.5475    
   2  norm          .10000E-03    34.653        .38013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    59.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .66572        2.3182        .21943E-03   -1.5545    
   5  norm          15.698        13.324        .10109E-03   -1.4915    
   6  norm          .10000E-03    5.0691        .17486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4325        .14386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     41.047        14.271        .62566E-04   -1.4426    
   9  Prefactor     .10000E-03    9.2289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.8640        .12262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.4144        .23829E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7951        7.1423        .31157E-03   -1.5440    
  13  Prefactor     .10000E-03    22.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.928        22.567        .97338E-04   -1.4885    
  15  norm          35.645        32.235        .67124E-04   -1.4513    
  16  Prefactor     31.847        16.998        .71007E-04   -1.4579    
  17  norm          .10000E-03    6.2417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.7438        .12801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    82.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.4850        .12232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.4431        .92505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    22.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3202        .29226        .32705E-03   -.82964    
  24  Prefactor     .86835        .14803        .20498E-03   -.97256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68622e-10
Minuit parameter uncertainties:
  1  0.36824
  2  0.000253313
  3  0.00058478
  4  2.31851
  5  13.3268
  6  1.12827e-06
  7  7.55481e-07
  8  14.2724
  9  3.47829e-05
  10  3.57321e-06
  11  2.68431e-05
  12  7.14567
  13  1.34052e-05
  14  22.5785
  15  32.2507
  16  17.001
  17  1.18286e-05
  18  2.60468e-06
  19  0.000588828
  20  6.46728e-07
  21  1.21071e-06
  22  0.000126353
  23  0.292628
  24  0.148096
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  2.684e-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:  8.684e-01  1.481e-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.320e+00  2.926e-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: 8.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/756304/likelihoodResults_318902401_319161601_4FGL_J1332.6-1256_daily_bin307.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) = 6330.20407581
delta logL = -0.00197439217573

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6330.20210147
delta logL = -4.99931047671e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4096       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3203       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86838       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=   6330.202     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      237 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    416.73        .23864E-02** at limit **
   2  alpha         2.9684        3.1379        .16474        .24567E-07
   3  Normalizat    1.3202        .10790        .32705E-03   -.20494E-03
   4  Prefactor     .86835        .56349E-01    .20498E-03   -.38991E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.96842
  Normalizat = 1.32025
  Prefactor  = 0.868352
 **********
 **   18 **HESSE 
 **********

 FCN=   6330.202     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6350        .47728E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.9684        3.3778        .65897E-02    .18848    
   3  Normalizat    1.3202        .27658        .65411E-04   -.82964    
   4  Prefactor     .86835        .14498        .40997E-04   -.97256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15598e-10
Minuit parameter uncertainties:
  1  8.35088e-06
  2  279.527
  3  0.276895
  4  0.145048
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/756304': 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) = 6330.20209968
delta logL = 1.73691933014e-06

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  8.351e-06  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.968e+00  2.795e+02  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.684e-01  1.450e-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.320e+00  2.769e-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/756304/cmap_HighResolution_318902401_319161601_4FGL_J1332.6-1256_daily_bin307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-05', job_status='DONE', photon_flux_upper_limit='8.65e-08', time_completed='2021-09-08 02:44:50.829204', job_id='756304', GAL2='0.87', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1631094290.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.74e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='307' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 02:44:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 756304: <4FGL_J1332.6-1256_daily_bin307> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin307> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  8 02:30:36 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:31:43 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:31:43 2021
Terminated at Wed Sep  8 02:44:51 2021
Results reported at Wed Sep  8 02:44:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin307 203.154 -12.9436 318902401 319161601 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 :                                   625.00 sec.
    Max Memory :                                 1127 MB
    Average Memory :                             292.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            855 sec.

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

