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


Performing analysis on: 4FGL_J1339.0-2400_daily_bin1744
RA = 204.756, Dec = -24.0085
tmin = 691372801, tmax = 691632001
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='582287', job_status='RUN', time_executed='2022-12-02 01:07:29.417787', time_epoch_executed='1669972049.42' WHERE source_name='4FGL J1339.0-2400' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/582287

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/582287/ft1_4FGL_J1339.0-2400_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/582287/ft2_4FGL_J1339.0-2400_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/582287/ft1_4FGL_J1339.0-2400_daily_bin1744.fits outfile=/scratch/kocevski/582287/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin1744.fits ra=204.756 dec=-24.0085 rad=12.0 tmin=691372801.0 tmax=691632001.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 2.53
user 2.31
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/582287/ft2_4FGL_J1339.0-2400_daily_bin1744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/582287/ft2_4FGL_J1339.0-2400_daily_bin1744.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/582287/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/582287/ft1_filtered_4FGL_J1339.0-2400_daily_bin1744.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.31
sys 0.17

Number of photons that the gtmktime cut: 688

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/582287/ft1_filtered_4FGL_J1339.0-2400_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/582287/ft2_4FGL_J1339.0-2400_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/582287/ltcube_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.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/582287/ft2_4FGL_J1339.0-2400_daily_bin1744.fits
.....................!
real 12.75
user 12.36
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/582287/ft1_filtered_4FGL_J1339.0-2400_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/582287/ft2_4FGL_J1339.0-2400_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/582287/ltcube_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.fits outfile=/scratch/kocevski/582287/expmap_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.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/582287/ltcube_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.fits
.....................!
real 192.95
user 186.53
sys 6.11

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 192 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1339.0-2400 @ 204.756 -24.0085

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/582287/ft1_filtered_4FGL_J1339.0-2400_daily_bin1744.fits scfile=/scratch/kocevski/582287/ft2_4FGL_J1339.0-2400_daily_bin1744.fits outfile=/scratch/kocevski/582287/cmap_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.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=204.756 yref=-24.0085 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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/582287/ft1_filtered_4FGL_J1339.0-2400_daily_bin1744.fits scfile=/scratch/kocevski/582287/ft2_4FGL_J1339.0-2400_daily_bin1744.fits outfile=/scratch/kocevski/582287/cmap_HighResolution_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.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=204.756 yref=-24.0085 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/582287/ft1_filtered_4FGL_J1339.0-2400_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/582287/ft2_4FGL_J1339.0-2400_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/582287/Model_4FGL_J1339.0-2400_daily_bin1744.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/582287/ft1_filtered_4FGL_J1339.0-2400_daily_bin1744.fits.....................!
real 121.24
user 119.66
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/582287/ft1_filtered_4FGL_J1339.0-2400_daily_bin1744.fits', '/scratch/kocevski/582287/ft2_4FGL_J1339.0-2400_daily_bin1744.fits', expMap='/scratch/kocevski/582287/expmap_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.fits', expCube='/scratch/kocevski/582287/ltcube_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/582287/Model_4FGL_J1339.0-2400_daily_bin1744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.0-2400'

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  8.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/582287/ft1_filtered_4FGL_J1339.0-2400_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/582287/ft2_4FGL_J1339.0-2400_daily_bin1744.fits
Exposure map: /scratch/kocevski/582287/expmap_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.fits
Exposure cube: /scratch/kocevski/582287/ltcube_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/582287/Model_4FGL_J1339.0-2400_daily_bin1744.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) = 7386.43181999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14494E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11043E-02   1.0000          .0000       .10000E+07
     3 'norm      '    6.8551       1.0000          .0000       .10000E+07
     4 'norm      '    10.902       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34410E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .25258E-06   1.0000          .0000       .10000E+07
     7 'norm      '    7.5958       1.0000          .0000       .10000E+07
     8 'Prefactor '    .47013E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .21179       1.0000          .0000       .10000E+07
    10 'norm      '    .10172E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.392       1.0000          .0000       .10000E+07
    12 'Prefactor '    14.167       1.0000          .0000       .10000E+07
    13 'Prefactor '    .54483E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12191       1.0000          .0000       .10000E+07
    15 'norm      '    .37550E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .34383E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .74643E-02   1.0000          .0000       .10000E+07
    18 'norm      '    10.510       1.0000          .0000       .10000E+07
    19 'Prefactor '    .46254E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.866       1.0000          .0000       .10000E+07
    21 'Prefactor '    .48432E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11312E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4824       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .75670       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7386.416     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2038 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .47796       -.30038E-06** at limit **
   2  Prefactor     .40679E-06    157.98       -.62011E-05** at limit **
   3  norm          6.8533        6.8978        .70130E-06    .76789E-03
   4  norm          10.949        5.2319        .11793E-05    .75698E-03
   5  Prefactor     .55511E-10    1.7606       -.42498E-07** at limit **
   6  norm           .0000        .71170        .55842E-06** at limit **
   7  norm          7.6505        4.9376       -.87565E-07    .34279E-03
   8  Prefactor      .0000        5.3615       -.75567E-06** at limit **
   9  norm          .20678        3.4580        .39765E-06** at limit **
  10  norm           .0000        3.3850        .89215E-06** at limit **
  11  Prefactor     20.312        2.4492        .83909E-06    .30825E-01
  12  Prefactor     14.232        8.1106        .32933E-05    .13953    
  13  Prefactor     .41633E-08    8.6425       -.11379E-05** at limit **
  14  Prefactor     .15565        1.7669       -.25914E-05** at limit **
  15  norm          .55511E-10    1.4460       -.45016E-06** at limit **
  16  Prefactor     .16104E-05    28.973       -.52429E-05** at limit **
  17  norm          .47184E-08    12.749       -.13136E-05** at limit **
  18  norm          10.554        12.140       -.24547E-05   -.57347E-02
  19  Prefactor     .16653E-09    2.7831        .50368E-06** at limit **
  20  Prefactor     13.482        8.5919        .15553E-05   -.29592E-01
  21  Prefactor     .38858E-09    50.307       -.11360E-05** at limit **
  22  Prefactor     .15486E-05    30.420        .18654E-04** at limit **
  23  Normalizat    1.4819        .27102       -.46714E-04    .41624E-04
  24  Prefactor     .75659        .11855        .22999E-04    .21405E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 4.06786e-07
  norm       = 6.8533
  norm       = 10.9491
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 7.6505
  Prefactor  = 0
  norm       = 0.206778
  norm       = 0
  Prefactor  = 20.3119
  Prefactor  = 14.2322
  Prefactor  = 4.16334e-09
  Prefactor  = 0.15565
  norm       = 5.55112e-11
  Prefactor  = 1.61043e-06
  norm       = 4.71845e-09
  norm       = 10.5542
  Prefactor  = 1.66533e-10
  Prefactor  = 13.4817
  Prefactor  = 3.88578e-10
  Prefactor  = 1.54859e-06
  Normalizat = 1.48192
  Prefactor  = 0.756591
 **********
 **   18 **HESSE 
 **********

 FCN=   7386.416     FROM HESSE     STATUS=OK           453 CALLS     2491 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .47000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .40679E-06    160.37        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.8533        6.9078        .38297E-03   -1.5656    
   4  norm          10.949        5.2449        .30319E-03   -1.5642    
   5  Prefactor     .55511E-10    1.7655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .71088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.6505        4.9401        .36363E-03   -1.5653    
   8  Prefactor      .0000        5.3730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .20678        1.5638        .37430E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.3698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.312        17.869        .22152E-03   -1.5618    
  12  Prefactor     14.232        18.244        .26585E-03   -1.5633    
  13  Prefactor     .41633E-08    8.6363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .15565        7.0356        .11022E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    1.4481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16104E-05    32.113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .47184E-08    12.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.554        12.341        .30881E-03   -1.5643    
  19  Prefactor     .16653E-09    2.7759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.482        75.934        .27900E-03   -1.5635    
  21  Prefactor     .38858E-09    50.121        .15603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .15486E-05    33.781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4819        .23070        .70614E-01   -.78288    
  24  Prefactor     .75659        .99724E-01    .43151E-01   -1.0135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.20491e-07
