/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 48 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 = 7473
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1332.0-0509_daily_bin83
RA = 203.02, Dec = -5.1611
tmin = 260841601, tmax = 261100801
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='734695', job_status='RUN', time_executed='2021-09-08 01:27:01.194696', time_epoch_executed='1631089621.19' WHERE source_name='4FGL J1332.0-0509' and cadence='daily' and bin_id='83'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/734695

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/734695/ft1_4FGL_J1332.0-0509_daily_bin83.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/734695/ft2_4FGL_J1332.0-0509_daily_bin83.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/734695/ft1_4FGL_J1332.0-0509_daily_bin83.fits outfile=/scratch/kocevski/734695/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin83.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=260841601.0 tmax=261100801.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 1.60
user 1.41
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/734695/ft2_4FGL_J1332.0-0509_daily_bin83.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/734695/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin83.fits evtable="EVENTS" outfile="/scratch/kocevski/734695/ft1_filtered_4FGL_J1332.0-0509_daily_bin83.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/734695/ft1_filtered_4FGL_J1332.0-0509_daily_bin83.fits" evtable="EVENTS" scfile=/scratch/kocevski/734695/ft2_4FGL_J1332.0-0509_daily_bin83.fits sctable="SC_DATA" outfile=/scratch/kocevski/734695/ltcube_260841601_261100801_4FGL_J1332.0-0509_daily_bin83.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/734695/ft2_4FGL_J1332.0-0509_daily_bin83.fits
.....................!
real 16.44
user 16.03
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/734695/ft1_filtered_4FGL_J1332.0-0509_daily_bin83.fits evtable="EVENTS" scfile=/scratch/kocevski/734695/ft2_4FGL_J1332.0-0509_daily_bin83.fits sctable="SC_DATA" expcube=/scratch/kocevski/734695/ltcube_260841601_261100801_4FGL_J1332.0-0509_daily_bin83.fits outfile=/scratch/kocevski/734695/expmap_260841601_261100801_4FGL_J1332.0-0509_daily_bin83.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/734695/ltcube_260841601_261100801_4FGL_J1332.0-0509_daily_bin83.fits
.....................!
real 192.24
user 186.22
sys 5.52

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/734695/ft1_filtered_4FGL_J1332.0-0509_daily_bin83.fits scfile=/scratch/kocevski/734695/ft2_4FGL_J1332.0-0509_daily_bin83.fits outfile=/scratch/kocevski/734695/cmap_260841601_261100801_4FGL_J1332.0-0509_daily_bin83.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.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/734695/ft1_filtered_4FGL_J1332.0-0509_daily_bin83.fits evtable="EVENTS" scfile=/scratch/kocevski/734695/ft2_4FGL_J1332.0-0509_daily_bin83.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/734695/Model_4FGL_J1332.0-0509_daily_bin83.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/734695/ft1_filtered_4FGL_J1332.0-0509_daily_bin83.fits.....................!
real 77.73
user 76.35
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    55.041       1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .92872       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10340E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.4496       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8573       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3449       1.0000         .10000E-03   10000.    
    10 'Prefactor '    57.103       1.0000         .10000E-03   10000.    
    11 'norm      '    5.4886       1.0000         .10000E-03   10000.    
    12 'norm      '    7.4103       1.0000         .10000E-03   10000.    
    13 'norm      '    9.1400       1.0000         .10000E-03   10000.    
    14 'norm      '    4.4288       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4499       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1097       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .15151E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .76179       1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.835       1.0000         .10000E-03   10000.    
    22 'norm      '    .15731E-02   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3013       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90517       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=   10244.11     FROM MIGRAD    STATUS=CONVERGED    966 CALLS     3189 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.991        41.492        .54067E-04   -.25888E-03
   2  norm          .10000E-03    20.176        .18142E-02** at limit **
   3  norm          .92885        .24020        .22843E-04   -.30816E-02
   4  Prefactor     .10000E-03    83.209        .18142E-02** at limit **
   5  norm          .10000E-03    5.6320        .18142E-02** at limit **
   6  norm          5.4496        6.9920        .17213E-03   -.11241E-03
   7  Prefactor     8.8570        8.3268        .13468E-03   -.14097E-03
   8  Prefactor     .10000E-03    8.8504        .18142E-02** at limit **
   9  Prefactor     3.3449        4.6012        .22129E-03   -.30382E-03
  10  Prefactor     57.104        29.748        .53087E-04   -.32123E-04
  11  norm          5.4885        1.5520        .63537E-04   -.76295E-03
  12  norm          7.4104        6.0199        .14391E-03   -.10080E-03
  13  norm          9.1403        6.2207        .13257E-03   -.46309E-05
  14  norm          4.4267        31.473        .19135E-03   -.43133E-04
  15  Prefactor     3.4508        3.3303        .17420E-03    .12025E-02
  16  Prefactor     2.1130        40.941        .28404E-03   -.46749E-04
  17  Prefactor     .10000E-03    13.802        .18142E-02** at limit **
  18  norm          .10000E-03    13.419        .33619E-02** at limit **
  19  Prefactor     .10000E-03    2.4723        .15531E-02** at limit **
  20  norm          .76107        1.2480        .16536E-02    .56468E-02
  21  Prefactor     21.833        16.404        .85718E-04   -.51884E-04
  22  norm          .10000E-03    10.211        .10187    ** at limit **
  23  Normalizat    1.3015        .21961        .30042E-03   -.18270E-03
  24  Prefactor     .90502        .14323        .23550E-03    .12918E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.9907
  norm       = 0.0001
  norm       = 0.928847
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.44959
  Prefactor  = 8.85701
  Prefactor  = 0.0001
  Prefactor  = 3.34488
  Prefactor  = 57.1035
  norm       = 5.48847
  norm       = 7.41042
  norm       = 9.14027
  norm       = 4.4267
  Prefactor  = 3.45077
  Prefactor  = 2.11302
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.761074
  Prefactor  = 21.8331
  norm       = 0.0001
  Normalizat = 1.30148
  Prefactor  = 0.905023
 **********
 **   18 **HESSE 
 **********

 FCN=   10244.11     FROM HESSE     STATUS=OK           385 CALLS     3574 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.991        41.492        .10813E-04   -1.4223    
   2  norm          .10000E-03    20.188        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .92885        .24020        .91373E-06   -1.5515    
   4  Prefactor     .10000E-03    83.233        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    5.6351        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4496        6.9921        .68851E-05   -1.5241    
   7  Prefactor     8.8570        8.3264        .53872E-05   -1.5113    
   8  Prefactor     .10000E-03    8.8522        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.3449        4.6008        .88518E-05   -1.5342    
  10  Prefactor     57.104        29.748        .21235E-05   -1.4195    
  11  norm          5.4885        1.5520        .25415E-05   -1.5239    
  12  norm          7.4104        6.0192        .57563E-05   -1.5163    
  13  norm          9.1403        6.2201        .53027E-05   -1.5103    
  14  norm          4.4267        31.456        .76542E-05   -1.5287    
  15  Prefactor     3.4508        3.3275        .69682E-05   -1.5336    
  16  Prefactor     2.1130        40.902        .11362E-04   -1.5417    
  17  Prefactor     .10000E-03    13.802        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    13.591        .67239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.4724        .31062E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .76107        1.2466        .33073E-03   -1.5533    
  21  Prefactor     21.833        16.404        .17144E-04   -1.4773    
  22  norm          .10000E-03    10.204        .10193       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3015        .21979        .12017E-04   -.83522    
  24  Prefactor     .90502        .14336        .94201E-05   -.95966    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10153e-09
