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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1708
RA = 203.323, Dec = 27.4221
tmin = 682041601, tmax = 682300801
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='135139', job_status='RUN', time_executed='2022-09-16 17:45:12.138297', time_epoch_executed='1663375512.14' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135139

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135139/ft1_4FGL_J1333.2+2725_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135139/ft2_4FGL_J1333.2+2725_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135139/ft1_4FGL_J1333.2+2725_daily_bin1708.fits outfile=/scratch/kocevski/135139/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1708.fits ra=203.323 dec=27.4221 rad=12.0 tmin=682041601.0 tmax=682300801.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.97
user 3.73
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/135139/ft2_4FGL_J1333.2+2725_daily_bin1708.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/135139/ft2_4FGL_J1333.2+2725_daily_bin1708.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/135139/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/135139/ft1_filtered_4FGL_J1333.2+2725_daily_bin1708.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: 560

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135139/ft1_filtered_4FGL_J1333.2+2725_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/135139/ft2_4FGL_J1333.2+2725_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/135139/ltcube_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.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/135139/ft2_4FGL_J1333.2+2725_daily_bin1708.fits
.....................!
real 14.38
user 13.93
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135139/ft1_filtered_4FGL_J1333.2+2725_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/135139/ft2_4FGL_J1333.2+2725_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/135139/ltcube_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.fits outfile=/scratch/kocevski/135139/expmap_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.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/135139/ltcube_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.fits
.....................!
real 191.38
user 185.83
sys 5.01

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

Setting source of interest to:
4FGL J1333.2+2725 @ 203.323 27.4221

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/135139/ft1_filtered_4FGL_J1333.2+2725_daily_bin1708.fits scfile=/scratch/kocevski/135139/ft2_4FGL_J1333.2+2725_daily_bin1708.fits outfile=/scratch/kocevski/135139/cmap_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.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.323 yref=27.4221 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.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135139/ft1_filtered_4FGL_J1333.2+2725_daily_bin1708.fits scfile=/scratch/kocevski/135139/ft2_4FGL_J1333.2+2725_daily_bin1708.fits outfile=/scratch/kocevski/135139/cmap_HighResolution_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.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.323 yref=27.4221 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/135139/ft1_filtered_4FGL_J1333.2+2725_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/135139/ft2_4FGL_J1333.2+2725_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/135139/Model_4FGL_J1333.2+2725_daily_bin1708.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/135139/ft1_filtered_4FGL_J1333.2+2725_daily_bin1708.fits....................!
real 52.36
user 51.06
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/135139/ft1_filtered_4FGL_J1333.2+2725_daily_bin1708.fits', '/scratch/kocevski/135139/ft2_4FGL_J1333.2+2725_daily_bin1708.fits', expMap='/scratch/kocevski/135139/expmap_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.fits', expCube='/scratch/kocevski/135139/ltcube_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/135139/Model_4FGL_J1333.2+2725_daily_bin1708.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1333.2+2725'

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/135139/ft1_filtered_4FGL_J1333.2+2725_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/135139/ft2_4FGL_J1333.2+2725_daily_bin1708.fits
Exposure map: /scratch/kocevski/135139/expmap_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.fits
Exposure cube: /scratch/kocevski/135139/ltcube_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/135139/Model_4FGL_J1333.2+2725_daily_bin1708.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) = 6296.44819484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.623       1.0000          .0000       .10000E+07
     2 'norm      '    25.057       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28422E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .11696E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.4162       1.0000          .0000       .10000E+07
     6 'norm      '    .57069E-05   1.0000          .0000       .10000E+07
     7 'norm      '    37.499       1.0000          .0000       .10000E+07
     8 'norm      '    17.400       1.0000          .0000       .10000E+07
     9 'norm      '    30.255       1.0000          .0000       .10000E+07
    10 'Prefactor '    .22260E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14068E-03   1.0000          .0000       .10000E+07
    12 'norm      '    6.3249       1.0000          .0000       .10000E+07
    13 'Prefactor '    .98188E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .82283E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    15.075       1.0000          .0000       .10000E+07
    16 'Prefactor '    .92223E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.2382       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.175       1.0000          .0000       .10000E+07
    19 'Prefactor '    5.8903       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2370       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79259       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6296.406     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1640 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.646        8.1426        .22081E-07   -.43654E-01
   2  norm          25.031        5.7252       -.15797E-07   -.12875    
   3  Prefactor     .48517E-07    139.61       -.13277E-05** at limit **
   4  norm           .0000        1.0758        .48754E-08** at limit **
   5  Prefactor     8.4728        18.825        .11790E-06    .81334E-03
   6  norm          .55511E-08    6.8041        .21211E-06** at limit **
   7  norm          37.450        6.2078       -.66441E-08    .49660E-01
   8  norm          17.465        3.5846       -.17757E-07    .40622E-01
   9  norm          30.361        9.8023        .99565E-08    .63455E-01
  10  Prefactor      .0000        1.3692       -.12359E-07** at limit **
  11  Prefactor     .13878E-08    6.2355       -.49494E-07** at limit **
  12  norm          6.3371        6.0926        .29993E-07   -.18796E-02
  13  Prefactor     .23287E-06    38.136       -.41330E-06** at limit **
  14  norm          .27756E-09    2.9015       -.86267E-07** at limit **
  15  Prefactor     15.008        9.5347        .49337E-07   -.26937E-01
  16  Prefactor     .22204E-09    16.288       -.22311E-07** at limit **
  17  Prefactor     6.2409        4.7145        .96591E-09   -.16127E-02
  18  Prefactor     19.145        12.540        .41945E-07    .16460E-02
  19  Prefactor     5.8709        5.6660        .86576E-07   -.10772E-03
  20  Normalizat    1.2370        .23466        .84458E-06   -.13397E-03
  21  Prefactor     .79245        .22609       -.35697E-05   -.15472E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6463
  norm       = 25.0313
  Prefactor  = 4.85167e-08
  norm       = 0
  Prefactor  = 8.47284
  norm       = 5.55112e-09
  norm       = 37.4498
  norm       = 17.4649
  norm       = 30.3615
  Prefactor  = 0
  Prefactor  = 1.38778e-09
  norm       = 6.3371
  Prefactor  = 2.32869e-07
  norm       = 2.77556e-10
  Prefactor  = 15.0079
  Prefactor  = 2.22045e-10
  Prefactor  = 6.24088
  Prefactor  = 19.1451
  Prefactor  = 5.87086
  Normalizat = 1.23704
  Prefactor  = 0.792452
 **********
 **   18 **HESSE 
 **********

 FCN=   6296.406     FROM HESSE     STATUS=OK           363 CALLS     2003 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.646        8.6407        .28169E-03   -1.5637    
   2  norm          25.031        8.7998        .19982E-03   -1.5608    
   3  Prefactor     .48517E-07    139.64        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.0764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.4728        21.283        .34532E-03   -1.5650    
   6  norm          .55511E-08    6.8634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          37.450        11.889        .16332E-03   -1.5586    
   8  norm          17.465        17.585        .23983E-03   -1.5624    
   9  norm          30.361        23.950        .18183E-03   -1.5598    
  10  Prefactor      .0000        1.3698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13878E-08    6.2534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.3371        6.1523        .39888E-03   -1.5658    
  13  Prefactor     .23287E-06    40.142        .13978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .27756E-09    2.9118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.008        18.473        .25770E-03   -1.5630    
  16  Prefactor     .22204E-09    16.363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.2409        4.7320        .40168E-03   -1.5658    
  18  Prefactor     19.145        16.023        .22844E-03   -1.5620    
  19  Prefactor     5.8709        5.6713        .41354E-03   -1.5660    
  20  Normalizat    1.2370        .19625        .57127E-01   -.85466    
  21  Prefactor     .79245        .19099        .70274E-01   -1.0001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12921e-07
