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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin362
RA = 203.154, Dec = -12.9436
tmin = 333158401, tmax = 333417601
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='756395', job_status='RUN', time_executed='2021-09-08 02:34:40.824547', time_epoch_executed='1631093680.82' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='362'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/756395

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/756395/ft1_4FGL_J1332.6-1256_daily_bin362.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/756395/ft2_4FGL_J1332.6-1256_daily_bin362.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/756395/ft1_4FGL_J1332.6-1256_daily_bin362.fits outfile=/scratch/kocevski/756395/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin362.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=333158401.0 tmax=333417601.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 6.09
user 5.83
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/756395/ft2_4FGL_J1332.6-1256_daily_bin362.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/756395/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin362.fits evtable="EVENTS" outfile="/scratch/kocevski/756395/ft1_filtered_4FGL_J1332.6-1256_daily_bin362.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/756395/ft1_filtered_4FGL_J1332.6-1256_daily_bin362.fits" evtable="EVENTS" scfile=/scratch/kocevski/756395/ft2_4FGL_J1332.6-1256_daily_bin362.fits sctable="SC_DATA" outfile=/scratch/kocevski/756395/ltcube_333158401_333417601_4FGL_J1332.6-1256_daily_bin362.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/756395/ft2_4FGL_J1332.6-1256_daily_bin362.fits
.....................!
real 13.76
user 13.36
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/756395/ft1_filtered_4FGL_J1332.6-1256_daily_bin362.fits evtable="EVENTS" scfile=/scratch/kocevski/756395/ft2_4FGL_J1332.6-1256_daily_bin362.fits sctable="SC_DATA" expcube=/scratch/kocevski/756395/ltcube_333158401_333417601_4FGL_J1332.6-1256_daily_bin362.fits outfile=/scratch/kocevski/756395/expmap_333158401_333417601_4FGL_J1332.6-1256_daily_bin362.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/756395/ltcube_333158401_333417601_4FGL_J1332.6-1256_daily_bin362.fits
.....................!
real 191.54
user 185.88
sys 4.85

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/756395/ft1_filtered_4FGL_J1332.6-1256_daily_bin362.fits scfile=/scratch/kocevski/756395/ft2_4FGL_J1332.6-1256_daily_bin362.fits outfile=/scratch/kocevski/756395/cmap_333158401_333417601_4FGL_J1332.6-1256_daily_bin362.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.54
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/756395/ft1_filtered_4FGL_J1332.6-1256_daily_bin362.fits scfile=/scratch/kocevski/756395/ft2_4FGL_J1332.6-1256_daily_bin362.fits outfile=/scratch/kocevski/756395/cmap_HighResolution_333158401_333417601_4FGL_J1332.6-1256_daily_bin362.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/756395/ft1_filtered_4FGL_J1332.6-1256_daily_bin362.fits evtable="EVENTS" scfile=/scratch/kocevski/756395/ft2_4FGL_J1332.6-1256_daily_bin362.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/756395/Model_4FGL_J1332.6-1256_daily_bin362.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/756395/ft1_filtered_4FGL_J1332.6-1256_daily_bin362.fits.....................!
real 59.83
user 58.42
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2711       1.0000         .10000E-03   10000.    
     2 'norm      '    5.2506       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.474       1.0000         .10000E-03   10000.    
     4 'norm      '    1.9389       1.0000         .10000E-03   10000.    
     5 'norm      '    6.0781       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10420E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.428       1.0000         .10000E-03   10000.    
    10 'norm      '    3.2006       1.0000         .10000E-03   10000.    
    11 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    13.971       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.4693       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    49.438       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .25348       1.0000         .10000E-03   10000.    
    17 'norm      '    6.0475       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.8580       1.0000         .10000E-03   10000.    
    21 'norm      '    .23958E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3059       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0033       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=   7131.326     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2835 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2711        .38781        .40496E-06   -.14596E-02
   2  norm          5.2502        8.5178       -.15852E-07   -.13489E-03
   3  Prefactor     19.337        62.206       -.19975E-03   -.44930E-05
   4  norm          1.9388        1.8993       -.18101E-07    .16085E-03
   5  norm          6.0887        15.813        .22275E-04    .18293E-03
   6  norm          .10000E-03    3.1511       -.49520E-07** at limit **
   7  Prefactor     .10000E-03    17.106       -.51611E-06** at limit **
   8  Prefactor     .10000E-03    7.3991       -.95363E-07** at limit **
   9  Prefactor     19.439        17.838       -.62650E-06   -.62226E-05
  10  norm          3.2003        1.9278       -.27222E-06   -.47565E-03
  11  norm          .10000E-03    2.5423        .65014E-07** at limit **
  12  norm          13.973        8.2606       -.45886E-06   -.14231E-04
  13  Prefactor     7.5160        16.268       -.64477E-06   -.24245E-03
  14  Prefactor     .10000E-03    5.8866       -.57448E-07** at limit **
  15  norm          49.442        36.255        .70466E-06    .86144E-06
  16  Prefactor     .14848        7.2858        .10251E-05   -.90467E-03
  17  norm          6.0469        5.4485        .17684E-05   -.14430E-03
  18  Prefactor     .10000E-03    2.3405        .76917E-07** at limit **
  19  Prefactor     .10000E-03    59.722       -.11887E-04** at limit **
  20  norm          1.8554        6.0598       -.30784E-05   -.74398E-03
  21  norm          .10000E-03    1.2192       -.85579E-07** at limit **
  22  Prefactor     .10000E-03    13.531        .10856E-06** at limit **
  23  Normalizat    1.3058        .24920        .27003E-05   -.89657E-04
  24  Prefactor     1.0033        .12723        .56490E-07    .50550E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.27109
  norm       = 5.25019
  Prefactor  = 19.3374
  norm       = 1.9388
  norm       = 6.08873
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.4389
  norm       = 3.20026
  norm       = 0.0001
  norm       = 13.9729
  Prefactor  = 7.51596
  Prefactor  = 0.0001
  norm       = 49.4422
  Prefactor  = 0.148484
  norm       = 6.04685
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.85541
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.3058
  Prefactor  = 1.00332
 **********
 **   18 **HESSE 
 **********

 FCN=   7131.326     FROM HESSE     STATUS=OK           409 CALLS     3244 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2711        .38834        .27578E-04   -1.5482    
   2  norm          5.2502        8.5106        .17542E-03   -1.5250    
   3  Prefactor     19.337        62.220        .90760E-04   -1.4828    
   4  norm          1.9388        1.9106        .11207E-03   -1.5429    
   5  norm          6.0887        15.772        .16285E-03   -1.5214    
   6  norm          .10000E-03    3.1516        .14640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.4575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.439        17.825        .90868E-04   -1.4826    
  10  norm          3.2003        1.9290        .85730E-04   -1.5350    
  11  norm          .10000E-03    2.5597        .13091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.973        8.2455        .10716E-03   -1.4960    
  13  Prefactor     7.5160        17.241        .14674E-03   -1.5160    
  14  Prefactor     .10000E-03    5.8878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          49.442        36.255        .57033E-04   -1.4301    
  16  Prefactor     .14848        15.440        .64182E-01   -1.5631    
  17  norm          6.0469        5.4438        .16327E-03   -1.5216    
  18  Prefactor     .10000E-03    2.3543        .12600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    60.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.8554        6.0548        .30575E-03   -1.5436    
  21  norm          .10000E-03    4.8322        .18002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3058        .29043        .34495E-03   -.83393    
  24  Prefactor     1.0033        .14884        .20559E-03   -.92619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9408e-09
