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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin393
RA = 203.154, Dec = -12.9436
tmin = 341193601, tmax = 341452801
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='757621', job_status='RUN', time_executed='2021-09-08 02:38:42.045208', time_epoch_executed='1631093922.05' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='393'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/757621

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/757621/ft1_4FGL_J1332.6-1256_daily_bin393.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/757621/ft2_4FGL_J1332.6-1256_daily_bin393.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/757621/ft1_4FGL_J1332.6-1256_daily_bin393.fits outfile=/scratch/kocevski/757621/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin393.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=341193601.0 tmax=341452801.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 3.49
user 3.24
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/757621/ft1_filtered_4FGL_J1332.6-1256_daily_bin393.fits" evtable="EVENTS" scfile=/scratch/kocevski/757621/ft2_4FGL_J1332.6-1256_daily_bin393.fits sctable="SC_DATA" outfile=/scratch/kocevski/757621/ltcube_341193601_341452801_4FGL_J1332.6-1256_daily_bin393.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/757621/ft2_4FGL_J1332.6-1256_daily_bin393.fits
.....................!
real 16.19
user 15.76
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/757621/ft1_filtered_4FGL_J1332.6-1256_daily_bin393.fits evtable="EVENTS" scfile=/scratch/kocevski/757621/ft2_4FGL_J1332.6-1256_daily_bin393.fits sctable="SC_DATA" expcube=/scratch/kocevski/757621/ltcube_341193601_341452801_4FGL_J1332.6-1256_daily_bin393.fits outfile=/scratch/kocevski/757621/expmap_341193601_341452801_4FGL_J1332.6-1256_daily_bin393.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/757621/ltcube_341193601_341452801_4FGL_J1332.6-1256_daily_bin393.fits
.....................!
real 192.67
user 187.16
sys 4.84

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/757621/ft1_filtered_4FGL_J1332.6-1256_daily_bin393.fits scfile=/scratch/kocevski/757621/ft2_4FGL_J1332.6-1256_daily_bin393.fits outfile=/scratch/kocevski/757621/cmap_341193601_341452801_4FGL_J1332.6-1256_daily_bin393.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.57
user 0.39
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/757621/ft1_filtered_4FGL_J1332.6-1256_daily_bin393.fits evtable="EVENTS" scfile=/scratch/kocevski/757621/ft2_4FGL_J1332.6-1256_daily_bin393.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/757621/Model_4FGL_J1332.6-1256_daily_bin393.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/757621/ft1_filtered_4FGL_J1332.6-1256_daily_bin393.fits.....................!
real 61.98
user 60.48
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0504       1.0000         .10000E-03   10000.    
     2 'norm      '    43.195       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10703E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .34816       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.465       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.822       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.5368       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.027       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    16.440       1.0000         .10000E-03   10000.    
    21 'norm      '    3.1762       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1396       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3711       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=   7396.357     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2321 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0505        .36818        .43557E-08    .24563E-04
   2  norm          43.195        14.431        .89138E-08   -.12159E-04
   3  Prefactor     .10000E-03    178.24       -.14800E-05** at limit **
   4  norm          .34805        2.1327        .18442E-05   -.15212E-03
   5  norm          .10000E-03    2.8733        .48864E-08** at limit **
   6  norm          .10000E-03    3.4705        .44153E-08** at limit **
   7  Prefactor     .10000E-03    42.123       -.15392E-05** at limit **
   8  Prefactor     27.468        14.573       -.41269E-07    .25512E-04
   9  Prefactor     .10000E-03    9.4421        .54719E-06** at limit **
  10  norm          .10000E-03    .74490        .20204E-07** at limit **
  11  norm          .10000E-03    1.2440       -.23179E-07** at limit **
  12  norm          11.822        9.6284        .40711E-07   -.49483E-04
  13  Prefactor     .10000E-03    6.6144        .25131E-07** at limit **
  14  Prefactor     .10000E-03    8.6923       -.29321E-06** at limit **
  15  norm          .10000E-03    12.316        .11936E-05** at limit **
  16  Prefactor     .10000E-03    4.2374        .97322E-08** at limit **
  17  norm          2.5365        3.7862        .19542E-06   -.29036E-04
  18  Prefactor     18.029        11.034        .25104E-07   -.44319E-04
  19  Prefactor     .10000E-03    51.570        .16792E-05** at limit **
  20  norm          16.440        14.572        .12611E-07   -.17931E-04
  21  norm          3.1766        2.7325        .28738E-06   -.12189E-03
  22  Prefactor     .10000E-03    11.514       -.14450E-05** at limit **
  23  Normalizat    1.1393        .28849       -.56263E-07   -.19953E-04
  24  Prefactor     1.3712        .14953       -.36663E-06   -.11489E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.05047
  norm       = 43.1953
  Prefactor  = 0.0001
  norm       = 0.348052
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.4682
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 11.8222
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.53654
  Prefactor  = 18.0293
  Prefactor  = 0.000100001
  norm       = 16.44
  norm       = 3.17661
  Prefactor  = 0.0001
  Normalizat = 1.13935
  Prefactor  = 1.3712
 **********
 **   18 **HESSE 
 **********

 FCN=   7396.357     FROM HESSE     STATUS=OK           395 CALLS     2716 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0505        .36824        .29454E-04   -1.5503    
   2  norm          43.195        14.435        .60998E-04   -1.4393    
   3  Prefactor     .10000E-03    179.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .34805        2.1792        .24918E-03   -1.5590    
   5  norm          .10000E-03    2.8750        .14237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.4709        .15647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    43.660        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.468        14.653        .76443E-04   -1.4659    
   9  Prefactor     .10000E-03    9.5359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .76227        .14478E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.2462        .93610E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.822        9.6217        .11651E-03   -1.5020    
  13  Prefactor     .10000E-03    6.6357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.7124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    12.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.2466        .17289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5365        3.7721        .19842E-03   -1.5389    
  18  Prefactor     18.029        11.048        .94332E-04   -1.4858    
  19  Prefactor     .10000E-03    52.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          16.440        14.553        .98780E-04   -1.4897    
  21  norm          3.1766        2.7380        .63711E-03   -1.5351    
  22  Prefactor     .10000E-03    11.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1393        .33146        .42613E-03   -.88498    
  24  Prefactor     1.3712        .17208        .21401E-03   -.81214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24049e-10