Minuit parameter uncertainties:
  1  8.64071
  2  8.79981
  3  0.00520502
  4  5.27013e-07
  5  21.2829
  6  0.000390449
  7  11.8885
  8  17.585
  9  23.9502
  10  3.33274e-06
  11  0.000184724
  12  6.15227
  13  0.00611472
  14  5.82817e-05
  15  18.473
  16  0.000120472
  17  4.73203
  18  16.0234
  19  5.67134
  20  0.196366
  21  0.19115
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  2.220e-10  1.205e-04  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  7.925e-01  1.912e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.237e+00  1.964e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 8.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/135139/likelihoodResults_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.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): 102
logL (Free Index) = 6296.01105516
delta logL = 0.394885818165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6295.94131741
delta logL = 0.464623566275

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52290E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.9506       1.0000          .0000       10.000    
     3 'Normalizat'    1.1668       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84186       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6295.941     FROM MIGRAD    STATUS=CONVERGED    168 CALLS      464 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45327E-02    .39227        .22255E-06** at limit **
   2  Index         7.0182        5.8682       -.33705E-03    .87725E-04
   3  Normalizat    1.1679        .23745        .14310E-05   -.70965E-05
   4  Prefactor     .84094        .22941       -.43658E-05   -.14818E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00453274
  Index      = 7.01822
  Normalizat = 1.16786
  Prefactor  = 0.84094
 **********
 **   18 **HESSE 
 **********

 FCN=   6295.941     FROM HESSE     STATUS=OK            41 CALLS      505 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45327E-02    .54910E-02    .13341E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.0182        .43165        .13812       -9.8403    
   3  Normalizat    1.1679        .19035        .58526E-01   -.87602    
   4  Prefactor     .84094        .19042        .68473E-01   -.98236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04315e-10
Minuit parameter uncertainties:
  1  0.00549103
  2  0.432296
  3  0.190462
  4  0.190574
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135139': 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) = 6295.94127471
delta logL = 0.464666265498

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  4.533e-03  5.491e-03  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  7.018e+00  4.323e-01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  8.409e-01  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.168e+00  1.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.00
Ra Dec: 203.323 27.422
Photon Index (Free Index): 7.02 +/- 0.43
Photon Flux (Free Index): 6.07e-08 +/- 9.62e-08
Energy Flux (Free Index): 7.25e-06 +/- 1.15e-05

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/135139/cmap_HighResolution_682041601_682300801_4FGL_J1333.2+2725_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.43e-03', comment='SUCCESS', energy_flux2='7.25e-06', dlogl='4.65e-01', photon_flux2='6.07e-08', job_status='DONE', time_completed='2022-09-16 17:54:40.383882', photon_index_error2='0.43', photon_index2='7.02', ts='-0.00', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='8.37e-08', energy_flux_error2='1.15e-05', EG='1.24', time_epoch_completed='1663376080.38', return_code='0', job_id='135139', GAL2='0.84', EG2='1.17', return_code2='0', photon_flux_error2='9.62e-08', ts2='1.00', photon_index='2.32' WHERE bin_id='1708' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:54:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 135139: <4FGL_J1333.2+2725_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1708> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:40:21 2022
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:41:53 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:53 2022
Terminated at Fri Sep 16 17:54:41 2022
Results reported at Fri Sep 16 17:54:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1708 203.323 27.4221 682041601 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1333.2+2725 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   569.31 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             275.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            860 sec.

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

