/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 123 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 = 7482
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1332.0-0509_daily_bin210
RA = 203.02, Dec = -5.1611
tmin = 293760001, tmax = 294019201
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='735847', job_status='RUN', time_executed='2021-09-08 01:33:46.521547', time_epoch_executed='1631090026.52' WHERE source_name='4FGL J1332.0-0509' and cadence='daily' and bin_id='210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/735847

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/735847/ft1_4FGL_J1332.0-0509_daily_bin210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/735847/ft2_4FGL_J1332.0-0509_daily_bin210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/735847/ft1_4FGL_J1332.0-0509_daily_bin210.fits outfile=/scratch/kocevski/735847/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin210.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=293760001.0 tmax=294019201.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 3.54
user 3.27
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/735847/ft1_filtered_4FGL_J1332.0-0509_daily_bin210.fits" evtable="EVENTS" scfile=/scratch/kocevski/735847/ft2_4FGL_J1332.0-0509_daily_bin210.fits sctable="SC_DATA" outfile=/scratch/kocevski/735847/ltcube_293760001_294019201_4FGL_J1332.0-0509_daily_bin210.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/735847/ft2_4FGL_J1332.0-0509_daily_bin210.fits
.....................!
real 13.51
user 13.11
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/735847/ft1_filtered_4FGL_J1332.0-0509_daily_bin210.fits evtable="EVENTS" scfile=/scratch/kocevski/735847/ft2_4FGL_J1332.0-0509_daily_bin210.fits sctable="SC_DATA" expcube=/scratch/kocevski/735847/ltcube_293760001_294019201_4FGL_J1332.0-0509_daily_bin210.fits outfile=/scratch/kocevski/735847/expmap_293760001_294019201_4FGL_J1332.0-0509_daily_bin210.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/735847/ltcube_293760001_294019201_4FGL_J1332.0-0509_daily_bin210.fits
.....................!
real 191.20
user 185.99
sys 4.74

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/735847/ft1_filtered_4FGL_J1332.0-0509_daily_bin210.fits scfile=/scratch/kocevski/735847/ft2_4FGL_J1332.0-0509_daily_bin210.fits outfile=/scratch/kocevski/735847/cmap_293760001_294019201_4FGL_J1332.0-0509_daily_bin210.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/735847/ft1_filtered_4FGL_J1332.0-0509_daily_bin210.fits scfile=/scratch/kocevski/735847/ft2_4FGL_J1332.0-0509_daily_bin210.fits outfile=/scratch/kocevski/735847/cmap_HighResolution_293760001_294019201_4FGL_J1332.0-0509_daily_bin210.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/735847/ft1_filtered_4FGL_J1332.0-0509_daily_bin210.fits evtable="EVENTS" scfile=/scratch/kocevski/735847/ft2_4FGL_J1332.0-0509_daily_bin210.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/735847/Model_4FGL_J1332.0-0509_daily_bin210.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/735847/ft1_filtered_4FGL_J1332.0-0509_daily_bin210.fits.....................!
real 62.09
user 60.74
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21134E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .30058       1.0000         .10000E-03   10000.    
     4 'Prefactor '    78.802       1.0000         .10000E-03   10000.    
     5 'norm      '    5.8220       1.0000         .10000E-03   10000.    
     6 'norm      '    10.890       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.737       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.152       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.4523       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .75132E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .69754E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.6588       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0920       1.0000         .10000E-03   10000.    
    20 'norm      '    6.8046       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    21.720       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3310       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98139       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=   7773.141     FROM MIGRAD    STATUS=CONVERGED   1050 CALLS     3371 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10029E-03    45.447        .15030    ** at limit **
   2  norm          .10000E-03    12.857        .18142E-02** at limit **
   3  norm          .30088        .26207        .35613E-03    .13805E-02
   4  Prefactor     78.847        71.176        .45240E-04    .10022E-03
   5  norm          5.8223        10.316        .16645E-03    .82783E-04
   6  norm          10.887        9.0554        .12141E-03   -.23586E-03
   7  Prefactor     15.738        9.8420        .10096E-03   -.61255E-04
   8  Prefactor     .10000E-03    8.2535        .18142E-02** at limit **
   9  Prefactor     34.161        11.583        .68571E-04    .10163E-03
  10  Prefactor     .10000E-03    9.2518        .18142E-02** at limit **
  11  norm          3.4528        1.5523        .70454E-04    .39566E-03
  12  norm          .10000E-03    .81807        .77717E-03** at limit **
  13  norm          .10000E-03    2.4859        .13514E-02** at limit **
  14  norm          .10000E-03    34.880        .36285E-03** at limit **
  15  Prefactor     .64597E-01    7.9111        .42789E-01    .11828E-02
  16  Prefactor     .45574        26.611        .10612        .22071E-03
  17  Prefactor     .10000E-03    13.726        .18142E-02** at limit **
  18  norm          1.6640        5.4069        .16379E-02   -.92392E-03
  19  Prefactor     8.0433        13.559        .14094E-03    .50091E-03
  20  norm          6.8064        3.1292        .50706E-03    .38968E-04
  21  Prefactor     .10000E-03    21.288        .18142E-02** at limit **
  22  norm          21.710        14.609        .85944E-04   -.40478E-04
  23  Normalizat    1.3304        .26309        .31020E-03    .83899E-03
  24  Prefactor     .98149        .16022        .23293E-03    .39136E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100287
  norm       = 0.0001
  norm       = 0.300882
  Prefactor  = 78.8475
  norm       = 5.82233
  norm       = 10.8872
  Prefactor  = 15.7379
  Prefactor  = 0.0001
  Prefactor  = 34.1613
  Prefactor  = 0.0001
  norm       = 3.45276
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0645971
  Prefactor  = 0.455737
  Prefactor  = 0.0001
  norm       = 1.66403
  Prefactor  = 8.04328
  norm       = 6.80638
  Prefactor  = 0.000100001
  norm       = 21.7104
  Normalizat = 1.3304
  Prefactor  = 0.981487
 **********
 **   18 **HESSE 
 **********

 FCN=   7773.141     FROM HESSE     STATUS=OK           407 CALLS     3778 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10029E-03    45.546        .14997       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    12.858        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .30088        .26162        .14245E-04   -1.5598    
   4  Prefactor     78.847        71.138        .90479E-05   -1.3930    
   5  norm          5.8223        10.314        .66578E-05   -1.5225    
   6  norm          10.887        9.0552        .24282E-04   -1.5048    
   7  Prefactor     15.738        9.8413        .40386E-05   -1.4914    
   8  Prefactor     .10000E-03    8.2544        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     34.161        11.582        .27428E-05   -1.4538    
  10  Prefactor     .10000E-03    9.2543        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.4528        1.5522        .28182E-05   -1.5336    
  12  norm          .10000E-03    .81809        .15543E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.4864        .27027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    34.882        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64597E-01    5.4265        .52763E-01   -1.5657    
  16  Prefactor     .45574        25.204        .10966       -1.5573    
  17  Prefactor     .10000E-03    13.726        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.6640        5.3155        .65518E-04   -1.5450    
  19  Prefactor     8.0433        13.546        .56377E-05   -1.5141    
  20  norm          6.8064        3.1289        .20282E-04   -1.5186    
  21  Prefactor     .10000E-03    21.290        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          21.710        14.608        .34378E-05   -1.4776    
  23  Normalizat    1.3304        .26255        .62040E-04   -.82663    
  24  Prefactor     .98149        .16032        .46585E-04   -.93349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.04091e-09
