/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J1332.0-0509_daily_bin949
RA = 203.02, Dec = -5.1611
tmin = 485308801, tmax = 485568001
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='740235', job_status='RUN', time_executed='2021-09-08 01:47:29.941891', time_epoch_executed='1631090849.94' WHERE source_name='4FGL J1332.0-0509' and cadence='daily' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/740235

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/740235/ft1_4FGL_J1332.0-0509_daily_bin949.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/740235/ft2_4FGL_J1332.0-0509_daily_bin949.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/740235/ft1_4FGL_J1332.0-0509_daily_bin949.fits outfile=/scratch/kocevski/740235/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin949.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=485308801.0 tmax=485568001.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 5.65
user 5.36
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/740235/ft2_4FGL_J1332.0-0509_daily_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/740235/ft2_4FGL_J1332.0-0509_daily_bin949.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/740235/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin949.fits evtable="EVENTS" outfile="/scratch/kocevski/740235/ft1_filtered_4FGL_J1332.0-0509_daily_bin949.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.52
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/740235/ft1_filtered_4FGL_J1332.0-0509_daily_bin949.fits" evtable="EVENTS" scfile=/scratch/kocevski/740235/ft2_4FGL_J1332.0-0509_daily_bin949.fits sctable="SC_DATA" outfile=/scratch/kocevski/740235/ltcube_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.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/740235/ft2_4FGL_J1332.0-0509_daily_bin949.fits
.....................!
real 14.65
user 14.17
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/740235/ft1_filtered_4FGL_J1332.0-0509_daily_bin949.fits evtable="EVENTS" scfile=/scratch/kocevski/740235/ft2_4FGL_J1332.0-0509_daily_bin949.fits sctable="SC_DATA" expcube=/scratch/kocevski/740235/ltcube_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.fits outfile=/scratch/kocevski/740235/expmap_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.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/740235/ltcube_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.fits
.....................!
real 191.40
user 185.55
sys 4.88

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 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J1332.0-0509 @ 203.02 -5.1611

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/740235/ft1_filtered_4FGL_J1332.0-0509_daily_bin949.fits scfile=/scratch/kocevski/740235/ft2_4FGL_J1332.0-0509_daily_bin949.fits outfile=/scratch/kocevski/740235/cmap_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.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.02 yref=-5.1611 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/740235/ft1_filtered_4FGL_J1332.0-0509_daily_bin949.fits scfile=/scratch/kocevski/740235/ft2_4FGL_J1332.0-0509_daily_bin949.fits outfile=/scratch/kocevski/740235/cmap_HighResolution_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.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.02 yref=-5.1611 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/740235/ft1_filtered_4FGL_J1332.0-0509_daily_bin949.fits evtable="EVENTS" scfile=/scratch/kocevski/740235/ft2_4FGL_J1332.0-0509_daily_bin949.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/740235/Model_4FGL_J1332.0-0509_daily_bin949.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/740235/ft1_filtered_4FGL_J1332.0-0509_daily_bin949.fits.....................!
real 59.56
user 58.05
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/740235/ft1_filtered_4FGL_J1332.0-0509_daily_bin949.fits', '/scratch/kocevski/740235/ft2_4FGL_J1332.0-0509_daily_bin949.fits', expMap='/scratch/kocevski/740235/expmap_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.fits', expCube='/scratch/kocevski/740235/ltcube_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/740235/Model_4FGL_J1332.0-0509_daily_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1332.0-0509'

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  2.389e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.394e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.669e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/740235/ft1_filtered_4FGL_J1332.0-0509_daily_bin949.fits
Spacecraft file(s): /scratch/kocevski/740235/ft2_4FGL_J1332.0-0509_daily_bin949.fits
Exposure map: /scratch/kocevski/740235/expmap_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.fits
Exposure cube: /scratch/kocevski/740235/ltcube_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/740235/Model_4FGL_J1332.0-0509_daily_bin949.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) = 7460.97724719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.818       1.0000         .10000E-03   10000.    
     2 'norm      '    17.798       1.0000         .10000E-03   10000.    
     3 'norm      '    .89595       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.9953       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0057       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.6401       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9143       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11308E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .25499       1.0000         .10000E-03   10000.    
    12 'norm      '    13.698       1.0000         .10000E-03   10000.    
    13 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .17306E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.4711       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1709       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.9077       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .60975       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7460.938     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2686 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.817        33.017       -.13103E-05   -.94046E-06
   2  norm          17.798        20.020        .83417E-07   -.14051E-05
   3  norm          .89593        .24583        .13501E-08    .55482E-04
   4  Prefactor     .10000E-03    17.480        .80395E-05** at limit **
   5  norm          7.9955        8.1504       -.10142E-06   -.11521E-04
   6  norm          .10000E-03    3.0499       -.83509E-06** at limit **
   7  Prefactor     3.0064        6.9414       -.64797E-06   -.26862E-03
   8  Prefactor     9.6398        12.809       -.32333E-06    .46064E-05
   9  Prefactor     4.9145        4.9582        .51836E-08    .11820E-03
  10  Prefactor     .10000E-03    19.489       -.81738E-05** at limit **
  11  norm          .25496        .82943       -.56690E-06   -.11449E-02
  12  norm          13.701        4.0952        .52909E-07    .10351E-02
  13  norm          .10000E-03    2.2215       -.21597E-06** at limit **
  14  norm          .10000E-03    9.5944       -.35678E-05** at limit **
  15  Prefactor     .16868E-01    1.9015       -.94083E-06    .10489E-02
  16  Prefactor     .10000E-03    7.7415        .21748E-05** at limit **
  17  Prefactor     .10000E-03    18.146        .15784E-05** at limit **
  18  norm          .10000E-03    2.2311        .27627E-06** at limit **
  19  Prefactor     .10000E-03    3.1091        .90010E-06** at limit **
  20  norm          1.4710        1.8361       -.19785E-06   -.58120E-03
  21  Prefactor     3.1682        30.009       -.76977E-05   -.49876E-04
  22  norm          .10000E-03    4.8082       -.35593E-06** at limit **
  23  Normalizat    1.9077        .21357        .87984E-06    .40215E-03
  24  Prefactor     .60977        .13110        .10377E-06    .35625E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.8174
  norm       = 17.7979
  norm       = 0.895932
  Prefactor  = 0.0001
  norm       = 7.99552
  norm       = 0.0001
  Prefactor  = 3.00642
  Prefactor  = 9.63982
  Prefactor  = 4.91453
  Prefactor  = 0.0001
  norm       = 0.254961
  norm       = 13.7007
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0168679
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.47102
  Prefactor  = 3.16816
  norm       = 0.0001
  Normalizat = 1.90765
  Prefactor  = 0.609766
 **********
 **   18 **HESSE 
 **********

 FCN=   7460.938     FROM HESSE     STATUS=OK           409 CALLS     3095 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.817        33.067        .75958E-04   -1.4653    
   2  norm          17.798        20.019        .94937E-04   -1.4864    
   3  norm          .89593        .24661        .21285E-04   -1.5519    
   4  Prefactor     .10000E-03    17.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.9955        8.1489        .14180E-03   -1.5142    
   6  norm          .10000E-03    3.0513        .14724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0064        6.9803        .23412E-03   -1.5361    
   8  Prefactor     9.6398        12.820        .12907E-03   -1.5087    
   9  Prefactor     4.9145        4.9604        .18144E-03   -1.5265    
  10  Prefactor     .10000E-03    19.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .25496        1.1132        .13782E-02   -1.5607    
  12  norm          13.701        4.0876        .90754E-04   -1.4968    
  13  norm          .10000E-03    2.2321        .12562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    9.5297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16868E-01    4.0275        .38498E-01   -1.5682    
  16  Prefactor     .10000E-03    7.7222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.2399        .12590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.1082        .14867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.4710        1.8258        .12649E-03   -1.5465    
  21  Prefactor     3.1682        30.606        .22759E-03   -1.5352    
  22  norm          .10000E-03    4.8109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.9077        .25119        .25891E-03   -.66886    
  24  Prefactor     .60977        .15330        .26770E-03   -1.0718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57923e-09
