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


Performing analysis on: 4FGL_J1331.2-1325_daily_bin1717
RA = 202.819, Dec = -13.4282
tmin = 684374401, tmax = 684633601
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='135085', job_status='RUN', time_executed='2022-09-16 17:42:37.046453', time_epoch_executed='1663375357.05' WHERE source_name='4FGL J1331.2-1325' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135085

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135085/ft1_4FGL_J1331.2-1325_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135085/ft2_4FGL_J1331.2-1325_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135085/ft1_4FGL_J1331.2-1325_daily_bin1717.fits outfile=/scratch/kocevski/135085/ft1_filteredMKT_4FGL_J1331.2-1325_daily_bin1717.fits ra=202.819 dec=-13.4282 rad=12.0 tmin=684374401.0 tmax=684633601.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 5.05
user 4.74
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/135085/ft2_4FGL_J1331.2-1325_daily_bin1717.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/135085/ft2_4FGL_J1331.2-1325_daily_bin1717.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/135085/ft1_filteredMKT_4FGL_J1331.2-1325_daily_bin1717.fits evtable="EVENTS" outfile="/scratch/kocevski/135085/ft1_filtered_4FGL_J1331.2-1325_daily_bin1717.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 437

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135085/ft1_filtered_4FGL_J1331.2-1325_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/135085/ft2_4FGL_J1331.2-1325_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/135085/ltcube_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.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/135085/ft2_4FGL_J1331.2-1325_daily_bin1717.fits
.....................!
real 16.44
user 16.00
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135085/ft1_filtered_4FGL_J1331.2-1325_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/135085/ft2_4FGL_J1331.2-1325_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/135085/ltcube_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.fits outfile=/scratch/kocevski/135085/expmap_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.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/135085/ltcube_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.fits
.....................!
real 192.11
user 185.89
sys 5.38

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 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J1331.2-1325 @ 202.819 -13.4282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/135085/ft1_filtered_4FGL_J1331.2-1325_daily_bin1717.fits scfile=/scratch/kocevski/135085/ft2_4FGL_J1331.2-1325_daily_bin1717.fits outfile=/scratch/kocevski/135085/cmap_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.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=202.819 yref=-13.4282 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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135085/ft1_filtered_4FGL_J1331.2-1325_daily_bin1717.fits scfile=/scratch/kocevski/135085/ft2_4FGL_J1331.2-1325_daily_bin1717.fits outfile=/scratch/kocevski/135085/cmap_HighResolution_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.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=202.819 yref=-13.4282 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/135085/ft1_filtered_4FGL_J1331.2-1325_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/135085/ft2_4FGL_J1331.2-1325_daily_bin1717.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/135085/Model_4FGL_J1331.2-1325_daily_bin1717.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/135085/ft1_filtered_4FGL_J1331.2-1325_daily_bin1717.fits.....................!
real 44.38
user 42.91
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/135085/ft1_filtered_4FGL_J1331.2-1325_daily_bin1717.fits', '/scratch/kocevski/135085/ft2_4FGL_J1331.2-1325_daily_bin1717.fits', expMap='/scratch/kocevski/135085/expmap_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.fits', expCube='/scratch/kocevski/135085/ltcube_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/135085/Model_4FGL_J1331.2-1325_daily_bin1717.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1331.2-1325'

4FGL J1331.2-1325
   Spectrum: PowerLaw
