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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1762
RA = 203.323, Dec = 27.4221
tmin = 696038401, tmax = 696297601
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='110560', job_status='RUN', time_executed='2023-01-25 01:03:26.023590', time_epoch_executed='1674637406.02' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110560

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110560/ft1_4FGL_J1333.2+2725_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110560/ft2_4FGL_J1333.2+2725_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110560/ft1_4FGL_J1333.2+2725_daily_bin1762.fits outfile=/scratch/kocevski/110560/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1762.fits ra=203.323 dec=27.4221 rad=12.0 tmin=696038401.0 tmax=696297601.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.70
user 3.41
sys 0.24

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

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

Number of photons that the gtmktime cut: 626

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110560/ft1_filtered_4FGL_J1333.2+2725_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/110560/ft2_4FGL_J1333.2+2725_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/110560/ltcube_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.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/110560/ft2_4FGL_J1333.2+2725_daily_bin1762.fits
.....................!
real 14.49
user 14.02
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110560/ft1_filtered_4FGL_J1333.2+2725_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110560/ft2_4FGL_J1333.2+2725_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/110560/ltcube_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.fits outfile=/scratch/kocevski/110560/expmap_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.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/110560/ltcube_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.fits
.....................!
real 192.96
user 185.99
sys 5.72

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/110560/ft1_filtered_4FGL_J1333.2+2725_daily_bin1762.fits scfile=/scratch/kocevski/110560/ft2_4FGL_J1333.2+2725_daily_bin1762.fits outfile=/scratch/kocevski/110560/cmap_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110560/ft1_filtered_4FGL_J1333.2+2725_daily_bin1762.fits scfile=/scratch/kocevski/110560/ft2_4FGL_J1333.2+2725_daily_bin1762.fits outfile=/scratch/kocevski/110560/cmap_HighResolution_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.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.59
user 0.40
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/110560/ft1_filtered_4FGL_J1333.2+2725_daily_bin1762.fits', '/scratch/kocevski/110560/ft2_4FGL_J1333.2+2725_daily_bin1762.fits', expMap='/scratch/kocevski/110560/expmap_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.fits', expCube='/scratch/kocevski/110560/ltcube_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/110560/Model_4FGL_J1333.2+2725_daily_bin1762.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/110560/ft1_filtered_4FGL_J1333.2+2725_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/110560/ft2_4FGL_J1333.2+2725_daily_bin1762.fits
Exposure map: /scratch/kocevski/110560/expmap_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.fits
Exposure cube: /scratch/kocevski/110560/ltcube_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/110560/Model_4FGL_J1333.2+2725_daily_bin1762.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) = 7039.51427838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5754       1.0000          .0000       .10000E+07
     2 'norm      '    10.978       1.0000          .0000       .10000E+07
     3 'Prefactor '    40.893       1.0000          .0000       .10000E+07
     4 'norm      '    5.2372       1.0000          .0000       .10000E+07
     5 'Prefactor '    .30379E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .65654E-05   1.0000          .0000       .10000E+07
     7 'norm      '    41.036       1.0000          .0000       .10000E+07
     8 'norm      '    19.450       1.0000          .0000       .10000E+07
     9 'norm      '    36.973       1.0000          .0000       .10000E+07
    10 'Prefactor '    .34528E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .18491E-01   1.0000          .0000       .10000E+07
    12 'norm      '    62.827       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.376       1.0000          .0000       .10000E+07
    14 'norm      '    .15782E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    13.987       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13148E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.2279       1.0000          .0000       .10000E+07
    18 'Prefactor '    .89223E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.3540       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0671       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0619       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=   7039.247     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1701 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6077        5.3434        .10596E-05   -.65736E-03
   2  norm          10.435        10.651        .23894E-05    .34723E-02
   3  Prefactor     47.214        55.333       -.71652E-05   -.10995E-02
   4  norm          5.2469        4.3095        .14637E-07    .18559E-02
   5  Prefactor     .56621E-08    26.663       -.58170E-05** at limit **
   6  norm           .0000        2.2424       -.11669E-06** at limit **
   7  norm          40.263        12.034       -.10201E-05   -.25330E-01
   8  norm          20.356        16.494        .56177E-06    .28247E-01
   9  norm          36.829        2.9451       -.88285E-07    .38303E-01
  10  Prefactor     .55511E-10    7.5820       -.33595E-07** at limit **
  11  Prefactor     .72164E-09    49.880       -.28460E-06** at limit **
  12  norm          63.068        12.600        .88024E-08   -.21574E-02
  13  Prefactor     16.372        65.643        .14830E-05   -.34094E-02
  14  norm           .0000        11.537       -.41616E-05** at limit **
  15  Prefactor     13.471        8.0856       -.96561E-06    .69488E-01
  16  Prefactor     .69167E-07    22.733       -.44829E-05** at limit **
  17  Prefactor     6.2219        5.3982       -.63666E-06    .50351E-03
  18  Prefactor      .0000        5.1740       -.22512E-05** at limit **
  19  Prefactor     3.3598        3.7176       -.68577E-06   -.36766E-02
  20  Normalizat    1.0646        .24610       -.59146E-05   -.37005E-04
  21  Prefactor     1.0626        .23695        .23909E-05   -.22539E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60769
  norm       = 10.4354
  Prefactor  = 47.2141
  norm       = 5.24685
  Prefactor  = 5.66214e-09
  norm       = 0
  norm       = 40.2626
  norm       = 20.3556
  norm       = 36.829
  Prefactor  = 5.55112e-11
  Prefactor  = 7.21645e-10
  norm       = 63.068
  Prefactor  = 16.3718
  norm       = 0
  Prefactor  = 13.4706
  Prefactor  = 6.91669e-08
  Prefactor  = 6.22188
  Prefactor  = 0
  Prefactor  = 3.35985
  Normalizat = 1.06461
  Prefactor  = 1.06259
 **********
 **   18 **HESSE 
 **********

 FCN=   7039.247     FROM HESSE     STATUS=OK           371 CALLS     2072 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6077        5.3704        .84626E-03   -1.5683    
   2  norm          10.435        10.700        .30213E-03   -1.5643    
   3  Prefactor     47.214        55.398        .15639E-03   -1.5571    
   4  norm          5.2469        4.3189        .43899E-03   -1.5662    
   5  Prefactor     .56621E-08    26.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        2.2231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          40.263        12.812        .15612E-03   -1.5581    
   8  norm          20.356        17.348        .22682E-03   -1.5618    
   9  norm          36.829        25.422        .16448E-03   -1.5587    
  10  Prefactor     .55511E-10    7.4373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .72164E-09    15.044        .97378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          63.068        12.766        .12617E-03   -1.5549    
  13  Prefactor     16.372        67.861        .28450E-03   -1.5627    
  14  norm           .0000        11.505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.471        21.107        .26756E-03   -1.5635    
  16  Prefactor     .69167E-07    23.083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.2219        5.3862        .40202E-03   -1.5658    
  18  Prefactor      .0000        5.1798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3598        3.7180        .55235E-03   -1.5671    
  20  Normalizat    1.0646        .20143        .65695E-01   -.90896    
  21  Prefactor     1.0626        .19443        .67377E-01   -.90671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1212e-06
