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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1292
RA = 203.154, Dec = -12.9436
tmin = 574214401, tmax = 574473601
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='763786', job_status='RUN', time_executed='2021-09-08 02:53:52.700465', time_epoch_executed='1631094832.7' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1292'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/763786

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/763786/ft1_4FGL_J1332.6-1256_daily_bin1292.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/763786/ft2_4FGL_J1332.6-1256_daily_bin1292.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/763786/ft1_4FGL_J1332.6-1256_daily_bin1292.fits outfile=/scratch/kocevski/763786/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1292.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=574214401.0 tmax=574473601.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.01
user 3.41
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/763786/ft1_filtered_4FGL_J1332.6-1256_daily_bin1292.fits" evtable="EVENTS" scfile=/scratch/kocevski/763786/ft2_4FGL_J1332.6-1256_daily_bin1292.fits sctable="SC_DATA" outfile=/scratch/kocevski/763786/ltcube_574214401_574473601_4FGL_J1332.6-1256_daily_bin1292.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/763786/ft2_4FGL_J1332.6-1256_daily_bin1292.fits
.....................!
real 19.10
user 18.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/763786/ft1_filtered_4FGL_J1332.6-1256_daily_bin1292.fits evtable="EVENTS" scfile=/scratch/kocevski/763786/ft2_4FGL_J1332.6-1256_daily_bin1292.fits sctable="SC_DATA" expcube=/scratch/kocevski/763786/ltcube_574214401_574473601_4FGL_J1332.6-1256_daily_bin1292.fits outfile=/scratch/kocevski/763786/expmap_574214401_574473601_4FGL_J1332.6-1256_daily_bin1292.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/763786/ltcube_574214401_574473601_4FGL_J1332.6-1256_daily_bin1292.fits
.....................!
real 194.93
user 188.89
sys 4.76

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/763786/ft1_filtered_4FGL_J1332.6-1256_daily_bin1292.fits scfile=/scratch/kocevski/763786/ft2_4FGL_J1332.6-1256_daily_bin1292.fits outfile=/scratch/kocevski/763786/cmap_574214401_574473601_4FGL_J1332.6-1256_daily_bin1292.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.59
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/763786/ft1_filtered_4FGL_J1332.6-1256_daily_bin1292.fits scfile=/scratch/kocevski/763786/ft2_4FGL_J1332.6-1256_daily_bin1292.fits outfile=/scratch/kocevski/763786/cmap_HighResolution_574214401_574473601_4FGL_J1332.6-1256_daily_bin1292.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.59
user 0.43
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4521       1.0000         .10000E-03   10000.    
     2 'norm      '    .99823       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .84680       1.0000         .10000E-03   10000.    
     5 'norm      '    1.9026       1.0000         .10000E-03   10000.    
     6 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.257       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.8324       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.3520       1.0000         .10000E-03   10000.    
    10 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.992       1.0000         .10000E-03   10000.    
    12 'norm      '    .88944E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.521       1.0000         .10000E-03   10000.    
    15 'norm      '    .77898       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10562E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    16.254       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .58417       1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.134       1.0000         .10000E-03   10000.    
    20 'norm      '    9.1298       1.0000         .10000E-03   10000.    
    21 'norm      '    4.6442       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4510       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .75732       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=   7191.650     FROM MIGRAD    STATUS=CONVERGED    996 CALLS     2877 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4521        .45813        .23654E-04    .27155E-03
   2  norm          .99934        9.6387        .50061E-03   -.17305E-03
   3  Prefactor     .10000E-03    162.65        .18142E-02** at limit **
   4  norm          .84668        1.0046        .92331E-04    .20686E-04
   5  norm          1.9046        10.696        .30150E-03   -.45814E-04
   6  norm          .10000E-03    13.747        .36285E-03** at limit **
   7  Prefactor     11.256        11.293        .11941E-03    .23897E-04
   8  Prefactor     6.8386        12.759        .76748E-03   -.13662E-03
   9  Prefactor     4.3775        49.122        .19308E-03    .11293E-03
  10  norm          .10000E-03    4.3411        .12671E-02** at limit **
  11  norm          11.000        8.2124        .12084E-03    .90663E-03
  12  norm          .10004E-03    41.142        .40446E-02** at limit **
  13  Prefactor     .10000E-03    7.9198        .18142E-02** at limit **
  14  Prefactor     37.493        28.951        .65430E-04   -.22588E-05
  15  norm          .83711        185.41        .71180E-02    .18083E-03
  16  Prefactor     .10000E-03    40.496        .40636E-02** at limit **
  17  norm          16.256        7.8937        .99345E-04    .19592E-03
  18  Prefactor     .61339        13.135        .26676E-02    .74920E-03
  19  Prefactor     25.186        29.005        .39952E-03    .10944E-03
  20  norm          9.1183        9.9387        .13264E-03    .35981E-03
  21  norm          4.6446        2.8409        .10753E-03    .11271E-03
  22  Prefactor     .10000E-03    13.260        .18142E-02** at limit **
  23  Normalizat    1.4507        .28984        .32215E-03    .32415E-03
  24  Prefactor     .75752        .14377        .22140E-03    .42224E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.45211
  norm       = 0.999344
  Prefactor  = 0.000100005
  norm       = 0.846681
  norm       = 1.9046
  norm       = 0.0001
  Prefactor  = 11.2563
  Prefactor  = 6.83859
  Prefactor  = 4.37745
  norm       = 0.0001
  norm       = 10.9998
  norm       = 0.000100037
  Prefactor  = 0.0001
  Prefactor  = 37.4927
  norm       = 0.837107
  Prefactor  = 0.000100005
  norm       = 16.2562
  Prefactor  = 0.613385
  Prefactor  = 25.1862
  norm       = 9.11827
  norm       = 4.64463
  Prefactor  = 0.000100001
  Normalizat = 1.45068
  Prefactor  = 0.757521
 **********
 **   18 **HESSE 
 **********

 FCN=   7191.650     FROM HESSE     STATUS=OK           377 CALLS     3254 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4521        .45810        .94616E-06   -1.5395    
   2  norm          .99934        9.6313        .20024E-04   -1.5508    
   3  Prefactor     .10000E-03    162.77        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .84668        1.0046        .36932E-05   -1.5524    
   5  norm          1.9046        10.692        .12060E-04   -1.5432    
   6  norm          .10000E-03    13.748        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.256        11.291        .47763E-05   -1.5037    
   8  Prefactor     6.8386        12.746        .30699E-04   -1.5185    
   9  Prefactor     4.3775        48.948        .77232E-05   -1.5289    
  10  norm          .10000E-03    4.4293        .25342E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.000        8.1737        .48337E-05   -1.5045    
  12  norm          .10004E-03    41.644        .80891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.9209        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.493        28.946        .26172E-05   -1.4483    
  15  norm          .83711        190.11        .28472E-03   -1.5525    
  16  Prefactor     .10000E-03    41.185        .81272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.256        7.8920        .39738E-05   -1.4901    
  18  Prefactor     .61339        12.623        .10670E-03   -1.5551    
  19  Prefactor     25.186        29.002        .79903E-04   -1.4704    
  20  norm          9.1183        9.7685        .53057E-05   -1.5104    
  21  norm          4.6446        2.8407        .43010E-05   -1.5277    
  22  Prefactor     .10000E-03    13.260        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4507        .28970        .64431E-04   -.79174    
  24  Prefactor     .75752        .14377        .44279E-04   -1.0131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16008e-09
