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

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


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


Performing analysis on: 4FGL_J1332.0-0509_daily_bin45
RA = 203.02, Dec = -5.1611
tmin = 250992001, tmax = 251251201
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='734640', job_status='RUN', time_executed='2021-09-08 01:27:01.451321', time_epoch_executed='1631089621.45' WHERE source_name='4FGL J1332.0-0509' and cadence='daily' and bin_id='45'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/734640

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/734640/ft1_4FGL_J1332.0-0509_daily_bin45.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/734640/ft2_4FGL_J1332.0-0509_daily_bin45.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/734640/ft1_4FGL_J1332.0-0509_daily_bin45.fits outfile=/scratch/kocevski/734640/ft1_filteredMKT_4FGL_J1332.0-0509_daily_bin45.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=250992001.0 tmax=251251201.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.45
user 1.26
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/734640/ft1_filtered_4FGL_J1332.0-0509_daily_bin45.fits" evtable="EVENTS" scfile=/scratch/kocevski/734640/ft2_4FGL_J1332.0-0509_daily_bin45.fits sctable="SC_DATA" outfile=/scratch/kocevski/734640/ltcube_250992001_251251201_4FGL_J1332.0-0509_daily_bin45.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/734640/ft2_4FGL_J1332.0-0509_daily_bin45.fits
.....................!
real 17.41
user 17.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/734640/ft1_filtered_4FGL_J1332.0-0509_daily_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/734640/ft2_4FGL_J1332.0-0509_daily_bin45.fits sctable="SC_DATA" expcube=/scratch/kocevski/734640/ltcube_250992001_251251201_4FGL_J1332.0-0509_daily_bin45.fits outfile=/scratch/kocevski/734640/expmap_250992001_251251201_4FGL_J1332.0-0509_daily_bin45.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/734640/ltcube_250992001_251251201_4FGL_J1332.0-0509_daily_bin45.fits
.....................!
real 191.45
user 186.69
sys 4.37

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/734640/ft1_filtered_4FGL_J1332.0-0509_daily_bin45.fits scfile=/scratch/kocevski/734640/ft2_4FGL_J1332.0-0509_daily_bin45.fits outfile=/scratch/kocevski/734640/cmap_250992001_251251201_4FGL_J1332.0-0509_daily_bin45.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=203.02 yref=-5.1611 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/734640/ft1_filtered_4FGL_J1332.0-0509_daily_bin45.fits scfile=/scratch/kocevski/734640/ft2_4FGL_J1332.0-0509_daily_bin45.fits outfile=/scratch/kocevski/734640/cmap_HighResolution_250992001_251251201_4FGL_J1332.0-0509_daily_bin45.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/734640/ft1_filtered_4FGL_J1332.0-0509_daily_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/734640/ft2_4FGL_J1332.0-0509_daily_bin45.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/734640/Model_4FGL_J1332.0-0509_daily_bin45.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/734640/ft1_filtered_4FGL_J1332.0-0509_daily_bin45.fits.....................!
real 83.73
user 82.32
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9131       1.0000         .10000E-03   10000.    
     2 'norm      '    23.320       1.0000         .10000E-03   10000.    
     3 'norm      '    5.4661       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .46334       1.0000         .10000E-03   10000.    
     6 'norm      '    4.3916       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4414       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .28390E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    4.1125       1.0000         .10000E-03   10000.    
    12 'norm      '    8.4605       1.0000         .10000E-03   10000.    
    13 'norm      '    .28150       1.0000         .10000E-03   10000.    
    14 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13725E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.177       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10152E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.2262       1.0000         .10000E-03   10000.    
    22 'norm      '    .11035E-01   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4052       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78222       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=   11386.80     FROM MIGRAD    STATUS=CONVERGED   1004 CALLS     2882 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8878        39.000        .12727E-03    .17801E-03
   2  norm          23.321        20.599        .82948E-04    .39199E-04
   3  norm          5.4663        .41713        .17609E-04   -.64562E-05
   4  Prefactor     .10000E-03    48.817        .18142E-02** at limit **
   5  norm          .46370        22.596        .42510E-02    .17068E-03
   6  norm          4.3916        4.5685        .19218E-03    .39326E-03
   7  Prefactor     2.4412        3.5918        .23959E-03   -.59417E-03
   8  Prefactor     .10000E-03    5.7732        .18142E-02** at limit **
   9  Prefactor     .10000E-03    2.6970        .17054E-02** at limit **
  10  Prefactor     .10022E-03    18.210        .84946E-01** at limit **
  11  norm          4.1125        1.3267        .66689E-04    .40198E-03
  12  norm          8.4498        4.3353        .11518E-03   -.26058E-04
  13  norm          .30650        11.883        .34429E-02    .13029E-02
  14  norm          .10000E-03    15.332        .18142E-02** at limit **
  15  Prefactor     .10000E-03    4.7422        .28601E-02** at limit **
  16  Prefactor     .10000E-03    5.0990        .18142E-02** at limit **
  17  Prefactor     31.171        27.985        .71759E-04    .15558E-03
  18  norm          .10000E-03    1.2196        .11494E-02** at limit **
  19  Prefactor     .10000E-03    7.5044        .18142E-02** at limit **
  20  norm          .10000E-03    3.1456        .16985E-02** at limit **
  21  Prefactor     5.2292        11.476        .17583E-03   -.13849E-03
  22  norm          .10005E-03    80.289        .50069E-02** at limit **
  23  Normalizat    1.4051        .20459        .30046E-03    .61682E-03
  24  Prefactor     .78223        .13325        .25523E-03    .74471E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88782
  norm       = 23.3206
  norm       = 5.46627
  Prefactor  = 0.0001
  norm       = 0.463696
  norm       = 4.3916
  Prefactor  = 2.44116
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010022
  norm       = 4.11251
  norm       = 8.44982
  norm       = 0.306498
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.171
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.22922
  norm       = 0.000100046
  Normalizat = 1.40506
  Prefactor  = 0.782231
 **********
 **   18 **HESSE 
 **********

 FCN=   11386.80     FROM HESSE     STATUS=OK           387 CALLS     3269 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8878        38.997        .25454E-04   -1.5079    
   2  norm          23.321        20.602        .33179E-05   -1.4742    
   3  norm          5.4663        .41695        .70436E-06   -1.5240    
   4  Prefactor     .10000E-03    48.822        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .46370        22.813        .17004E-03   -1.5572    
   6  norm          4.3916        4.5683        .76874E-05   -1.5289    
   7  Prefactor     2.4412        3.5917        .95837E-05   -1.5395    
   8  Prefactor     .10000E-03    5.7743        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.6976        .34108E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10022E-03    16.575        .89642E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.1125        1.3266        .26676E-05   -1.5302    
  12  norm          8.4498        4.2866        .46071E-05   -1.5127    
  13  norm          .30650        11.663        .13772E-03   -1.5597    
  14  norm          .10000E-03    15.337        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.7734        .57202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.0992        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     31.171        27.982        .14352E-04   -1.4591    
  18  norm          .10000E-03    1.2196        .22989E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.5091        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.1786        .33970E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.2292        11.476        .70333E-05   -1.5251    
  22  norm          .10005E-03    84.192        .20028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4051        .20474        .60091E-04   -.80482    
  24  Prefactor     .78223        .13318        .51046E-04   -1.0039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.44689e-09
