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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1085
RA = 203.154, Dec = -12.9436
tmin = 520560001, tmax = 520819201
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='761507', job_status='RUN', time_executed='2021-09-08 02:51:00.378279', time_epoch_executed='1631094660.38' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1085'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/761507

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/761507/ft1_4FGL_J1332.6-1256_daily_bin1085.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/761507/ft2_4FGL_J1332.6-1256_daily_bin1085.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/761507/ft1_4FGL_J1332.6-1256_daily_bin1085.fits outfile=/scratch/kocevski/761507/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1085.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=520560001.0 tmax=520819201.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.06
user 4.97
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/761507/ft2_4FGL_J1332.6-1256_daily_bin1085.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/761507/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1085.fits evtable="EVENTS" outfile="/scratch/kocevski/761507/ft1_filtered_4FGL_J1332.6-1256_daily_bin1085.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.35
user 0.35
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/761507/ft1_filtered_4FGL_J1332.6-1256_daily_bin1085.fits" evtable="EVENTS" scfile=/scratch/kocevski/761507/ft2_4FGL_J1332.6-1256_daily_bin1085.fits sctable="SC_DATA" outfile=/scratch/kocevski/761507/ltcube_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.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/761507/ft2_4FGL_J1332.6-1256_daily_bin1085.fits
.....................!
real 16.84
user 15.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/761507/ft1_filtered_4FGL_J1332.6-1256_daily_bin1085.fits evtable="EVENTS" scfile=/scratch/kocevski/761507/ft2_4FGL_J1332.6-1256_daily_bin1085.fits sctable="SC_DATA" expcube=/scratch/kocevski/761507/ltcube_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.fits outfile=/scratch/kocevski/761507/expmap_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.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/761507/ltcube_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.fits
.....................!
real 194.03
user 186.57
sys 5.09

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/761507/ft1_filtered_4FGL_J1332.6-1256_daily_bin1085.fits scfile=/scratch/kocevski/761507/ft2_4FGL_J1332.6-1256_daily_bin1085.fits outfile=/scratch/kocevski/761507/cmap_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.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.61
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/761507/ft1_filtered_4FGL_J1332.6-1256_daily_bin1085.fits scfile=/scratch/kocevski/761507/ft2_4FGL_J1332.6-1256_daily_bin1085.fits outfile=/scratch/kocevski/761507/cmap_HighResolution_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.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.61
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/761507/ft1_filtered_4FGL_J1332.6-1256_daily_bin1085.fits evtable="EVENTS" scfile=/scratch/kocevski/761507/ft2_4FGL_J1332.6-1256_daily_bin1085.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/761507/Model_4FGL_J1332.6-1256_daily_bin1085.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/761507/ft1_filtered_4FGL_J1332.6-1256_daily_bin1085.fits.....................!
real 50.66
user 49.14
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/761507/ft1_filtered_4FGL_J1332.6-1256_daily_bin1085.fits', '/scratch/kocevski/761507/ft2_4FGL_J1332.6-1256_daily_bin1085.fits', expMap='/scratch/kocevski/761507/expmap_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.fits', expCube='/scratch/kocevski/761507/ltcube_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/761507/Model_4FGL_J1332.6-1256_daily_bin1085.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/761507/ft1_filtered_4FGL_J1332.6-1256_daily_bin1085.fits
Spacecraft file(s): /scratch/kocevski/761507/ft2_4FGL_J1332.6-1256_daily_bin1085.fits
Exposure map: /scratch/kocevski/761507/expmap_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.fits
Exposure cube: /scratch/kocevski/761507/ltcube_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/761507/Model_4FGL_J1332.6-1256_daily_bin1085.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) = 5463.19655447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6993       1.0000         .10000E-03   10000.    
     2 'norm      '    .10106E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.9233       1.0000         .10000E-03   10000.    
     5 'norm      '    26.606       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11656E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.601       1.0000         .10000E-03   10000.    
     9 'Prefactor '    53.547       1.0000         .10000E-03   10000.    
    10 'norm      '    5.1631       1.0000         .10000E-03   10000.    
    11 'norm      '    .11061E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.1995       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .35834       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .77929E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.711       1.0000         .10000E-03   10000.    
    20 'norm      '    3.0067       1.0000         .10000E-03   10000.    
    21 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.7550       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .61047       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=   5463.152     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2751 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6994        .66043       -.65152E-08   -.63600E-03
   2  norm          .10000E-03    22.874        .23555E-06** at limit **
   3  Prefactor     .10003E-03    97.160       -.32975E-05** at limit **
   4  norm          6.9237        4.1352        .12546E-05    .20337E-02
   5  norm          26.606        17.504       -.76011E-07   -.68959E-04
   6  norm          .10000E-03    7.4679       -.15306E-07** at limit **
   7  Prefactor     .10000E-03    23.873       -.13245E-05** at limit **
   8  Prefactor     17.604        13.040        .41007E-07   -.10399E-03
   9  Prefactor     53.529        30.050       -.61308E-06   -.52846E-03
  10  norm          5.1635        2.5462        .43877E-07   -.11882E-03
  11  norm          .10000E-03    2.4034       -.47143E-06** at limit **
  12  norm          6.1972        7.4721        .13061E-06   -.27755E-03
  13  Prefactor     .10000E-03    12.901       -.74798E-06** at limit **
  14  Prefactor     .10000E-03    16.892        .43154E-06** at limit **
  15  norm          .10000E-03    49.543       -.52654E-06** at limit **
  16  Prefactor     .10000E-03    4.4785       -.34284E-07** at limit **
  17  norm          .36236        3.1514        .82416E-06   -.23972E-03
  18  Prefactor     .10009E-03    9.4006        .42622E-05** at limit **
  19  Prefactor     25.705        29.183       -.27132E-06   -.12975E-03
  20  norm          2.9967        6.3721        .93179E-06   -.59775E-04
  21  norm          .10000E-03    1.2507        .47048E-07** at limit **
  22  Prefactor     .10004E-03    71.569        .46938E-05** at limit **
  23  Normalizat    1.7546        .28295       -.77364E-07   -.37992E-03
  24  Prefactor     .61061        .13334       -.50574E-06   -.33888E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.69936
  norm       = 0.0001
  Prefactor  = 0.000100027
  norm       = 6.92367
  norm       = 26.6063
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 17.6035
  Prefactor  = 53.5291
  norm       = 5.16351
  norm       = 0.0001
  norm       = 6.19725
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.362358
  Prefactor  = 0.000100086
  Prefactor  = 25.7052
  norm       = 2.9967
  norm       = 0.0001
  Prefactor  = 0.000100038
  Normalizat = 1.7546
  Prefactor  = 0.610607
 **********
 **   18 **HESSE 
 **********

 FCN=   5463.152     FROM HESSE     STATUS=OK           393 CALLS     3144 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6994        .66216        .24412E-04   -1.5323    
   2  norm          .10000E-03    23.485        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10003E-03    99.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.9237        4.4439        .59902E-03   -1.5182    
   5  norm          26.606        17.513        .77664E-04   -1.4676    
   6  norm          .10000E-03    7.4797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    24.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.604        13.078        .95467E-04   -1.4869    
   9  Prefactor     53.529        30.200        .54812E-04   -1.4243    
  10  norm          5.1635        2.5570        .78854E-04   -1.5253    
  11  norm          .10000E-03    2.4112        .11175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.1972        7.4181        .16123E-03   -1.5210    
  13  Prefactor     .10000E-03    13.315        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    49.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.4851        .15275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .36236        11.542        .24388E-02   -1.5588    
  18  Prefactor     .10009E-03    15.272        .26160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.705        29.193        .79002E-04   -1.4694    
  20  norm          2.9967        6.0162        .23408E-03   -1.5362    
  21  norm          .10000E-03    1.2636        .80685E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10004E-03    75.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.7546        .32907        .30861E-03   -.70855    
  24  Prefactor     .61061        .15549        .23770E-03   -1.0714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.37914e-09
