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


Performing analysis on: 4FGL_J1332.0-0509_daily_bin842
RA = 203.02, Dec = -5.1611
tmin = 457574401, tmax = 457833601
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='738973', job_status='RUN', time_executed='2021-09-08 01:44:22.054083', time_epoch_executed='1631090662.05' WHERE source_name='4FGL J1332.0-0509' and cadence='daily' and bin_id='842'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/738973

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/738973/ft1_4FGL_J1332.0-0509_daily_bin842.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/738973/ft2_4FGL_J1332.0-0509_daily_bin842.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/738973/ft1_4FGL_J1332.0-0509_daily_bin842.fits outfile=/scratch/kocevski/738973/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin842.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=457574401.0 tmax=457833601.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.17
user 4.83
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/738973/ft2_4FGL_J1332.0-0509_daily_bin842.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/738973/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin842.fits evtable="EVENTS" outfile="/scratch/kocevski/738973/ft1_filtered_4FGL_J1332.0-0509_daily_bin842.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.56
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/738973/ft1_filtered_4FGL_J1332.0-0509_daily_bin842.fits" evtable="EVENTS" scfile=/scratch/kocevski/738973/ft2_4FGL_J1332.0-0509_daily_bin842.fits sctable="SC_DATA" outfile=/scratch/kocevski/738973/ltcube_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.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/738973/ft2_4FGL_J1332.0-0509_daily_bin842.fits
.....................!
real 16.42
user 15.93
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/738973/ft1_filtered_4FGL_J1332.0-0509_daily_bin842.fits evtable="EVENTS" scfile=/scratch/kocevski/738973/ft2_4FGL_J1332.0-0509_daily_bin842.fits sctable="SC_DATA" expcube=/scratch/kocevski/738973/ltcube_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.fits outfile=/scratch/kocevski/738973/expmap_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.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/738973/ltcube_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.fits
.....................!
real 195.28
user 189.04
sys 5.63

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/738973/ft1_filtered_4FGL_J1332.0-0509_daily_bin842.fits scfile=/scratch/kocevski/738973/ft2_4FGL_J1332.0-0509_daily_bin842.fits outfile=/scratch/kocevski/738973/cmap_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.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.59
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/738973/ft1_filtered_4FGL_J1332.0-0509_daily_bin842.fits scfile=/scratch/kocevski/738973/ft2_4FGL_J1332.0-0509_daily_bin842.fits outfile=/scratch/kocevski/738973/cmap_HighResolution_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.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.59
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/738973/ft1_filtered_4FGL_J1332.0-0509_daily_bin842.fits evtable="EVENTS" scfile=/scratch/kocevski/738973/ft2_4FGL_J1332.0-0509_daily_bin842.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/738973/Model_4FGL_J1332.0-0509_daily_bin842.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/738973/ft1_filtered_4FGL_J1332.0-0509_daily_bin842.fits....................!
real 58.38
user 56.75
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/738973/ft1_filtered_4FGL_J1332.0-0509_daily_bin842.fits', '/scratch/kocevski/738973/ft2_4FGL_J1332.0-0509_daily_bin842.fits', expMap='/scratch/kocevski/738973/expmap_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.fits', expCube='/scratch/kocevski/738973/ltcube_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/738973/Model_4FGL_J1332.0-0509_daily_bin842.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/738973/ft1_filtered_4FGL_J1332.0-0509_daily_bin842.fits
Spacecraft file(s): /scratch/kocevski/738973/ft2_4FGL_J1332.0-0509_daily_bin842.fits
Exposure map: /scratch/kocevski/738973/expmap_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.fits
Exposure cube: /scratch/kocevski/738973/ltcube_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/738973/Model_4FGL_J1332.0-0509_daily_bin842.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) = 7253.68640312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.6088       1.0000         .10000E-03   10000.    
     3 'norm      '    2.7390       1.0000         .10000E-03   10000.    
     4 'Prefactor '    61.723       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7336       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .25279E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8857       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.797       1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.4730       1.0000         .10000E-03   10000.    
    13 'norm      '    10.752       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6723       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8089       1.0000         .10000E-03   10000.    
    18 'norm      '    7.9691       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.379       1.0000         .10000E-03   10000.    
    20 'norm      '    3.6042       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88398       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2129       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=   7253.675     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     3182 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.101        .82369E-05** at limit **
   2  norm          1.4790        149.84       -.23942E-04   -.30683E-04
   3  norm          2.7390        .42035        .31795E-08    .54223E-03
   4  Prefactor     61.721        71.626       -.89506E-07    .17734E-04
   5  norm          .10000E-03    10.108       -.48896E-07** at limit **
   6  norm          .10000E-03    8.3027        .43101E-07** at limit **
   7  Prefactor     2.7305        10.705        .17451E-05   -.19287E-03
   8  Prefactor     .10000E-03    15.831       -.57176E-06** at limit **
   9  Prefactor     2.8867        9.5322       -.22392E-05   -.27762E-03
  10  Prefactor     31.801        23.902       -.12393E-05    .88600E-05
  11  norm          .10000E-03    .33591       -.21450E-07** at limit **
  12  norm          2.4719        3.6630        .18323E-06   -.30143E-03
  13  norm          10.751        7.6736        .77937E-07   -.57902E-04
  14  norm          .10000E-03    46.607       -.31767E-04** at limit **
  15  Prefactor     2.6718        4.9841       -.55584E-06   -.73459E-03
  16  Prefactor     .10000E-03    13.682        .33942E-06** at limit **
  17  Prefactor     3.7969        83.589       -.18224E-04   -.12942E-04
  18  norm          7.9662        8.3941       -.40466E-07   -.11361E-03
  19  Prefactor     17.388        17.131       -.19481E-05   -.13930E-03
  20  norm          3.6039        2.2215       -.95336E-07   -.19813E-03
  21  Prefactor     .10000E-03    55.393        .28046E-04** at limit **
  22  norm          .10000E-03    15.564       -.54766E-06** at limit **
  23  Normalizat    .88351        .23624        .10993E-05    .85200E-04
  24  Prefactor     1.2133        .15196        .94537E-06    .11000E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.47895
  norm       = 2.73903
  Prefactor  = 61.7207
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.73047
  Prefactor  = 0.000100002
  Prefactor  = 2.88669
  Prefactor  = 31.8007
  norm       = 0.0001
  norm       = 2.47191
  norm       = 10.7514
  norm       = 0.0001
  Prefactor  = 2.67177
  Prefactor  = 0.0001
  Prefactor  = 3.79689
  norm       = 7.9662
  Prefactor  = 17.3877
  norm       = 3.60394
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.883513
  Prefactor  = 1.2133
 **********
 **   18 **HESSE 
 **********

 FCN=   7253.675     FROM HESSE     STATUS=OK           407 CALLS     3589 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4790        154.88        .33401E-03   -1.5465    
   3  norm          2.7390        .42123        .20387E-04   -1.5377    
   4  Prefactor     61.721        71.678        .51074E-04   -1.4135    
   5  norm          .10000E-03    10.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.3491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7305        10.592        .24627E-03   -1.5377    
   8  Prefactor     .10000E-03    20.613        .98375E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8867        9.5350        .23924E-03   -1.5368    
  10  Prefactor     31.801        23.584        .71058E-04   -1.4580    
  11  norm          .10000E-03    .33844        .48177E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.4719        3.5894        .16013E-03   -1.5394    
  13  norm          10.751        7.6370        .12219E-03   -1.5052    
  14  norm          .10000E-03    46.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.6718        4.9239        .22316E-03   -1.5381    
  16  Prefactor     .10000E-03    13.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.7969        84.703        .20682E-03   -1.5318    
  18  norm          7.9662        8.2884        .14203E-03   -1.5143    
  19  Prefactor     17.388        17.205        .96073E-04   -1.4874    
  20  norm          3.6039        2.2194        .96083E-04   -1.5328    
  21  Prefactor     .10000E-03    55.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    15.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .88351        .27603        .37361E-03   -.97042    
  24  Prefactor     1.2133        .17920        .21742E-03   -.85923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13253e-09
