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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1012
RA = 203.154, Dec = -12.9436
tmin = 501638401, tmax = 501897601
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='761392', job_status='RUN', time_executed='2021-09-08 02:50:59.428978', time_epoch_executed='1631094659.43' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1012'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/761392

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/761392/ft1_4FGL_J1332.6-1256_daily_bin1012.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/761392/ft2_4FGL_J1332.6-1256_daily_bin1012.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/761392/ft1_4FGL_J1332.6-1256_daily_bin1012.fits outfile=/scratch/kocevski/761392/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1012.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=501638401.0 tmax=501897601.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 4.76
user 3.33
sys 0.22

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/761392/ft1_filtered_4FGL_J1332.6-1256_daily_bin1012.fits" evtable="EVENTS" scfile=/scratch/kocevski/761392/ft2_4FGL_J1332.6-1256_daily_bin1012.fits sctable="SC_DATA" outfile=/scratch/kocevski/761392/ltcube_501638401_501897601_4FGL_J1332.6-1256_daily_bin1012.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/761392/ft2_4FGL_J1332.6-1256_daily_bin1012.fits
.....................!
real 16.59
user 15.71
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/761392/ft1_filtered_4FGL_J1332.6-1256_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/761392/ft2_4FGL_J1332.6-1256_daily_bin1012.fits sctable="SC_DATA" expcube=/scratch/kocevski/761392/ltcube_501638401_501897601_4FGL_J1332.6-1256_daily_bin1012.fits outfile=/scratch/kocevski/761392/expmap_501638401_501897601_4FGL_J1332.6-1256_daily_bin1012.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/761392/ltcube_501638401_501897601_4FGL_J1332.6-1256_daily_bin1012.fits
.....................!
real 192.71
user 186.45
sys 4.73

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/761392/ft1_filtered_4FGL_J1332.6-1256_daily_bin1012.fits scfile=/scratch/kocevski/761392/ft2_4FGL_J1332.6-1256_daily_bin1012.fits outfile=/scratch/kocevski/761392/cmap_501638401_501897601_4FGL_J1332.6-1256_daily_bin1012.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.68
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/761392/ft1_filtered_4FGL_J1332.6-1256_daily_bin1012.fits scfile=/scratch/kocevski/761392/ft2_4FGL_J1332.6-1256_daily_bin1012.fits outfile=/scratch/kocevski/761392/cmap_HighResolution_501638401_501897601_4FGL_J1332.6-1256_daily_bin1012.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.79
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/761392/ft1_filtered_4FGL_J1332.6-1256_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/761392/ft2_4FGL_J1332.6-1256_daily_bin1012.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/761392/Model_4FGL_J1332.6-1256_daily_bin1012.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/761392/ft1_filtered_4FGL_J1332.6-1256_daily_bin1012.fits.....................!
real 61.60
user 59.00
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3967       1.0000         .10000E-03   10000.    
     2 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    28.175       1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.726       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.153       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .73471       1.0000         .10000E-03   10000.    
    11 'norm      '    24.974       1.0000         .10000E-03   10000.    
    12 'norm      '    .10189E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.1565       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.2094       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8193       1.0000         .10000E-03   10000.    
    19 'Prefactor '    108.23       1.0000         .10000E-03   10000.    
    20 'norm      '    2.9274       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    55.836       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6222       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81975       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=   7238.006     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2695 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3967        .38066        .69836E-08   -.32587E-03
   2  norm          .10000E-03    12.341        .73100E-06** at limit **
   3  Prefactor     .10000E-03    27.975        .69102E-06** at limit **
   4  norm          .10000E-03    1.0909        .33979E-07** at limit **
   5  norm          28.173        13.722        .73804E-07   -.29731E-04
   6  norm          .10000E-03    3.9798        .44928E-08** at limit **
   7  Prefactor     16.724        12.077        .94502E-07    .89224E-04
   8  Prefactor     14.152        11.208        .91941E-07    .88704E-04
   9  Prefactor     .10000E-03    17.107       -.16390E-05** at limit **
  10  norm          .73369        1.5060        .21791E-06    .65548E-04
  11  norm          24.974        6.0966        .54758E-06    .18518E-02
  12  norm          .10000E-03    8.8753       -.11986E-05** at limit **
  13  Prefactor     .10000E-03    8.0172        .33894E-07** at limit **
  14  Prefactor     7.1483        27.284        .17499E-05   -.42201E-04
  15  norm          .10000E-03    11.706        .58112E-06** at limit **
  16  Prefactor     .10000E-03    7.9896        .32562E-07** at limit **
  17  norm          2.2107        3.8370        .29616E-05   -.31767E-03
  18  Prefactor     5.8178        7.8812        .18033E-06    .13418E-03
  19  Prefactor     108.22        61.610        .37881E-06   -.65205E-05
  20  norm          2.9273        9.0177        .29638E-06    .15441E-04
  21  norm          .10000E-03    1.4429        .12713E-07** at limit **
  22  Prefactor     55.833        44.831        .46843E-06   -.14419E-04
  23  Normalizat    1.6225        .26328       -.46489E-06    .11629E-04
  24  Prefactor     .81960        .12884       -.65398E-06    .13562E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.39666
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 28.1732
  norm       = 0.0001
  Prefactor  = 16.7238
  Prefactor  = 14.152
  Prefactor  = 0.0001
  norm       = 0.733692
  norm       = 24.9741
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.14835
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.21068
  Prefactor  = 5.8178
  Prefactor  = 108.223
  norm       = 2.92732
  norm       = 0.0001
  Prefactor  = 55.8333
  Normalizat = 1.62252
  Prefactor  = 0.819601
 **********
 **   18 **HESSE 
 **********

 FCN=   7238.006     FROM HESSE     STATUS=OK           395 CALLS     3090 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3967        .38155        .26132E-04   -1.5472    
   2  norm          .10000E-03    12.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    27.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.0994        .86756E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          28.173        13.734        .75475E-04   -1.4646    
   6  norm          .10000E-03    3.9851        .16576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.724        12.075        .97933E-04   -1.4890    
   8  Prefactor     14.152        11.239        .10647E-03   -1.4955    
   9  Prefactor     .10000E-03    17.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .73369        1.4687        .13993E-03   -1.5537    
  11  norm          24.974        6.2762        .80159E-04   -1.4708    
  12  norm          .10000E-03    9.0670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.0848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.1483        27.218        .14995E-03   -1.5173    
  15  norm          .10000E-03    11.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.0393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2107        3.8511        .10677E-02   -1.5411    
  18  Prefactor     5.8178        7.7724        .16649E-03   -1.5226    
  19  Prefactor     108.22        61.619        .38659E-04   -1.3624    
  20  norm          2.9273        8.8536        .23742E-03   -1.5366    
  21  norm          .10000E-03    1.4717        .99751E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     55.833        44.839        .53683E-04   -1.4212    
  23  Normalizat    1.6225        .30660        .33410E-03   -.74391    
  24  Prefactor     .81960        .14941        .23185E-03   -.99010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34172e-10
