aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 27 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7706
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1768
RA = 203.154, Dec = -12.9436
tmin = 697593601, tmax = 697852801
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='271585', job_status='RUN', time_executed='2023-02-12 00:59:09.094560', time_epoch_executed='1676192349.09' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/271585

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/271585/ft1_4FGL_J1332.6-1256_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/271585/ft2_4FGL_J1332.6-1256_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/271585/ft1_4FGL_J1332.6-1256_daily_bin1768.fits outfile=/scratch/kocevski/271585/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1768.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=697593601.0 tmax=697852801.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.65
user 3.40
sys 0.22

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

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

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

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

Number of photons that the gtmktime cut: 801

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/271585/ft1_filtered_4FGL_J1332.6-1256_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/271585/ft2_4FGL_J1332.6-1256_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/271585/ltcube_697593601_697852801_4FGL_J1332.6-1256_daily_bin1768.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/271585/ft2_4FGL_J1332.6-1256_daily_bin1768.fits
.....................!
real 15.84
user 15.44
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/271585/ft1_filtered_4FGL_J1332.6-1256_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/271585/ft2_4FGL_J1332.6-1256_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/271585/ltcube_697593601_697852801_4FGL_J1332.6-1256_daily_bin1768.fits outfile=/scratch/kocevski/271585/expmap_697593601_697852801_4FGL_J1332.6-1256_daily_bin1768.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/271585/ltcube_697593601_697852801_4FGL_J1332.6-1256_daily_bin1768.fits
.....................!
real 192.24
user 186.44
sys 5.41

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/271585/ft1_filtered_4FGL_J1332.6-1256_daily_bin1768.fits scfile=/scratch/kocevski/271585/ft2_4FGL_J1332.6-1256_daily_bin1768.fits outfile=/scratch/kocevski/271585/cmap_697593601_697852801_4FGL_J1332.6-1256_daily_bin1768.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/271585/ft1_filtered_4FGL_J1332.6-1256_daily_bin1768.fits scfile=/scratch/kocevski/271585/ft2_4FGL_J1332.6-1256_daily_bin1768.fits outfile=/scratch/kocevski/271585/cmap_HighResolution_697593601_697852801_4FGL_J1332.6-1256_daily_bin1768.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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/271585/ft1_filtered_4FGL_J1332.6-1256_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/271585/ft2_4FGL_J1332.6-1256_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/271585/Model_4FGL_J1332.6-1256_daily_bin1768.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/271585/ft1_filtered_4FGL_J1332.6-1256_daily_bin1768.fits.....................!
real 66.43
user 65.07
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/271585/ft1_filtered_4FGL_J1332.6-1256_daily_bin1768.fits', '/scratch/kocevski/271585/ft2_4FGL_J1332.6-1256_daily_bin1768.fits', expMap='/scratch/kocevski/271585/expmap_697593601_697852801_4FGL_J1332.6-1256_daily_bin1768.fits', expCube='/scratch/kocevski/271585/ltcube_697593601_697852801_4FGL_J1332.6-1256_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/271585/Model_4FGL_J1332.6-1256_daily_bin1768.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  0.000e+00  1.000e+06 ( 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 -5.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/271585/ft1_filtered_4FGL_J1332.6-1256_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/271585/ft2_4FGL_J1332.6-1256_daily_bin1768.fits
Exposure map: /scratch/kocevski/271585/expmap_697593601_697852801_4FGL_J1332.6-1256_daily_bin1768.fits
Exposure cube: /scratch/kocevski/271585/ltcube_697593601_697852801_4FGL_J1332.6-1256_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/271585/Model_4FGL_J1332.6-1256_daily_bin1768.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) = 8660.85598375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81799       1.0000          .0000       .10000E+07
     2 'norm      '    .24223E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14171E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .66613E-09   1.0000          .0000       .10000E+07
     5 'norm      '    16.466       1.0000          .0000       .10000E+07
     6 'norm      '    .22810E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    22.905       1.0000          .0000       .10000E+07
     8 'Prefactor '    .71593E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19842E-03   1.0000          .0000       .10000E+07
    10 'norm      '    3.5469       1.0000          .0000       .10000E+07
    11 'norm      '    19.312       1.0000          .0000       .10000E+07
    12 'norm      '    10.306       1.0000          .0000       .10000E+07
    13 'Prefactor '    26.092       1.0000          .0000       .10000E+07
    14 'Prefactor '    9.6350       1.0000          .0000       .10000E+07
    15 'norm      '    .77909E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.1190       1.0000          .0000       .10000E+07
    17 'norm      '    .13975E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    13.156       1.0000          .0000       .10000E+07
    19 'norm      '    .19335E-06   1.0000          .0000       .10000E+07
    20 'norm      '    21.924       1.0000          .0000       .10000E+07
    21 'Prefactor '    .38311E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1810       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1231       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8660.708     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1859 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81774        .29213        .33852E-08    .56906E-02
   2  norm           .0000        2.7554        .15793E-06** at limit **
   3  Prefactor     .44964E-08    69.847       -.82908E-06** at limit **
   4  norm           .0000        .90850        .62258E-07** at limit **
   5  norm          16.587        4.0281       -.73441E-09    .21798E-01
   6  norm           .0000        4.3677        .21108E-07** at limit **
   7  Prefactor     22.823        11.649       -.12143E-07    .18834E-01
   8  Prefactor     .11557E-06    24.605       -.17864E-06** at limit **
   9  Prefactor     .57010E-07    20.202       -.52735E-07** at limit **
  10  norm          3.5462        1.6829       -.36446E-07   -.30777E-02
  11  norm          19.317        5.1315       -.49810E-07   -.56248E-01
  12  norm          10.325        4.5913       -.22926E-07    .90776E-01
  13  Prefactor     26.154        6.7987        .38632E-09    .16118E-01
  14  Prefactor     9.7264        1.4094       -.83169E-09    .16300E-02
  15  norm           .0000        13.668        .27103E-06** at limit **
  16  Prefactor     7.0442        9.6938       -.19334E-07    .15184E-01
  17  norm          .38858E-08    4.1575       -.74671E-07** at limit **
  18  Prefactor     13.147        6.9100       -.57376E-07   -.10617E-01
  19  norm          .27756E-08    4.6137        .18574E-07** at limit **
  20  norm          21.938        4.6423        .12872E-07    .33682E-02
  21  Prefactor     .27867E-07    39.244       -.34738E-06** at limit **
  22  Normalizat    1.1809        .28665        .39280E-05    .50195E-04
  23  Prefactor     1.1231        .14467       -.11743E-05    .51289E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.81774
  norm       = 0
  Prefactor  = 4.4964e-09
  norm       = 0
  norm       = 16.587
  norm       = 0
  Prefactor  = 22.8234
  Prefactor  = 1.15574e-07
  Prefactor  = 5.701e-08
  norm       = 3.54623
  norm       = 19.3171
  norm       = 10.3248
  Prefactor  = 26.1542
  Prefactor  = 9.72637
  norm       = 0
  Prefactor  = 7.04423
  norm       = 3.88578e-09
  Prefactor  = 13.1466
  norm       = 2.77556e-09
  norm       = 21.938
  Prefactor  = 2.78666e-08
  Normalizat = 1.18086
  Prefactor  = 1.12306
 **********
 **   18 **HESSE 
 **********

 FCN=   8660.708     FROM HESSE     STATUS=OK           416 CALLS     2275 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81774        .29364        .51603E-03   -1.5690    
   2  norm           .0000        2.7578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44964E-08    69.851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .90723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          16.587        12.233        .24655E-03   -1.5627    
   6  norm           .0000        4.3662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.823        11.974        .20900E-03   -1.5612    
   8  Prefactor     .11557E-06    25.317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .57010E-07    20.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.5462        1.6776        .53645E-03   -1.5670    
  11  norm          19.317        6.2207        .22763E-03   -1.5620    
  12  norm          10.325        9.2258        .31187E-03   -1.5644    
  13  Prefactor     26.154        24.083        .19581E-03   -1.5606    
  14  Prefactor     9.7264        29.445        .32260E-03   -1.5646    
  15  norm           .0000        13.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.0442        19.351        .37572E-03   -1.5655    
  17  norm          .38858E-08    4.1736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.147        6.9436        .27590E-03   -1.5635    
  19  norm          .27756E-08    4.6267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          21.938        4.6427        .21363E-03   -1.5614    
  21  Prefactor     .27867E-07    39.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1809        .25478        .89810E-01   -.87196    
  23  Prefactor     1.1231        .12896        .36769E-01   -.88733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19818e-07
