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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin995
RA = 203.154, Dec = -12.9436
tmin = 497232001, tmax = 497491201
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='761365', job_status='RUN', time_executed='2021-09-08 02:49:37.712599', time_epoch_executed='1631094577.71' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='995'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/761365

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/761365/ft1_4FGL_J1332.6-1256_daily_bin995.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/761365/ft2_4FGL_J1332.6-1256_daily_bin995.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/761365/ft1_4FGL_J1332.6-1256_daily_bin995.fits outfile=/scratch/kocevski/761365/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin995.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=497232001.0 tmax=497491201.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 10.11
user 6.48
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/761365/ft1_filtered_4FGL_J1332.6-1256_daily_bin995.fits" evtable="EVENTS" scfile=/scratch/kocevski/761365/ft2_4FGL_J1332.6-1256_daily_bin995.fits sctable="SC_DATA" outfile=/scratch/kocevski/761365/ltcube_497232001_497491201_4FGL_J1332.6-1256_daily_bin995.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/761365/ft2_4FGL_J1332.6-1256_daily_bin995.fits
.....................!
real 18.81
user 15.44
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/761365/ft1_filtered_4FGL_J1332.6-1256_daily_bin995.fits evtable="EVENTS" scfile=/scratch/kocevski/761365/ft2_4FGL_J1332.6-1256_daily_bin995.fits sctable="SC_DATA" expcube=/scratch/kocevski/761365/ltcube_497232001_497491201_4FGL_J1332.6-1256_daily_bin995.fits outfile=/scratch/kocevski/761365/expmap_497232001_497491201_4FGL_J1332.6-1256_daily_bin995.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/761365/ltcube_497232001_497491201_4FGL_J1332.6-1256_daily_bin995.fits
.....................!
real 209.45
user 189.25
sys 5.05

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/761365/ft1_filtered_4FGL_J1332.6-1256_daily_bin995.fits scfile=/scratch/kocevski/761365/ft2_4FGL_J1332.6-1256_daily_bin995.fits outfile=/scratch/kocevski/761365/cmap_497232001_497491201_4FGL_J1332.6-1256_daily_bin995.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.67
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/761365/ft1_filtered_4FGL_J1332.6-1256_daily_bin995.fits scfile=/scratch/kocevski/761365/ft2_4FGL_J1332.6-1256_daily_bin995.fits outfile=/scratch/kocevski/761365/cmap_HighResolution_497232001_497491201_4FGL_J1332.6-1256_daily_bin995.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.66
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/761365/ft1_filtered_4FGL_J1332.6-1256_daily_bin995.fits evtable="EVENTS" scfile=/scratch/kocevski/761365/ft2_4FGL_J1332.6-1256_daily_bin995.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/761365/Model_4FGL_J1332.6-1256_daily_bin995.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/761365/ft1_filtered_4FGL_J1332.6-1256_daily_bin995.fits.....................!
real 39.74
user 37.40
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42909       1.0000         .10000E-03   10000.    
     2 'norm      '    .25772E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    123.30       1.0000         .10000E-03   10000.    
     4 'norm      '    9.9762       1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.641       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5969       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.919       1.0000         .10000E-03   10000.    
    10 'norm      '    .49965       1.0000         .10000E-03   10000.    
    11 'norm      '    .33257E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .18764E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.774       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11338E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0949       1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.6887       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    101.62       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3809       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0431       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=   4153.553     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2791 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .42901        .33254       -.87766E-07   -.78115E-04
   2  norm          .10000E-03    72.818        .75586E-05** at limit **
   3  Prefactor     123.38        113.40        .26019E-05    .24261E-04
   4  norm          9.9756        5.9760       -.95068E-07   -.19656E-04
   5  norm          .10000E-03    5.8507       -.73132E-06** at limit **
   6  norm          .10000E-03    14.249        .32698E-06** at limit **
   7  Prefactor     25.636        22.118        .60305E-06    .62668E-04
   8  Prefactor     2.5980        36.870       -.41176E-05    .71023E-05
   9  Prefactor     21.944        33.420        .78074E-06    .11226E-04
  10  norm          .49942        1.9025       -.16118E-05   -.14218E-03
  11  norm          .10000E-03    5.7999       -.10243E-06** at limit **
  12  norm          .10038E-03    17.391       -.90081E-06** at limit **
  13  Prefactor     36.766        36.805        .44045E-06    .10043E-03
  14  Prefactor     .10000E-03    49.983       -.10352E-05** at limit **
  15  norm          .10000E-03    16.924       -.98481E-07** at limit **
  16  Prefactor     1.0935        24.174       -.42895E-06   -.44661E-05
  17  norm          .10000E-03    2.9464        .40777E-07** at limit **
  18  Prefactor     7.6932        6.8928       -.85000E-06   -.62213E-04
  19  Prefactor     .10000E-03    31.535        .56952E-06** at limit **
  20  norm          .10000E-03    3.1709        .56521E-06** at limit **
  21  norm          .10000E-03    .89058        .12990E-06** at limit **
  22  Prefactor     101.59        54.473       -.68319E-06   -.10424E-05
  23  Normalizat    1.3811        .38540        .52564E-05    .30956E-04
  24  Prefactor     1.0431        .19041       -.21960E-05    .25496E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.429008
  norm       = 0.0001
  Prefactor  = 123.376
  norm       = 9.97564
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 25.636
  Prefactor  = 2.59797
  Prefactor  = 21.9444
  norm       = 0.499424
  norm       = 0.0001
  norm       = 0.000100377
  Prefactor  = 36.7661
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.09351
  norm       = 0.0001
  Prefactor  = 7.69324
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 101.586
  Normalizat = 1.38111
  Prefactor  = 1.04313
 **********
 **   18 **HESSE 
 **********

 FCN=   4153.553     FROM HESSE     STATUS=OK           411 CALLS     3202 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .42901        .32959        .31149E-04   -1.5577    
   2  norm          .10000E-03    71.923        .42237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     123.38        113.56        .18123E-03   -1.3482    
   4  norm          9.9756        5.9977        .11734E-03   -1.5076    
   5  norm          .10000E-03    5.8635        .15237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    14.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.636        22.048        .79110E-04   -1.4695    
   8  Prefactor     2.5980        35.556        .25318E-03   -1.5386    
   9  Prefactor     21.944        41.059        .85555E-04   -1.4771    
  10  norm          .49942        1.8884        .15997E-03   -1.5567    
  11  norm          .10000E-03    14.798        .25440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10038E-03    40.452        .58768E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     36.766        38.232        .66090E-04   -1.4495    
  14  Prefactor     .10000E-03    49.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    16.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.0935        147.58        .47009E-02   -1.5499    
  17  norm          .10000E-03    2.9544        .10803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.6932        6.9702        .14462E-03   -1.5153    
  19  Prefactor     .10000E-03    31.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.1866        .11223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .89426        .59395E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     101.59        54.457        .19942E-03   -1.3689    
  23  Normalizat    1.3811        .42491        .35398E-03   -.81176    
  24  Prefactor     1.0431        .21217        .21566E-03   -.91305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28357e-08