287    Prefactor:  5.475e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  2.600e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  1.117e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/135085/ft1_filtered_4FGL_J1331.2-1325_daily_bin1717.fits
Spacecraft file(s): /scratch/kocevski/135085/ft2_4FGL_J1331.2-1325_daily_bin1717.fits
Exposure map: /scratch/kocevski/135085/expmap_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.fits
Exposure cube: /scratch/kocevski/135085/ltcube_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/135085/Model_4FGL_J1331.2-1325_daily_bin1717.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) = 4988.65165871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32122       1.0000          .0000       .10000E+07
     2 'norm      '    9.2450       1.0000          .0000       .10000E+07
     3 'norm      '    1.1127       1.0000          .0000       .10000E+07
     4 'Prefactor '    .28311       1.0000          .0000       .10000E+07
     5 'norm      '    .52572       1.0000          .0000       .10000E+07
     6 'norm      '    2.2966       1.0000          .0000       .10000E+07
     7 'norm      '    .67168E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .33838E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2470       1.0000          .0000       .10000E+07
    10 'Prefactor '    .49885E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67168E-08   1.0000          .0000       .10000E+07
    12 'norm      '    .20142E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .22162       1.0000          .0000       .10000E+07
    14 'Prefactor '    .51907E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .13676E-03   1.0000          .0000       .10000E+07
    16 'norm      '    29.934       1.0000          .0000       .10000E+07
    17 'Prefactor '    .27610E-02   1.0000          .0000       .10000E+07
    18 'norm      '    3.3815       1.0000          .0000       .10000E+07
    19 'Prefactor '    5.7213       1.0000          .0000       .10000E+07
    20 'norm      '    .70075E-03   1.0000          .0000       .10000E+07
    21 'norm      '    20.803       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0677       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99754       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4988.649     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2968 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32122        .27608        .24097E-07   -.46253E-02
   2  norm          9.2467        1.7867        .22735E-07   -.13260E-02
   3  norm          1.1244        12.189       -.56816E-06    .52327E-03
   4  Prefactor     .26534E-07    32.125        .71496E-06** at limit **
   5  norm          .56947        4.0400        .42008E-06   -.13054E-02
   6  norm          2.3091        1.3425        .17071E-07    .14154E-02
   7  norm          .61062E-09    10.090       -.58034E-07** at limit **
   8  Prefactor     .27756E-09    11.410       -.15551E-06** at limit **
   9  Prefactor     3.2161        4.5868       -.12286E-06   -.95369E-02
  10  Prefactor     .22204E-09    8.5348       -.14633E-06** at limit **
  11  norm           .0000        .93932       -.72684E-07** at limit **
  12  norm           .0000        2.2343        .76805E-07** at limit **
  13  norm          .38858E-08    2.9862       -.34596E-07** at limit **
  14  Prefactor     .55511E-10    4.1663       -.14147E-07** at limit **
  15  Prefactor     .55511E-10    28.329        .15437E-06** at limit **
  16  norm          31.947        54.817        .11652E-05   -.46640E-03
  17  Prefactor      .0000        5.2365        .17352E-06** at limit **
  18  norm          3.3861        7.0773        .90873E-07   -.39749E-03
  19  Prefactor     5.7495        6.1008       -.10679E-06    .48297E-03
  20  norm           .0000        4.1621        .19317E-09** at limit **
  21  norm          20.764        5.3936       -.18603E-07   -.12126E-03
  22  Normalizat    1.0691        .30610        .18374E-05   -.23215E-04
  23  Prefactor     .99687        .16643       -.96825E-06   -.30847E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.321221
  norm       = 9.24668
  norm       = 1.1244
  Prefactor  = 2.65343e-08
  norm       = 0.569471
  norm       = 2.30907
  norm       = 6.10623e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 3.21607
  Prefactor  = 2.22045e-10
  norm       = 0
  norm       = 0
  norm       = 3.88578e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 31.9471
  Prefactor  = 0
  norm       = 3.38608
  Prefactor  = 5.74947
  norm       = 0
  norm       = 20.7643
  Normalizat = 1.06912
  Prefactor  = 0.99687
 **********
 **   18 **HESSE 
 **********

 FCN=   4988.649     FROM HESSE     STATUS=OK           422 CALLS     3390 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32122        .28914        .74494E-03   -1.5697    
   2  norm          9.2467        12.565        .32937E-03   -1.5647    
   3  norm          1.1244        12.152        .11178E-02   -1.5687    
   4  Prefactor     .26534E-07    37.701        .10452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .56947        4.0104        .76163E-03   -1.5693    
   6  norm          2.3091        22.199        .67696E-03   -1.5678    
   7  norm          .61062E-09    10.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    11.416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.2161        11.315        .56183E-03   -1.5672    
  10  Prefactor     .22204E-09    8.8258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .92809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.2380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .38858E-08    5.5988        .91941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    4.1816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    28.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          31.947        54.808        .18280E-03   -1.5595    
  17  Prefactor      .0000        5.2582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.3861        7.0980        .54999E-03   -1.5671    
  19  Prefactor     5.7495        6.2160        .41969E-03   -1.5660    
  20  norm           .0000        4.1653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          20.764        5.4133        .21931E-03   -1.5617    
  22  Normalizat    1.0691        .27631        .78090E-01   -.90750    
  23  Prefactor     .99687        .14267        .46236E-01   -.92834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28865e-07