Minuit parameter uncertainties:
  1  0.293639
  2  7.25827e-06
  3  0.0011178
  4  5.09297e-06
  5  12.2326
  6  1.1529e-05
  7  11.9739
  8  0.00342104
  9  0.00216985
  10  1.67755
  11  6.22073
  12  9.22585
  13  24.0831
  14  29.4451
  15  9.85843e-06
  16  19.3508
  17  0.000254848
  18  6.94361
  19  0.00022573
  20  4.6427
  21  0.00209708
  22  0.255046
  23  0.128996
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  1.932e+01  6.221e+00  0.000e+00  1.000e+06 ( 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 -5.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.123e+00  1.290e-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.181e+00  2.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.09
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 2.27e-07 +/- 7.30e-08
Energy Flux (Fixed Index): 7.90e-05 +/- 2.54e-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) = 8660.69507669
delta logL = 0.0127789230592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8660.68492534
delta logL = 0.0229302724747

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.266       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3373       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1912       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1198       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=   8660.685     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      242 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.266        7.4281        .88882E-05    .88727E-02
   2  alpha         2.3373        .30996        .80545E-02    .90142E-04
   3  Normalizat    1.1912        .27119        .39635E-03   -.13252E-04
   4  Prefactor     1.1198        .14417        .21839E-03   -.47371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 20.2657
  alpha      = 2.33731
  Normalizat = 1.19118
  Prefactor  = 1.11975
 **********
 **   18 **HESSE 
 **********

 FCN=   8660.685     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.266        7.2664        .17776E-05   -1.5618    
   2  alpha         2.3373        .30302        .32218E-03   -.65121E-01
   3  Normalizat    1.1912        .27115        .15854E-04   -.86876    
   4  Prefactor     1.1198        .14420        .87356E-05   -.88838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40323e-10
