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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin934
RA = 203.154, Dec = -12.9436
tmin = 481420801, tmax = 481680001
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='761247', job_status='RUN', time_executed='2021-09-08 02:47:36.859977', time_epoch_executed='1631094456.86' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='934'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/761247

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/761247/ft1_4FGL_J1332.6-1256_daily_bin934.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/761247/ft2_4FGL_J1332.6-1256_daily_bin934.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/761247/ft1_4FGL_J1332.6-1256_daily_bin934.fits outfile=/scratch/kocevski/761247/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin934.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=481420801.0 tmax=481680001.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 7.08
user 3.54
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/761247/ft2_4FGL_J1332.6-1256_daily_bin934.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/761247/ft2_4FGL_J1332.6-1256_daily_bin934.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/761247/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin934.fits evtable="EVENTS" outfile="/scratch/kocevski/761247/ft1_filtered_4FGL_J1332.6-1256_daily_bin934.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 1.16
user 0.38
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/761247/ft1_filtered_4FGL_J1332.6-1256_daily_bin934.fits" evtable="EVENTS" scfile=/scratch/kocevski/761247/ft2_4FGL_J1332.6-1256_daily_bin934.fits sctable="SC_DATA" outfile=/scratch/kocevski/761247/ltcube_481420801_481680001_4FGL_J1332.6-1256_daily_bin934.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/761247/ft2_4FGL_J1332.6-1256_daily_bin934.fits
.....................!
real 17.35
user 15.47
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/761247/ft1_filtered_4FGL_J1332.6-1256_daily_bin934.fits evtable="EVENTS" scfile=/scratch/kocevski/761247/ft2_4FGL_J1332.6-1256_daily_bin934.fits sctable="SC_DATA" expcube=/scratch/kocevski/761247/ltcube_481420801_481680001_4FGL_J1332.6-1256_daily_bin934.fits outfile=/scratch/kocevski/761247/expmap_481420801_481680001_4FGL_J1332.6-1256_daily_bin934.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/761247/ltcube_481420801_481680001_4FGL_J1332.6-1256_daily_bin934.fits
.....................!
real 203.18
user 186.61
sys 4.65

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J1332.6-1256 @ 203.154 -12.9436

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/761247/ft1_filtered_4FGL_J1332.6-1256_daily_bin934.fits scfile=/scratch/kocevski/761247/ft2_4FGL_J1332.6-1256_daily_bin934.fits outfile=/scratch/kocevski/761247/cmap_481420801_481680001_4FGL_J1332.6-1256_daily_bin934.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.154 yref=-12.9436 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.81
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/761247/ft1_filtered_4FGL_J1332.6-1256_daily_bin934.fits scfile=/scratch/kocevski/761247/ft2_4FGL_J1332.6-1256_daily_bin934.fits outfile=/scratch/kocevski/761247/cmap_HighResolution_481420801_481680001_4FGL_J1332.6-1256_daily_bin934.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.154 yref=-12.9436 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.73
user 0.43
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/761247/ft1_filtered_4FGL_J1332.6-1256_daily_bin934.fits evtable="EVENTS" scfile=/scratch/kocevski/761247/ft2_4FGL_J1332.6-1256_daily_bin934.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/761247/Model_4FGL_J1332.6-1256_daily_bin934.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/761247/ft1_filtered_4FGL_J1332.6-1256_daily_bin934.fits.....................!
real 82.69
user 80.05
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/761247/ft1_filtered_4FGL_J1332.6-1256_daily_bin934.fits', '/scratch/kocevski/761247/ft2_4FGL_J1332.6-1256_daily_bin934.fits', expMap='/scratch/kocevski/761247/expmap_481420801_481680001_4FGL_J1332.6-1256_daily_bin934.fits', expCube='/scratch/kocevski/761247/ltcube_481420801_481680001_4FGL_J1332.6-1256_daily_bin934.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/761247/Model_4FGL_J1332.6-1256_daily_bin934.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1332.6-1256'

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  5.331e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.403e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.310e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  9.736e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/761247/ft1_filtered_4FGL_J1332.6-1256_daily_bin934.fits
Spacecraft file(s): /scratch/kocevski/761247/ft2_4FGL_J1332.6-1256_daily_bin934.fits
Exposure map: /scratch/kocevski/761247/expmap_481420801_481680001_4FGL_J1332.6-1256_daily_bin934.fits
Exposure cube: /scratch/kocevski/761247/ltcube_481420801_481680001_4FGL_J1332.6-1256_daily_bin934.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/761247/Model_4FGL_J1332.6-1256_daily_bin934.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) = 10406.0699558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3462       1.0000         .10000E-03   10000.    
     2 'norm      '    18.054       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.862       1.0000         .10000E-03   10000.    
     4 'norm      '    .39560E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10103E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .84547E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.8802       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.574       1.0000         .10000E-03   10000.    
    12 'norm      '    .19697E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.4700       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.7862       1.0000         .10000E-03   10000.    
    17 'norm      '    .52517       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    49.908       1.0000         .10000E-03   10000.    
    20 'norm      '    .19654       1.0000         .10000E-03   10000.    
    21 'norm      '    2.2452       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3931       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85894       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10406.07     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2840 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3462        .36265        .27502E-07   -.20377E-03
   2  norm          18.054        7.6245       -.55297E-07   -.40191E-04
   3  Prefactor     12.856        41.398       -.10052E-04   -.82624E-04
   4  norm          .10068E-03    .78942        .34598E-06** at limit **
   5  norm          .10000E-03    8.1394       -.17935E-05** at limit **
   6  norm          .75756E-01    2.7429        .61212E-06   -.55906E-03
   7  Prefactor     .10000E-03    3.3128        .11487E-06** at limit **
   8  Prefactor     3.8804        5.2268       -.53774E-06   -.23305E-03
   9  Prefactor     .10000E-03    10.429       -.11674E-07** at limit **
  10  norm          .10000E-03    .32789        .27716E-07** at limit **
  11  norm          13.574        3.7563        .18370E-07   -.62613E-03
  12  norm          .10000E-03    3.2264        .65993E-06** at limit **
  13  Prefactor     .10000E-03    16.702       -.19566E-05** at limit **
  14  Prefactor     7.4699        13.276       -.17076E-06   -.91043E-05
  15  norm          .10000E-03    47.812       -.27418E-05** at limit **
  16  Prefactor     4.7827        5.0456        .42778E-06   -.11896E-02
  17  norm          .52465        3.4673        .28440E-06   -.55230E-03
  18  Prefactor     .10000E-03    1.5516       -.19830E-07** at limit **
  19  Prefactor     49.904        35.831       -.32914E-05   -.16115E-03
  20  norm          .19787        2.3398       -.16262E-06   -.71569E-04
  21  norm          2.2452        1.8397        .20427E-07   -.69271E-04
  22  Prefactor     .10000E-03    7.5950        .85796E-06** at limit **
  23  Normalizat    1.3930        .18504        .12639E-06   -.10589E-03
  24  Prefactor     .85896        .98973E-01    .17286E-06   -.17617E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.34617
  norm       = 18.054
  Prefactor  = 12.8557
  norm       = 0.000100676
  norm       = 0.0001
  norm       = 0.0757557
  Prefactor  = 0.0001
  Prefactor  = 3.88042
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.5736
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 7.46988
  norm       = 0.0001
  Prefactor  = 4.78269
  norm       = 0.524651
  Prefactor  = 0.0001
  Prefactor  = 49.904
  norm       = 0.197868
  norm       = 2.24523
  Prefactor  = 0.0001
  Normalizat = 1.39304
  Prefactor  = 0.858955
 **********
 **   18 **HESSE 
 **********

 FCN=   10406.07     FROM HESSE     STATUS=OK           419 CALLS     3259 TOTAL
                     EDM=   .86E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3462        .36435        .23020E-04   -1.5402    
   2  norm          18.054        7.6358        .94261E-04   -1.4858    
   3  Prefactor     12.856        41.579        .11169E-03   -1.4991    
   4  norm          .10068E-03    1.4115        .32819E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.2747        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .75756E-01    3.2754        .69645E-01   -1.5653    
   7  Prefactor     .10000E-03    3.3782        .18129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8804        5.2566        .20484E-03   -1.5314    
   9  Prefactor     .10000E-03    10.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .33363        .56994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.574        3.5727        .94606E-04   -1.4971    
  12  norm          .10000E-03    9.5146        .33298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.194        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.4699        13.287        .14674E-03   -1.5161    
  15  norm          .10000E-03    48.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.7827        8.1186        .91950E-03   -1.5271    
  17  norm          .52465        3.9604        .38359E-03   -1.5563    
  18  Prefactor     .10000E-03    1.6162        .24780E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     49.904        35.938        .56765E-04   -1.4294    
  20  norm          .19787        11.142        .30379E-02   -1.5619    
  21  norm          2.2452        1.8378        .12117E-03   -1.5408    
  22  Prefactor     .10000E-03    7.6038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3930        .21777        .30922E-03   -.80830    
  24  Prefactor     .85896        .11652        .20703E-03   -.97590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.5866e-08
