/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 31 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7622
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1396
RA = 203.154, Dec = -12.9436
tmin = 601171201, tmax = 601430401
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='763924', job_status='RUN', time_executed='2021-09-08 02:54:51.696966', time_epoch_executed='1631094891.7' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1396'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/763924

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/763924/ft1_4FGL_J1332.6-1256_daily_bin1396.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/763924/ft2_4FGL_J1332.6-1256_daily_bin1396.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/763924/ft1_4FGL_J1332.6-1256_daily_bin1396.fits outfile=/scratch/kocevski/763924/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1396.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=601171201.0 tmax=601430401.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.74
user 3.49
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/763924/ft2_4FGL_J1332.6-1256_daily_bin1396.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/763924/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1396.fits evtable="EVENTS" outfile="/scratch/kocevski/763924/ft1_filtered_4FGL_J1332.6-1256_daily_bin1396.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/763924/ft1_filtered_4FGL_J1332.6-1256_daily_bin1396.fits" evtable="EVENTS" scfile=/scratch/kocevski/763924/ft2_4FGL_J1332.6-1256_daily_bin1396.fits sctable="SC_DATA" outfile=/scratch/kocevski/763924/ltcube_601171201_601430401_4FGL_J1332.6-1256_daily_bin1396.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/763924/ft2_4FGL_J1332.6-1256_daily_bin1396.fits
.....................!
real 14.91
user 14.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/763924/ft1_filtered_4FGL_J1332.6-1256_daily_bin1396.fits evtable="EVENTS" scfile=/scratch/kocevski/763924/ft2_4FGL_J1332.6-1256_daily_bin1396.fits sctable="SC_DATA" expcube=/scratch/kocevski/763924/ltcube_601171201_601430401_4FGL_J1332.6-1256_daily_bin1396.fits outfile=/scratch/kocevski/763924/expmap_601171201_601430401_4FGL_J1332.6-1256_daily_bin1396.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/763924/ltcube_601171201_601430401_4FGL_J1332.6-1256_daily_bin1396.fits
.....................!
real 191.72
user 186.06
sys 5.08

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/763924/ft1_filtered_4FGL_J1332.6-1256_daily_bin1396.fits scfile=/scratch/kocevski/763924/ft2_4FGL_J1332.6-1256_daily_bin1396.fits outfile=/scratch/kocevski/763924/cmap_601171201_601430401_4FGL_J1332.6-1256_daily_bin1396.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/763924/ft1_filtered_4FGL_J1332.6-1256_daily_bin1396.fits scfile=/scratch/kocevski/763924/ft2_4FGL_J1332.6-1256_daily_bin1396.fits outfile=/scratch/kocevski/763924/cmap_HighResolution_601171201_601430401_4FGL_J1332.6-1256_daily_bin1396.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/763924/ft1_filtered_4FGL_J1332.6-1256_daily_bin1396.fits evtable="EVENTS" scfile=/scratch/kocevski/763924/ft2_4FGL_J1332.6-1256_daily_bin1396.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/763924/Model_4FGL_J1332.6-1256_daily_bin1396.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/763924/ft1_filtered_4FGL_J1332.6-1256_daily_bin1396.fits.....................!
real 71.89
user 70.45
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8559       1.0000         .10000E-03   10000.    
     2 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    62.316       1.0000         .10000E-03   10000.    
     4 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.5316       1.0000         .10000E-03   10000.    
     6 'norm      '    .18887       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1168       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .12073E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11366E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.337       1.0000         .10000E-03   10000.    
    17 'norm      '    2.4403       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.9569       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.224       1.0000         .10000E-03   10000.    
    20 'norm      '    8.6731       1.0000         .10000E-03   10000.    
    21 'norm      '    3.4470       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1561       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98084       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=   9124.254     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2760 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8561        .48523       -.98798E-08    .44611E-03
   2  norm          .10000E-03    3.5772       -.21778E-06** at limit **
   3  Prefactor     62.303        90.039        .29507E-05   -.18952E-04
   4  norm          .10000E-03    1.1810       -.17105E-06** at limit **
   5  norm          9.5308        10.354       -.18768E-06   -.46035E-04
   6  norm          .20384        70.334        .26346E-04   -.23322E-03
   7  Prefactor     .10000E-03    1.9680       -.64801E-07** at limit **
   8  Prefactor     .10000E-03    1.7721       -.24500E-07** at limit **
   9  Prefactor     .10000E-03    9.7062       -.40460E-06** at limit **
  10  norm          3.1171        1.4868        .29917E-07    .20729E-03
  11  norm          .10000E-03    .74575       -.17033E-07** at limit **
  12  norm          .10004E-03    3.5108        .33267E-05** at limit **
  13  Prefactor     .10012E-03    12.107        .10473E-04** at limit **
  14  Prefactor     .10000E-03    7.2555        .19420E-06** at limit **
  15  norm          .10000E-03    46.946        .84390E-06** at limit **
  16  Prefactor     13.345        9.9873       -.31175E-05   -.15072E-03
  17  norm          2.4399        2.6350       -.14810E-06   -.96008E-05
  18  Prefactor     3.9572        5.2481       -.98401E-06    .11151E-02
  19  Prefactor     16.208        38.618        .52271E-05    .21193E-04
  20  norm          8.6729        8.1852        .47602E-06    .23763E-03
  21  norm          3.4473        2.3621       -.35219E-08    .37774E-03
  22  Prefactor     .10000E-03    12.000        .98278E-06** at limit **
  23  Normalizat    1.1557        .20644       -.94880E-06   -.57642E-04
  24  Prefactor     .98104        .10546       -.49287E-06   -.37315E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.85606
  norm       = 0.0001
  Prefactor  = 62.3031
  norm       = 0.0001
  norm       = 9.53085
  norm       = 0.203838
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.11705
  norm       = 0.0001
  norm       = 0.000100041
  Prefactor  = 0.00010012
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.345
  norm       = 2.4399
  Prefactor  = 3.95721
  Prefactor  = 16.2082
  norm       = 8.6729
  norm       = 3.44727
  Prefactor  = 0.0001
  Normalizat = 1.15571
  Prefactor  = 0.981035
 **********
 **   18 **HESSE 
 **********

 FCN=   9124.254     FROM HESSE     STATUS=OK           401 CALLS     3161 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8561        .48872        .22042E-04   -1.5315    
   2  norm          .10000E-03    3.6091        .17631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     62.303        90.277        .50832E-04   -1.4128    
   4  norm          .10000E-03    1.2211        .20243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.5308        10.341        .12980E-03   -1.5090    
   6  norm          .20384        81.126        .44661E-02   -1.5618    
   7  Prefactor     .10000E-03    1.9709        .13085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.7747        .12416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.8048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1171        1.4901        .76548E-04   -1.5355    
  11  norm          .10000E-03    .74951        .80505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10004E-03    12.759        .30088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10012E-03    45.297        .49224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.2620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    47.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.345        10.044        .10968E-03   -1.4977    
  17  norm          2.4399        2.6254        .15607E-03   -1.5396    
  18  Prefactor     3.9572        5.1498        .20278E-03   -1.5310    
  19  Prefactor     16.208        38.542        .99435E-04   -1.4903    
  20  norm          8.6729        8.1269        .13611E-03   -1.5119    
  21  norm          3.4473        2.3642        .11682E-03   -1.5337    
  22  Prefactor     .10000E-03    12.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1557        .23812        .34861E-03   -.87983    
  24  Prefactor     .98104        .12204        .20075E-03   -.93364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72556e-09
