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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin322
RA = 203.154, Dec = -12.9436
tmin = 322790401, tmax = 323049601
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='756336', job_status='RUN', time_executed='2021-09-08 02:34:46.373983', time_epoch_executed='1631093686.37' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='322'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/756336

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/756336/ft1_4FGL_J1332.6-1256_daily_bin322.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/756336/ft2_4FGL_J1332.6-1256_daily_bin322.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/756336/ft1_4FGL_J1332.6-1256_daily_bin322.fits outfile=/scratch/kocevski/756336/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin322.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=322790401.0 tmax=323049601.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 12.31
user 11.94
sys 0.33

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/756336/ft1_filtered_4FGL_J1332.6-1256_daily_bin322.fits" evtable="EVENTS" scfile=/scratch/kocevski/756336/ft2_4FGL_J1332.6-1256_daily_bin322.fits sctable="SC_DATA" outfile=/scratch/kocevski/756336/ltcube_322790401_323049601_4FGL_J1332.6-1256_daily_bin322.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/756336/ft2_4FGL_J1332.6-1256_daily_bin322.fits
.....................!
real 14.30
user 13.75
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/756336/ft1_filtered_4FGL_J1332.6-1256_daily_bin322.fits evtable="EVENTS" scfile=/scratch/kocevski/756336/ft2_4FGL_J1332.6-1256_daily_bin322.fits sctable="SC_DATA" expcube=/scratch/kocevski/756336/ltcube_322790401_323049601_4FGL_J1332.6-1256_daily_bin322.fits outfile=/scratch/kocevski/756336/expmap_322790401_323049601_4FGL_J1332.6-1256_daily_bin322.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/756336/ltcube_322790401_323049601_4FGL_J1332.6-1256_daily_bin322.fits
.....................!
real 191.94
user 187.58
sys 3.89

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/756336/ft1_filtered_4FGL_J1332.6-1256_daily_bin322.fits scfile=/scratch/kocevski/756336/ft2_4FGL_J1332.6-1256_daily_bin322.fits outfile=/scratch/kocevski/756336/cmap_322790401_323049601_4FGL_J1332.6-1256_daily_bin322.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/756336/ft1_filtered_4FGL_J1332.6-1256_daily_bin322.fits scfile=/scratch/kocevski/756336/ft2_4FGL_J1332.6-1256_daily_bin322.fits outfile=/scratch/kocevski/756336/cmap_HighResolution_322790401_323049601_4FGL_J1332.6-1256_daily_bin322.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.56
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77846       1.0000         .10000E-03   10000.    
     2 'norm      '    11.122       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.3265       1.0000         .10000E-03   10000.    
     5 'norm      '    13.100       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.974       1.0000         .10000E-03   10000.    
     9 'Prefactor '    64.843       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    55.233       1.0000         .10000E-03   10000.    
    14 'Prefactor '    88.241       1.0000         .10000E-03   10000.    
    15 'norm      '    34.264       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .53565E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    3.5747       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .37212       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.0792       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.2070       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .91256       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0615       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=   3445.101     FROM MIGRAD    STATUS=CONVERGED    946 CALLS     3555 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77849        .34330        .21937E-04    .40864E-03
   2  norm          11.124        15.454        .12013E-03    .67190E-05
   3  Prefactor     .10000E-03    26.908        .18142E-02** at limit **
   4  norm          2.3267        5.5640        .20407E-03   -.10540E-03
   5  norm          13.105        17.402        .11067E-03    .17310E-04
   6  norm          .10000E-03    4.7708        .12521E-02** at limit **
   7  Prefactor     .10000E-03    4.4215        .12052E-02** at limit **
   8  Prefactor     17.972        15.056        .94470E-04    .10030E-03
   9  Prefactor     64.838        35.586        .49837E-04    .16627E-03
  10  norm          .10000E-03    .75935        .49462E-03** at limit **
  11  norm          .10000E-03    3.2299        .10268E-02** at limit **
  12  norm          .10000E-03    4.8665        .12623E-02** at limit **
  13  Prefactor     55.210        35.389        .53974E-04   -.18641E-04
  14  Prefactor     88.229        65.764        .21386E-03   -.43857E-05
  15  norm          34.254        37.565        .68459E-04    .24910E-06
  16  Prefactor     .10001E-03    40.304        .83434E-01** at limit **
  17  norm          3.5748        9.2302        .21375E-03   -.11648E-04
  18  Prefactor     .38474        39.039        .25756E-02    .71503E-03
  19  Prefactor     .10000E-03    36.289        .18142E-02** at limit **
  20  norm          .10000E-03    3.8623        .11253E-02** at limit **
  21  norm          1.0794        2.4638        .15149E-02   -.23904E-03
  22  Prefactor     8.2114        60.623        .13995E-03    .79612E-05
  23  Normalizat    .91246        .38133        .37205E-03    .13853E-03
  24  Prefactor     1.0615        .20678        .19653E-03    .29047E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.778493
  norm       = 11.1238
  Prefactor  = 0.0001
  norm       = 2.3267
  norm       = 13.1047
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.9718
  Prefactor  = 64.8377
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 55.21
  Prefactor  = 88.2292
  norm       = 34.254
  Prefactor  = 0.000100013
  norm       = 3.57475
  Prefactor  = 0.384745
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.07943
  Prefactor  = 8.21142
  Normalizat = 0.912463
  Prefactor  = 1.06147
 **********
 **   18 **HESSE 
 **********

 FCN=   3445.101     FROM HESSE     STATUS=OK           387 CALLS     3942 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77849        .34324        .87746E-06   -1.5532    
   2  norm          11.124        15.450        .48053E-05   -1.5041    
   3  Prefactor     .10000E-03    26.908        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3267        5.5636        .81628E-05   -1.5403    
   5  norm          13.105        17.393        .44267E-05   -1.4984    
   6  norm          .10000E-03    4.7708        .25042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.4215        .24104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.972        15.054        .37788E-05   -1.4860    
   9  Prefactor     64.838        35.564        .99675E-05   -1.4096    
  10  norm          .10000E-03    .75938        .98924E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.2299        .20536E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.8667        .25246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     55.210        35.357        .21589E-05   -1.4221    
  14  Prefactor     88.229        65.764        .85543E-05   -1.3827    
  15  norm          34.254        37.564        .13692E-04   -1.4537    
  16  Prefactor     .10001E-03    37.297        .87610E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.5748        9.2293        .85499E-05   -1.5330    
  18  Prefactor     .38474        38.576        .51512E-03   -1.5584    
  19  Prefactor     .10000E-03    36.290        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.8624        .22505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.0794        2.4613        .60595E-04   -1.5500    
  22  Prefactor     8.2114        60.630        .55978E-05   -1.5135    
  23  Normalizat    .91246        .37997        .14882E-04   -.96024    
  24  Prefactor     1.0615        .20686        .39305E-04   -.90708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01257e-10