Minuit parameter uncertainties:
  1  0.329588
  2  8.96324e-05
  3  113.762
  4  5.99807
  5  2.04578e-05
  6  2.32139e-05
  7  22.0553
  8  19.2357
  9  41.1114
  10  1.88867
  11  9.32803e-05
  12  0.00781513
  13  38.2574
  14  1.64139e-05
  15  2.77336e-06
  16  25.47
  17  3.66641e-07
  18  6.97094
  19  1.75493e-05
  20  1.41651e-05
  21  1.08617e-06
  22  54.4838
  23  0.426002
  24  0.212339
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  9.328e-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:  1.043e+00  2.123e-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.381e+00  4.260e-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.93e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.72e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/761365/likelihoodResults_497232001_497491201_4FGL_J1332.6-1256_daily_bin995.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) = 4153.55373357
delta logL = -0.000322470235915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4153.55341088
delta logL = 2.1695268515e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24605E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5231       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0429       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.

 FCN=   4152.987     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      278 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22849        5.7904        .67530E-02    .41073E-02
   2  alpha         4.5919        3.3340        .41154        .47517E-04
   3  Normalizat    1.2529        .10048        .83097E-01    .13853E-03
   4  Prefactor     1.0801        .53927E-01    .40345E-01    .18769E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.228495
  alpha      = 4.5919
  Normalizat = 1.25286
  Prefactor  = 1.08014
 **********
 **   18 **HESSE 
 **********

 FCN=   4152.987     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      311 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22849        11.381        .30667E-03   -1.5612    
   2  alpha         4.5919        2.5273        .27457E-01    .99134    
   3  Normalizat    1.2529        .29641        .36791E-03   -.84985    
   4  Prefactor     1.0801        .15783        .21215E-03   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.79826e-09
Minuit parameter uncertainties:
  1  3.22509
  2  6.96164
  3  0.296806
  4  0.157897
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/761365': 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): 102
logL (Free Index) = 4152.98654368
delta logL = 0.566867420396

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  2.285e-01  3.225e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  4.592e+00  6.962e+00  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:  1.080e+00  1.579e-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.253e+00  2.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 4.59 +/- 6.96
Photon Flux (Free Index): 1.31e-07 +/- 1.40e-07
Energy Flux (Free Index): 1.90e-05 +/- 3.20e-05

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/761365/cmap_HighResolution_497232001_497491201_4FGL_J1332.6-1256_daily_bin995.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.72e-05', comment='SUCCESS', energy_flux2='1.90e-05', dlogl='5.67e-01', photon_flux2='1.31e-07', job_status='DONE', time_completed='2021-09-08 02:59:43.886668', photon_index_error2='6.96', photon_index2='4.59', ts='-0.00', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.93e-07', energy_flux_error2='3.20e-05', EG='1.38', time_epoch_completed='1631095183.89', return_code='0', job_id='761365', GAL2='1.08', EG2='1.25', return_code2='102', photon_flux_error2='1.40e-07', ts2='1.22', photon_index='2.40' WHERE bin_id='995' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 02:59:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 761365: <4FGL_J1332.6-1256_daily_bin995> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin995 203.154 -12.9436 497232001 497491201 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 :                                   570.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            812 sec.

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

