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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1103
RA = 203.154, Dec = -12.9436
tmin = 525225601, tmax = 525484801
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='761536', job_status='RUN', time_executed='2021-09-08 02:49:23.141854', time_epoch_executed='1631094563.14' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1103'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/761536

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/761536/ft1_4FGL_J1332.6-1256_daily_bin1103.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/761536/ft2_4FGL_J1332.6-1256_daily_bin1103.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/761536/ft1_4FGL_J1332.6-1256_daily_bin1103.fits outfile=/scratch/kocevski/761536/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1103.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=525225601.0 tmax=525484801.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.65
user 3.97
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/761536/ft1_filtered_4FGL_J1332.6-1256_daily_bin1103.fits" evtable="EVENTS" scfile=/scratch/kocevski/761536/ft2_4FGL_J1332.6-1256_daily_bin1103.fits sctable="SC_DATA" outfile=/scratch/kocevski/761536/ltcube_525225601_525484801_4FGL_J1332.6-1256_daily_bin1103.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/761536/ft2_4FGL_J1332.6-1256_daily_bin1103.fits
.....................!
real 18.45
user 15.56
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/761536/ft1_filtered_4FGL_J1332.6-1256_daily_bin1103.fits evtable="EVENTS" scfile=/scratch/kocevski/761536/ft2_4FGL_J1332.6-1256_daily_bin1103.fits sctable="SC_DATA" expcube=/scratch/kocevski/761536/ltcube_525225601_525484801_4FGL_J1332.6-1256_daily_bin1103.fits outfile=/scratch/kocevski/761536/expmap_525225601_525484801_4FGL_J1332.6-1256_daily_bin1103.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/761536/ltcube_525225601_525484801_4FGL_J1332.6-1256_daily_bin1103.fits
.....................!
real 194.99
user 187.17
sys 4.49

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/761536/ft1_filtered_4FGL_J1332.6-1256_daily_bin1103.fits scfile=/scratch/kocevski/761536/ft2_4FGL_J1332.6-1256_daily_bin1103.fits outfile=/scratch/kocevski/761536/cmap_525225601_525484801_4FGL_J1332.6-1256_daily_bin1103.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.58
user 0.40
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/761536/ft1_filtered_4FGL_J1332.6-1256_daily_bin1103.fits evtable="EVENTS" scfile=/scratch/kocevski/761536/ft2_4FGL_J1332.6-1256_daily_bin1103.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/761536/Model_4FGL_J1332.6-1256_daily_bin1103.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/761536/ft1_filtered_4FGL_J1332.6-1256_daily_bin1103.fits.....................!
real 59.48
user 57.57
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9518       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.4872       1.0000         .10000E-03   10000.    
     5 'norm      '    29.247       1.0000         .10000E-03   10000.    
     6 'norm      '    15.932       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10486E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.1058       1.0000         .10000E-03   10000.    
    11 'norm      '    4.6724       1.0000         .10000E-03   10000.    
    12 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10654E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .17092       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.837       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.9592       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .67080       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=   6858.694     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2312 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9516        .63072        .45183E-02   -.69894E-04
   2  norm          .10001E-03    8.6893        .90712E-02** at limit **
   3  Prefactor     .10000E-03    36.908        .90712E-02** at limit **
   4  norm          3.4866        3.0177        .54131E-02    .55932E-04
   5  norm          29.243        15.452        .18521E-02    .50157E-03
   6  norm          15.929        13.960        .25086E-02    .23924E-04
   7  Prefactor     .10000E-03    2.6961        .90712E-02** at limit **
   8  Prefactor     .10000E-03    9.5560        .90712E-02** at limit **
   9  Prefactor     .10000E-03    20.862        .90712E-02** at limit **
  10  norm          4.1041        2.4535        .49738E-02    .37045E-03
  11  norm          4.6736        3.8459        .46544E-02    .27579E-03
  12  norm          .10000E-03    8.1841        .90712E-02** at limit **
  13  Prefactor     .10001E-03    10.626        .90712E-02** at limit **
  14  Prefactor     .10000E-03    9.6276        .90712E-02** at limit **
  15  norm          .10000E-03    12.406        .90712E-02** at limit **
  16  Prefactor     .10000E-03    12.665        .90712E-02** at limit **
  17  norm          .10000E-03    2.0879        .90712E-02** at limit **
  18  Prefactor     .10001E-03    3.6134        .52985E-01** at limit **
  19  Prefactor     .10001E-03    13.345        .90712E-02** at limit **
  20  norm          .10000E-03    5.4863        .90712E-02** at limit **
  21  norm          .13497        1.4782        .63150E-01    .34398E-03
  22  Prefactor     15.839        20.947        .25161E-02   -.70117E-03
  23  Normalizat    1.9596        .27028        .71276E-01   -.62169E-06
  24  Prefactor     .67077        .12818        .42011E-01    .19230E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.9516
  norm       = 0.000100007
  Prefactor  = 0.0001
  norm       = 3.48658
  norm       = 29.2435
  norm       = 15.929
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  norm       = 4.10411
  norm       = 4.67359
  norm       = 0.000100003
  Prefactor  = 0.000100007
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.00010001
  norm       = 0.0001
  norm       = 0.13497
  Prefactor  = 15.8391
  Normalizat = 1.95958
  Prefactor  = 0.67077
 **********
 **   18 **HESSE 
 **********

 FCN=   6858.694     FROM HESSE     STATUS=OK           391 CALLS     2703 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9516        .63296        .22564E-04   -1.5263    
   2  norm          .10001E-03    8.9854        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    36.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.4866        3.0229        .64707E-03   -1.5334    
   5  norm          29.243        15.470        .74083E-04   -1.4626    
   6  norm          15.929        13.957        .10034E-03   -1.4910    
   7  Prefactor     .10000E-03    2.6984        .13280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.6410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    20.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.1041        2.4851        .92658E-04   -1.5303    
  11  norm          4.6736        3.8232        .14051E-03   -1.5276    
  12  norm          .10000E-03    8.2918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    10.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.6323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    12.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.1088        .11685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    10.663        .30225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    13.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    5.5497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .13497        14.830        .19200E-02   -1.5635    
  22  Prefactor     15.839        20.943        .10064E-03   -1.4912    
  23  Normalizat    1.9596        .31670        .31526E-03   -.65567    
  24  Prefactor     .67077        .14987        .24852E-03   -1.0468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12789e-08