Minuit parameter uncertainties:
  1  33.0891
  2  20.026
  3  0.24661
  4  2.26579e-06
  5  8.15007
  6  6.94637e-08
  7  6.98217
  8  12.8241
  9  4.9608
  10  2.40535e-05
  11  1.06533
  12  4.08764
  13  1.57776e-06
  14  1.0499e-07
  15  0.519778
  16  1.50664e-06
  17  1.28488e-06
  18  3.66225e-06
  19  2.09523e-06
  20  1.82589
  21  19.7072
  22  2.33422e-07
  23  0.251363
  24  0.153409
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  2.550e-01  1.065e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.394e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.669e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  6.098e-01  1.534e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.908e+00  2.514e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 203.020 -5.161
Photon Flux Upper Limit: 9.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.71e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/740235/likelihoodResults_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.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) = 7460.93699851
delta logL = 0.000996407114144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7460.93688806
delta logL = 0.001106858821

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7460.937     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      245 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26124        50.078        .27375E-01    .15210E-02
   2  alpha         2.2942        2.6889        .41333        .26077E-04
   3  Normalizat    1.9084        .54308E-01    .58548E-01    .19081E-04
   4  Prefactor     .60941        .34624E-01    .60529E-01    .49696E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.26124
  alpha      = 2.29421
  Normalizat = 1.90839
  Prefactor  = 0.609413
 **********
 **   18 **HESSE 
 **********

 FCN=   7460.937     FROM HESSE     STATUS=OK            35 CALLS      280 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26124        1.1570        .13904E-02   -1.5606    
   2  alpha         2.2942        1.8820        .63242E-01   -.82407E-01
   3  Normalizat    1.9084        .24364        .25887E-03   -.66867    
   4  Prefactor     .60941        .15295        .26776E-03   -1.0719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25069e-08
Minuit parameter uncertainties:
  1  1.09938
  2  2.13321
  3  0.243798
  4  0.153052
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/740235': 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) = 7460.93688622
delta logL = 0.00110869871514

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  2.612e-01  1.099e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.294e+00  2.133e+00  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  1.669e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  6.094e-01  1.531e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.908e+00  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 203.020 -5.161

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/740235/cmap_HighResolution_485308801_485568001_4FGL_J1332.0-0509_daily_bin949.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-05', job_status='DONE', photon_flux_upper_limit='9.01e-08', time_completed='2021-09-08 02:00:47.553771', job_id='740235', GAL2='0.61', fit_tolerance='1e-08', EG2='1.91', EG='1.91', time_epoch_completed='1631091647.55', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='1.11e-03', ts2='0.07', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='949' AND source_name='4FGL J1332.0-0509' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 02:00:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 740235: <4FGL_J1332.0-0509_daily_bin949> in cluster <slac> Done

Job <4FGL_J1332.0-0509_daily_bin949> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 01:45:38 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 01:45:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 01:45:43 2021
Terminated at Wed Sep  8 02:00:48 2021
Results reported at Wed Sep  8 02:00:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.0-0509_daily_bin949 203.02 -5.1611 485308801 485568001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1332.0-0509 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   769.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            910 sec.

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