Minuit parameter uncertainties:
  1  3.36845e-06
  2  30.3493
  3  0.421227
  4  71.7782
  5  1.10702e-05
  6  2.61097e-06
  7  10.5997
  8  0.000422206
  9  9.54
  10  23.5907
  11  2.90921e-07
  12  3.58969
  13  7.63766
  14  3.88984e-05
  15  4.92464
  16  8.11825e-06
  17  35.9241
  18  8.28962
  19  17.2099
  20  2.21948
  21  0.000254156
  22  1.64394e-05
  23  0.276471
  24  0.179289
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  1.000e-04  2.909e-07  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:  1.213e+00  1.793e-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:  8.835e-01  2.765e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/738973/likelihoodResults_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.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) = 7253.67484261
delta logL = -0.000207087297895

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7253.67463782
delta logL = -2.30418481806e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3929       1.0000          .0000       5.0000    
     3 'Normalizat'    .88389       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2132       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7253.675     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      237 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .33883        .48179E-03** at limit **
   2  alpha         2.3311        3.6500        .16480E-01    .51049E-07
   3  Normalizat    .88351        .25664        .37361E-03    .70353E-04
   4  Prefactor     1.2133        .17333        .21742E-03    .13051E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.33109
  Normalizat = 0.883512
  Prefactor  = 1.2133
 **********
 **   18 **HESSE 
 **********

 FCN=   7253.675     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .33868        .96358E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3311        3.6138        .65919E-03   -.67616E-01
   3  Normalizat    .88351        .25683        .14944E-04   -.97042    
   4  Prefactor     1.2133        .17346        .43484E-04   -.85923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99953e-11
Minuit parameter uncertainties:
  1  4.087e-07
  2  135.457
  3  0.257185
  4  0.173539
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/738973': 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) = 7253.67463542
delta logL = 1.04614628071e-07

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  1.000e-04  4.087e-07  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.331e+00  1.355e+02  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:  1.213e+00  1.735e-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:  8.835e-01  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/738973/cmap_HighResolution_457574401_457833601_4FGL_J1332.0-0509_daily_bin842.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-05', job_status='DONE', photon_flux_upper_limit='5.52e-08', time_completed='2021-09-08 01:57:22.636042', job_id='738973', GAL2='1.21', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1631091442.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='1.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='842' AND source_name='4FGL J1332.0-0509' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 01:57:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 738973: <4FGL_J1332.0-0509_daily_bin842> in cluster <slac> Done

Job <4FGL_J1332.0-0509_daily_bin842> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 01:40:49 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 01:42:14 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:42:14 2021
Terminated at Wed Sep  8 01:57:23 2021
Results reported at Wed Sep  8 01:57:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.0-0509_daily_bin842 203.02 -5.1611 457574401 457833601 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 :                                   777.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            994 sec.

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

