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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin588
RA = 203.154, Dec = -12.9436
tmin = 391737601, tmax = 391996801
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='759117', job_status='RUN', time_executed='2021-09-08 02:42:40.460403', time_epoch_executed='1631094160.46' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='588'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/759117

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/759117/ft1_4FGL_J1332.6-1256_daily_bin588.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/759117/ft2_4FGL_J1332.6-1256_daily_bin588.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/759117/ft1_4FGL_J1332.6-1256_daily_bin588.fits outfile=/scratch/kocevski/759117/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin588.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=391737601.0 tmax=391996801.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.32
user 3.10
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/759117/ft1_filtered_4FGL_J1332.6-1256_daily_bin588.fits" evtable="EVENTS" scfile=/scratch/kocevski/759117/ft2_4FGL_J1332.6-1256_daily_bin588.fits sctable="SC_DATA" outfile=/scratch/kocevski/759117/ltcube_391737601_391996801_4FGL_J1332.6-1256_daily_bin588.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/759117/ft2_4FGL_J1332.6-1256_daily_bin588.fits
.....................!
real 14.81
user 14.45
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/759117/ft1_filtered_4FGL_J1332.6-1256_daily_bin588.fits evtable="EVENTS" scfile=/scratch/kocevski/759117/ft2_4FGL_J1332.6-1256_daily_bin588.fits sctable="SC_DATA" expcube=/scratch/kocevski/759117/ltcube_391737601_391996801_4FGL_J1332.6-1256_daily_bin588.fits outfile=/scratch/kocevski/759117/expmap_391737601_391996801_4FGL_J1332.6-1256_daily_bin588.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/759117/ltcube_391737601_391996801_4FGL_J1332.6-1256_daily_bin588.fits
.....................!
real 193.02
user 186.51
sys 5.88

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/759117/ft1_filtered_4FGL_J1332.6-1256_daily_bin588.fits scfile=/scratch/kocevski/759117/ft2_4FGL_J1332.6-1256_daily_bin588.fits outfile=/scratch/kocevski/759117/cmap_391737601_391996801_4FGL_J1332.6-1256_daily_bin588.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.68
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/759117/ft1_filtered_4FGL_J1332.6-1256_daily_bin588.fits scfile=/scratch/kocevski/759117/ft2_4FGL_J1332.6-1256_daily_bin588.fits outfile=/scratch/kocevski/759117/cmap_HighResolution_391737601_391996801_4FGL_J1332.6-1256_daily_bin588.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.69
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/759117/ft1_filtered_4FGL_J1332.6-1256_daily_bin588.fits evtable="EVENTS" scfile=/scratch/kocevski/759117/ft2_4FGL_J1332.6-1256_daily_bin588.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/759117/Model_4FGL_J1332.6-1256_daily_bin588.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/759117/ft1_filtered_4FGL_J1332.6-1256_daily_bin588.fits.....................!
real 54.31
user 50.36
sys 1.60

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92022       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.0350       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .61126       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1205       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .26130       1.0000         .10000E-03   10000.    
    12 'norm      '    7.3599       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.057       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.8759       1.0000         .10000E-03   10000.    
    17 'norm      '    3.2342       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7364       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.5550       1.0000         .10000E-03   10000.    
    21 'norm      '    .49376       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2425       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85212       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6244.717     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2755 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92020        .31056         .0000        .21647E-03
   2  norm          .10000E-03    3.6123         .0000    ** at limit **
   3  Prefactor     .10104E-03    54.003         .0000    ** at limit **
   4  norm          .10000E-03    1.3125         .0000    ** at limit **
   5  norm          8.0333        11.176         .0000        .33748E-03
   6  norm          .10000E-03    3.2668         .0000    ** at limit **
   7  Prefactor     .61223        12.425         .0000        .30037E-01
   8  Prefactor     4.1200        7.9237         .0000        .60898E-02
   9  Prefactor     .10214E-03    39.142         .0000    ** at limit **
  10  norm          .10000E-03    .50117         .0000    ** at limit **
  11  norm          .26765        2.6570         .0000        .10978E-03
  12  norm          7.3518        9.2762         .0000        .16034E-02
  13  Prefactor     20.058        18.910         .0000       -.10198E-03
  14  Prefactor     .10000E-03    12.562         .0000    ** at limit **
  15  norm          .10000E-03    8.9233         .0000    ** at limit **
  16  Prefactor     9.8760        12.556         .0000        .13255E-02
  17  norm          3.2344        4.0815         .0000        .15748E-02
  18  Prefactor     4.7347        6.3724         .0000       -.71277E-03
  19  Prefactor     .10000E-03    33.748         .0000    ** at limit **
  20  norm          1.5573        5.1466         .0000        .18085E-01
  21  norm          .49425        2.6472         .0000        .18132E-02
  22  Prefactor     .10044E-03    32.103         .0000    ** at limit **
  23  Normalizat    1.2425        .22812         .0000        .95386E-05
  24  Prefactor     .85209        .11695         .0000        .82128E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.920201
  norm       = 0.0001
  Prefactor  = 0.000101042
  norm       = 0.0001
  norm       = 8.03326
  norm       = 0.0001
  Prefactor  = 0.612229
  Prefactor  = 4.12002
  Prefactor  = 0.000102139
  norm       = 0.0001
  norm       = 0.267652
  norm       = 7.35177
  Prefactor  = 20.0581
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.87596
  norm       = 3.23444
  Prefactor  = 4.73472
  Prefactor  = 0.000100004
  norm       = 1.55735
  norm       = 0.494255
  Prefactor  = 0.000100436
  Normalizat = 1.24248
  Prefactor  = 0.852094
 **********
 **   18 **HESSE 
 **********

 FCN=   6244.717     FROM HESSE     STATUS=OK           405 CALLS     3160 TOTAL
                     EDM=   .97E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92020        .31100        .24431E-04   -1.5516    
   2  norm          .10000E-03    3.6356        .14666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10104E-03    54.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.3493        .17676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.0333        11.179        .14145E-03   -1.5141    
   6  norm          .10000E-03    3.2676        .13949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61223        12.886        .23434E-02   -1.5551    
   8  Prefactor     4.1200        7.9291        .99293E-03   -1.5302    
   9  Prefactor     .10214E-03    40.035        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .76737        .10794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .26765        11.756        .20267E-02   -1.5605    
  12  norm          7.3518        9.9253        .14784E-03   -1.5166    
  13  Prefactor     20.058        18.855        .89433E-04   -1.4812    
  14  Prefactor     .10000E-03    12.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.9235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.8760        12.518        .63755E-03   -1.5079    
  17  norm          3.2344        4.0719        .17279E-03   -1.5348    
  18  Prefactor     4.7347        6.2954        .18489E-03   -1.5273    
  19  Prefactor     .10000E-03    33.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5573        5.0447        .14778E-02   -1.5458    
  21  norm          .49425        2.7039        .24399E-03   -1.5567    
  22  Prefactor     .10044E-03    32.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2425        .26147        .30535E-03   -.85300    
  24  Prefactor     .85209        .13540        .19474E-03   -.97836    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.66747e-08
