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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1373
RA = 203.154, Dec = -12.9436
tmin = 595209601, tmax = 595468801
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='763901', job_status='RUN', time_executed='2021-09-08 02:56:09.460542', time_epoch_executed='1631094969.46' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/763901

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/763901/ft1_4FGL_J1332.6-1256_daily_bin1373.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/763901/ft2_4FGL_J1332.6-1256_daily_bin1373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/763901/ft1_4FGL_J1332.6-1256_daily_bin1373.fits outfile=/scratch/kocevski/763901/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1373.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=595209601.0 tmax=595468801.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.00
user 2.76
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/763901/ft1_filtered_4FGL_J1332.6-1256_daily_bin1373.fits" evtable="EVENTS" scfile=/scratch/kocevski/763901/ft2_4FGL_J1332.6-1256_daily_bin1373.fits sctable="SC_DATA" outfile=/scratch/kocevski/763901/ltcube_595209601_595468801_4FGL_J1332.6-1256_daily_bin1373.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/763901/ft2_4FGL_J1332.6-1256_daily_bin1373.fits
.....................!
real 18.75
user 18.18
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/763901/ft1_filtered_4FGL_J1332.6-1256_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/763901/ft2_4FGL_J1332.6-1256_daily_bin1373.fits sctable="SC_DATA" expcube=/scratch/kocevski/763901/ltcube_595209601_595468801_4FGL_J1332.6-1256_daily_bin1373.fits outfile=/scratch/kocevski/763901/expmap_595209601_595468801_4FGL_J1332.6-1256_daily_bin1373.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/763901/ltcube_595209601_595468801_4FGL_J1332.6-1256_daily_bin1373.fits
.....................!
real 195.78
user 189.49
sys 5.12

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/763901/ft1_filtered_4FGL_J1332.6-1256_daily_bin1373.fits scfile=/scratch/kocevski/763901/ft2_4FGL_J1332.6-1256_daily_bin1373.fits outfile=/scratch/kocevski/763901/cmap_595209601_595468801_4FGL_J1332.6-1256_daily_bin1373.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.60
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/763901/ft1_filtered_4FGL_J1332.6-1256_daily_bin1373.fits scfile=/scratch/kocevski/763901/ft2_4FGL_J1332.6-1256_daily_bin1373.fits outfile=/scratch/kocevski/763901/cmap_HighResolution_595209601_595468801_4FGL_J1332.6-1256_daily_bin1373.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=203.154 yref=-12.9436 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/763901/ft1_filtered_4FGL_J1332.6-1256_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/763901/ft2_4FGL_J1332.6-1256_daily_bin1373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/763901/Model_4FGL_J1332.6-1256_daily_bin1373.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/763901/ft1_filtered_4FGL_J1332.6-1256_daily_bin1373.fits.....................!
real 37.19
user 35.00
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9654       1.0000         .10000E-03   10000.    
     2 'norm      '    26.785       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .85667       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.9078       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.430       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.7322       1.0000         .10000E-03   10000.    
    11 'norm      '    11.722       1.0000         .10000E-03   10000.    
    12 'norm      '    25.011       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11764E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    68.228       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.945       1.0000         .10000E-03   10000.    
    17 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10822E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    40.495       1.0000         .10000E-03   10000.    
    21 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6562       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .65600       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=   3203.233     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2698 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9655        .54698        .78735E-09    .12332E-04
   2  norm          26.786        17.838        .11697E-06   -.12081E-04
   3  Prefactor     .10000E-03    37.320       -.44168E-06** at limit **
   4  norm          .85577        4.8256        .13452E-05   -.21547E-04
   5  norm          .10000E-03    3.7243        .44264E-08** at limit **
   6  norm          4.9075        10.334        .35312E-05   -.76040E-04
   7  Prefactor     .10000E-03    19.468       -.24104E-06** at limit **
   8  Prefactor     13.429        17.558       -.23444E-06   -.38981E-05
   9  Prefactor     .10000E-03    21.927        .36278E-06** at limit **
  10  norm          4.7329        3.4845        .84844E-07   -.19649E-04
  11  norm          11.721        8.8770        .75300E-07   -.23379E-04
  12  norm          25.009        19.428        .12662E-06   -.94787E-05
  13  Prefactor     .10000E-03    30.784       -.30056E-06** at limit **
  14  Prefactor     .10000E-03    26.014        .18158E-06** at limit **
  15  norm          68.229        61.901        .84640E-07    .35555E-06
  16  Prefactor     15.944        29.203       -.32554E-06    .21557E-05
  17  norm          .10000E-03    4.9869        .17088E-07** at limit **
  18  Prefactor     .10000E-03    11.472        .12043E-06** at limit **
  19  Prefactor     .10000E-03    53.314        .93427E-06** at limit **
  20  norm          40.501        30.853        .20219E-06    .10231E-04
  21  norm          .10000E-03    6.8208        .54909E-07** at limit **
  22  Prefactor     .10000E-03    120.50       -.78406E-06** at limit **
  23  Normalizat    1.6559        .41678       -.37235E-06   -.20264E-04
  24  Prefactor     .65618        .20734       -.83132E-06   -.16860E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.96546
  norm       = 26.786
  Prefactor  = 0.0001
  norm       = 0.855772
  norm       = 0.0001
  norm       = 4.90754
  Prefactor  = 0.0001
  Prefactor  = 13.4291
  Prefactor  = 0.0001
  norm       = 4.73285
  norm       = 11.7211
  norm       = 25.0093
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 68.2286
  Prefactor  = 15.9441
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 40.501
  norm       = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 1.65586
  Prefactor  = 0.656184
 **********
 **   18 **HESSE 
 **********

 FCN=   3203.233     FROM HESSE     STATUS=OK           397 CALLS     3095 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9655        .55098        .17140E-04   -1.5364    
   2  norm          26.786        17.904        .77406E-04   -1.4672    
   3  Prefactor     .10000E-03    37.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .85577        4.8048        .23369E-03   -1.5523    
   5  norm          .10000E-03    3.7253        .10668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.9075        10.316        .90780E-03   -1.5265    
   7  Prefactor     .10000E-03    19.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.429        17.640        .10930E-03   -1.4975    
   9  Prefactor     .10000E-03    21.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.7329        3.4944        .84069E-04   -1.5273    
  11  norm          11.721        8.8809        .11700E-03   -1.5023    
  12  norm          25.009        19.437        .80098E-04   -1.4707    
  13  Prefactor     .10000E-03    30.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    26.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          68.229        61.899        .48593E-04   -1.4054    
  16  Prefactor     15.944        29.206        .10030E-03   -1.4909    
  17  norm          .10000E-03    4.9903        .12344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    53.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          40.501        30.854        .62990E-04   -1.4434    
  21  norm          .10000E-03    6.8479        .14435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    120.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.6559        .49370        .35144E-03   -.73488    
  24  Prefactor     .65618        .24082        .27045E-03   -1.0527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13258e-10
