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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1507
RA = 203.154, Dec = -12.9436
tmin = 629942401, tmax = 630201601
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='764053', job_status='RUN', time_executed='2021-09-08 02:55:56.389878', time_epoch_executed='1631094956.39' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1507'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/764053

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/764053/ft1_4FGL_J1332.6-1256_daily_bin1507.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/764053/ft2_4FGL_J1332.6-1256_daily_bin1507.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/764053/ft1_4FGL_J1332.6-1256_daily_bin1507.fits outfile=/scratch/kocevski/764053/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1507.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=629942401.0 tmax=630201601.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.84
user 4.56
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/764053/ft1_filtered_4FGL_J1332.6-1256_daily_bin1507.fits" evtable="EVENTS" scfile=/scratch/kocevski/764053/ft2_4FGL_J1332.6-1256_daily_bin1507.fits sctable="SC_DATA" outfile=/scratch/kocevski/764053/ltcube_629942401_630201601_4FGL_J1332.6-1256_daily_bin1507.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/764053/ft2_4FGL_J1332.6-1256_daily_bin1507.fits
.....................!
real 17.22
user 16.71
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/764053/ft1_filtered_4FGL_J1332.6-1256_daily_bin1507.fits evtable="EVENTS" scfile=/scratch/kocevski/764053/ft2_4FGL_J1332.6-1256_daily_bin1507.fits sctable="SC_DATA" expcube=/scratch/kocevski/764053/ltcube_629942401_630201601_4FGL_J1332.6-1256_daily_bin1507.fits outfile=/scratch/kocevski/764053/expmap_629942401_630201601_4FGL_J1332.6-1256_daily_bin1507.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/764053/ltcube_629942401_630201601_4FGL_J1332.6-1256_daily_bin1507.fits
.....................!
real 193.64
user 187.69
sys 5.51

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/764053/ft1_filtered_4FGL_J1332.6-1256_daily_bin1507.fits scfile=/scratch/kocevski/764053/ft2_4FGL_J1332.6-1256_daily_bin1507.fits outfile=/scratch/kocevski/764053/cmap_629942401_630201601_4FGL_J1332.6-1256_daily_bin1507.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/764053/ft1_filtered_4FGL_J1332.6-1256_daily_bin1507.fits scfile=/scratch/kocevski/764053/ft2_4FGL_J1332.6-1256_daily_bin1507.fits outfile=/scratch/kocevski/764053/cmap_HighResolution_629942401_630201601_4FGL_J1332.6-1256_daily_bin1507.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/764053/ft1_filtered_4FGL_J1332.6-1256_daily_bin1507.fits evtable="EVENTS" scfile=/scratch/kocevski/764053/ft2_4FGL_J1332.6-1256_daily_bin1507.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/764053/Model_4FGL_J1332.6-1256_daily_bin1507.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/764053/ft1_filtered_4FGL_J1332.6-1256_daily_bin1507.fits.....................!
real 54.80
user 53.31
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6621       1.0000         .10000E-03   10000.    
     2 'norm      '    14.645       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3712       1.0000         .10000E-03   10000.    
     5 'norm      '    9.7179       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.514       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6125       1.0000         .10000E-03   10000.    
    11 'norm      '    13.749       1.0000         .10000E-03   10000.    
    12 'norm      '    3.6693       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.530       1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.030       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10570E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.9292       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.6511       1.0000         .10000E-03   10000.    
    21 'norm      '    25.860       1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.173       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .73118       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0530       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=   6806.973     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2685 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6621        .56223        .46597E-02   -.69233E-03
   2  norm          14.645        10.033        .26166E-02    .65367E-03
   3  Prefactor     .10000E-03    47.249        .90712E-02** at limit **
   4  norm          1.3709        2.7880        .93071E-02    .88783E-03
   5  norm          9.7180        8.2763        .32137E-02    .13447E-03
   6  norm          .10000E-03    3.5335        .90712E-02** at limit **
   7  Prefactor     12.515        11.664        .28309E-02    .99985E-04
   8  Prefactor     .10000E-03    4.3661        .90712E-02** at limit **
   9  Prefactor     .10001E-03    10.441        .90712E-02** at limit **
  10  norm          1.6131        2.0552        .83380E-02    .10057E-02
  11  norm          13.748        6.5525        .27005E-02   -.13121E-03
  12  norm          3.6703        11.264        .52716E-02    .26209E-03
  13  Prefactor     13.531        17.204        .27224E-02   -.12427E-03
  14  Prefactor     38.030        40.819        .16248E-02   -.17282E-03
  15  norm          .10002E-03    10.760        .90712E-02** at limit **
  16  Prefactor     .10000E-03    12.651        .90712E-02** at limit **
  17  norm          8.9285        6.1570        .33533E-02    .12344E-02
  18  Prefactor     .10000E-03    2.1226        .90712E-02** at limit **
  19  Prefactor     .10000E-03    20.801        .90712E-02** at limit **
  20  norm          3.6497        7.3509        .52852E-02    .32849E-03
  21  norm          25.860        5.1183        .19694E-02   -.66582E-03
  22  Prefactor     13.173        34.437        .27590E-02    .44716E-04
  23  Normalizat    .73098        .28164        .99725E-01    .47032E-04
  24  Prefactor     1.0531        .14273        .39740E-01    .18913E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.66211
  norm       = 14.6446
  Prefactor  = 0.0001
  norm       = 1.37089
  norm       = 9.71798
  norm       = 0.0001
  Prefactor  = 12.5151
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  norm       = 1.61311
  norm       = 13.7482
  norm       = 3.67035
  Prefactor  = 13.5309
  Prefactor  = 38.03
  norm       = 0.000100016
  Prefactor  = 0.000100002
  norm       = 8.9285
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.64975
  norm       = 25.8604
  Prefactor  = 13.173
  Normalizat = 0.73098
  Prefactor  = 1.05306
 **********
 **   18 **HESSE 
 **********

 FCN=   6806.973     FROM HESSE     STATUS=OK           399 CALLS     3084 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6621        .56354        .20617E-04   -1.5276    
   2  norm          14.645        10.034        .52332E-03   -1.4942    
   3  Prefactor     .10000E-03    47.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3709        2.7638        .18846E-03   -1.5474    
   5  norm          9.7180        8.2767        .64274E-03   -1.5084    
   6  norm          .10000E-03    3.5355        .15147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.515        11.655        .11324E-03   -1.5000    
   8  Prefactor     .10000E-03    4.4207        .16831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    10.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6131        2.0380        .11761E-03   -1.5454    
  11  norm          13.748        6.4393        .10802E-03   -1.4966    
  12  norm          3.6703        11.047        .21086E-03   -1.5325    
  13  Prefactor     13.531        17.167        .10890E-03   -1.4972    
  14  Prefactor     38.030        40.839        .64992E-04   -1.4474    
  15  norm          .10002E-03    10.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.9285        6.1574        .13413E-03   -1.5110    
  18  Prefactor     .10000E-03    2.1288        .11718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.6497        7.3250        .21141E-03   -1.5326    
  21  norm          25.860        5.1166        .78775E-04   -1.4690    
  22  Prefactor     13.173        34.419        .11036E-03   -1.4982    
  23  Normalizat    .73098        .30895        .44202E-03   -1.0268    
  24  Prefactor     1.0531        .16038        .20449E-03   -.90981    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33015e-09
