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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1750
RA = 203.323, Dec = 27.4221
tmin = 692928001, tmax = 693187201
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='14796', job_status='RUN', time_executed='2022-12-20 01:02:32.489634', time_epoch_executed='1671526952.49' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/14796

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/14796/ft1_4FGL_J1333.2+2725_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/14796/ft2_4FGL_J1333.2+2725_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/14796/ft1_4FGL_J1333.2+2725_daily_bin1750.fits outfile=/scratch/kocevski/14796/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1750.fits ra=203.323 dec=27.4221 rad=12.0 tmin=692928001.0 tmax=693187201.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.44
user 3.23
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/14796/ft1_filtered_4FGL_J1333.2+2725_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/14796/ft2_4FGL_J1333.2+2725_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/14796/ltcube_692928001_693187201_4FGL_J1333.2+2725_daily_bin1750.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/14796/ft2_4FGL_J1333.2+2725_daily_bin1750.fits
.....................!
real 11.45
user 11.07
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/14796/ft1_filtered_4FGL_J1333.2+2725_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/14796/ft2_4FGL_J1333.2+2725_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/14796/ltcube_692928001_693187201_4FGL_J1333.2+2725_daily_bin1750.fits outfile=/scratch/kocevski/14796/expmap_692928001_693187201_4FGL_J1333.2+2725_daily_bin1750.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/14796/ltcube_692928001_693187201_4FGL_J1333.2+2725_daily_bin1750.fits
.....................!
real 190.43
user 185.28
sys 4.81

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/14796/ft1_filtered_4FGL_J1333.2+2725_daily_bin1750.fits scfile=/scratch/kocevski/14796/ft2_4FGL_J1333.2+2725_daily_bin1750.fits outfile=/scratch/kocevski/14796/cmap_692928001_693187201_4FGL_J1333.2+2725_daily_bin1750.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/14796/ft1_filtered_4FGL_J1333.2+2725_daily_bin1750.fits scfile=/scratch/kocevski/14796/ft2_4FGL_J1333.2+2725_daily_bin1750.fits outfile=/scratch/kocevski/14796/cmap_HighResolution_692928001_693187201_4FGL_J1333.2+2725_daily_bin1750.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14622E-02   1.0000          .0000       .10000E+07
     2 'norm      '    1.0424       1.0000          .0000       .10000E+07
     3 'Prefactor '    .97822E-01   1.0000          .0000       .10000E+07
     4 'norm      '    5.7722       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24614E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .59915E-03   1.0000          .0000       .10000E+07
     7 'norm      '    24.225       1.0000          .0000       .10000E+07
     8 'norm      '    8.9937       1.0000          .0000       .10000E+07
     9 'norm      '    31.936       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32152E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .20335E-03   1.0000          .0000       .10000E+07
    12 'norm      '    23.989       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34181E-02   1.0000          .0000       .10000E+07
    14 'norm      '    4.0416       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12163E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.0657       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.2101       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.682       1.0000          .0000       .10000E+07
    19 'Prefactor '    29.628       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1662       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80534       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=   6535.953     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     1598 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    3.7111       -.58168E-07** at limit **
   2  norm          1.0453        3.7096       -.67795E-07   -.10866E-03
   3  Prefactor     .82191E-05    32.264        .58208E-07** at limit **
   4  norm          5.7700        3.7338        .21290E-07    .49575E-04
   5  Prefactor     .47717E-06    9.6503        .49668E-06** at limit **
   6  norm           .0000        2.7591        .86929E-07** at limit **
   7  norm          24.248        4.7213        .73398E-07    .12998E-01
   8  norm          9.0203        3.1138        .71651E-07   -.85828E-02
   9  norm          31.911        1.0519        .27233E-08    .20391E-02
  10  Prefactor      .0000        1.9253       -.24653E-06** at limit **
  11  Prefactor     .15256E-05    9.3838        .69024E-06** at limit **
  12  norm          23.964        4.8520        .75443E-08    .29942E-01
  13  Prefactor     .34750E-06    15.574        .71156E-06** at limit **
  14  norm          4.0550        4.0973        .18323E-07    .97623E-02
  15  Prefactor     .22149E-07    6.7162        .73267E-07** at limit **
  16  Prefactor     2.0683        1.0597       -.20779E-09    .10227E-02
  17  Prefactor     2.2110        3.4733       -.47550E-07    .30865E-03
  18  Prefactor     22.701        1.2095        .11789E-07   -.23330E-03
  19  Prefactor     29.619        4.8326        .68839E-08   -.30535E-01
  20  Normalizat    1.1661        .20151        .70570E-05    .22287E-04
  21  Prefactor     .80535        .20663       -.10048E-04   -.48076E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 1.04533
  Prefactor  = 8.21915e-06
  norm       = 5.77
  Prefactor  = 4.77174e-07
  norm       = 0
  norm       = 24.248
  norm       = 9.02029
  norm       = 31.9105
  Prefactor  = 0
  Prefactor  = 1.52561e-06
  norm       = 23.9642
  Prefactor  = 3.475e-07
  norm       = 4.05498
  Prefactor  = 2.21489e-08
  Prefactor  = 2.06832
  Prefactor  = 2.21102
  Prefactor  = 22.7007
  Prefactor  = 29.6191
  Normalizat = 1.16611
  Prefactor  = 0.805354
 **********
 **   18 **HESSE 
 **********

 FCN=   6535.953     FROM HESSE     STATUS=OK           365 CALLS     1963 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    3.7017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0453        3.7711        .12233E-02   -1.5688    
   3  Prefactor     .82191E-05    59.040        .13988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.7700        3.7464        .41781E-03   -1.5660    
   5  Prefactor     .47717E-06    11.162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        2.7544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          24.248        7.4299        .20322E-03   -1.5609    
   8  norm          9.0203        11.180        .33397E-03   -1.5648    
   9  norm          31.911        18.561        .17698E-03   -1.5595    
  10  Prefactor      .0000        1.9161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .15256E-05    14.150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          23.964        10.613        .20422E-03   -1.5610    
  13  Prefactor     .34750E-06    16.667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0550        11.688        .50133E-03   -1.5668    
  15  Prefactor     .22149E-07    6.7910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.0683        15.402        .71858E-03   -1.5679    
  17  Prefactor     2.2110        3.5000        .69164E-03   -1.5678    
  18  Prefactor     22.701        14.454        .21003E-03   -1.5613    
  19  Prefactor     29.619        7.6510        .18375E-03   -1.5599    
  20  Normalizat    1.1661        .17259        .53388E-01   -.87657    
  21  Prefactor     .80535        .17673        .66998E-01   -.99531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11782e-07
