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 66 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7465
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1776
RA = 203.323, Dec = 27.4221
tmin = 699667201, tmax = 699926401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='833876', job_status='RUN', time_executed='2023-03-08 00:41:38.786130', time_epoch_executed='1678264898.79' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833876

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833876/ft1_4FGL_J1333.2+2725_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833876/ft2_4FGL_J1333.2+2725_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833876/ft1_4FGL_J1333.2+2725_daily_bin1776.fits outfile=/scratch/kocevski/833876/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1776.fits ra=203.323 dec=27.4221 rad=12.0 tmin=699667201.0 tmax=699926401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.91
user 3.69
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833876/ft2_4FGL_J1333.2+2725_daily_bin1776.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/833876/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/833876/ft1_filtered_4FGL_J1333.2+2725_daily_bin1776.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 536

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833876/ft1_filtered_4FGL_J1333.2+2725_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/833876/ft2_4FGL_J1333.2+2725_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/833876/ltcube_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/833876/ft2_4FGL_J1333.2+2725_daily_bin1776.fits
.....................!
real 12.19
user 11.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833876/ft1_filtered_4FGL_J1333.2+2725_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/833876/ft2_4FGL_J1333.2+2725_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/833876/ltcube_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.fits outfile=/scratch/kocevski/833876/expmap_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/833876/ltcube_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.fits
.....................!
real 192.09
user 186.45
sys 5.29

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/833876/ft1_filtered_4FGL_J1333.2+2725_daily_bin1776.fits scfile=/scratch/kocevski/833876/ft2_4FGL_J1333.2+2725_daily_bin1776.fits outfile=/scratch/kocevski/833876/cmap_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=203.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833876/ft1_filtered_4FGL_J1333.2+2725_daily_bin1776.fits scfile=/scratch/kocevski/833876/ft2_4FGL_J1333.2+2725_daily_bin1776.fits outfile=/scratch/kocevski/833876/cmap_HighResolution_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=203.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/833876/ft1_filtered_4FGL_J1333.2+2725_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/833876/ft2_4FGL_J1333.2+2725_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833876/Model_4FGL_J1333.2+2725_daily_bin1776.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/833876/ft1_filtered_4FGL_J1333.2+2725_daily_bin1776.fits.....................!
real 49.56
user 48.25
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/833876/ft1_filtered_4FGL_J1333.2+2725_daily_bin1776.fits', '/scratch/kocevski/833876/ft2_4FGL_J1333.2+2725_daily_bin1776.fits', expMap='/scratch/kocevski/833876/expmap_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.fits', expCube='/scratch/kocevski/833876/ltcube_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/833876/Model_4FGL_J1333.2+2725_daily_bin1776.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/833876/ft1_filtered_4FGL_J1333.2+2725_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/833876/ft2_4FGL_J1333.2+2725_daily_bin1776.fits
Exposure map: /scratch/kocevski/833876/expmap_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.fits
Exposure cube: /scratch/kocevski/833876/ltcube_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/833876/Model_4FGL_J1333.2+2725_daily_bin1776.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30310E-03   1.0000          .0000       .10000E+07
     2 'norm      '    2.2137       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.645       1.0000          .0000       .10000E+07
     4 'norm      '    3.5171       1.0000          .0000       .10000E+07
     5 'Prefactor '    .60094E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .86740E-03   1.0000          .0000       .10000E+07
     7 'norm      '    13.575       1.0000          .0000       .10000E+07
     8 'norm      '    5.4100       1.0000          .0000       .10000E+07
     9 'norm      '    .45005       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27162E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89519E-03   1.0000          .0000       .10000E+07
    12 'norm      '    10.525       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1068       1.0000          .0000       .10000E+07
    14 'norm      '    .68127E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    30.506       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13227E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .71512E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    15.644       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.658       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2473       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .70357       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=   5953.335     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1627 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    2.4679       -.37491E-07** at limit **
   2  norm          2.2537        4.6618       -.11524E-06   -.42274E-03
   3  Prefactor     25.450        5.6827        .30551E-07   -.11033    
   4  norm          3.5243        3.1886        .17899E-07    .11136E-02
   5  Prefactor     .13101E-07    7.2091       -.52305E-07** at limit **
   6  norm          .55511E-10    3.2229       -.57289E-07** at limit **
   7  norm          13.578        6.4818       -.18434E-07   -.16231E-01
   8  norm          5.4075        9.3123        .78768E-08    .13531E-01
   9  norm          .16681E-03    181.92        .13799E-05** at limit **
  10  Prefactor     .55511E-10    1.3827        .48903E-07** at limit **
  11  Prefactor     .64282E-07    8.8504       -.15575E-06** at limit **
  12  norm          10.572        7.1024       -.78762E-07   -.40364E-02
  13  Prefactor     .33833E-03    380.74        .18925E-05** at limit **
  14  norm          .84138E-06    11.148        .83457E-09** at limit **
  15  Prefactor     30.673        10.303       -.34948E-07    .78622E-01
  16  Prefactor     .86842E-06    9.6171       -.13594E-06** at limit **
  17  Prefactor      .0000        1.4016        .57442E-09** at limit **
  18  Prefactor     15.606        1.3749        .14197E-08    .74470E-02
  19  Prefactor     15.656        5.8199       -.22231E-08   -.11844E-03
  20  Normalizat    1.2475        .20887       -.16236E-05   -.27318E-03
  21  Prefactor     .70366        .20893        .18278E-05   -.10449E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 2.25369
  Prefactor  = 25.4501
  norm       = 3.52434
  Prefactor  = 1.31006e-08
  norm       = 5.55112e-11
  norm       = 13.5776
  norm       = 5.40752
  norm       = 0.000166814
  Prefactor  = 5.55112e-11
  Prefactor  = 6.42819e-08
  norm       = 10.5718
  Prefactor  = 0.000338332
  norm       = 8.41383e-07
  Prefactor  = 30.673
  Prefactor  = 8.68416e-07
  Prefactor  = 0
  Prefactor  = 15.6064
  Prefactor  = 15.6555
  Normalizat = 1.2475
  Prefactor  = 0.703658
 **********
 **   18 **HESSE 
 **********

 FCN=   5953.335     FROM HESSE     STATUS=OK           375 CALLS     2002 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    2.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.2537        5.0878        .69101E-03   -1.5678    
   3  Prefactor     25.450        26.138        .19751E-03   -1.5607    
   4  norm          3.5243        3.2038        .53881E-03   -1.5670    
   5  Prefactor     .13101E-07    7.2537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    3.2046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.578        6.4862        .27160E-03   -1.5634    
   8  norm          5.4075        9.2479        .43180E-03   -1.5661    
   9  norm          .16681E-03    20.611        .11098E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    1.3825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64282E-07    8.9445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.572        7.2434        .30859E-03   -1.5643    
  13  Prefactor     .33833E-03    52.174        .16210E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .84138E-06    12.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     30.673        20.092        .18108E-03   -1.5597    
  16  Prefactor     .86842E-06    11.307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.3982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.606        14.260        .25296E-03   -1.5629    
  19  Prefactor     15.656        5.8420        .25285E-03   -1.5629    
  20  Normalizat    1.2475        .17907        .50288E-01   -.85147    
  21  Prefactor     .70366        .17608        .66611E-01   -1.0338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.2628e-07