Minuit parameter uncertainties:
  1  0.364346
  2  7.63624
  3  41.6724
  4  0.00195313
  5  2.18764e-05
  6  0.995652
  7  1.50719e-06
  8  5.25726
  9  8.54562e-06
  10  1.46644e-07
  11  3.57274
  12  0.000383577
  13  7.84509e-05
  14  13.2927
  15  0.000225289
  16  8.12042
  17  2.88291
  18  6.91877e-07
  19  35.9537
  20  2.96943
  21  1.83789
  22  2.70442e-05
  23  0.217911
  24  0.116552
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.357e+01  3.573e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.403e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.310e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  9.736e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  8.590e-01  1.166e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.393e+00  2.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 38.92
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.59e-07 +/- 4.19e-08
Energy Flux (Fixed Index): 5.55e-05 +/- 1.46e-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) = 10405.9106102
delta logL = 0.157449058881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10405.9051535
delta logL = 0.162905781255

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.665       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5747       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86682       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+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=   10405.91     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      306 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.668        4.8796        .42588E-03   -.40629E-04
   2  alpha         2.5750        .32389        .71719E-02    .46585E-03
   3  Normalizat    1.3698        .21445        .31126E-03   -.81085E-05
   4  Prefactor     .86678        .11458        .20618E-03   -.11910E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.6679
  alpha      = 2.57498
  Normalizat = 1.36983
  Prefactor  = 0.86678
 **********
 **   18 **HESSE 
 **********

 FCN=   10405.91     FROM HESSE     STATUS=OK            25 CALLS      331 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.668        4.6275        .17035E-04   -1.5025    
   2  alpha         2.5750        .30711        .14344E-02    .29995E-01
   3  Normalizat    1.3698        .21434        .12450E-04   -.81505    
   4  Prefactor     .86678        .11458        .82472E-05   -.97312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99522e-13