Minuit parameter uncertainties:
  1  41.514
  2  4.67795e-05
  3  0.2402
  4  0.000156693
  5  3.73031e-05
  6  6.99315
  7  8.32753
  8  1.07864e-05
  9  4.60132
  10  29.7553
  11  1.55199
  12  6.01974
  13  6.22055
  14  23.6179
  15  3.32763
  16  18.6075
  17  3.09388e-05
  18  0.0001359
  19  1.97818e-05
  20  1.24659
  21  16.4073
  22  0.000111164
  23  0.219949
  24  0.143423
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  5.488e+00  1.552e+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:  9.050e-01  1.434e-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.301e+00  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 26.58
Ra Dec: 203.020 -5.161
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.66e-07 +/- 4.69e-08
Energy Flux (Fixed Index): 4.99e-05 +/- 1.41e-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) = 10244.0943402
delta logL = 0.0181198334703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10244.0903444
delta logL = 0.0221155991694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3636       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4618       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2922       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90944       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=   10244.09     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3636        20.578        .43381E-02    .19838E-02
   2  alpha         2.4618        3.7305        .25510        .46484E-04
   3  Normalizat    1.2922        .18292        .68104E-01    .15941E-04
   4  Prefactor     .90945        .11603        .45125E-01    .16115E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.36364
  alpha      = 2.46178
  Normalizat = 1.2922
  Prefactor  = 0.909446
 **********
 **   18 **HESSE 
 **********

 FCN=   10244.09     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3636        1.6609        .62305E-04   -1.5245    
   2  alpha         2.4618        .32793        .10645E-01   -.15289E-01
   3  Normalizat    1.2922        .21652        .30130E-03   -.83800    
   4  Prefactor     .90945        .14247        .23501E-03   -.95812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49383e-10
Minuit parameter uncertainties:
  1  1.66091
  2  0.328881
  3  0.216673
  4  0.142532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/734695': 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) = 10244.0903444
delta logL = 0.0221156010848

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  5.364e+00  1.661e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.462e+00  3.289e-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:  9.094e-01  1.425e-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.292e+00  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.41
Ra Dec: 203.020 -5.161
Photon Index (Free Index): 2.46 +/- 0.33
Photon Flux (Free Index): 1.72e-07 +/- 5.63e-08
Energy Flux (Free Index): 4.92e-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/734695/cmap_HighResolution_260841601_261100801_4FGL_J1332.0-0509_daily_bin83.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.66e-07', energy_flux2='4.92e-05', photon_flux_error='4.69e-08', dlogl='2.21e-02', energy_flux='4.99e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2021-09-08 01:41:09.847896', photon_index_error2='0.33', photon_index2='2.46', ts='26.58', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='1.30', time_epoch_completed='1631090469.85', return_code='0', job_id='734695', GAL2='0.91', EG2='1.29', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='5.63e-08', ts2='26.41', photon_index='2.39' WHERE bin_id='83' AND source_name='4FGL J1332.0-0509' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 01:41:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 734695: <4FGL_J1332.0-0509_daily_bin83> in cluster <slac> Done

Job <4FGL_J1332.0-0509_daily_bin83> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Sep  8 01:25:44 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 01:25:58 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:25:58 2021
Terminated at Wed Sep  8 01:41:10 2021
Results reported at Wed Sep  8 01:41:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.0-0509_daily_bin83 203.02 -5.1611 260841601 261100801 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 :                                   846.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             302.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            926 sec.

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