Minuit parameter uncertainties:
  1  0.311005
  2  3.75502e-06
  3  0.0150241
  4  2.7479e-07
  5  11.1822
  6  1.00385e-06
  7  5.61843
  8  7.93116
  9  0.018522
  10  2.83492e-07
  11  3.54775
  12  9.92748
  13  18.8603
  14  0.000130775
  15  2.43225e-05
  16  12.5216
  17  4.07226
  18  6.29626
  19  0.000714048
  20  5.04612
  21  2.31199
  22  0.00749175
  23  0.261748
  24  0.135454
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  2.677e-01  3.548e+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:  8.521e-01  1.355e-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.242e+00  2.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 203.154 -12.944
Photon Flux Upper Limit: 9.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.38e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/759117/likelihoodResults_391737601_391996801_4FGL_J1332.6-1256_daily_bin588.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): 102
logL (Free Index) = 6244.30074641
delta logL = 0.416602600461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6244.25956495
delta logL = 0.457784061889

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23910       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1916       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1810       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86879       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=   6244.260     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      218 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23860        4.3328        .94253E-02    .19827E-02
   2  alpha         4.1927        4.5910        .50000        .58304E-04
   3  Normalizat    1.1810        .46012E-01    .70474E-01    .11462E-05
   4  Prefactor     .86883        .24959E-01    .44606E-01   -.37808E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.238596
  alpha      = 4.1927
  Normalizat = 1.18099
  Prefactor  = 0.868834
 **********
 **   18 **HESSE 
 **********

 FCN=   6244.260     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      251 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23860        15.150        .43298E-03   -1.5610    
   2  alpha         4.1927        2.5423        .25039E-02    .74379    
   3  Normalizat    1.1810        .22885        .31183E-03   -.87192    
   4  Prefactor     .86883        .12292        .19293E-03   -.97239    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.27174e-07
Minuit parameter uncertainties:
  1  3.80264
  2  8.43367
  3  0.229045
  4  0.122959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/759117': 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): 102
logL (Free Index) = 6244.25956468
delta logL = 0.457784329086

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  2.386e-01  3.803e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  4.193e+00  8.434e+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:  8.688e-01  1.230e-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.181e+00  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/759117/cmap_HighResolution_391737601_391996801_4FGL_J1332.6-1256_daily_bin588.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-05', job_status='DONE', photon_flux_upper_limit='9.71e-08', time_completed='2021-09-08 02:53:52.852823', job_id='759117', GAL2='0.87', fit_tolerance='1e-08', EG2='1.18', EG='1.24', time_epoch_completed='1631094832.85', return_code2='102', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='4.58e-01', ts2='0.97', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='588' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 02:53:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 759117: <4FGL_J1332.6-1256_daily_bin588> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin588> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 02:40:19 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:40:35 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:40:35 2021
Terminated at Wed Sep  8 02:53:53 2021
Results reported at Wed Sep  8 02:53:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin588 203.154 -12.9436 391737601 391996801 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 :                                   661.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             294.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            814 sec.

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