Minuit parameter uncertainties:
  1  0.632966
  2  0.000488084
  3  0.000178435
  4  3.02302
  5  15.4725
  6  13.96
  7  6.35887e-07
  8  0.000225374
  9  0.000401895
  10  2.48518
  11  3.82343
  12  0.000313173
  13  0.000550703
  14  0.000234391
  15  0.00021856
  16  0.000242107
  17  6.55899e-07
  18  0.000554554
  19  0.00071714
  20  4.8199e-06
  21  2.82923
  22  20.9532
  23  0.317039
  24  0.14996
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  4.674e+00  3.823e+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.708e-01  1.500e-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.960e+00  3.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.69
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 5.48e-08 +/- 4.48e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.56e-05

TS (Fixed Index): 2.69
Ra Dec: 203.154 -12.944
Photon Flux Upper Limit: 1.57e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/761536/likelihoodResults_525225601_525484801_4FGL_J1332.6-1256_daily_bin1103.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6858.65602056
delta logL = 0.0380352058455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6858.64497829
delta logL = 0.0490774701575

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1065       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6394       1.0000          .0000       5.0000    
     3 'Normalizat'    1.9447       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67467       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=   6858.645     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      237 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1069        4.1234        .12468E-03   -.79457E-03
   2  alpha         2.6392        .78031        .14379E-01   -.68475E-04
   3  Normalizat    1.9446        .29923        .31617E-03    .22782E-03
   4  Prefactor     .67471        .14671        .24784E-03    .35091E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10691
  alpha      = 2.63917
  Normalizat = 1.94463
  Prefactor  = 0.674707
 **********
 **   18 **HESSE 
 **********

 FCN=   6858.645     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1069        3.9292        .49872E-05   -1.5303    
   2  alpha         2.6392        .74385        .57517E-03    .55699E-01
   3  Normalizat    1.9446        .29913        .63235E-04   -.65945    
   4  Prefactor     .67471        .14673        .99137E-05   -1.0453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32566e-10
Minuit parameter uncertainties:
  1  3.92944
  2  0.755322
  3  0.29942
  4  0.146811
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/761536': 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) = 6858.64497819
delta logL = 0.0490775752314

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  4.107e+00  3.929e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.639e+00  7.553e-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.747e-01  1.468e-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.945e+00  2.994e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.77
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 2.64 +/- 0.76
Photon Flux (Free Index): 6.87e-08 +/- 6.81e-08
Energy Flux (Free Index): 1.94e-05 +/- 1.51e-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/761536/cmap_HighResolution_525225601_525484801_4FGL_J1332.6-1256_daily_bin1103.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-05', comment='SUCCESS', photon_flux='5.48e-08', energy_flux2='1.94e-05', photon_flux_error='4.48e-08', dlogl='4.91e-02', energy_flux='1.91e-05', photon_flux2='6.87e-08', job_status='DONE', time_completed='2021-09-08 03:00:45.783087', photon_index_error2='0.76', photon_index2='2.64', ts='2.69', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='1.57e-07', energy_flux_error2='1.51e-05', EG='1.96', time_epoch_completed='1631095245.78', return_code='0', job_id='761536', GAL2='0.67', EG2='1.94', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='6.81e-08', ts2='2.77', photon_index='2.40' WHERE bin_id='1103' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:00:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 761536: <4FGL_J1332.6-1256_daily_bin1103> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1103 203.154 -12.9436 525225601 525484801 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 :                                   665.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            861 sec.

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

