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


Performing analysis on: 4FGL_J1321.1+2216_daily_bin1714
RA = 200.296, Dec = 22.2808
tmin = 683596801, tmax = 683856001
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='131491', job_status='RUN', time_executed='2022-09-16 17:31:35.949806', time_epoch_executed='1663374695.95' WHERE source_name='4FGL J1321.1+2216' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/131491

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/131491/ft1_4FGL_J1321.1+2216_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/131491/ft2_4FGL_J1321.1+2216_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/131491/ft1_4FGL_J1321.1+2216_daily_bin1714.fits outfile=/scratch/kocevski/131491/ft1_filteredMKT_4FGL_J1321.1+2216_daily_bin1714.fits ra=200.296 dec=22.2808 rad=12.0 tmin=683596801.0 tmax=683856001.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.50
user 3.25
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/131491/ft2_4FGL_J1321.1+2216_daily_bin1714.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/131491/ft1_filteredMKT_4FGL_J1321.1+2216_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/131491/ft1_filtered_4FGL_J1321.1+2216_daily_bin1714.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 541

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/131491/ft1_filtered_4FGL_J1321.1+2216_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/131491/ft2_4FGL_J1321.1+2216_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/131491/ltcube_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.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/131491/ft2_4FGL_J1321.1+2216_daily_bin1714.fits
.....................!
real 12.65
user 12.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/131491/ft1_filtered_4FGL_J1321.1+2216_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/131491/ft2_4FGL_J1321.1+2216_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/131491/ltcube_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.fits outfile=/scratch/kocevski/131491/expmap_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.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/131491/ltcube_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.fits
.....................!
real 190.87
user 185.80
sys 4.63

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/131491/ft1_filtered_4FGL_J1321.1+2216_daily_bin1714.fits scfile=/scratch/kocevski/131491/ft2_4FGL_J1321.1+2216_daily_bin1714.fits outfile=/scratch/kocevski/131491/cmap_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/131491/ft1_filtered_4FGL_J1321.1+2216_daily_bin1714.fits scfile=/scratch/kocevski/131491/ft2_4FGL_J1321.1+2216_daily_bin1714.fits outfile=/scratch/kocevski/131491/cmap_HighResolution_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.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.57
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/131491/ft1_filtered_4FGL_J1321.1+2216_daily_bin1714.fits', '/scratch/kocevski/131491/ft2_4FGL_J1321.1+2216_daily_bin1714.fits', expMap='/scratch/kocevski/131491/expmap_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.fits', expCube='/scratch/kocevski/131491/ltcube_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/131491/Model_4FGL_J1321.1+2216_daily_bin1714.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/131491/ft1_filtered_4FGL_J1321.1+2216_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/131491/ft2_4FGL_J1321.1+2216_daily_bin1714.fits
Exposure map: /scratch/kocevski/131491/expmap_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.fits
Exposure cube: /scratch/kocevski/131491/ltcube_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/131491/Model_4FGL_J1321.1+2216_daily_bin1714.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5973.63451935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94507       1.0000          .0000       .10000E+07
     2 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .47178E-05   1.0000          .0000       .10000E+07
     4 'norm      '    1.6888       1.0000          .0000       .10000E+07
     5 'norm      '    19.486       1.0000          .0000       .10000E+07
     6 'norm      '    7.8322       1.0000          .0000       .10000E+07
     7 'norm      '    .17819E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.0893       1.0000          .0000       .10000E+07
     9 'norm      '    1.6624       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.049       1.0000          .0000       .10000E+07
    11 'norm      '    .13156E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9773       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20686E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12635E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.5884       1.0000          .0000       .10000E+07
    16 'Prefactor '    .23570       1.0000          .0000       .10000E+07
    17 'Prefactor '    .66835E-07   1.0000          .0000       .10000E+07
    18 'Normalizat'    .96429       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1775       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=   5973.474     FROM MIGRAD    STATUS=CONVERGED    104 CALLS     1119 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .95956        .51639        .30393E-07   -.29841E-01
   2  norm           .0000        4.5379        .30810E-06** at limit **
   3  Prefactor     .27756E-09    13.637       -.11979E-06** at limit **
   4  norm          1.6880        2.2571       -.88921E-07   -.11689E-03
   5  norm          19.434        4.4925        .54796E-07    .67537E-03
   6  norm          7.9231        2.5794        .47665E-07   -.19386E-02
   7  norm          .67724E-08    8.8128       -.86983E-06** at limit **
   8  Prefactor     4.0444        1.1577        .13884E-07    .75701E-02
   9  norm          1.6624        4.0664        .12314E-05    .14782E-02
  10  Prefactor     11.980        1.2727       -.31889E-07    .34261E-01
  11  norm           .0000        3.0346       -.14279E-06** at limit **
  12  Prefactor     2.0973        1.3712        .89717E-07   -.68360E-02
  13  Prefactor     .11657E-08    7.9584        .48478E-06** at limit **
  14  Prefactor     .78743E-06    53.138       -.11351E-05** at limit **
  15  Prefactor     1.5868        3.6540       -.12279E-06   -.20887E-03
  16  Prefactor     .14485E-02    7.1213       -.56173E-06** at limit **
  17  Prefactor      .0000        3.5274        .10575E-06** at limit **
  18  Normalizat    .96399        .21102       -.95023E-06    .71639E-04
  19  Prefactor     1.1781        .20993       -.11077E-05    .85378E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.95956
  norm       = 0
  Prefactor  = 2.77556e-10
  norm       = 1.688
  norm       = 19.4345
  norm       = 7.92312
  norm       = 6.77236e-09
  Prefactor  = 4.04438
  norm       = 1.66238
  Prefactor  = 11.9804
  norm       = 0
  Prefactor  = 2.09726
  Prefactor  = 1.16573e-09
  Prefactor  = 7.87426e-07
  Prefactor  = 1.58683
  Prefactor  = 0.00144852
  Prefactor  = 0
  Normalizat = 0.963988
  Prefactor  = 1.17808
 **********
 **   18 **HESSE 
 **********

 FCN=   5973.474     FROM HESSE     STATUS=OK           310 CALLS     1429 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .95956        16.354        .42693E-03   -1.5688    
   2  norm           .0000        4.5295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    13.660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.6880        2.2814        .80983E-03   -1.5682    
   5  norm          19.434        9.3288        .22661E-03   -1.5620    
   6  norm          7.9231        15.504        .35806E-03   -1.5652    
   7  norm          .67724E-08    8.8392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.0444        12.148        .49831E-03   -1.5668    
   9  norm          1.6624        4.1094        .81780E-03   -1.5682    
  10  Prefactor     11.980        42.468        .28833E-03   -1.5639    
  11  norm           .0000        3.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.0973        30.471        .73690E-03   -1.5679    
  13  Prefactor     .11657E-08    7.9817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .78743E-06    53.951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.5868        3.6924        .84179E-03   -1.5683    
  16  Prefactor     .14485E-02    7.1696        .11172E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        3.5302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .96399        .18344        .45718E-01   -.94247    
  19  Prefactor     1.1781        .17943        .53741E-01   -.87009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75937e-07
