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


Performing analysis on: 4FGL_J1321.1+2216_daily_bin1711
RA = 200.296, Dec = 22.2808
tmin = 682819201, tmax = 683078401
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='131487', job_status='RUN', time_executed='2022-09-16 17:32:44.579148', time_epoch_executed='1663374764.58' WHERE source_name='4FGL J1321.1+2216' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/131487

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/131487/ft1_4FGL_J1321.1+2216_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/131487/ft2_4FGL_J1321.1+2216_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/131487/ft1_4FGL_J1321.1+2216_daily_bin1711.fits outfile=/scratch/kocevski/131487/ft1_filteredMKT_4FGL_J1321.1+2216_daily_bin1711.fits ra=200.296 dec=22.2808 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.55
user 4.30
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/131487/ft2_4FGL_J1321.1+2216_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/131487/ft2_4FGL_J1321.1+2216_daily_bin1711.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/131487/ft1_filteredMKT_4FGL_J1321.1+2216_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/131487/ft1_filtered_4FGL_J1321.1+2216_daily_bin1711.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.96
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 484

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/131487/ft1_filtered_4FGL_J1321.1+2216_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/131487/ft2_4FGL_J1321.1+2216_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/131487/ltcube_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.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/131487/ft2_4FGL_J1321.1+2216_daily_bin1711.fits
.....................!
real 14.33
user 13.89
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/131487/ft1_filtered_4FGL_J1321.1+2216_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/131487/ft2_4FGL_J1321.1+2216_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/131487/ltcube_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.fits outfile=/scratch/kocevski/131487/expmap_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.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/131487/ltcube_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.fits
.....................!
real 191.57
user 186.04
sys 5.09

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

Setting source of interest to:
4FGL J1321.1+2216 @ 200.296 22.2808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/131487/ft1_filtered_4FGL_J1321.1+2216_daily_bin1711.fits scfile=/scratch/kocevski/131487/ft2_4FGL_J1321.1+2216_daily_bin1711.fits outfile=/scratch/kocevski/131487/cmap_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.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=200.296 yref=22.2808 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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/131487/ft1_filtered_4FGL_J1321.1+2216_daily_bin1711.fits scfile=/scratch/kocevski/131487/ft2_4FGL_J1321.1+2216_daily_bin1711.fits outfile=/scratch/kocevski/131487/cmap_HighResolution_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.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=200.296 yref=22.2808 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.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/131487/ft1_filtered_4FGL_J1321.1+2216_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/131487/ft2_4FGL_J1321.1+2216_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/131487/Model_4FGL_J1321.1+2216_daily_bin1711.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/131487/ft1_filtered_4FGL_J1321.1+2216_daily_bin1711.fits.....................!
real 47.36
user 46.00
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/131487/ft1_filtered_4FGL_J1321.1+2216_daily_bin1711.fits', '/scratch/kocevski/131487/ft2_4FGL_J1321.1+2216_daily_bin1711.fits', expMap='/scratch/kocevski/131487/expmap_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.fits', expCube='/scratch/kocevski/131487/ltcube_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/131487/Model_4FGL_J1321.1+2216_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1321.1+2216'

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  7.564e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/131487/ft1_filtered_4FGL_J1321.1+2216_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/131487/ft2_4FGL_J1321.1+2216_daily_bin1711.fits
Exposure map: /scratch/kocevski/131487/expmap_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.fits
Exposure cube: /scratch/kocevski/131487/ltcube_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/131487/Model_4FGL_J1321.1+2216_daily_bin1711.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) = 5568.54378917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27378E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .16745E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.100       1.0000          .0000       .10000E+07
     4 'norm      '    .12085       1.0000          .0000       .10000E+07
     5 'norm      '    16.302       1.0000          .0000       .10000E+07
     6 'norm      '    .28265E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .18940E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .96093E-04   1.0000          .0000       .10000E+07
     9 'norm      '    2.5648       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10844E-01   1.0000          .0000       .10000E+07
    11 'norm      '    3.3617       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.3850       1.0000          .0000       .10000E+07
    13 'Prefactor '    .37775E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.0997       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.0244       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.377       1.0000          .0000       .10000E+07
    17 'Prefactor '    .48353E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.3765       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .76656       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5568.523     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1461 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61062E-09    6.4384       -.89086E-07** at limit **
   2  norm          .55511E-10    5.7128        .95335E-07** at limit **
   3  Prefactor     12.108        4.2255       -.18430E-08   -.19416E-01
   4  norm          .14578        12.591        .20021E-06** at limit **
   5  norm          16.307        6.1070       -.58359E-07   -.29372E-03
   6  norm          .55511E-10    4.0892        .10306E-06** at limit **
   7  norm          .11102E-09    6.7841       -.17015E-06** at limit **
   8  Prefactor     .48295E-07    58.271        .21755E-07** at limit **
   9  norm          2.5573        3.8129        .27763E-07    .50288E-03
  10  Prefactor     .23870E-08    21.405        .25422E-06** at limit **
  11  norm          3.4259        7.4795       -.14023E-06   -.69339E-03
  12  Prefactor     2.4248        7.0507       -.41239E-07   -.31414E-01
  13  Prefactor     .52480E-05    135.24       -.12614E-07** at limit **
  14  Prefactor     3.5495        143.49       -.41016E-06    .74306E-02
  15  Prefactor     5.9760        5.6050        .33432E-07    .24963E-02
  16  Prefactor     14.354        5.3496        .16666E-07    .54300E-01
  17  Prefactor     .13878E-08    8.8182        .24663E-07** at limit **
  18  Normalizat    1.3767        .23932        .92459E-06    .13532E-03
  19  Prefactor     .76653        .21782        .99008E-06    .11610E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.10623e-10
  norm       = 5.55112e-11
  Prefactor  = 12.1077
  norm       = 0.145778
  norm       = 16.307
  norm       = 5.55112e-11
  norm       = 1.11022e-10
  Prefactor  = 4.82947e-08
  norm       = 2.55731
  Prefactor  = 2.38698e-09
  norm       = 3.42595
  Prefactor  = 2.42479
  Prefactor  = 5.24802e-06
  Prefactor  = 3.54947
  Prefactor  = 5.97599
  Prefactor  = 14.3536
  Prefactor  = 1.38778e-09
  Normalizat = 1.37666
  Prefactor  = 0.766529
 **********
 **   18 **HESSE 
 **********

 FCN=   5568.523     FROM HESSE     STATUS=OK           318 CALLS     1779 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61062E-09    6.4265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-10    5.6970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.108        17.443        .28773E-03   -1.5638    
   4  norm          .14578        1.9918        .57702E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          16.307        6.1071        .24779E-03   -1.5627    
   6  norm          .55511E-10    4.0671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .11102E-09    6.7906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .48295E-07    58.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.5573        3.8461        .63715E-03   -1.5676    
  10  Prefactor     .23870E-08    21.439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.4259        7.5445        .55168E-03   -1.5671    
  12  Prefactor     2.4248        58.995        .66297E-03   -1.5677    
  13  Prefactor     .52480E-05    21.120        .16066E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.5495        156.89        .49765E-03   -1.5670    
  15  Prefactor     5.9760        5.6451        .40884E-03   -1.5659    
  16  Prefactor     14.354        21.038        .26390E-03   -1.5632    
  17  Prefactor     .13878E-08    8.7921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3767        .20557        .53281E-01   -.81306    
  19  Prefactor     .76653        .18302        .64430E-01   -1.0097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58007e-07