Minuit parameter uncertainties:
  1  4.62768
  2  0.307888
  3  0.214481
  4  0.114613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/761247': 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) = 10405.905151
delta logL = 0.162908264985

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.167e+01  4.628e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.575e+00  3.079e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  1.310e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  9.736e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  8.668e-01  1.146e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.370e+00  2.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.09
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 2.57 +/- 0.31
Photon Flux (Free Index): 1.77e-07 +/- 5.39e-08
Energy Flux (Free Index): 5.26e-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/761247/cmap_HighResolution_481420801_481680001_4FGL_J1332.6-1256_daily_bin934.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.59e-07', energy_flux2='5.26e-05', photon_flux_error='4.19e-08', dlogl='1.63e-01', energy_flux='5.55e-05', photon_flux2='1.77e-07', job_status='DONE', time_completed='2021-09-08 03:01:59.902772', photon_index_error2='0.31', photon_index2='2.57', ts='38.92', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='1.39', time_epoch_completed='1631095319.9', return_code='0', job_id='761247', GAL2='0.87', EG2='1.37', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='5.39e-08', ts2='39.09', photon_index='2.40' WHERE bin_id='934' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:01:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 761247: <4FGL_J1332.6-1256_daily_bin934> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin934> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 02:46:00 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:46:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 02:46:10 2021
Terminated at Wed Sep  8 03:02:00 2021
Results reported at Wed Sep  8 03:02:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin934 203.154 -12.9436 481420801 481680001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1332.6-1256 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   835.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            960 sec.

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

