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


Performing analysis on: 4FGL_J1332.6-1256_daily_bin1776
RA = 203.154, Dec = -12.9436
tmin = 699667201, tmax = 699926401
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='833874', job_status='RUN', time_executed='2023-03-08 00:41:24.277173', time_epoch_executed='1678264884.28' WHERE source_name='4FGL J1332.6-1256' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833874

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833874/ft1_4FGL_J1332.6-1256_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833874/ft2_4FGL_J1332.6-1256_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833874/ft1_4FGL_J1332.6-1256_daily_bin1776.fits outfile=/scratch/kocevski/833874/ft1_filteredMKT_4FGL_J1332.6-1256_daily_bin1776.fits ra=203.154 dec=-12.9436 rad=12.0 tmin=699667201.0 tmax=699926401.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.95
user 3.74
sys 0.20

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

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

Number of photons that the gtmktime cut: 798

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833874/ft1_filtered_4FGL_J1332.6-1256_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/833874/ft2_4FGL_J1332.6-1256_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/833874/ltcube_699667201_699926401_4FGL_J1332.6-1256_daily_bin1776.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/833874/ft2_4FGL_J1332.6-1256_daily_bin1776.fits
.....................!
real 12.10
user 11.71
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833874/ft1_filtered_4FGL_J1332.6-1256_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/833874/ft2_4FGL_J1332.6-1256_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/833874/ltcube_699667201_699926401_4FGL_J1332.6-1256_daily_bin1776.fits outfile=/scratch/kocevski/833874/expmap_699667201_699926401_4FGL_J1332.6-1256_daily_bin1776.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/833874/ltcube_699667201_699926401_4FGL_J1332.6-1256_daily_bin1776.fits
.....................!
real 189.91
user 185.51
sys 4.08

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/833874/ft1_filtered_4FGL_J1332.6-1256_daily_bin1776.fits scfile=/scratch/kocevski/833874/ft2_4FGL_J1332.6-1256_daily_bin1776.fits outfile=/scratch/kocevski/833874/cmap_699667201_699926401_4FGL_J1332.6-1256_daily_bin1776.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.53
user 0.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833874/ft1_filtered_4FGL_J1332.6-1256_daily_bin1776.fits scfile=/scratch/kocevski/833874/ft2_4FGL_J1332.6-1256_daily_bin1776.fits outfile=/scratch/kocevski/833874/cmap_HighResolution_699667201_699926401_4FGL_J1332.6-1256_daily_bin1776.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/833874/ft1_filtered_4FGL_J1332.6-1256_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/833874/ft2_4FGL_J1332.6-1256_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833874/Model_4FGL_J1332.6-1256_daily_bin1776.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/833874/ft1_filtered_4FGL_J1332.6-1256_daily_bin1776.fits.....................!
real 67.13
user 65.81
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63838E-08   1.0000          .0000       .10000E+07
     2 'norm      '    4.8862       1.0000          .0000       .10000E+07
     3 'Prefactor '    .77139E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .92806E-03   1.0000          .0000       .10000E+07
     5 'norm      '    13.056       1.0000          .0000       .10000E+07
     6 'norm      '    .18420E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13084E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.8992       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.388       1.0000          .0000       .10000E+07
    10 'norm      '    2.7594       1.0000          .0000       .10000E+07
    11 'norm      '    8.3835       1.0000          .0000       .10000E+07
    12 'norm      '    10.890       1.0000          .0000       .10000E+07
    13 'Prefactor '    .62473E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.9709       1.0000          .0000       .10000E+07
    15 'norm      '    25.547       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.8716       1.0000          .0000       .10000E+07
    17 'norm      '    .19225E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .19343       1.0000          .0000       .10000E+07
    19 'norm      '    .52125E-06   1.0000          .0000       .10000E+07
    20 'norm      '    25.098       1.0000          .0000       .10000E+07
    21 'Prefactor '    .11396E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.4160       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79915       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=   8535.660     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1529 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .17502       -.19309E-06** at limit **
   2  norm          4.8770        3.7719       -.48727E-06   -.85994E-02
   3  Prefactor     .18874E-08    73.728       -.32927E-05** at limit **
   4  norm          .44409E-09    5.0172        .36184E-06** at limit **
   5  norm          13.073        3.4222        .16810E-06    .48500E-01
   6  norm          .18319E-08    3.9692        .10893E-06** at limit **
   7  Prefactor     .13878E-08    5.9904        .31762E-07** at limit **
   8  Prefactor     7.9210        6.9910       -.29588E-07    .19062E-03
   9  Prefactor     18.198        5.1978        .30553E-06    .12456E-01
  10  norm          2.7567        1.6603        .19474E-06    .23713E-02
  11  norm          8.4091        4.5170       -.20584E-06   -.18133E-02
  12  norm          10.907        7.2852       -.41562E-06   -.52944E-02
  13  Prefactor     .36637E-08    7.0380       -.22717E-05** at limit **
  14  Prefactor     1.4050        51.291       -.42444E-05    .13819E-02
  15  norm          26.295        25.092       -.20930E-05    .58819E-02
  16  Prefactor     3.8908        8.2434        .81096E-06    .82529E-03
  17  norm           .0000        2.6881        .87250E-06** at limit **
  18  Prefactor     .15701        13.892       -.16576E-06** at limit **
  19  norm          .59952E-08    3.3920       -.78286E-06** at limit **
  20  norm          25.080        4.1782        .71534E-07    .22569E-02
  21  Prefactor      .0000        9.5578        .36978E-06** at limit **
  22  Normalizat    1.4165        .24710        .30289E-05    .12048E-04
  23  Prefactor     .79937        .12447       -.17808E-05   -.92336E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 4.877
  Prefactor  = 1.88738e-09
  norm       = 4.44089e-10
  norm       = 13.0732
  norm       = 1.83187e-09
  Prefactor  = 1.38778e-09
  Prefactor  = 7.92101
  Prefactor  = 18.1981
  norm       = 2.7567
  norm       = 8.4091
  norm       = 10.9067
  Prefactor  = 3.66374e-09
  Prefactor  = 1.40498
  norm       = 26.2952
  Prefactor  = 3.89079
  norm       = 0
  Prefactor  = 0.157015
  norm       = 5.9952e-09
  norm       = 25.0799
  Prefactor  = 0
  Normalizat = 1.41654
  Prefactor  = 0.799371
 **********
 **   18 **HESSE 
 **********

 FCN=   8535.660     FROM HESSE     STATUS=OK           434 CALLS     1963 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .10468        .11620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.8770        9.2215        .45481E-03   -1.5664    
   3  Prefactor     .18874E-08    73.730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .44409E-09    1.2247        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          13.073        10.382        .27696E-03   -1.5636    
   6  norm          .18319E-08    4.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .13878E-08    6.2759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.9210        7.0123        .35652E-03   -1.5652    
   9  Prefactor     18.198        22.998        .23329E-03   -1.5623    
  10  norm          2.7567        1.6590        .61249E-03   -1.5675    
  11  norm          8.4091        5.9873        .34599E-03   -1.5650    
  12  norm          10.907        7.7629        .30335E-03   -1.5642    
  13  Prefactor     .36637E-08    7.3626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.4050        52.794        .73829E-03   -1.5684    
  15  norm          26.295        25.734        .19789E-03   -1.5605    
  16  Prefactor     3.8908        8.7076        .51259E-03   -1.5669    
  17  norm           .0000        2.7444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .15701        1.9290        .85441E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .59952E-08    4.5496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          25.080        4.1839        .19965E-03   -1.5608    
  21  Prefactor      .0000        9.6131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4165        .21594        .70560E-01   -.80151    
  23  Prefactor     .79937        .10723        .43706E-01   -.99752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55165e-08
