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


Performing analysis on: 4FGL_J1332.0-0509_daily_bin1588
RA = 203.02, Dec = -5.1611
tmin = 650937601, tmax = 651196801
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='743534', job_status='RUN', time_executed='2021-09-08 01:56:19.154164', time_epoch_executed='1631091379.15' WHERE source_name='4FGL J1332.0-0509' and cadence='daily' and bin_id='1588'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743534

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743534/ft1_4FGL_J1332.0-0509_daily_bin1588.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743534/ft2_4FGL_J1332.0-0509_daily_bin1588.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743534/ft1_4FGL_J1332.0-0509_daily_bin1588.fits outfile=/scratch/kocevski/743534/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin1588.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=650937601.0 tmax=651196801.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.22
user 3.40
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743534/ft1_filtered_4FGL_J1332.0-0509_daily_bin1588.fits" evtable="EVENTS" scfile=/scratch/kocevski/743534/ft2_4FGL_J1332.0-0509_daily_bin1588.fits sctable="SC_DATA" outfile=/scratch/kocevski/743534/ltcube_650937601_651196801_4FGL_J1332.0-0509_daily_bin1588.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/743534/ft2_4FGL_J1332.0-0509_daily_bin1588.fits
.....................!
real 14.51
user 14.10
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743534/ft1_filtered_4FGL_J1332.0-0509_daily_bin1588.fits evtable="EVENTS" scfile=/scratch/kocevski/743534/ft2_4FGL_J1332.0-0509_daily_bin1588.fits sctable="SC_DATA" expcube=/scratch/kocevski/743534/ltcube_650937601_651196801_4FGL_J1332.0-0509_daily_bin1588.fits outfile=/scratch/kocevski/743534/expmap_650937601_651196801_4FGL_J1332.0-0509_daily_bin1588.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/743534/ltcube_650937601_651196801_4FGL_J1332.0-0509_daily_bin1588.fits
.....................!
real 191.90
user 185.37
sys 6.10

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/743534/ft1_filtered_4FGL_J1332.0-0509_daily_bin1588.fits scfile=/scratch/kocevski/743534/ft2_4FGL_J1332.0-0509_daily_bin1588.fits outfile=/scratch/kocevski/743534/cmap_650937601_651196801_4FGL_J1332.0-0509_daily_bin1588.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743534/ft1_filtered_4FGL_J1332.0-0509_daily_bin1588.fits scfile=/scratch/kocevski/743534/ft2_4FGL_J1332.0-0509_daily_bin1588.fits outfile=/scratch/kocevski/743534/cmap_HighResolution_650937601_651196801_4FGL_J1332.0-0509_daily_bin1588.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.61
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743534/ft1_filtered_4FGL_J1332.0-0509_daily_bin1588.fits evtable="EVENTS" scfile=/scratch/kocevski/743534/ft2_4FGL_J1332.0-0509_daily_bin1588.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743534/Model_4FGL_J1332.0-0509_daily_bin1588.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/743534/ft1_filtered_4FGL_J1332.0-0509_daily_bin1588.fits.....................!
real 70.56
user 69.07
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    18.595       1.0000         .10000E-03   10000.    
     3 'norm      '    4.7488       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    35.728       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.9741       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2048       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.699       1.0000         .10000E-03   10000.    
    11 'norm      '    5.0963       1.0000         .10000E-03   10000.    
    12 'norm      '    4.7881       1.0000         .10000E-03   10000.    
    13 'norm      '    11.565       1.0000         .10000E-03   10000.    
    14 'norm      '    3.8321       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .29455       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.673       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.5957       1.0000         .10000E-03   10000.    
    20 'norm      '    5.4994       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.7425       1.0000         .10000E-03   10000.    
    22 'norm      '    30.237       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3504       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79398       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=   9291.508     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     3522 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.786       -.18446E-06** at limit **
   2  norm          18.595        18.840        .57837E-07    .37166E-04
   3  norm          4.7487        .42867        .19455E-07    .45487E-02
   4  Prefactor     .10000E-03    67.792       -.67942E-06** at limit **
   5  norm          35.728        13.329        .29333E-06    .48454E-03
   6  norm          .10000E-03    3.4505       -.35877E-06** at limit **
   7  Prefactor     .10000E-03    3.3060       -.87968E-07** at limit **
   8  Prefactor     7.9740        12.503        .23577E-06    .10231E-03
   9  Prefactor     6.2052        6.4049       -.29532E-07   -.27205E-04
  10  Prefactor     12.699        12.029       -.17164E-06    .57241E-04
  11  norm          5.0964        1.7458       -.20074E-07    .19060E-03
  12  norm          4.7883        3.2398        .17880E-06    .66642E-03
  13  norm          11.566        6.8600       -.10281E-06    .19003E-03
  14  norm          3.8316        32.234        .89839E-05   -.41536E-04
  15  Prefactor     .29539        3.9060       -.30576E-05    .24097E-03
  16  Prefactor     .10000E-03    9.6038       -.22396E-06** at limit **
  17  Prefactor     24.673        31.275        .12240E-06    .65154E-04
  18  norm          .10000E-03    1.3615        .15782E-06** at limit **
  19  Prefactor     6.5946        9.5936        .42068E-06    .19213E-03
  20  norm          5.4993        2.3437       -.27404E-06   -.16679E-02
  21  Prefactor     9.7424        23.301        .10719E-06    .24719E-04
  22  norm          30.237        17.816        .15825E-07    .23012E-04
  23  Normalizat    1.3504        .21396       -.25916E-06    .44371E-03
  24  Prefactor     .79394        .13331        .39061E-06    .50962E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 18.5945
  norm       = 4.74869
  Prefactor  = 0.000100001
  norm       = 35.7278
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.97404
  Prefactor  = 6.20521
  Prefactor  = 12.6992
  norm       = 5.09636
  norm       = 4.78826
  norm       = 11.5655
  norm       = 3.83162
  Prefactor  = 0.29539
  Prefactor  = 0.0001
  Prefactor  = 24.6731
  norm       = 0.0001
  Prefactor  = 6.59462
  norm       = 5.49933
  Prefactor  = 9.7424
  norm       = 30.2374
  Normalizat = 1.35044
  Prefactor  = 0.793936
 **********
 **   18 **HESSE 
 **********

 FCN=   9291.508     FROM HESSE     STATUS=OK           399 CALLS     3921 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          18.595        18.842        .92881E-04   -1.4845    
   3  norm          4.7487        .43116        .18094E-04   -1.5272    
   4  Prefactor     .10000E-03    68.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          35.728        13.389        .67046E-04   -1.4512    
   6  norm          .10000E-03    3.4732        .17535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3351        .17119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.9740        12.508        .14199E-03   -1.5143    
   9  Prefactor     6.2052        6.4251        .16116E-03   -1.5210    
  10  Prefactor     12.699        12.042        .11241E-03   -1.4995    
  11  norm          5.0964        1.7519        .70585E-04   -1.5256    
  12  norm          4.7883        3.2462        .12585E-03   -1.5270    
  13  norm          11.566        6.8226        .11780E-03   -1.5028    
  14  norm          3.8316        43.639        .10308E-02   -1.5316    
  15  Prefactor     .29539        5.4092        .27254E-02   -1.5599    
  16  Prefactor     .10000E-03    9.6464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.673        31.340        .80645E-04   -1.4714    
  18  norm          .10000E-03    1.3714        .11007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.5946        9.6058        .15626E-03   -1.5194    
  20  norm          5.4993        2.3968        .95131E-04   -1.5239    
  21  Prefactor     9.7424        23.292        .12838E-03   -1.5084    
  22  norm          30.237        17.818        .72863E-04   -1.4608    
  23  Normalizat    1.3504        .25281        .32512E-03   -.82073    
  24  Prefactor     .79394        .15738        .26337E-03   -.99952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34434e-09
