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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin953
RA = 203.154, Dec = -12.9436
tmin = 486345601, tmax = 486604801
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='761271', job_status='RUN', time_executed='2021-09-08 02:49:11.882942', time_epoch_executed='1631094551.88' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='953'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/761271

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/761271/ft1_4FGL_J1332.6-1256_daily_bin953.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/761271/ft2_4FGL_J1332.6-1256_daily_bin953.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/761271/ft1_4FGL_J1332.6-1256_daily_bin953.fits outfile=/scratch/kocevski/761271/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin953.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=486345601.0 tmax=486604801.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 4.33
user 3.37
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/761271/ft1_filtered_4FGL_J1332.6-1256_daily_bin953.fits" evtable="EVENTS" scfile=/scratch/kocevski/761271/ft2_4FGL_J1332.6-1256_daily_bin953.fits sctable="SC_DATA" outfile=/scratch/kocevski/761271/ltcube_486345601_486604801_4FGL_J1332.6-1256_daily_bin953.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/761271/ft2_4FGL_J1332.6-1256_daily_bin953.fits
.....................!
real 16.23
user 13.54
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/761271/ft1_filtered_4FGL_J1332.6-1256_daily_bin953.fits evtable="EVENTS" scfile=/scratch/kocevski/761271/ft2_4FGL_J1332.6-1256_daily_bin953.fits sctable="SC_DATA" expcube=/scratch/kocevski/761271/ltcube_486345601_486604801_4FGL_J1332.6-1256_daily_bin953.fits outfile=/scratch/kocevski/761271/expmap_486345601_486604801_4FGL_J1332.6-1256_daily_bin953.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/761271/ltcube_486345601_486604801_4FGL_J1332.6-1256_daily_bin953.fits
.....................!
real 198.75
user 188.31
sys 4.84

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/761271/ft1_filtered_4FGL_J1332.6-1256_daily_bin953.fits scfile=/scratch/kocevski/761271/ft2_4FGL_J1332.6-1256_daily_bin953.fits outfile=/scratch/kocevski/761271/cmap_486345601_486604801_4FGL_J1332.6-1256_daily_bin953.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=203.154 yref=-12.9436 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/761271/ft1_filtered_4FGL_J1332.6-1256_daily_bin953.fits scfile=/scratch/kocevski/761271/ft2_4FGL_J1332.6-1256_daily_bin953.fits outfile=/scratch/kocevski/761271/cmap_HighResolution_486345601_486604801_4FGL_J1332.6-1256_daily_bin953.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.58
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92476       1.0000         .10000E-03   10000.    
     2 'norm      '    4.9884       1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.639       1.0000         .10000E-03   10000.    
     4 'norm      '    1.0266       1.0000         .10000E-03   10000.    
     5 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .36985E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    28.532       1.0000         .10000E-03   10000.    
    12 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.019       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.7127       1.0000         .10000E-03   10000.    
    15 'norm      '    17.913       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.3813       1.0000         .10000E-03   10000.    
    17 'norm      '    .70734       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19054       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.1068       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4206       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79746       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=   9448.378     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2772 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92465        .26873       -.14177E-07    .50423E-03
   2  norm          4.9868        5.7670        .17852E-05    .55710E-03
   3  Prefactor     39.618        48.375        .44143E-05    .58253E-04
   4  norm          1.0257        1.7947        .54547E-07   -.80055E-04
   5  norm          .10000E-03    2.1829       -.15148E-06** at limit **
   6  norm          .10000E-03    6.0409        .32974E-08** at limit **
   7  Prefactor     .10003E-03    7.8593       -.30372E-05** at limit **
   8  Prefactor     .10000E-03    3.3137       -.38235E-07** at limit **
   9  Prefactor     .10000E-03    20.579       -.55533E-06** at limit **
  10  norm          .10000E-03    .34629       -.13248E-08** at limit **
  11  norm          28.533        5.1279        .39418E-07    .66884E-03
  12  norm          .10000E-03    4.6734       -.66372E-07** at limit **
  13  Prefactor     12.017        10.049        .49318E-08    .28951E-04
  14  Prefactor     4.7108        13.170        .35804E-06    .96282E-05
  15  norm          17.911        23.902        .47161E-06    .10908E-04
  16  Prefactor     3.3799        7.8732        .30993E-06    .40321E-04
  17  norm          .70724        3.9396        .13088E-05    .18517E-03
  18  Prefactor     .13128        2.2649       -.31631E-06    .23399E-03
  19  Prefactor     .10000E-03    10.010       -.10624E-05** at limit **
  20  norm          5.1236        5.1801        .96616E-07    .91881E-04
  21  norm          .10000E-03    .58725       -.26922E-08** at limit **
  22  Prefactor     .10000E-03    10.402        .10261E-05** at limit **
  23  Normalizat    1.4209        .19618        .38485E-07    .25235E-03
  24  Prefactor     .79744        .10384       -.59831E-06    .26291E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.924653
  norm       = 4.98679
  Prefactor  = 39.6183
  norm       = 1.02569
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 28.5333
  norm       = 0.0001
  Prefactor  = 12.0174
  Prefactor  = 4.71076
  norm       = 17.9109
  Prefactor  = 3.37991
  norm       = 0.707236
  Prefactor  = 0.131275
  Prefactor  = 0.0001
  norm       = 5.12364
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.42087
  Prefactor  = 0.797436
 **********
 **   18 **HESSE 
 **********

 FCN=   9448.378     FROM HESSE     STATUS=OK           403 CALLS     3175 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92465        .26913        .25845E-04   -1.5516    
   2  norm          4.9868        5.9910        .90028E-03   -1.5261    
   3  Prefactor     39.618        48.488        .63664E-04   -1.4448    
   4  norm          1.0257        1.5970        .16623E-02   -1.5505    
   5  norm          .10000E-03    2.1886        .14032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.2389        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10003E-03    19.632        .41274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.3422        .17274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    20.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .55070        .11093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          28.533        5.0959        .75003E-04   -1.4639    
  12  norm          .10000E-03    4.7467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.017        9.9616        .11555E-03   -1.5015    
  14  Prefactor     4.7108        13.168        .18536E-03   -1.5274    
  15  norm          17.911        23.903        .94633E-04   -1.4861    
  16  Prefactor     3.3799        7.7886        .22005E-03   -1.5340    
  17  norm          .70724        4.0749        .36774E-03   -1.5540    
  18  Prefactor     .13128        52.181        .25838E-02   -1.5636    
  19  Prefactor     .10000E-03    10.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.1236        5.4182        .17791E-03   -1.5255    
  21  norm          .10000E-03    .59271        .72730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4209        .23340        .29943E-03   -.80027    
  24  Prefactor     .79744        .12233        .20735E-03   -.99823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15922e-08
