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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1177
RA = 203.154, Dec = -12.9436
tmin = 544406401, tmax = 544665601
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='763615', job_status='RUN', time_executed='2021-09-08 02:55:03.656341', time_epoch_executed='1631094903.66' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/763615

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

Retrieving the FT1 file...

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

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

Retrieving 36 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/763615/ft1_4FGL_J1332.6-1256_daily_bin1177.fits


Retrieving the FT1 file...

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

Retrieving 36 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/763615/ft2_4FGL_J1332.6-1256_daily_bin1177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/763615/ft1_4FGL_J1332.6-1256_daily_bin1177.fits outfile=/scratch/kocevski/763615/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1177.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=544406401.0 tmax=544665601.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 7.85
user 7.43
sys 0.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/763615/ft1_filtered_4FGL_J1332.6-1256_daily_bin1177.fits" evtable="EVENTS" scfile=/scratch/kocevski/763615/ft2_4FGL_J1332.6-1256_daily_bin1177.fits sctable="SC_DATA" outfile=/scratch/kocevski/763615/ltcube_544406401_544665601_4FGL_J1332.6-1256_daily_bin1177.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/763615/ft2_4FGL_J1332.6-1256_daily_bin1177.fits
.....................!
real 10.02
user 9.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/763615/ft1_filtered_4FGL_J1332.6-1256_daily_bin1177.fits evtable="EVENTS" scfile=/scratch/kocevski/763615/ft2_4FGL_J1332.6-1256_daily_bin1177.fits sctable="SC_DATA" expcube=/scratch/kocevski/763615/ltcube_544406401_544665601_4FGL_J1332.6-1256_daily_bin1177.fits outfile=/scratch/kocevski/763615/expmap_544406401_544665601_4FGL_J1332.6-1256_daily_bin1177.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/763615/ltcube_544406401_544665601_4FGL_J1332.6-1256_daily_bin1177.fits
.....................!
real 192.48
user 186.79
sys 4.96

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/763615/ft1_filtered_4FGL_J1332.6-1256_daily_bin1177.fits scfile=/scratch/kocevski/763615/ft2_4FGL_J1332.6-1256_daily_bin1177.fits outfile=/scratch/kocevski/763615/cmap_544406401_544665601_4FGL_J1332.6-1256_daily_bin1177.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/763615/ft1_filtered_4FGL_J1332.6-1256_daily_bin1177.fits scfile=/scratch/kocevski/763615/ft2_4FGL_J1332.6-1256_daily_bin1177.fits outfile=/scratch/kocevski/763615/cmap_HighResolution_544406401_544665601_4FGL_J1332.6-1256_daily_bin1177.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.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.003       1.0000         .10000E-03   10000.    
     2 'norm      '    .44444E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.5779       1.0000         .10000E-03   10000.    
     6 'norm      '    9.1709       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10150E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.9157       1.0000         .10000E-03   10000.    
    12 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    58.677       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10650E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.5328       1.0000         .10000E-03   10000.    
    21 'norm      '    9.1494       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.129       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0203       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99418       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=   9130.492     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2740 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.003        1.0132       -.40759E-07    .18335E-03
   2  norm          .18788E-03    4.5897       -.97123E-06** at limit **
   3  Prefactor     .10000E-03    24.563        .23935E-06** at limit **
   4  norm          .10000E-03    .60314        .31897E-07** at limit **
   5  norm          3.5796        9.1449        .50035E-05   -.15424E-03
   6  norm          9.1733        10.705        .21335E-05   -.10796E-04
   7  Prefactor     .10000E-03    10.759       -.38912E-05** at limit **
   8  Prefactor     .10000E-03    7.6100        .14117E-05** at limit **
   9  Prefactor     .10000E-03    4.5498       -.39371E-07** at limit **
  10  norm          .10000E-03    .72610       -.36605E-06** at limit **
  11  norm          3.9152        2.5094       -.98164E-07    .72966E-05
  12  norm          .10000E-03    3.6032       -.67992E-07** at limit **
  13  Prefactor     .10000E-03    3.7387        .22167E-07** at limit **
  14  Prefactor     .10000E-03    10.788        .32369E-05** at limit **
  15  norm          58.615        44.518        .18330E-04    .12296E-04
  16  Prefactor     .10000E-03    9.1411        .54212E-05** at limit **
  17  norm          .10000E-03    1.4335       -.37510E-07** at limit **
  18  Prefactor     .10000E-03    2.5553       -.62361E-07** at limit **
  19  Prefactor     .10000E-03    8.8231       -.66934E-05** at limit **
  20  norm          3.5327        5.9091        .76135E-06   -.38672E-03
  21  norm          9.1487        3.1239        .32580E-06    .21418E-04
  22  Prefactor     12.132        26.672       -.41919E-04   -.64673E-05
  23  Normalizat    1.0206        .21344        .24625E-05    .62895E-04
  24  Prefactor     .99414        .10804        .11320E-06    .24743E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.0032
  norm       = 0.000187882
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.57964
  norm       = 9.17334
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.91522
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 58.6145
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.53266
  norm       = 9.14868
  Prefactor  = 12.1316
  Normalizat = 1.02064
  Prefactor  = 0.994139
 **********
 **   18 **HESSE 
 **********

 FCN=   9130.492     FROM HESSE     STATUS=OK           403 CALLS     3143 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.003        1.0143        .10704E-04   -1.4959    
   2  norm          .18788E-03    8.1010        .62454E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .60615        .72462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.5796        9.1140        .21365E-03   -1.5330    
   6  norm          9.1733        10.701        .13234E-03   -1.5102    
   7  Prefactor     .10000E-03    10.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.7510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.5566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.3974        .15727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.9152        2.5041        .11689E-03   -1.5312    
  12  norm          .10000E-03    3.6558        .17669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.7485        .18041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          58.615        44.539        .26187E-03   -1.4175    
  16  Prefactor     .10000E-03    9.3401        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.4720        .22340E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.6253        .29734E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.8283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.5327        5.8833        .21506E-03   -1.5332    
  21  norm          9.1487        3.1237        .94905E-04   -1.5103    
  22  Prefactor     12.132        26.741        .11502E-03   -1.5011    
  23  Normalizat    1.0206        .24854        .37882E-03   -.92342    
  24  Prefactor     .99414        .12710        .20043E-03   -.92925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.23026e-10
