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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin500
RA = 203.154, Dec = -12.9436
tmin = 368928001, tmax = 369187201
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='757788', job_status='RUN', time_executed='2021-09-08 02:40:27.472869', time_epoch_executed='1631094027.47' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/757788

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/757788/ft1_4FGL_J1332.6-1256_daily_bin500.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/757788/ft2_4FGL_J1332.6-1256_daily_bin500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/757788/ft1_4FGL_J1332.6-1256_daily_bin500.fits outfile=/scratch/kocevski/757788/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin500.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=368928001.0 tmax=369187201.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.47
user 3.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/757788/ft2_4FGL_J1332.6-1256_daily_bin500.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/757788/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin500.fits evtable="EVENTS" outfile="/scratch/kocevski/757788/ft1_filtered_4FGL_J1332.6-1256_daily_bin500.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.53
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/757788/ft1_filtered_4FGL_J1332.6-1256_daily_bin500.fits" evtable="EVENTS" scfile=/scratch/kocevski/757788/ft2_4FGL_J1332.6-1256_daily_bin500.fits sctable="SC_DATA" outfile=/scratch/kocevski/757788/ltcube_368928001_369187201_4FGL_J1332.6-1256_daily_bin500.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/757788/ft2_4FGL_J1332.6-1256_daily_bin500.fits
.....................!
real 17.04
user 16.59
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/757788/ft1_filtered_4FGL_J1332.6-1256_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/757788/ft2_4FGL_J1332.6-1256_daily_bin500.fits sctable="SC_DATA" expcube=/scratch/kocevski/757788/ltcube_368928001_369187201_4FGL_J1332.6-1256_daily_bin500.fits outfile=/scratch/kocevski/757788/expmap_368928001_369187201_4FGL_J1332.6-1256_daily_bin500.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/757788/ltcube_368928001_369187201_4FGL_J1332.6-1256_daily_bin500.fits
.....................!
real 193.87
user 187.98
sys 5.23

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/757788/ft1_filtered_4FGL_J1332.6-1256_daily_bin500.fits scfile=/scratch/kocevski/757788/ft2_4FGL_J1332.6-1256_daily_bin500.fits outfile=/scratch/kocevski/757788/cmap_368928001_369187201_4FGL_J1332.6-1256_daily_bin500.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.83
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/757788/ft1_filtered_4FGL_J1332.6-1256_daily_bin500.fits scfile=/scratch/kocevski/757788/ft2_4FGL_J1332.6-1256_daily_bin500.fits outfile=/scratch/kocevski/757788/cmap_HighResolution_368928001_369187201_4FGL_J1332.6-1256_daily_bin500.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 1.28
user 0.43
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/757788/ft1_filtered_4FGL_J1332.6-1256_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/757788/ft2_4FGL_J1332.6-1256_daily_bin500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/757788/Model_4FGL_J1332.6-1256_daily_bin500.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/757788/ft1_filtered_4FGL_J1332.6-1256_daily_bin500.fits.....................!
real 58.32
user 50.67
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63187       1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14939E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    1.1518       1.0000         .10000E-03   10000.    
     5 'norm      '    42.576       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.522       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.096       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3211       1.0000         .10000E-03   10000.    
    11 'norm      '    3.8047       1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    49.071       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.846       1.0000         .10000E-03   10000.    
    17 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.0867       1.0000         .10000E-03   10000.    
    19 'Prefactor '    73.823       1.0000         .10000E-03   10000.    
    20 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .11238E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.8094       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66684       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=   6031.800     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2724 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63165        .27726       -.25609E-07   -.18796E-02
   2  norm          .10000E-03    2.8011       -.18263E-07** at limit **
   3  Prefactor     .10000E-03    296.54        .47459E-04** at limit **
   4  norm          1.1527        2.4182        .10157E-06   -.56964E-05
   5  norm          42.551        16.855       -.77259E-06   -.54746E-03
   6  norm          .10000E-03    6.0804       -.56972E-06** at limit **
   7  Prefactor     15.521        13.577        .22766E-06   -.33750E-04
   8  Prefactor     .10000E-03    5.8772        .60996E-06** at limit **
   9  Prefactor     37.096        26.573       -.29379E-07   -.28307E-04
  10  norm          1.3203        1.7718        .19416E-06   -.80028E-04
  11  norm          3.8036        5.0112        .12162E-06   -.31690E-04
  12  norm          .10000E-03    1.9997        .18857E-07** at limit **
  13  Prefactor     .10000E-03    16.724        .13669E-06** at limit **
  14  Prefactor     .10000E-03    12.666       -.10275E-06** at limit **
  15  norm          49.069        43.629        .38086E-06   -.21619E-05
  16  Prefactor     19.838        16.629        .36978E-06   -.15449E-04
  17  norm          .10000E-03    2.2765       -.47371E-07** at limit **
  18  Prefactor     2.0872        5.1209        .53343E-05   -.73759E-04
  19  Prefactor     73.818        56.864        .28034E-06   -.49953E-05
  20  norm          .10000E-03    5.2881        .38762E-06** at limit **
  21  norm          .10000E-03    2.0381        .79374E-08** at limit **
  22  Prefactor     .10000E-03    59.830       -.18107E-05** at limit **
  23  Normalizat    1.8099        .27483       -.26371E-05   -.10578E-03
  24  Prefactor     .66667        .13285        .69575E-06   -.16854E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.631646
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.15267
  norm       = 42.551
  norm       = 0.0001
  Prefactor  = 15.521
  Prefactor  = 0.0001
  Prefactor  = 37.096
  norm       = 1.32031
  norm       = 3.80361
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 49.0694
  Prefactor  = 19.8385
  norm       = 0.0001
  Prefactor  = 2.08723
  Prefactor  = 73.8183
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.80987
  Prefactor  = 0.666665
 **********
 **   18 **HESSE 
 **********

 FCN=   6031.800     FROM HESSE     STATUS=OK           389 CALLS     3113 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63165        .27827        .26090E-04   -1.5549    
   2  norm          .10000E-03    2.8045        .12694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    296.96        .20474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.1527        2.3780        .16827E-03   -1.5493    
   5  norm          42.551        16.982        .61438E-04   -1.4402    
   6  norm          .10000E-03    6.1290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.521        13.590        .10166E-03   -1.4920    
   8  Prefactor     .10000E-03    5.9411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.096        26.448        .65803E-04   -1.4489    
  10  norm          1.3203        1.7685        .11134E-03   -1.5478    
  11  norm          3.8036        4.9675        .15686E-03   -1.5318    
  12  norm          .10000E-03    2.0013        .10723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          49.069        43.630        .57245E-04   -1.4306    
  16  Prefactor     19.838        16.629        .89906E-04   -1.4817    
  17  norm          .10000E-03    2.2837        .11441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.0872        5.1262        .13078E-02   -1.5419    
  19  Prefactor     73.818        56.885        .46729E-04   -1.3987    
  20  norm          .10000E-03    5.3408        .17446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.1172        .21638E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    60.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.8099        .32055        .29927E-03   -.69406    
  24  Prefactor     .66667        .15440        .23582E-03   -1.0485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46881e-10