Minuit parameter uncertainties:
  1  0.269134
  2  5.99173
  3  48.5362
  4  1.59711
  5  1.12481e-05
  6  1.73234e-06
  7  0.00158954
  8  1.59623e-06
  9  8.50763e-06
  10  1.40984e-06
  11  5.09596
  12  1.48721e-07
  13  9.963
  14  13.1759
  15  23.9154
  16  7.79094
  17  3.39536
  18  5.23711
  19  2.45622e-05
  20  5.41871
  21  1.20311e-07
  22  2.54815e-05
  23  0.233575
  24  0.122369
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  2.853e+01  5.096e+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:  7.974e-01  1.224e-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.421e+00  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 102.50
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 3.35e-07 +/- 5.98e-08
Energy Flux (Fixed Index): 1.17e-04 +/- 2.08e-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) = 9447.45271038
delta logL = 0.925423783263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9447.45123964
delta logL = 0.926894529015

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.342       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1455       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4813       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77814       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=   9447.451     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      236 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.342        24.293        .17095E-02    .23866E-02
   2  alpha         2.1455        .60605        .13587        .97436E-04
   3  Normalizat    1.4813        .21051        .66631E-01   -.18036E-04
   4  Prefactor     .77814        .10466        .43432E-01    .25658E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 34.342
  alpha      = 2.14551
  Normalizat = 1.48133
  Prefactor  = 0.778136
 **********
 **   18 **HESSE 
 **********

 FCN=   9447.451     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.342        7.3114        .68382E-04   -1.4535    
   2  alpha         2.1455        .18989        .58079E-02   -.14227    
   3  Normalizat    1.4813        .22549        .29475E-03   -.78304    
   4  Prefactor     .77814        .11883        .20974E-03   -1.0054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.47457e-10
Minuit parameter uncertainties:
  1  7.31161
  2  0.190074
  3  0.225647
  4  0.118874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/761271': 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) = 9447.45123962
delta logL = 0.926894543212

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  3.434e+01  7.312e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.146e+00  1.901e-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:  7.781e-01  1.189e-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.481e+00  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 103.80
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 2.15 +/- 0.19
Photon Flux (Free Index): 2.84e-07 +/- 6.52e-08
Energy Flux (Free Index): 1.34e-04 +/- 2.95e-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/761271/cmap_HighResolution_486345601_486604801_4FGL_J1332.6-1256_daily_bin953.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.35e-07', energy_flux2='1.34e-04', photon_flux_error='5.98e-08', dlogl='9.27e-01', energy_flux='1.17e-04', photon_flux2='2.84e-07', job_status='DONE', time_completed='2021-09-08 03:02:07.142648', photon_index_error2='0.19', photon_index2='2.15', ts='102.50', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='2.95e-05', EG='1.42', time_epoch_completed='1631095327.14', return_code='0', job_id='761271', GAL2='0.78', EG2='1.48', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='6.52e-08', ts2='103.80', photon_index='2.40' WHERE bin_id='953' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:02:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 761271: <4FGL_J1332.6-1256_daily_bin953> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin953> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 02:46:02 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:46:13 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:46:13 2021
Terminated at Wed Sep  8 03:02:07 2021
Results reported at Wed Sep  8 03:02:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin953 203.154 -12.9436 486345601 486604801 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 :                                   756.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            965 sec.

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