Minuit parameter uncertainties:
  1  1.01427
  2  0.0533715
  3  1.69269e-05
  4  9.10905e-07
  5  9.11749
  6  10.703
  7  2.13534e-05
  8  4.29783e-05
  9  4.46373e-06
  10  4.113e-05
  11  2.50416
  12  6.68504e-06
  13  1.12578e-05
  14  2.30732e-05
  15  44.5644
  16  9.03085e-05
  17  2.71669e-06
  18  9.05286e-06
  19  1.34321e-07
  20  5.88422
  21  3.12378
  22  26.7673
  23  0.248821
  24  0.127136
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  3.915e+00  2.504e+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:  9.941e-01  1.271e-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.021e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.05
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 4.59e-08 +/- 2.94e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 1.02e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9129.9273144
delta logL = 0.56494592259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9129.88375752
delta logL = 0.608502803261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8102       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7157       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0437       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98864       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=   9129.884     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      199 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8140        126.37        .45858E-02   -.10073E-03
   2  alpha         1.7165        3.4150        .44059        .39081E-05
   3  Normalizat    1.0438        .34396        .84692E-01    .23935E-04
   4  Prefactor     .98861        .12938        .46125E-01   -.32576E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.814
  alpha      = 1.71652
  Normalizat = 1.04377
  Prefactor  = 0.988611
 **********
 **   18 **HESSE 
 **********

 FCN=   9129.884     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8140        3.3340        .13964E-03   -1.5269    
   2  alpha         1.7165        .62773        .19944E-01   -.31876    
   3  Normalizat    1.0438        .24084        .37501E-03   -.91578    
   4  Prefactor     .98861        .12670        .20093E-03   -.93110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69592e-12
Minuit parameter uncertainties:
  1  3.33416
  2  0.635281
  3  0.241088
  4  0.12674
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/763615': 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) = 9129.88375617
delta logL = 0.608504153099

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  4.814e+00  3.334e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  1.717e+00  6.353e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  1.310e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  9.736e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  9.886e-01  1.267e-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.044e+00  2.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.24
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 1.72 +/- 0.64
Photon Flux (Free Index): 2.49e-08 +/- 2.37e-08
Energy Flux (Free Index): 2.40e-05 +/- 2.19e-05

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/763615/cmap_HighResolution_544406401_544665601_4FGL_J1332.6-1256_daily_bin1177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.59e-08', energy_flux2='2.40e-05', photon_flux_error='2.94e-08', dlogl='6.09e-01', energy_flux='1.60e-05', photon_flux2='2.49e-08', job_status='DONE', time_completed='2021-09-08 03:08:00.097453', photon_index_error2='0.64', photon_index2='1.72', ts='8.05', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='2.19e-05', EG='1.02', time_epoch_completed='1631095680.1', return_code='0', job_id='763615', GAL2='0.99', EG2='1.04', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='2.37e-08', ts2='9.24', photon_index='2.40' WHERE bin_id='1177' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:08:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 763615: <4FGL_J1332.6-1256_daily_bin1177> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1177 203.154 -12.9436 544406401 544665601 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 :                                   772.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            925 sec.

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