Minuit parameter uncertainties:
  1  39.0976
  2  20.6087
  3  0.416946
  4  0.000189133
  5  6.50685
  6  4.56863
  7  3.59198
  8  3.77958e-06
  9  1.44263e-06
  10  0.00382203
  11  1.32661
  12  4.2868
  13  3.78153
  14  2.47556e-05
  15  1.59849e-05
  16  1.42459e-05
  17  27.9935
  18  9.17597e-07
  19  4.32427e-05
  20  4.06444e-06
  21  11.4806
  22  0.00392238
  23  0.20486
  24  0.133238
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  4.113e+00  1.327e+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.822e-01  1.332e-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.405e+00  2.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.55
Ra Dec: 203.020 -5.161
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.24e-07 +/- 4.01e-08
Energy Flux (Fixed Index): 3.74e-05 +/- 1.21e-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) = 11386.6230479
delta logL = 0.172025398046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11386.6095948
delta logL = 0.185478473595

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2903       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1753       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77261       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=   11386.61     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2902        3.5881        .48625E-02    .15816E-03
   2  alpha         2.1753        .81497        .32855        .95980E-05
   3  Normalizat    1.4269        .17824        .67499E-01    .93207E-05
   4  Prefactor     .77261        .11575        .43360E-01    .26607E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.29016
  alpha      = 2.17527
  Normalizat = 1.42686
  Prefactor  = 0.772605
 **********
 **   18 **HESSE 
 **********

 FCN=   11386.61     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2902        1.4174        .69797E-04   -1.5294    
   2  alpha         2.1753        .35368        .13326E-01   -.13026    
   3  Normalizat    1.4269        .20358        .29859E-03   -.79855    
   4  Prefactor     .77261        .13219        .25664E-03   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02899e-11
Minuit parameter uncertainties:
  1  1.41738
  2  0.354895
  3  0.203699
  4  0.132246
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/734640': 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) = 11386.6095948
delta logL = 0.185478486384

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  4.290e+00  1.417e+00  1.000e-04  1.000e+04 ( 1.000e-11)
306        alpha:  2.175e+00  3.549e-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:  7.726e-01  1.322e-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.427e+00  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.64
Ra Dec: 203.020 -5.161
Photon Index (Free Index): 2.18 +/- 0.35
Photon Flux (Free Index): 1.08e-07 +/- 4.42e-08
Energy Flux (Free Index): 3.96e-05 +/- 1.37e-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/734640/cmap_HighResolution_250992001_251251201_4FGL_J1332.0-0509_daily_bin45.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.24e-07', energy_flux2='3.96e-05', photon_flux_error='4.01e-08', dlogl='1.85e-01', energy_flux='3.74e-05', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-09-08 01:41:41.284249', photon_index_error2='0.35', photon_index2='2.18', ts='23.55', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='1.37e-05', EG='1.41', time_epoch_completed='1631090501.28', return_code='0', job_id='734640', GAL2='0.77', EG2='1.43', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='4.42e-08', ts2='23.64', photon_index='2.39' WHERE bin_id='45' AND source_name='4FGL J1332.0-0509' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 01:41:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 734640: <4FGL_J1332.0-0509_daily_bin45> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.0-0509_daily_bin45 203.02 -5.1611 250992001 251251201 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 :                                   878.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            962 sec.

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