Minuit parameter uncertainties:
  1  0.488716
  2  4.04345e-05
  3  90.4767
  4  1.94944e-05
  5  10.3426
  6  8.14216
  7  9.90323e-06
  8  7.87131e-06
  9  9.73854e-05
  10  1.49008
  11  5.54254e-06
  12  0.00144977
  13  0.00466567
  14  2.31209e-05
  15  0.00014308
  16  10.0455
  17  2.62552
  18  5.15037
  19  38.6014
  20  8.12791
  21  2.36422
  22  2.50328e-05
  23  0.238344
  24  0.122079
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  5.543e-06  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:  9.810e-01  1.221e-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.156e+00  2.383e-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: 4.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/763924/likelihoodResults_601171201_601430401_4FGL_J1332.6-1256_daily_bin1396.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) = 9124.26028035
delta logL = -0.00624567075829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9124.2540312
delta logL = 3.48628418578e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10183E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0635       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1557       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98103       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=   9124.254     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      261 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0460        .83636E-03** at limit **
   2  alpha         1.8826        4.0580        .16789        .15831E-06
   3  Normalizat    1.1557        .22203        .34861E-03    .17088E-03
   4  Prefactor     .98104        .11972        .20075E-03    .33987E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.88257
  Normalizat = 1.15571
  Prefactor  = 0.981037
 **********
 **   18 **HESSE 
 **********

 FCN=   9124.254     FROM HESSE     STATUS=OK            23 CALLS      284 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .81515        .16727E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8826        3.4703        .67158E-02   -.24955    
   3  Normalizat    1.1557        .22218        .13945E-04   -.87983    
   4  Prefactor     .98104        .11980        .40151E-04   -.93364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52797e-10
Minuit parameter uncertainties:
  1  3.43949e-06
  2  145.35
  3  0.222361
  4  0.119833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/763924': 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) = 9124.25402932
delta logL = 5.36739571544e-06

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  3.439e-06  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  1.883e+00  1.453e+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:  9.810e-01  1.198e-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.156e+00  2.224e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/763924/cmap_HighResolution_601171201_601430401_4FGL_J1332.6-1256_daily_bin1396.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.58e-05', job_status='DONE', photon_flux_upper_limit='4.55e-08', time_completed='2021-09-08 03:09:15.161027', job_id='763924', GAL2='0.98', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1631095755.16', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='5.37e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1396' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:09:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 763924: <4FGL_J1332.6-1256_daily_bin1396> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1396 203.154 -12.9436 601171201 601430401 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 :                                   838.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            980 sec.

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