Minuit parameter uncertainties:
  1  0.563537
  2  10.0348
  3  0.000214264
  4  2.76408
  5  8.27763
  6  5.21682e-07
  7  11.6568
  8  5.27398e-06
  9  0.000595282
  10  2.03807
  11  6.4396
  12  11.0536
  13  17.1729
  14  40.8693
  15  0.000826574
  16  0.00034804
  17  6.15784
  18  2.06809e-06
  19  0.000178338
  20  7.3268
  21  5.11673
  22  34.4706
  23  0.309695
  24  0.160457
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.375e+01  6.440e+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:  1.053e+00  1.605e-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:  7.310e-01  3.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.36
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.61e-07 +/- 7.55e-08
Energy Flux (Fixed Index): 5.62e-05 +/- 2.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) = 6806.32955705
delta logL = 0.643247909544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6806.32865467
delta logL = 0.644150282576

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8934       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8557       1.0000          .0000       5.0000    
     3 'Normalizat'    .67553       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0722       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6806.329     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      278 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8937        5.8937        .82436E-04   -.69285E-03
   2  alpha         2.8557        .44789        .71752E-02   -.89063E-04
   3  Normalizat    .67552        .28433        .45821E-03    .32875E-04
   4  Prefactor     1.0722        .15424        .20282E-03    .14074E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.89365
  alpha      = 2.85569
  Normalizat = 0.675523
  Prefactor  = 1.07216
 **********
 **   18 **HESSE 
 **********

 FCN=   6806.329     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8937        5.4951        .32975E-05   -1.5111    
   2  alpha         2.8557        .41762        .28701E-03    .14276    
   3  Normalizat    .67552        .28401        .18328E-04   -1.0487    
   4  Prefactor     1.0722        .15412        .40565E-04   -.90361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15671e-10
Minuit parameter uncertainties:
  1  5.49542
  2  0.419624
  3  0.284629
  4  0.154187
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/764053': 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) = 6806.32865464
delta logL = 0.644150316306

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  8.894e+00  5.495e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.856e+00  4.196e-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:  1.072e+00  1.542e-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:  6.755e-01  2.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.66
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 2.86 +/- 0.42
Photon Flux (Free Index): 2.10e-07 +/- 8.34e-08
Energy Flux (Free Index): 5.11e-05 +/- 1.85e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/764053/cmap_HighResolution_629942401_630201601_4FGL_J1332.6-1256_daily_bin1507.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.61e-07', energy_flux2='5.11e-05', photon_flux_error='7.55e-08', dlogl='6.44e-01', energy_flux='5.62e-05', photon_flux2='2.10e-07', job_status='DONE', time_completed='2021-09-08 03:09:15.070007', photon_index_error2='0.42', photon_index2='2.86', ts='14.36', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.85e-05', EG='0.73', time_epoch_completed='1631095755.07', return_code='0', job_id='764053', GAL2='1.07', EG2='0.68', return_code2='0', energy_flux_error='2.63e-05', photon_flux_error2='8.34e-08', ts2='15.66', photon_index='2.40' WHERE bin_id='1507' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:09:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 764053: <4FGL_J1332.6-1256_daily_bin1507> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin1507> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 02:53:05 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:55: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:55:13 2021
Terminated at Wed Sep  8 03:09:15 2021
Results reported at Wed Sep  8 03:09:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1507 203.154 -12.9436 629942401 630201601 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 :                                   636.59 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            970 sec.

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