Minuit parameter uncertainties:
  1  0.289143
  2  12.5655
  3  7.39292
  4  0.00199982
  5  3.02246
  6  14.3192
  7  0.000159485
  8  0.000108548
  9  11.3153
  10  9.07704e-05
  11  4.18874e-06
  12  4.68754e-06
  13  0.000295142
  14  2.89364e-05
  15  6.47637e-05
  16  54.8092
  17  2.16204e-05
  18  7.09802
  19  6.21597
  20  9.67444e-06
  21  5.41331
  22  0.276686
  23  0.142723
Done.

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

Extracting fit parameters...

4FGL J1331.2-1325
   Spectrum: PowerLaw
287    Prefactor:  2.220e-10  9.077e-05  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  2.600e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  1.117e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
567    Prefactor:  9.969e-01  1.427e-01  0.000e+00  1.000e+01 ( 1.000e+00)
568        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
569        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.069e+00  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 202.819 -13.428
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/135085/likelihoodResults_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4988.70308068
delta logL = -0.0543490335549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4988.64873187
delta logL = -2.23201823246e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94369E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.0364       1.0000          .0000       10.000    
     3 'Normalizat'    1.0689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99695       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4988.649     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      239 TOTAL
                     EDM=   .43E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .14623E-01    .42118E-03** at limit **
   2  Index         3.3407        7.3061        .40783        .10593E-09
   3  Normalizat    1.0691        .40235E-03    .78090E-01    .28311E-03
   4  Prefactor     .99687        .21608E-03    .46229E-01    .31691E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 3.34073
  Normalizat = 1.06912
  Prefactor  = 0.996869
 **********
 **   18 **HESSE 
 **********

 FCN=   4988.649     FROM HESSE     STATUS=OK            27 CALLS      266 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    4.3440        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3407        6.6063        .50000       -.33827    
   3  Normalizat    1.0691        .29292        .34565E-03   -.90749    
   4  Prefactor     .99687        .15785        .19057E-03   -.92834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5036e-10
Minuit parameter uncertainties:
  1  5.36263e-05
  2  4.7432
  3  0.293362
  4  0.157927
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135085': 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) = 4988.64873164
delta logL = -1.1277734302e-10

Extracting fit parameters...

4FGL J1331.2-1325
   Spectrum: PowerLaw
287    Prefactor:  1.665e-10  5.363e-05  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  3.341e+00  4.743e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  1.117e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
567    Prefactor:  9.969e-01  1.579e-01  0.000e+00  1.000e+01 ( 1.000e+00)
568        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
569        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.069e+00  2.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 202.819 -13.428

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/135085/cmap_HighResolution_684374401_684633601_4FGL_J1331.2-1325_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.90e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2022-09-16 17:52:32.370376', job_id='135085', GAL2='1.00', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1663375952.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-1.13e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1717' AND source_name='4FGL J1331.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:52:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 135085: <4FGL_J1331.2-1325_daily_bin1717> in cluster <slac> Done

Job <4FGL_J1331.2-1325_daily_bin1717> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:40:17 2022
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:41:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:41:04 2022
Terminated at Fri Sep 16 17:52:33 2022
Results reported at Fri Sep 16 17:52:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1331.2-1325_daily_bin1717 202.819 -13.4282 684374401 684633601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1331.2-1325 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   595.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            736 sec.

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