Minuit parameter uncertainties:
  1  0.000123701
  2  3.06097e-05
  3  17.4431
  4  1.0777
  5  6.10715
  6  2.33824e-05
  7  5.42627e-05
  8  0.00335173
  9  3.84607
  10  0.000454376
  11  7.54456
  12  23.921
  13  0.0210558
  14  47.197
  15  5.64508
  16  21.0376
  17  0.000219985
  18  0.205695
  19  0.18316
Done.

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

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  2.557e+00  3.846e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  7.665e-01  1.832e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.377e+00  2.057e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.85
Ra Dec: 200.296 22.281
Photon Flux Upper Limit: 7.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/131487/likelihoodResults_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.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) = 5568.49186855
delta logL = 0.0308204542025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5568.49117627
delta logL = 0.0315127323584

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6747       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9705       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3807       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76377       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5568.491     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      204 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6747        5.4478        .62285E-03    .16315E-01
   2  alpha         1.9710        1.2972        .42383       -.11962E-04
   3  Normalizat    1.3807        .19367        .53213E-01    .17357E-05
   4  Prefactor     .76382        .18133        .64531E-01    .17297E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.67466
  alpha      = 1.97101
  Normalizat = 1.38067
  Prefactor  = 0.763823
 **********
 **   18 **HESSE 
 **********

 FCN=   5568.491     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6747        3.8934        .17344E-04   -1.5675    
   2  alpha         1.9710        1.1316        .29104E-01   -.21321    
   3  Normalizat    1.3807        .23083        .23528E-03   -.81189    
   4  Prefactor     .76382        .21587        .28547E-03   -1.0108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85886e-09
Minuit parameter uncertainties:
  1  3.89343
  2  1.17653
  3  0.231008
  4  0.216104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/131487': 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) = 5568.49117613
delta logL = 0.0315128745033

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  2.675e+00  3.893e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  1.971e+00  1.177e+00  0.000e+00  5.000e+00 ( 1.000e+00)
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  7.638e-01  2.161e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.381e+00  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.85
Ra Dec: 200.296 22.281

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/131487/cmap_HighResolution_682819201_683078401_4FGL_J1321.1+2216_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.68e-05', job_status='DONE', photon_flux_upper_limit='7.44e-08', time_completed='2022-09-16 17:41:15.272243', job_id='131487', GAL2='0.76', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1663375275.27', return_code2='0', ts='0.85', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='3.15e-02', ts2='0.91', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1711' AND source_name='4FGL J1321.1+2216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:41:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 131487: <4FGL_J1321.1+2216_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1321.1+2216_daily_bin1711> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 17:25:27 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:30:56 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:30:56 2022
Terminated at Fri Sep 16 17:41:16 2022
Results reported at Fri Sep 16 17:41:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1321.1+2216_daily_bin1711 200.296 22.2808 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1321.1+2216 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   512.38 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             307.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            949 sec.

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