Minuit parameter uncertainties:
  1  0.388344
  2  8.51257
  3  62.4295
  4  1.91065
  5  15.7827
  6  4.0617e-06
  7  3.95227e-05
  8  8.69663e-06
  9  17.8298
  10  1.92902
  11  3.7791e-06
  12  8.2462
  13  17.2529
  14  4.1217e-06
  15  36.2707
  16  3.02809
  17  5.44426
  18  9.73629e-06
  19  0.000151926
  20  6.0568
  21  4.67349e-05
  22  9.70725e-06
  23  0.290797
  24  0.148897
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  3.779e-06  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.003e+00  1.489e-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.306e+00  2.908e-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: 9.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/756395/likelihoodResults_333158401_333417601_4FGL_J1332.6-1256_daily_bin362.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) = 7131.32804122
delta logL = -0.0018616902762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7131.32617961
delta logL = -7.27841324988e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4022       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3058       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0033       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=   7131.326     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      238 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    625.17        .13091E-02** at limit **
   2  alpha         2.3952        2.7414        .16477        .38426E-06
   3  Normalizat    1.3058        .26618        .34495E-03   -.40406E-04
   4  Prefactor     1.0033        .14229        .20559E-03   -.64698E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 2.39521
  Normalizat = 1.3058
  Prefactor  = 1.00332
 **********
 **   18 **HESSE 
 **********

 FCN=   7131.326     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5608        .26183E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3952        2.7807        .65906E-02   -.41928E-01
   3  Normalizat    1.3058        .27299        .13798E-04   -.83393    
   4  Prefactor     1.0033        .14593        .82236E-05   -.92619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25439e-09
Minuit parameter uncertainties:
  1  0.000159424
  2  235.981
  3  0.273292
  4  0.145983
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/756395': 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) = 7131.32617953
delta logL = 1.18507159641e-09

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  1.594e-04  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.395e+00  2.360e+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:  1.003e+00  1.460e-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.306e+00  2.733e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/756395/cmap_HighResolution_333158401_333417601_4FGL_J1332.6-1256_daily_bin362.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-05', job_status='DONE', photon_flux_upper_limit='9.96e-08', time_completed='2021-09-08 02:46:49.855011', job_id='756395', GAL2='1.00', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1631094409.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.19e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='362' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 02:46:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 756395: <4FGL_J1332.6-1256_daily_bin362> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin362> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  8 02:30:41 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:32:03 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:32:03 2021
Terminated at Wed Sep  8 02:46:50 2021
Results reported at Wed Sep  8 02:46:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin362 203.154 -12.9436 333158401 333417601 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 :                                   724.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            969 sec.

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

