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

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

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

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

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

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


Performing analysis on: 4FGL_J1321.1+2216_daily_bin1762
RA = 200.296, Dec = 22.2808
tmin = 696038401, tmax = 696297601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='110533', job_status='RUN', time_executed='2023-01-25 01:01:11.020243', time_epoch_executed='1674637271.02' WHERE source_name='4FGL J1321.1+2216' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110533

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110533/ft1_4FGL_J1321.1+2216_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110533/ft2_4FGL_J1321.1+2216_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110533/ft1_4FGL_J1321.1+2216_daily_bin1762.fits outfile=/scratch/kocevski/110533/ft1_filteredMKT_4FGL_J1321.1+2216_daily_bin1762.fits ra=200.296 dec=22.2808 rad=12.0 tmin=696038401.0 tmax=696297601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.67
user 3.39
sys 0.25

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

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

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

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

Number of photons that the gtmktime cut: 617

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110533/ft1_filtered_4FGL_J1321.1+2216_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/110533/ft2_4FGL_J1321.1+2216_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/110533/ltcube_696038401_696297601_4FGL_J1321.1+2216_daily_bin1762.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/110533/ft2_4FGL_J1321.1+2216_daily_bin1762.fits
.....................!
real 12.54
user 12.16
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110533/ft1_filtered_4FGL_J1321.1+2216_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110533/ft2_4FGL_J1321.1+2216_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/110533/ltcube_696038401_696297601_4FGL_J1321.1+2216_daily_bin1762.fits outfile=/scratch/kocevski/110533/expmap_696038401_696297601_4FGL_J1321.1+2216_daily_bin1762.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/110533/ltcube_696038401_696297601_4FGL_J1321.1+2216_daily_bin1762.fits
.....................!
real 192.68
user 186.85
sys 5.33

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/110533/ft1_filtered_4FGL_J1321.1+2216_daily_bin1762.fits scfile=/scratch/kocevski/110533/ft2_4FGL_J1321.1+2216_daily_bin1762.fits outfile=/scratch/kocevski/110533/cmap_696038401_696297601_4FGL_J1321.1+2216_daily_bin1762.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110533/ft1_filtered_4FGL_J1321.1+2216_daily_bin1762.fits scfile=/scratch/kocevski/110533/ft2_4FGL_J1321.1+2216_daily_bin1762.fits outfile=/scratch/kocevski/110533/cmap_HighResolution_696038401_696297601_4FGL_J1321.1+2216_daily_bin1762.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/110533/ft1_filtered_4FGL_J1321.1+2216_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110533/ft2_4FGL_J1321.1+2216_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/110533/Model_4FGL_J1321.1+2216_daily_bin1762.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/110533/ft1_filtered_4FGL_J1321.1+2216_daily_bin1762.fits.....................!
real 58.00
user 56.53
sys 1.28

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9290       1.0000          .0000       .10000E+07
     2 'norm      '    12.995       1.0000          .0000       .10000E+07
     3 'Prefactor '    .51113E-03   1.0000          .0000       .10000E+07
     4 'norm      '    5.4539       1.0000          .0000       .10000E+07
     5 'norm      '    43.810       1.0000          .0000       .10000E+07
     6 'norm      '    19.514       1.0000          .0000       .10000E+07
     7 'norm      '    38.215       1.0000          .0000       .10000E+07
     8 'Prefactor '    .44129E-01   1.0000          .0000       .10000E+07
     9 'norm      '    64.707       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12181E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .16648E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    15.040       1.0000          .0000       .10000E+07
    13 'Prefactor '    .83580E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .60451E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.4539       1.0000          .0000       .10000E+07
    16 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
    17 'Prefactor '    .12863E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .84573       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=   6916.779     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1104 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8357        5.0746       -.62246E-06   -.18376E-02
   2  norm          12.970        9.6454       -.15726E-05   -.64079E-02
   3  Prefactor      .0000        6.5226       -.12792E-05** at limit **
   4  norm          5.4835        4.3319        .21065E-06    .23116E-02
   5  norm          43.795        7.0718        .58785E-06    .85018E-02
   6  norm          19.407        5.1872        .10180E-06    .16473E-02
   7  norm          38.507        2.6329       -.36085E-06    .20503E-01
   8  Prefactor      .0000        31.855       -.17127E-05** at limit **
   9  norm          64.586        2.2953        .88248E-07    .12452    
  10  Prefactor     .42744E-08    45.785        .42241E-05** at limit **
  11  norm          .14988E-08    13.477        .17005E-05** at limit **
  12  Prefactor     15.026        11.742       -.24056E-05   -.31543E-01
  13  Prefactor     .21788E-06    20.362       -.28761E-05** at limit **
  14  Prefactor     .29765E-06    20.911        .68313E-05** at limit **
  15  Prefactor     6.4754        5.4362        .16081E-07    .29612E-02
  16  Prefactor      .0000        3.2203       -.79533E-06** at limit **
  17  Prefactor     .11102E-09    5.7838       -.11089E-05** at limit **
  18  Normalizat    1.1753        .22356       -.15254E-04   -.97889E-04
  19  Prefactor     .84586        .19994       -.97056E-06   -.97664E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.83573
  norm       = 12.9699
  Prefactor  = 0
  norm       = 5.48345
  norm       = 43.7953
  norm       = 19.4065
  norm       = 38.5067
  Prefactor  = 0
  norm       = 64.5858
  Prefactor  = 4.27436e-09
  norm       = 1.4988e-09
  Prefactor  = 15.0258
  Prefactor  = 2.17881e-07
  Prefactor  = 2.97651e-07
  Prefactor  = 6.47544
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Normalizat = 1.17531
  Prefactor  = 0.845857
 **********
 **   18 **HESSE 
 **********

 FCN=   6916.779     FROM HESSE     STATUS=OK           318 CALLS     1422 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8357        5.1121        .74759E-03   -1.5681    
   2  norm          12.970        9.8585        .27761E-03   -1.5636    
   3  Prefactor      .0000        6.5225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.4835        4.3539        .43003E-03   -1.5661    
   5  norm          43.795        12.963        .15110E-03   -1.5576    
   6  norm          19.407        17.487        .22645E-03   -1.5620    
   7  norm          38.507        25.613        .16178E-03   -1.5584    
   8  Prefactor      .0000        12.691        .10354E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          64.586        13.743        .12432E-03   -1.5547    
  10  Prefactor     .42744E-08    46.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .14988E-08    7.7339        .70857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.026        21.128        .25800E-03   -1.5630    
  13  Prefactor     .21788E-06    24.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .29765E-06    25.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.4754        5.4390        .39483E-03   -1.5657    
  16  Prefactor      .0000        3.2182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    5.7898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1753        .19165        .61758E-01   -.87369    
  19  Prefactor     .84586        .16823        .65550E-01   -.98060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.8862e-07