Minuit parameter uncertainties:
  1  0.00724251
  2  7.28885e-05
  3  0.261625
  4  71.2148
  5  10.3169
  6  9.05639
  7  9.84232
  8  2.13458e-05
  9  11.583
  10  1.02911e-05
  11  1.55218
  12  1.02827e-07
  13  2.64722e-07
  14  3.63684e-05
  15  1.18331
  16  6.78063
  17  7.34098e-06
  18  5.31705
  19  13.5514
  20  3.12902
  21  0.000310464
  22  14.6105
  23  0.262809
  24  0.160396
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  3.453e+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.815e-01  1.604e-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.330e+00  2.628e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.62
Ra Dec: 203.020 -5.161
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.04e-07 +/- 4.69e-08
Energy Flux (Fixed Index): 3.14e-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) = 7773.12294598
delta logL = 0.0177180282581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7773.12112962
delta logL = 0.0195343874166

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5292       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2878       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3396       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97720       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=   7773.121     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      239 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5293        1.6241        .71855E-04    .21438E-03
   2  alpha         2.2878        .53010        .15029E-01    .15377E-04
   3  Normalizat    1.3396        .24507        .30933E-03    .23926E-04
   4  Prefactor     .97720        .15961        .23336E-03    .40143E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.52927
  alpha      = 2.28783
  Normalizat = 1.33964
  Prefactor  = 0.977198
 **********
 **   18 **HESSE 
 **********

 FCN=   7773.121     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5293        1.6150        .28742E-05   -1.5332    
   2  alpha         2.2878        .52686        .60117E-03   -.84969E-01
   3  Normalizat    1.3396        .24523        .12373E-04   -.82391    
   4  Prefactor     .97720        .15971        .93344E-05   -.93493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08986e-11
Minuit parameter uncertainties:
  1  1.61498
  2  0.530873
  3  0.245448
  4  0.159783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/735847': 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) = 7773.12112962
delta logL = 0.0195343893556

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  3.529e+00  1.615e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.288e+00  5.309e-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.772e-01  1.598e-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.340e+00  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.62
Ra Dec: 203.020 -5.161
Photon Index (Free Index): 2.29 +/- 0.53
Photon Flux (Free Index): 9.74e-08 +/- 5.66e-08
Energy Flux (Free Index): 3.20e-05 +/- 1.49e-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/735847/cmap_HighResolution_293760001_294019201_4FGL_J1332.0-0509_daily_bin210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.04e-07', energy_flux2='3.20e-05', photon_flux_error='4.69e-08', dlogl='1.95e-02', energy_flux='3.14e-05', photon_flux2='9.74e-08', job_status='DONE', time_completed='2021-09-08 01:45:54.558518', photon_index_error2='0.53', photon_index2='2.29', ts='8.62', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.49e-05', EG='1.33', time_epoch_completed='1631090754.56', return_code='0', job_id='735847', GAL2='0.98', EG2='1.34', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='5.66e-08', ts2='8.62', photon_index='2.39' WHERE bin_id='210' AND source_name='4FGL J1332.0-0509' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 01:45:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 735847: <4FGL_J1332.0-0509_daily_bin210> in cluster <slac> Done

Job <4FGL_J1332.0-0509_daily_bin210> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep  8 01:30:46 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 01:31:29 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:31:29 2021
Terminated at Wed Sep  8 01:45:55 2021
Results reported at Wed Sep  8 01:45:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.0-0509_daily_bin210 203.02 -5.1611 293760001 294019201 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 :                                   726.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            909 sec.

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