Minuit parameter uncertainties:
  1  2.98345e-05
  2  3.7711
  3  0.0440577
  4  3.74639
  5  0.00461576
  6  1.45895e-05
  7  7.42986
  8  11.1799
  9  18.5612
  10  1.08982e-05
  11  0.00929252
  12  10.6131
  13  0.00481322
  14  11.6876
  15  0.000775628
  16  11.2882
  17  3.49996
  18  14.4543
  19  7.65098
  20  0.172674
  21  0.176854
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  2.068e+00  1.129e+01  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:  8.054e-01  1.769e-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.166e+00  1.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/14796/likelihoodResults_692928001_693187201_4FGL_J1333.2+2725_daily_bin1750.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) = 6535.94973791
delta logL = 0.00287741685042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6535.94963642
delta logL = 0.00297890282127

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9354       1.0000          .0000       .10000E+07
     2 'Index     '    2.4895       1.0000          .0000       10.000    
     3 'Normalizat'    1.1652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80575       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6535.950     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      281 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9340        15.625        .29846E-04   -.27057E-02
   2  Index         2.4908        2.2933        .11181E-01   -.25483E-04
   3  Normalizat    1.1654        .19345        .23613E-03   -.61071E-03
   4  Prefactor     .80573        .20585        .29633E-03   -.41786E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.93404
  Index      = 2.49084
  Normalizat = 1.16536
  Prefactor  = 0.805735
 **********
 **   18 **HESSE 
 **********

 FCN=   6535.950     FROM HESSE     STATUS=OK            23 CALLS      304 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9340        14.407        .11938E-05   -1.5680    
   2  Index         2.4908        2.2119        .44722E-03   -.52571    
   3  Normalizat    1.1654        .19361        .47225E-04   -.87680    
   4  Prefactor     .80573        .20599        .59267E-04   -.99517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.43274e-10
Minuit parameter uncertainties:
  1  10.5573
  2  2.32179
  3  0.193725
  4  0.206191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/14796': 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) = 6535.94963504
delta logL = 0.00298028661382

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.934e+00  1.056e+01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.491e+00  2.322e+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:  8.057e-01  2.062e-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.165e+00  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 203.323 27.422

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/14796/cmap_HighResolution_692928001_693187201_4FGL_J1333.2+2725_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.25e-03', job_status='DONE', photon_flux_upper_limit='5.53e-08', time_completed='2022-12-20 01:11:44.306192', job_id='14796', GAL2='0.81', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1671527504.31', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.98e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1750' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:11:44 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 14796: <4FGL_J1333.2+2725_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1750> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 20 01:00:15 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:00:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:00:16 2022
Terminated at Tue Dec 20 01:11:44 2022
Results reported at Tue Dec 20 01:11:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1750 203.323 27.4221 692928001 693187201 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 :                                   554.00 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             279.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            689 sec.

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