Minuit parameter uncertainties:
  1  7.05476e-06
  2  0.0161542
  3  6.90781
  4  5.24493
  5  1.45058e-05
  6  1.15565e-06
  7  4.94015
  8  1.99723e-05
  9  1.13731
  10  1.64988e-05
  11  17.8695
  12  18.2437
  13  0.000379571
  14  2.09294
  15  1.28119e-05
  16  0.0143828
  17  0.000491813
  18  12.3408
  19  3.96606e-05
  20  63.9926
  21  0.000281313
  22  0.0144657
  23  0.230862
  24  0.0997476
Done.

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

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  1.423e+01  1.824e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  7.566e-01  9.975e-02  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.482e+00  2.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 204.756 -24.009
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 2.44e-08 +/- 3.12e-08
Energy Flux (Fixed Index): 9.20e-06 +/- 1.18e-05

TS (Fixed Index): 1.03
Ra Dec: 204.756 -24.009
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/582287/likelihoodResults_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.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) = 7386.35675852
delta logL = 0.0591737931645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7386.35459222
delta logL = 0.0613400943139

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.142       1.0000          .0000       .10000E+07
     2 'Index     '    2.0373       1.0000          .0000       10.000    
     3 'Normalizat'    1.4871       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75480       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+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=   7386.355     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      294 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.142        23.883        .93949E-05    .11300E-02
   2  Index         2.0372        .72322        .10592E-01    .27469E-04
   3  Normalizat    1.4871        .26935        .31196E-03    .23469E-04
   4  Prefactor     .75478        .11857        .18404E-03    .49603E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.142
  Index      = 2.03725
  Normalizat = 1.48714
  Prefactor  = 0.754779
 **********
 **   18 **HESSE 
 **********

 FCN=   7386.355     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.142        23.496        .18790E-05   -1.5623    
   2  Index         2.0372        .71180        .42369E-03   -.63422    
   3  Normalizat    1.4871        .26960        .12478E-04   -.78140    
   4  Prefactor     .75478        .11869        .73618E-05   -1.0142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9315e-11