Minuit parameter uncertainties:
  1  5.11211
  2  9.85853
  3  1.22023e-05
  4  4.35393
  5  12.9629
  6  17.4874
  7  25.6135
  8  3.10302e-05
  9  13.743
  10  0.000885686
  11  0.000216578
  12  21.1281
  13  0.00459835
  14  0.00552421
  15  5.43905
  16  1.50049e-05
  17  4.76141e-05
  18  0.191763
  19  0.168336
Done.

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

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  6.459e+01  1.374e+01  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:  8.459e-01  1.683e-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.175e+00  1.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 82.51
Ra Dec: 200.296 22.281
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 3.20e-07 +/- 6.81e-08
Energy Flux (Fixed Index): 1.15e-04 +/- 2.45e-05

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) = 6915.19348098
delta logL = 1.58536057872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6915.11771416
delta logL = 1.66112739718

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    69.574       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9230       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2500       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80290       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=   6915.118     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      222 TOTAL
                     EDM=   .82E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          69.578        14.587        .11990E-03   -.20292E-04
   2  alpha         1.9231        .19118        .14065       -.51297E-05
   3  Normalizat    1.2502        .18459        .60227E-01    .67761E-05
   4  Prefactor     .80281        .16721        .67057E-01    .17788E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 69.5782
  alpha      = 1.92309
  Normalizat = 1.25016
  Prefactor  = 0.802805
 **********
 **   18 **HESSE 
 **********

 FCN=   6915.118     FROM HESSE     STATUS=OK            29 CALLS      251 TOTAL
                     EDM=   .10E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          69.578        14.233        .47958E-05   -1.5541    
   2  alpha         1.9231        .19084        .60804E-03   -.23286    
   3  Normalizat    1.2502        .21958        .26636E-03   -.85066    
   4  Prefactor     .80281        .19799        .29666E-03   -.99625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01125e-15
Minuit parameter uncertainties:
  1  14.2327
  2  0.191032
  3  0.219741
  4  0.198161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110533': 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) = 6915.11771318
delta logL = 1.66112836964

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  6.958e+01  1.423e+01  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  1.923e+00  1.910e-01  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:  8.028e-01  1.982e-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.250e+00  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 85.54
Ra Dec: 200.296 22.281
Photon Index (Free Index): 1.92 +/- 0.19
Photon Flux (Free Index): 2.46e-07 +/- 6.46e-08
Energy Flux (Free Index): 1.52e-04 +/- 4.27e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/110533/cmap_HighResolution_696038401_696297601_4FGL_J1321.1+2216_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.20e-07', energy_flux2='1.52e-04', photon_flux_error='6.81e-08', dlogl='1.66e+00', energy_flux='1.15e-04', photon_flux2='2.46e-07', job_status='DONE', time_completed='2023-01-25 01:09:26.861464', photon_index_error2='0.19', photon_index2='1.92', ts='82.51', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='4.27e-05', EG='1.18', time_epoch_completed='1674637766.86', return_code='0', job_id='110533', GAL2='0.80', EG2='1.25', return_code2='0', energy_flux_error='2.45e-05', photon_flux_error2='6.46e-08', ts2='85.54', photon_index='2.28' WHERE bin_id='1762' AND source_name='4FGL J1321.1+2216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:09:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 110533: <4FGL_J1321.1+2216_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1321.1+2216_daily_bin1762> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Jan 25 01:00:24 2023
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:00:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:00:33 2023
Terminated at Wed Jan 25 01:09:27 2023
Results reported at Wed Jan 25 01:09:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1321.1+2216_daily_bin1762 200.296 22.2808 696038401 696297601 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 :                                   497.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             325.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   534 sec.
    Turnaround time :                            543 sec.

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