Minuit parameter uncertainties:
  1  1.98672e-05
  2  5.08778
  3  26.1383
  4  3.20376
  5  0.00061615
  6  3.13463e-05
  7  6.48619
  8  9.24792
  9  0.117274
  10  1.46001e-05
  11  0.00151626
  12  7.24343
  13  0.265726
  14  0.00660212
  15  20.0925
  16  0.00626721
  17  3.75659e-08
  18  14.2598
  19  5.842
  20  0.179157
  21  0.176217
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  8.684e-07  6.267e-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:  7.037e-01  1.762e-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.248e+00  1.792e-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: 6.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833876/likelihoodResults_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.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) = 5953.33503588
delta logL = -0.000108388499029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5953.3349307
delta logL = -3.20508570439e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49190E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.9705       1.0000          .0000       10.000    
     3 'Normalizat'    1.2478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70341       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=   5953.090     FROM MIGRAD    STATUS=CONVERGED    224 CALLS      426 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36806E-05    .62945E-05    .42118E-05** at limit **
   2  Index        10.0000        6.1636        .50000    ** at limit **
   3  Normalizat    1.2144        .17444        .50858E-01    .74752E-04
   4  Prefactor     .72731        .17664        .65648E-01   -.84954E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.68056e-06
  Index      = 10
  Normalizat = 1.21442
  Prefactor  = 0.727306
 **********
 **   18 **HESSE 
 **********

 FCN=   5953.090     FROM HESSE     STATUS=OK            35 CALLS      461 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36806E-05    .59375E-05    .74902E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        2.2660        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2144        .21145        .22486E-03   -.86158    
   4  Prefactor     .72731        .21281        .29044E-03   -1.0247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40045e-05
Minuit parameter uncertainties:
  1  5.93747e-06
  2  1.95997e-05
  3  0.211601
  4  0.213048
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833876': 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) = 5953.0903905
delta logL = 0.244536997314

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  3.681e-06  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.000e+01  1.960e-05  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:  7.273e-01  2.130e-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.214e+00  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.323 27.422

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/833876/cmap_HighResolution_699667201_699926401_4FGL_J1333.2+2725_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.54e-08', time_completed='2023-03-08 00:50:41.685095', job_id='833876', GAL2='0.73', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1678265441.69', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='2.45e-01', ts2='0.51', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1776' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:50:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 833876: <4FGL_J1333.2+2725_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1776> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Mar  8 00:40:22 2023
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:40:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:40:23 2023
Terminated at Wed Mar  8 00:50:42 2023
Results reported at Wed Mar  8 00:50:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1776 203.323 27.4221 699667201 699926401 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 :                                   545.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            620 sec.

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