Minuit parameter uncertainties:
  1  0.662165
  2  0.000105427
  3  0.00325905
  4  4.44407
  5  17.5169
  6  5.4988e-06
  7  0.000421691
  8  13.08
  9  30.2087
  10  2.55702
  11  3.72925e-05
  12  7.41925
  13  0.000213292
  14  0.000177673
  15  0.000365985
  16  3.72971e-06
  17  4.09046
  18  0.00228659
  19  29.2092
  20  6.01739
  21  1.48364e-06
  22  0.00340885
  23  0.32948
  24  0.155598
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  3.729e-05  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:  6.106e-01  1.556e-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.755e+00  3.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.154 -12.944
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/761507/likelihoodResults_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.txt

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) = 5463.15370118
delta logL = -0.00195429678388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5463.15174691
delta logL = -2.87072907668e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3996       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7546       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61062       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=   5463.152     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      235 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.6412        .11180E-02** at limit **
   2  alpha         2.2655        2.5425        .16477       -.34015E-07
   3  Normalizat    1.7546        .30845        .30861E-03    .38629E-04
   4  Prefactor     .61061        .15008        .23770E-03    .54381E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.2655
  Normalizat = 1.7546
  Prefactor  = 0.610606
 **********
 **   18 **HESSE 
 **********

 FCN=   5463.152     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4318        .22361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2655        3.8269        .65910E-02   -.93938E-01
   3  Normalizat    1.7546        .30868        .61721E-04   -.70855    
   4  Prefactor     .61061        .15020        .95080E-05   -1.0714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42328e-11
Minuit parameter uncertainties:
  1  2.69643e-05
  2  231.071
  3  0.309025
  4  0.150295
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/761507': 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) = 5463.15174671
delta logL = 1.75064087671e-07

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  2.696e-05  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.266e+00  2.311e+02  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:  6.106e-01  1.503e-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.755e+00  3.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.154 -12.944

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/761507/cmap_HighResolution_520560001_520819201_4FGL_J1332.6-1256_daily_bin1085.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-08 03:01:43.174138', job_id='761507', GAL2='0.61', fit_tolerance='1e-08', EG2='1.75', EG='1.75', time_epoch_completed='1631095303.17', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='1.75e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1085' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:01:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0182>
Subject: Job 761507: <4FGL_J1332.6-1256_daily_bin1085> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin1085> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 02:46:23 2021
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:46: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 02:46:29 2021
Terminated at Wed Sep  8 03:01:44 2021
Results reported at Wed Sep  8 03:01:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1085 203.154 -12.9436 520560001 520819201 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 :                                   628.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            921 sec.

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