Minuit parameter uncertainties:
  1  0.343244
  2  15.456
  3  2.02201e-05
  4  5.56487
  5  17.4002
  6  3.50048e-06
  7  9.60063e-07
  8  15.057
  9  35.5756
  10  1.02565e-05
  11  2.43921e-05
  12  5.7945e-06
  13  35.37
  14  65.8185
  15  37.5899
  16  0.00139538
  17  9.23296
  18  7.70915
  19  7.96504e-05
  20  1.52898e-05
  21  2.46152
  22  44.6888
  23  0.381095
  24  0.20702
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  2.439e-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.061e+00  2.070e-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:  9.125e-01  3.811e-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.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/756336/likelihoodResults_322790401_323049601_4FGL_J1332.6-1256_daily_bin322.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) = 3445.10295573
delta logL = -0.00146660153951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3445.10149101
delta logL = -1.87308523891e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11201E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4097       1.0000          .0000       5.0000    
     3 'Normalizat'    .91239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0615       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=   3445.101     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      198 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4146        .90712E-02** at limit **
   2  alpha         2.4171        3.5508        .41186       -.11678E-04
   3  Normalizat    .91246        .30553        .84031E-01    .11973E-04
   4  Prefactor     1.0615        .17407        .39278E-01    .30151E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.41706
  Normalizat = 0.912463
  Prefactor  = 1.06147
 **********
 **   18 **HESSE 
 **********

 FCN=   3445.101     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.2458        .10289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4171        3.5328        .50000       -.33181E-01
   3  Normalizat    .91246        .33929        .37205E-03   -.96024    
   4  Prefactor     1.0615        .19381        .19652E-03   -.90708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37605e-10
Minuit parameter uncertainties:
  1  3.10382e-06
  2  2.50104
  3  0.34009
  4  0.193942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/756336': 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) = 3445.10148907
delta logL = 6.72416717862e-08

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  3.104e-06  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.417e+00  2.501e+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.061e+00  1.939e-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:  9.125e-01  3.401e-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/756336/cmap_HighResolution_322790401_323049601_4FGL_J1332.6-1256_daily_bin322.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-05', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2021-09-08 02:44:30.962585', job_id='756336', GAL2='1.06', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1631094270.96', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='6.72e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='322' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 02:44:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 756336: <4FGL_J1332.6-1256_daily_bin322> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin322 203.154 -12.9436 322790401 323049601 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 :                                   578.35 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             254.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            833 sec.

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