Minuit parameter uncertainties:
  1  5.03364e-05
  2  18.8479
  3  0.431158
  4  0.00044723
  5  13.3897
  6  4.59985e-05
  7  1.31758e-05
  8  12.5118
  9  6.42577
  10  12.0439
  11  1.75187
  12  3.24627
  13  6.82309
  14  25.8853
  15  2.52795
  16  5.33634e-05
  17  31.3605
  18  1.79504e-05
  19  9.60802
  20  2.3968
  21  23.3141
  22  17.8211
  23  0.253043
  24  0.157465
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  5.096e+00  1.752e+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:  7.939e-01  1.575e-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.350e+00  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.74
Ra Dec: 203.020 -5.161
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.54e-07 +/- 5.30e-08
Energy Flux (Fixed Index): 4.64e-05 +/- 1.59e-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) = 9290.56041046
delta logL = 0.947934590862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9290.53395952
delta logL = 0.97438553921

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8985       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9910       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2675       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83209       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=   9290.534     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      238 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9016        15.310        .51086E-02    .12481E-02
   2  alpha         2.9909        3.9490        .25272        .13043E-03
   3  Normalizat    1.2675        .11648        .75352E-01    .31222E-04
   4  Prefactor     .83217        .69951E-01    .44133E-01   -.25764E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.90156
  alpha      = 2.9909
  Normalizat = 1.26751
  Prefactor  = 0.832166
 **********
 **   18 **HESSE 
 **********

 FCN=   9290.534     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9016        1.8508        .55765E-04   -1.5313    
   2  alpha         2.9909        .46514        .10705E-01    .19765    
   3  Normalizat    1.2675        .24999        .33348E-03   -.84542    
   4  Prefactor     .83217        .15711        .25794E-03   -.98553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.26114e-11
Minuit parameter uncertainties:
  1  1.85083
  2  0.46798
  3  0.250231
  4  0.157196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743534': 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) = 9290.53395636
delta logL = 0.974388693334

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  3.902e+00  1.851e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.991e+00  4.680e-01  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:  8.322e-01  1.572e-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.268e+00  2.502e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.76
Ra Dec: 203.020 -5.161
Photon Index (Free Index): 2.99 +/- 0.47
Photon Flux (Free Index): 2.14e-07 +/- 7.48e-08
Energy Flux (Free Index): 4.51e-05 +/- 1.43e-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/743534/cmap_HighResolution_650937601_651196801_4FGL_J1332.0-0509_daily_bin1588.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.54e-07', energy_flux2='4.51e-05', photon_flux_error='5.30e-08', dlogl='9.74e-01', energy_flux='4.64e-05', photon_flux2='2.14e-07', job_status='DONE', time_completed='2021-09-08 02:10:40.447833', photon_index_error2='0.47', photon_index2='2.99', ts='17.74', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='1.35', time_epoch_completed='1631092240.45', return_code='0', job_id='743534', GAL2='0.83', EG2='1.27', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='7.48e-08', ts2='19.76', photon_index='2.39' WHERE bin_id='1588' AND source_name='4FGL J1332.0-0509' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 02:10:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 743534: <4FGL_J1332.0-0509_daily_bin1588> in cluster <slac> Done

Job <4FGL_J1332.0-0509_daily_bin1588> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 01:55:25 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 01:56:05 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:56:05 2021
Terminated at Wed Sep  8 02:10:40 2021
Results reported at Wed Sep  8 02:10:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.0-0509_daily_bin1588 203.02 -5.1611 650937601 651196801 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 :                                   848.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            915 sec.

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