Minuit parameter uncertainties:
  1  7.23841e-07
  2  9.2215
  3  0.000747303
  4  4.62789e-05
  5  10.3824
  6  0.000174129
  7  0.000187387
  8  7.01231
  9  22.9984
  10  1.65899
  11  5.98735
  12  7.76287
  13  0.000327327
  14  17.225
  15  25.7346
  16  8.70764
  17  7.12288e-06
  18  1.10069
  19  0.000330143
  20  4.18394
  21  2.03181e-05
  22  0.216075
  23  0.107261
Done.

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

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  8.409e+00  5.987e+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:  7.994e-01  1.073e-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.417e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.98
Ra Dec: 203.154 -12.944
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 9.87e-08 +/- 7.02e-08
Energy Flux (Fixed Index): 3.44e-05 +/- 2.45e-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) = 8535.1765534
delta logL = 0.483454906425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8535.16854734
delta logL = 0.491460964069

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8068       1.0000          .0000       .10000E+07
     2 'alpha     '    2.8624       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3766       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81178       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=   8535.169     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      281 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8067        4.4198        .91323E-05    .54949E-02
   2  alpha         2.8624        .51835        .92449E-02    .64854E-04
   3  Normalizat    1.3766        .23824        .31556E-03   -.68596E-04
   4  Prefactor     .81178        .12408        .20995E-03   -.13689E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.80666
  alpha      = 2.8624
  Normalizat = 1.3766
  Prefactor  = 0.811779
 **********
 **   18 **HESSE 
 **********

 FCN=   8535.169     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8067        4.0341        .36529E-06   -1.5660    
   2  alpha         2.8624        .47335        .36979E-03    .14547    
   3  Normalizat    1.3766        .23806        .12622E-04   -.81308    
   4  Prefactor     .81178        .12404        .83979E-05   -.99296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37269e-11
Minuit parameter uncertainties:
  1  4.03408
  2  0.476287
  3  0.238252
  4  0.124085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833874': 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) = 8535.16854734
delta logL = 0.491460966081

Extracting fit parameters...

4FGL J1332.6-1256
   Spectrum: LogParabola
280         norm:  5.807e+00  4.034e+00  0.000e+00  1.000e+06 ( 1.000e-12)
281        alpha:  2.862e+00  4.763e-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:  8.118e-01  1.241e-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.377e+00  2.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.26
Ra Dec: 203.154 -12.944
Photon Index (Free Index): 2.86 +/- 0.48
Photon Flux (Free Index): 1.39e-07 +/- 6.81e-08
Energy Flux (Free Index): 3.36e-05 +/- 1.46e-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/833874/cmap_HighResolution_699667201_699926401_4FGL_J1332.6-1256_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.87e-08', energy_flux2='3.36e-05', photon_flux_error='7.02e-08', dlogl='4.91e-01', energy_flux='3.44e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2023-03-08 00:51:10.034558', photon_index_error2='0.48', photon_index2='2.86', ts='7.98', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.46e-05', EG='1.42', time_epoch_completed='1678265470.03', return_code='0', job_id='833874', GAL2='0.81', EG2='1.38', return_code2='0', energy_flux_error='2.45e-05', photon_flux_error2='6.81e-08', ts2='9.26', photon_index='2.40' WHERE bin_id='1776' AND source_name='4FGL J1332.6-1256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:51:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0009>
Subject: Job 833874: <4FGL_J1332.6-1256_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1332.6-1256_daily_bin1776> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Mar  8 00:40:22 2023
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:40:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:40:23 2023
Terminated at Wed Mar  8 00:51:10 2023
Results reported at Wed Mar  8 00:51:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1332.6-1256_daily_bin1776 203.154 -12.9436 699667201 699926401 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 :                                   588.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             321.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            648 sec.

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