Minuit parameter uncertainties:
  1  23.4964
  2  0.715557
  3  0.269863
  4  0.118727
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/582287': 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) = 7386.3545922
delta logL = 0.0613401082364

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  1.814e+01  2.350e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.037e+00  7.156e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  7.548e-01  1.187e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.487e+00  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 204.756 -24.009
Photon Index (Free Index): 2.04 +/- 0.72
Photon Flux (Free Index): 2.09e-08 +/- 2.90e-08
Energy Flux (Free Index): 1.32e-05 +/- 2.16e-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/582287/cmap_HighResolution_691372801_691632001_4FGL_J1339.0-2400_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.31e-03', comment='SUCCESS', photon_flux='2.44e-08', energy_flux2='1.32e-05', photon_flux_error='3.12e-08', dlogl='6.13e-02', energy_flux='9.20e-06', photon_flux2='2.09e-08', job_status='DONE', time_completed='2022-12-02 01:20:14.779775', photon_index_error2='0.72', photon_index2='2.04', ts='1.03', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='2.16e-05', EG='1.48', time_epoch_completed='1669972814.78', return_code='0', job_id='582287', GAL2='0.75', EG2='1.49', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.90e-08', ts2='1.16', photon_index='2.30' WHERE bin_id='1744' AND source_name='4FGL J1339.0-2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:20:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 582287: <4FGL_J1339.0-2400_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1339.0-2400_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 01:05:14 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:05:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:05:15 2022
Terminated at Fri Dec  2 01:20:15 2022
Results reported at Fri Dec  2 01:20:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1339.0-2400_daily_bin1744 204.756 -24.0085 691372801 691632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1339.0-2400 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   767.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            901 sec.

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

