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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1548
RA = 203.154, Dec = -12.9436
tmin = 640569601, tmax = 640828801
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='764113', job_status='RUN', time_executed='2021-09-08 02:57:22.161724', time_epoch_executed='1631095042.16' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1548'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/764113

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/764113/ft1_4FGL_J1332.6-1256_daily_bin1548.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/764113/ft2_4FGL_J1332.6-1256_daily_bin1548.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/764113/ft1_4FGL_J1332.6-1256_daily_bin1548.fits outfile=/scratch/kocevski/764113/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1548.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=640569601.0 tmax=640828801.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.07
user 2.84
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/764113/ft2_4FGL_J1332.6-1256_daily_bin1548.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/764113/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1548.fits evtable="EVENTS" outfile="/scratch/kocevski/764113/ft1_filtered_4FGL_J1332.6-1256_daily_bin1548.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.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/764113/ft1_filtered_4FGL_J1332.6-1256_daily_bin1548.fits" evtable="EVENTS" scfile=/scratch/kocevski/764113/ft2_4FGL_J1332.6-1256_daily_bin1548.fits sctable="SC_DATA" outfile=/scratch/kocevski/764113/ltcube_640569601_640828801_4FGL_J1332.6-1256_daily_bin1548.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/764113/ft2_4FGL_J1332.6-1256_daily_bin1548.fits
.....................!
real 17.02
user 16.65
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/764113/ft1_filtered_4FGL_J1332.6-1256_daily_bin1548.fits evtable="EVENTS" scfile=/scratch/kocevski/764113/ft2_4FGL_J1332.6-1256_daily_bin1548.fits sctable="SC_DATA" expcube=/scratch/kocevski/764113/ltcube_640569601_640828801_4FGL_J1332.6-1256_daily_bin1548.fits outfile=/scratch/kocevski/764113/expmap_640569601_640828801_4FGL_J1332.6-1256_daily_bin1548.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/764113/ltcube_640569601_640828801_4FGL_J1332.6-1256_daily_bin1548.fits
.....................!
real 190.82
user 185.71
sys 4.59

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/764113/ft1_filtered_4FGL_J1332.6-1256_daily_bin1548.fits scfile=/scratch/kocevski/764113/ft2_4FGL_J1332.6-1256_daily_bin1548.fits outfile=/scratch/kocevski/764113/cmap_640569601_640828801_4FGL_J1332.6-1256_daily_bin1548.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.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/764113/ft1_filtered_4FGL_J1332.6-1256_daily_bin1548.fits evtable="EVENTS" scfile=/scratch/kocevski/764113/ft2_4FGL_J1332.6-1256_daily_bin1548.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/764113/Model_4FGL_J1332.6-1256_daily_bin1548.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/764113/ft1_filtered_4FGL_J1332.6-1256_daily_bin1548.fits.......................!
real 17.87
user 16.67
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4489       1.0000         .10000E-03   10000.    
     2 'norm      '    171.13       1.0000         .10000E-03   10000.    
     3 'Prefactor '    169.54       1.0000         .10000E-03   10000.    
     4 'norm      '    13.654       1.0000         .10000E-03   10000.    
     5 'norm      '    18.195       1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    45.912       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12485E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    152.45       1.0000         .10000E-03   10000.    
    12 'norm      '    .21481E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12309E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    462.45       1.0000         .10000E-03   10000.    
    15 'norm      '    85.129       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .24363E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .14871E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12247E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .46762       1.0000         .10000E-03   10000.    
    20 'norm      '    .11013E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10197E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .16741E-01   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89610       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=   575.8038     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     3080 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4491        .88751       -.78962E-07   -.12597E-03
   2  norm          171.17        111.69       -.22125E-04   -.28195E-04
   3  Prefactor     169.67        201.74        .27130E-04   -.20843E-04
   4  norm          13.672        26.941        .34601E-04   -.15304E-04
   5  norm          18.174        41.627       -.13811E-04   -.86746E-04
   6  norm          .10000E-03    15.736        .12785E-06** at limit **
   7  Prefactor     45.932        114.33       -.12904E-04   -.21827E-04
   8  Prefactor     .10000E-03    63.026       -.40100E-06** at limit **
   9  Prefactor     .10000E-03    335.24        .49046E-04** at limit **
  10  norm          .10000E-03    3.9781        .36665E-06** at limit **
  11  norm          152.44        96.863        .24987E-06   -.49457E-04
  12  norm          .10000E-03    181.02        .28281E-04** at limit **
  13  Prefactor     .10000E-03    318.72       -.15896E-04** at limit **
  14  Prefactor     462.75        1171.2        .14266E-03   -.29377E-05
  15  norm          85.149        100.91       -.15845E-04   -.17275E-04
  16  Prefactor     .10000E-03    273.78       -.44235E-04** at limit **
  17  norm          .10000E-03    321.28       -.75295E-05** at limit **
  18  Prefactor     .10000E-03    71.078       -.78096E-06** at limit **
  19  Prefactor     .10000E-03    8803.2       -.24502E-02** at limit **
  20  norm          .10000E-03    84.756        .10153E-05** at limit **
  21  norm          .10000E-03    40.203       -.10833E-06** at limit **
  22  Prefactor     .10000E-03    6394.0        .16720E-02** at limit **
  23  Normalizat    .10000E-01    .35842        .10402E-04** at limit **
  24  Prefactor     .89612        .37092        .12540E-05   -.11264E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.44908
  norm       = 171.172
  Prefactor  = 169.672
  norm       = 13.6722
  norm       = 18.1743
  norm       = 0.0001
  Prefactor  = 45.9323
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 152.444
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 462.751
  norm       = 85.1495
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.896118
 **********
 **   18 **HESSE 
 **********

 FCN=   575.8038     FROM HESSE     STATUS=OK           379 CALLS     3459 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4491        .89125        .12704E-04   -1.5395    
   2  norm          171.17        112.18        .15421E-03   -1.3084    
   3  Prefactor     169.67        201.96        .15492E-03   -1.3095    
   4  norm          13.672        26.978        .10840E-03   -1.4968    
   5  norm          18.174        41.883        .93895E-04   -1.4855    
   6  norm          .10000E-03    15.737        .93022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     45.932        114.95        .59173E-04   -1.4351    
   8  Prefactor     .10000E-03    63.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    335.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.0247        .46641E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          152.44        96.833        .32647E-04   -1.3232    
  12  norm          .10000E-03    181.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    318.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     462.75        1172.6        .95232E-04   -1.1372    
  15  norm          85.149        101.23        .21770E-03   -1.3860    
  16  Prefactor     .10000E-03    273.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    321.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    71.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8802.7        .22276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    84.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    40.429        .14869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6393.6        .18213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .10000E-01    .37091        .84666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .89612        .37238        .23358E-03   -.96277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.38647e-10