Minuit parameter uncertainties:
  1  0.368241
  2  14.4361
  3  0.000558202
  4  1.74164
  5  3.93087e-07
  6  3.72608e-07
  7  0.000130957
  8  14.6547
  9  5.79607e-05
  10  6.05431e-07
  11  5.41841e-07
  12  9.62296
  13  2.06571e-06
  14  2.62932e-05
  15  0.000128818
  16  6.53809e-07
  17  3.77244
  18  11.0496
  19  0.000372687
  20  14.5558
  21  2.73813
  22  0.000151309
  23  0.332066
  24  0.17215
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  5.418e-07  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.371e+00  1.721e-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.139e+00  3.321e-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: 7.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/757621/likelihoodResults_341193601_341452801_4FGL_J1332.6-1256_daily_bin393.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) = 7396.36079242
delta logL = -0.0036063428106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7396.35718608
delta logL = -1.89265847439e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3966       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1393       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3712       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=   7396.357     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      245 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    102.37        .93767E-02** at limit **
   2  alpha         1.9650        3.4307        .16478        .94518E-08
   3  Normalizat    1.1393        .69380E-01    .42613E-03    .70085E-04
   4  Prefactor     1.3712        .37981E-01    .21401E-03    .15736E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.96503
  Normalizat = 1.13935
  Prefactor  = 1.3712
 **********
 **   18 **HESSE 
 **********

 FCN=   7396.357     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3267        .96663E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9650        3.4759        .65914E-02   -.21566    
   3  Normalizat    1.1393        .30598        .17045E-04   -.88498    
   4  Prefactor     1.3712        .16771        .42802E-04   -.81214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84666e-11
Minuit parameter uncertainties:
  1  3.33691e-06
  2  187.69
  3  0.306462
  4  0.167775
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/757621': 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) = 7396.35718367
delta logL = 2.41184170591e-06

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.000e-04  3.337e-06  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  1.965e+00  1.877e+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.371e+00  1.678e-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.139e+00  3.065e-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/757621/cmap_HighResolution_341193601_341452801_4FGL_J1332.6-1256_daily_bin393.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.67e-05', job_status='DONE', photon_flux_upper_limit='7.66e-08', time_completed='2021-09-08 02:50:19.229292', job_id='757621', GAL2='1.37', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631094619.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='2.41e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='393' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 02:50:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 757621: <4FGL_J1332.6-1256_daily_bin393> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin393> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 02:35:19 2021
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:35:49 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:35:49 2021
Terminated at Wed Sep  8 02:50:20 2021
Results reported at Wed Sep  8 02:50:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin393 203.154 -12.9436 341193601 341452801 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 :                                   691.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            901 sec.

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