Minuit parameter uncertainties:
  1  0.458099
  2  6.20584
  3  0.00173367
  4  1.00464
  5  9.02769
  6  0.0001526
  7  11.293
  8  12.7507
  9  29.3057
  10  7.81832e-05
  11  8.17453
  12  0.00247053
  13  4.56406e-06
  14  28.9564
  15  25.3103
  16  0.000904918
  17  7.8925
  18  5.5661
  19  29.0178
  20  9.77018
  21  2.84079
  22  0.000202697
  23  0.290032
  24  0.143837
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.100e+01  8.175e+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:  7.575e-01  1.438e-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.451e+00  2.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.62
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.29e-07 +/- 9.59e-08
Energy Flux (Fixed Index): 4.50e-05 +/- 3.34e-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) = 7190.93664654
delta logL = 0.713773942804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7190.93343163
delta logL = 0.716988858094

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2078       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0355       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3647       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78794       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=   7190.933     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      242 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2078        38.225        .40280E-02    .44779E-03
   2  alpha         3.0356        3.8248        .20143        .81113E-04
   3  Normalizat    1.3646        .11448        .74568E-01    .11096E-04
   4  Prefactor     .78795        .53615E-01    .43560E-01    .11751E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.20785
  alpha      = 3.03561
  Normalizat = 1.36461
  Prefactor  = 0.787949
 **********
 **   18 **HESSE 
 **********

 FCN=   7190.933     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2078        6.3654        .83767E-04   -1.5210    
   2  alpha         3.0356        .66752        .82503E-02    .21592    
   3  Normalizat    1.3646        .28198        .32998E-03   -.81658    
   4  Prefactor     .78795        .14261        .21749E-03   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.14256e-09
Minuit parameter uncertainties:
  1  6.36613
  2  0.676126
  3  0.282297
  4  0.142673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/763786': 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) = 7190.93343149
delta logL = 0.716988999127

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  6.208e+00  6.366e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  3.036e+00  6.761e-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:  7.879e-01  1.427e-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.365e+00  2.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.21
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 3.04 +/- 0.68
Photon Flux (Free Index): 1.98e-07 +/- 9.47e-08
Energy Flux (Free Index): 4.36e-05 +/- 1.94e-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/763786/cmap_HighResolution_574214401_574473601_4FGL_J1332.6-1256_daily_bin1292.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.29e-07', energy_flux2='4.36e-05', photon_flux_error='9.59e-08', dlogl='7.17e-01', energy_flux='4.50e-05', photon_flux2='1.98e-07', job_status='DONE', time_completed='2021-09-08 03:05:08.609900', photon_index_error2='0.68', photon_index2='3.04', ts='6.62', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='1.45', time_epoch_completed='1631095508.61', return_code='0', job_id='763786', GAL2='0.79', EG2='1.36', return_code2='0', energy_flux_error='3.34e-05', photon_flux_error2='9.47e-08', ts2='8.21', photon_index='2.40' WHERE bin_id='1292' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:05:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 763786: <4FGL_J1332.6-1256_daily_bin1292> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin1292> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 02:52:45 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:53:10 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:53:10 2021
Terminated at Wed Sep  8 03:05:09 2021
Results reported at Wed Sep  8 03:05:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1292 203.154 -12.9436 574214401 574473601 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 :                                   659.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            744 sec.

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