Minuit parameter uncertainties:
  1  0.550979
  2  17.9074
  3  0.000269588
  4  4.05579
  5  9.87805e-07
  6  10.3201
  7  9.15137e-05
  8  17.6471
  9  0.000178811
  10  3.49452
  11  8.88187
  12  19.442
  13  0.000171821
  14  8.92905e-05
  15  61.9571
  16  29.2325
  17  1.21471e-06
  18  9.09484e-07
  19  0.000668062
  20  30.8657
  21  9.47636e-07
  22  0.000878414
  23  0.495176
  24  0.241196
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.172e+01  8.882e+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:  6.562e-01  2.412e-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.656e+00  4.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.42
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 1.04e-07
Energy Flux (Fixed Index): 4.79e-05 +/- 3.63e-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) = 3203.00447495
delta logL = 0.22817333417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3202.96333126
delta logL = 0.269317020361

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.387       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9010       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6988       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64252       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=   3202.963     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      204 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 36.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.388        9.6347        .22717E-05   -.12490E-02
   2  alpha         1.9010        .54142       -.16217E-04   -.17420E-03
   3  Normalizat    1.6990        .39234        .93349E-06    .90093E-04
   4  Prefactor     .64246        .20111       -.64543E-06    .10628E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.388
  alpha      = 1.90096
  Normalizat = 1.69902
  Prefactor  = 0.642465
 **********
 **   18 **HESSE 
 **********

 FCN=   3202.963     FROM HESSE     STATUS=OK            29 CALLS      233 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.388        10.354        .10560E-03   -1.4949    
   2  alpha         1.9010        .63324        .13145E-01   -.24197    
   3  Normalizat    1.6990        .45500        .34788E-03   -.72329    
   4  Prefactor     .64246        .23340        .27302E-03   -1.0583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09264e-09
Minuit parameter uncertainties:
  1  10.3555
  2  0.640653
  3  0.456131
  4  0.233755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/763901': 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) = 3202.96333105
delta logL = 0.269317226019

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.439e+01  1.036e+01  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  1.901e+00  6.407e-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:  6.425e-01  2.338e-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.699e+00  4.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.00
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 1.90 +/- 0.64
Photon Flux (Free Index): 8.91e-08 +/- 8.40e-08
Energy Flux (Free Index): 6.11e-05 +/- 5.28e-05

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/763901/cmap_HighResolution_595209601_595468801_4FGL_J1332.6-1256_daily_bin1373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='6.11e-05', photon_flux_error='1.04e-07', dlogl='2.69e-01', energy_flux='4.79e-05', photon_flux2='8.91e-08', job_status='DONE', time_completed='2021-09-08 03:06:40.862361', photon_index_error2='0.64', photon_index2='1.90', ts='5.42', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='5.28e-05', EG='1.66', time_epoch_completed='1631095600.86', return_code='0', job_id='763901', GAL2='0.64', EG2='1.70', return_code2='0', energy_flux_error='3.63e-05', photon_flux_error2='8.40e-08', ts2='6.00', photon_index='2.40' WHERE bin_id='1373' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:06:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 763901: <4FGL_J1332.6-1256_daily_bin1373> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1373 203.154 -12.9436 595209601 595468801 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 :                                   465.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             215.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            828 sec.

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