Minuit parameter uncertainties:
  1  0.381548
  2  4.89207e-05
  3  7.40946e-05
  4  2.68296e-06
  5  13.7352
  6  1.59371e-06
  7  12.0765
  8  11.241
  9  3.67418e-06
  10  1.46882
  11  6.27637
  12  1.36981e-05
  13  2.58974e-05
  14  27.2657
  15  3.66781e-05
  16  5.28783e-05
  17  3.85152
  18  7.77373
  19  61.655
  20  8.85755
  21  1.53361e-06
  22  44.8662
  23  0.306957
  24  0.149487
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  2.497e+01  6.276e+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:  8.196e-01  1.495e-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.623e+00  3.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 44.34
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 2.93e-07 +/- 7.36e-08
Energy Flux (Fixed Index): 1.02e-04 +/- 2.57e-05

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) = 7238.00574075
delta logL = 0.000461342898234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7238.0053263
delta logL = 0.00087579294177

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.750       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4140       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6202       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82040       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=   7238.005     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      255 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.750        8.3573        .80519E-04    .27730E-02
   2  alpha         2.4140        .27837        .63065E-02    .40371E-03
   3  Normalizat    1.6203        .28704        .33427E-03   -.38602E-04
   4  Prefactor     .82035        .14629        .23176E-03   -.18592E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 24.7498
  alpha      = 2.41399
  Normalizat = 1.62028
  Prefactor  = 0.820345
 **********
 **   18 **HESSE 
 **********

 FCN=   7238.005     FROM HESSE     STATUS=OK            23 CALLS      278 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.750        8.1730        .16104E-04   -1.4713    
   2  alpha         2.4140        .27211        .25226E-03   -.34409E-01
   3  Normalizat    1.6203        .28707        .13371E-04   -.74452    
   4  Prefactor     .82035        .14634        .92702E-05   -.98983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39343e-09
Minuit parameter uncertainties:
  1  8.17341
  2  0.272647
  3  0.287367
  4  0.146412
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/761392': 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) = 7238.00532613
delta logL = 0.000875967012689

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  2.475e+01  8.173e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.414e+00  2.726e-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:  8.203e-01  1.464e-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.620e+00  2.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 44.23
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 2.41 +/- 0.27
Photon Flux (Free Index): 2.95e-07 +/- 8.98e-08
Energy Flux (Free Index): 1.02e-04 +/- 2.71e-05

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/761392/cmap_HighResolution_501638401_501897601_4FGL_J1332.6-1256_daily_bin1012.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.93e-07', energy_flux2='1.02e-04', photon_flux_error='7.36e-08', dlogl='8.76e-04', energy_flux='1.02e-04', photon_flux2='2.95e-07', job_status='DONE', time_completed='2021-09-08 03:02:01.424678', photon_index_error2='0.27', photon_index2='2.41', ts='44.34', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='2.71e-05', EG='1.62', time_epoch_completed='1631095321.42', return_code='0', job_id='761392', GAL2='0.82', EG2='1.62', return_code2='0', energy_flux_error='2.57e-05', photon_flux_error2='8.98e-08', ts2='44.23', photon_index='2.40' WHERE bin_id='1012' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:02:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 761392: <4FGL_J1332.6-1256_daily_bin1012> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1012 203.154 -12.9436 501638401 501897601 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 :                                   644.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            947 sec.

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