Minuit parameter uncertainties:
  1  5.37044
  2  10.7004
  3  55.3991
  4  4.31886
  5  0.000782905
  6  1.05319e-05
  7  12.8122
  8  17.3485
  9  25.4222
  10  4.75669e-05
  11  0.000204495
  12  12.7656
  13  66.6646
  14  3.5144e-05
  15  21.107
  16  0.00252762
  17  5.38624
  18  1.93399e-05
  19  3.71805
  20  0.201578
  21  0.194559
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.917e-08  2.528e-03  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:  1.063e+00  1.946e-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.065e+00  2.016e-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: 7.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/110560/likelihoodResults_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.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) = 7038.52351809
delta logL = 0.723532638375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7038.51369826
delta logL = 0.733352471876

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7038.514     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      453 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51963        8.0538        .76760E-03    .38030E-01
   2  Index         4.8621        2.9645        .11313        .14939E-03
   3  Normalizat    .96772        .48423E-01    .68450E-01    .18972E-04
   4  Prefactor     1.1273        .49844E-01    .65675E-01    .67673E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.519629
  Index      = 4.86209
  Normalizat = 0.96772
  Prefactor  = 1.12729
 **********
 **   18 **HESSE 
 **********

 FCN=   7038.514     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      486 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51963        20.206        .51934E-05   -1.5694    
   2  Index         4.8621        7.3188        .58089E-02   -.27585E-01
   3  Normalizat    .96772        .19437        .30281E-03   -.94120    
   4  Prefactor     1.1273        .19594        .29050E-03   -.88599    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.4568e-07
Minuit parameter uncertainties:
  1  6.48057
  2  6.20994
  3  0.194516
  4  0.19607
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110560': 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): 102
logL (Free Index) = 7038.51369822
delta logL = 0.733352507336

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  5.196e-01  6.481e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  4.862e+00  6.210e+00  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:  1.127e+00  1.961e-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:  9.677e-01  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.61
Ra Dec: 203.323 27.422
Photon Index (Free Index): 4.86 +/- 6.21
Photon Flux (Free Index): 8.16e-08 +/- 7.13e-08
Energy Flux (Free Index): 1.10e-05 +/- 1.14e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/110560/cmap_HighResolution_696038401_696297601_4FGL_J1333.2+2725_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.99e-03', comment='SUCCESS', energy_flux2='1.10e-05', dlogl='7.33e-01', photon_flux2='8.16e-08', job_status='DONE', time_completed='2023-01-25 01:13:50.148625', photon_index_error2='6.21', photon_index2='4.86', ts='-0.00', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='7.80e-08', energy_flux_error2='1.14e-05', EG='1.06', time_epoch_completed='1674638030.15', return_code='0', job_id='110560', GAL2='1.13', EG2='0.97', return_code2='102', photon_flux_error2='7.13e-08', ts2='1.61', photon_index='2.32' WHERE bin_id='1762' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:13:50 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 110560: <4FGL_J1333.2+2725_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1762> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Jan 25 01:00:27 2023
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:00:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:00:51 2023
Terminated at Wed Jan 25 01:13:50 2023
Results reported at Wed Jan 25 01:13:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1762 203.323 27.4221 696038401 696297601 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 :                                   624.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            803 sec.

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