Minuit parameter uncertainties:
  1  7.9229
  2  8.66086e-06
  3  0.000126823
  4  2.28137
  5  9.32883
  6  15.5036
  7  0.000488369
  8  12.1484
  9  4.10939
  10  42.4691
  11  1.00584e-05
  12  15.9882
  13  0.00019347
  14  0.0130358
  15  3.69241
  16  0.203816
  17  7.17536e-06
  18  0.18356
  19  0.179525
Done.

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

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  1.662e+00  4.109e+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:  1.178e+00  1.795e-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:  9.640e-01  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/131491/likelihoodResults_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.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) = 5973.40884468
delta logL = 0.0652858812609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5973.40834378
delta logL = 0.0657867843393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5844       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7752       1.0000          .0000       5.0000    
     3 'Normalizat'    .95751       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1812       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5973.408     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      252 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5844        3.8892        .92199E-04   -.58659E-02
   2  alpha         2.7753        1.4034        .30706E-01    .86991E-05
   3  Normalizat    .95748        .20728        .25730E-03    .44184E-07
   4  Prefactor     1.1812        .20931        .23732E-03    .17246E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58438
  alpha      = 2.77528
  Normalizat = 0.957484
  Prefactor  = 1.18124
 **********
 **   18 **HESSE 
 **********

 FCN=   5973.408     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5844        3.5266        .36880E-05   -1.5683    
   2  alpha         2.7753        1.2872        .12283E-02    .11033    
   3  Normalizat    .95748        .20752        .10292E-04   -.94469    
   4  Prefactor     1.1812        .20949        .47464E-04   -.86910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28404e-10
Minuit parameter uncertainties:
  1  3.52659
  2  1.35306
  3  0.207698
  4  0.209639
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/131491': 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) = 5973.40834376
delta logL = 0.0657867984537

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  1.584e+00  3.527e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.775e+00  1.353e+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:  1.181e+00  2.096e-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:  9.575e-01  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
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/131491/cmap_HighResolution_683596801_683856001_4FGL_J1321.1+2216_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-05', job_status='DONE', photon_flux_upper_limit='6.93e-08', time_completed='2022-09-16 17:39:52.618542', job_id='131491', GAL2='1.18', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1663375192.62', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='6.58e-02', ts2='0.36', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1714' AND source_name='4FGL J1321.1+2216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:39:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 131491: <4FGL_J1321.1+2216_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1321.1+2216_daily_bin1714> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 17:25:28 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:31:02 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:31:02 2022
Terminated at Fri Sep 16 17:39:53 2022
Results reported at Fri Sep 16 17:39:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1321.1+2216_daily_bin1714 200.296 22.2808 683596801 683856001 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 :                                   499.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   530 sec.
    Turnaround time :                            865 sec.

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