Minuit parameter uncertainties:
  1  0.278273
  2  3.14837e-07
  3  0.00082185
  4  2.37816
  5  16.9841
  6  4.77346e-06
  7  13.5926
  8  4.97621e-06
  9  26.4559
  10  1.76858
  11  4.96808
  12  1.67967e-06
  13  1.3969e-05
  14  1.02815e-06
  15  43.6579
  16  16.6329
  17  2.16555e-06
  18  5.12727
  19  56.9266
  20  2.87474e-06
  21  7.26932e-07
  22  3.70171e-05
  23  0.320923
  24  0.1545
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  6.667e-01  1.545e-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.810e+00  3.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.29
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 4.46e-08 +/- 5.83e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 2.03e-05

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

Saving results to:
/scratch/kocevski/757788/likelihoodResults_368928001_369187201_4FGL_J1332.6-1256_daily_bin500.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) = 6031.53351256
delta logL = 0.266571220829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6031.53349674
delta logL = 0.266587039001

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9729       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8628       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8252       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66156       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=   6031.533     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      258 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9655        251.81        .45085E-02    .16682E-03
   2  alpha         1.8615        3.6005        .42983        .30178E-05
   3  Normalizat    1.8253        .23437        .67451E-01    .82008E-05
   4  Prefactor     .66151        .10078        .41887E-01    .23736E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.9655
  alpha      = 1.86151
  Normalizat = 1.82534
  Prefactor  = 0.661513
 **********
 **   18 **HESSE 
 **********

 FCN=   6031.533     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .56E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9655        4.9497        .16738E-03   -1.5262    
   2  alpha         1.8615        .70746        .18618E-01   -.25826    
   3  Normalizat    1.8253        .29136        .29833E-03   -.69004    
   4  Prefactor     .66151        .14910        .23661E-03   -1.0506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56031e-13
Minuit parameter uncertainties:
  1  4.95012
  2  0.717972
  3  0.291634
  4  0.14919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/757788': 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) = 6031.53349425
delta logL = 0.266589526177

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  6.615e-01  1.492e-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.825e+00  2.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.85
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 1.86 +/- 0.72
Photon Flux (Free Index): 2.95e-08 +/- 3.77e-08
Energy Flux (Free Index): 2.17e-05 +/- 2.39e-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/757788/cmap_HighResolution_368928001_369187201_4FGL_J1332.6-1256_daily_bin500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-05', comment='SUCCESS', photon_flux='4.46e-08', energy_flux2='2.17e-05', photon_flux_error='5.83e-08', dlogl='2.67e-01', energy_flux='1.56e-05', photon_flux2='2.95e-08', job_status='DONE', time_completed='2021-09-08 02:51:33.034808', photon_index_error2='0.72', photon_index2='1.86', ts='1.29', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='1.57e-07', energy_flux_error2='2.39e-05', EG='1.81', time_epoch_completed='1631094693.03', return_code='0', job_id='757788', GAL2='0.66', EG2='1.83', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='3.77e-08', ts2='1.85', photon_index='2.40' WHERE bin_id='500' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 02:51:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 757788: <4FGL_J1332.6-1256_daily_bin500> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin500> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 02:35:29 2021
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:38:12 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:38:12 2021
Terminated at Wed Sep  8 02:51:34 2021
Results reported at Wed Sep  8 02:51:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin500 203.154 -12.9436 368928001 369187201 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 :                                   651.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            965 sec.

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