Minuit parameter uncertainties:
  1  0.89125
  2  112.323
  3  202.789
  4  27.0024
  5  41.9504
  6  2.17184e-05
  7  115.515
  8  0.000456644
  9  0.000125957
  10  6.96475e-05
  11  96.9336
  12  2.01563e-05
  13  2.02286e-05
  14  1244
  15  101.438
  16  1.17614e-05
  17  6.07768e-06
  18  9.60271e-07
  19  0.000298579
  20  5.06114e-06
  21  1.62e-05
  22  6.76288e-05
  23  1.98227e-05
  24  0.373445
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.524e+02  9.693e+01  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.961e-01  3.734e-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.000e-02  1.982e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.81
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.79e-06 +/- 1.14e-06
Energy Flux (Fixed Index): 6.23e-04 +/- 3.96e-04

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) = 574.532652705
delta logL = 1.27112976032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 574.293589194
delta logL = 1.51019327127

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    237.62       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4587       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88269       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=   574.2936     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      197 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          237.62        138.83        .65658E-03   -.12767E-02
   2  alpha         1.4585        .48777        .11513       -.26273E-05
   3  Normalizat    .10000E-01    .36807        .20946    ** at limit **
   4  Prefactor     .88275        .29817        .44784E-01    .41700E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 237.617
  alpha      = 1.45853
  Normalizat = 0.01
  Prefactor  = 0.882753
 **********
 **   18 **HESSE 
 **********

 FCN=   574.2936     FROM HESSE     STATUS=OK            27 CALLS      224 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          237.62        139.32        .13132E-03   -1.2613    
   2  alpha         1.4585        .49314        .50560E-03   -.42969    
   3  Normalizat    .10000E-01    .38692        .85779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88275        .28290        .23303E-03   -.96746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37771e-08
Minuit parameter uncertainties:
  1  139.515
  2  0.497096
  3  3.83642e-07
  4  0.283369
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/764113': 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) = 574.293589032
delta logL = 1.51019343328

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  2.376e+02  1.395e+02  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  1.459e+00  4.971e-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:  8.828e-01  2.834e-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.000e-02  3.836e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.61
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 1.46 +/- 0.50
Photon Flux (Free Index): 1.02e-06 +/- 6.80e-07
Energy Flux (Free Index): 1.72e-03 +/- 1.74e-03

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/764113/cmap_HighResolution_640569601_640828801_4FGL_J1332.6-1256_daily_bin1548.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.79e-06', energy_flux2='1.72e-03', photon_flux_error='1.14e-06', dlogl='1.51e+00', energy_flux='6.23e-04', photon_flux2='1.02e-06', job_status='DONE', time_completed='2021-09-08 03:03:56.861995', photon_index_error2='0.50', photon_index2='1.46', ts='6.81', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.74e-03', EG='0.01', time_epoch_completed='1631095436.86', return_code='0', job_id='764113', GAL2='0.88', EG2='0.01', return_code2='0', energy_flux_error='3.96e-04', photon_flux_error2='6.80e-07', ts2='9.61', photon_index='2.40' WHERE bin_id='1548' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:03:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 764113: <4FGL_J1332.6-1256_daily_bin1548> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1548 203.154 -12.9436 640569601 640828801 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 :                                   346.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   435 sec.
    Turnaround time :                            649 sec.

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