Minuit parameter uncertainties:
  1  7.26637
  2  0.30377
  3  0.27147
  4  0.144254
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/271585': 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) = 8660.68492533
delta logL = 0.0229302808184

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  2.027e+01  7.266e+00  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.337e+00  3.038e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  1.310e-01  0.000e+00 -5.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.120e+00  1.443e-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.191e+00  2.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.41
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 2.34 +/- 0.30
Photon Flux (Free Index): 2.17e-07 +/- 7.86e-08
Energy Flux (Free Index): 8.09e-05 +/- 2.53e-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/271585/cmap_HighResolution_697593601_697852801_4FGL_J1332.6-1256_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.27e-07', energy_flux2='8.09e-05', photon_flux_error='7.30e-08', dlogl='2.29e-02', energy_flux='7.90e-05', photon_flux2='2.17e-07', job_status='DONE', time_completed='2023-02-12 01:09:34.065201', photon_index_error2='0.30', photon_index2='2.34', ts='27.09', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='2.53e-05', EG='1.18', time_epoch_completed='1676192974.07', return_code='0', job_id='271585', GAL2='1.12', EG2='1.19', return_code2='0', energy_flux_error='2.54e-05', photon_flux_error2='7.86e-08', ts2='27.41', photon_index='2.40' WHERE bin_id='1768' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:09:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 271585: <4FGL_J1332.6-1256_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin1768> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Feb 12 00:55:18 2023
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:58:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:58:32 2023
Terminated at Sun Feb 12 01:09:34 2023
Results reported at Sun Feb 12 01:09:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1768 203.154 -12.9436 697593601 697852801 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 :                                   627.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             302.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            856 sec.

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

