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


Performing analysis on: 4FGL_J2121.0+1901_daily_bin1735
RA = 320.26, Dec = 19.0324
tmin = 689040001, tmax = 689299201
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='866513', job_status='RUN', time_executed='2022-11-05 00:36:07.651128', time_epoch_executed='1667633767.65' WHERE source_name='4FGL J2121.0+1901' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866513

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866513/ft1_4FGL_J2121.0+1901_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866513/ft2_4FGL_J2121.0+1901_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866513/ft1_4FGL_J2121.0+1901_daily_bin1735.fits outfile=/scratch/kocevski/866513/ft1_filteredMKT_4FGL_J2121.0+1901_daily_bin1735.fits ra=320.26 dec=19.0324 rad=12.0 tmin=689040001.0 tmax=689299201.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.64
user 3.42
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/866513/ft2_4FGL_J2121.0+1901_daily_bin1735.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866513/ft2_4FGL_J2121.0+1901_daily_bin1735.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/866513/ft1_filteredMKT_4FGL_J2121.0+1901_daily_bin1735.fits evtable="EVENTS" outfile="/scratch/kocevski/866513/ft1_filtered_4FGL_J2121.0+1901_daily_bin1735.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.32
sys 0.16

Number of photons that the gtmktime cut: 978

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866513/ft1_filtered_4FGL_J2121.0+1901_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866513/ft2_4FGL_J2121.0+1901_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866513/ltcube_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.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/866513/ft2_4FGL_J2121.0+1901_daily_bin1735.fits
.....................!
real 11.91
user 11.54
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866513/ft1_filtered_4FGL_J2121.0+1901_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866513/ft2_4FGL_J2121.0+1901_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866513/ltcube_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.fits outfile=/scratch/kocevski/866513/expmap_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.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/866513/ltcube_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.fits
.....................!
real 190.79
user 185.44
sys 4.67

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
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 193 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2121.0+1901 @ 320.26 19.0324

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/866513/ft1_filtered_4FGL_J2121.0+1901_daily_bin1735.fits scfile=/scratch/kocevski/866513/ft2_4FGL_J2121.0+1901_daily_bin1735.fits outfile=/scratch/kocevski/866513/cmap_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.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=320.26 yref=19.0324 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866513/ft1_filtered_4FGL_J2121.0+1901_daily_bin1735.fits scfile=/scratch/kocevski/866513/ft2_4FGL_J2121.0+1901_daily_bin1735.fits outfile=/scratch/kocevski/866513/cmap_HighResolution_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.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=320.26 yref=19.0324 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866513/ft1_filtered_4FGL_J2121.0+1901_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866513/ft2_4FGL_J2121.0+1901_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866513/Model_4FGL_J2121.0+1901_daily_bin1735.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/866513/ft1_filtered_4FGL_J2121.0+1901_daily_bin1735.fits.....................!
real 149.54
user 147.64
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866513/ft1_filtered_4FGL_J2121.0+1901_daily_bin1735.fits', '/scratch/kocevski/866513/ft2_4FGL_J2121.0+1901_daily_bin1735.fits', expMap='/scratch/kocevski/866513/expmap_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.fits', expCube='/scratch/kocevski/866513/ltcube_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866513/Model_4FGL_J2121.0+1901_daily_bin1735.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2121.0+1901'

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  3.670e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/866513/ft1_filtered_4FGL_J2121.0+1901_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/866513/ft2_4FGL_J2121.0+1901_daily_bin1735.fits
Exposure map: /scratch/kocevski/866513/expmap_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.fits
Exposure cube: /scratch/kocevski/866513/ltcube_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866513/Model_4FGL_J2121.0+1901_daily_bin1735.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) = 10650.8108218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.252       1.0000          .0000       .10000E+07
     2 'Prefactor '    39.122       1.0000          .0000       .10000E+07
     3 'Prefactor '    54.245       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27586       1.0000          .0000       .10000E+07
     5 'Prefactor '    20.044       1.0000          .0000       .10000E+07
     6 'Prefactor '    .89775       1.0000          .0000       .10000E+07
     7 'Prefactor '    .53066E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.5215       1.0000          .0000       .10000E+07
     9 'norm      '    8.4745       1.0000          .0000       .10000E+07
    10 'norm      '    .17193E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22352       1.0000          .0000       .10000E+07
    12 'Prefactor '    51.448       1.0000          .0000       .10000E+07
    13 'norm      '    1.0713       1.0000          .0000       .10000E+07
    14 'norm      '    2.1940       1.0000          .0000       .10000E+07
    15 'Prefactor '    185.70       1.0000          .0000       .10000E+07
    16 'Prefactor '    .47656E-02   1.0000          .0000       .10000E+07
    17 'norm      '    1.6965       1.0000          .0000       .10000E+07
    18 'Normalizat'    .70988       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0848       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10650.75     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1547 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.342        11.003       -.85286E-08    .10073E-02
   2  Prefactor     39.766        24.547       -.36544E-06    .75321E-02
   3  Prefactor     52.768        63.422        .18375E-05   -.16324E-01
   4  Prefactor     .55511E-10    51.038       -.40384E-06** at limit **
   5  Prefactor     19.194        41.179        .29549E-06    .52587E-02
   6  Prefactor     1.4635        167.91       -.53982E-05    .25241E-02
   7  Prefactor     .38858E-09    13.078       -.35446E-06** at limit **
   8  Prefactor     6.4679        6.8344        .15088E-08   -.13186E-02
   9  norm          8.4778        7.3675        .12263E-06   -.29072E-02
  10  norm          .55511E-09    7.5452        .52660E-06** at limit **
  11  Prefactor     .23324        59.485        .66740E-05** at limit **
  12  Prefactor     50.939        26.294        .51772E-06    .38991E-01
  13  norm          1.0826        2.4065        .15079E-06   -.42536E-02
  14  norm          2.1933        2.5331        .51392E-07   -.28352E-02
  15  Prefactor     185.61        15.877        .93083E-07    .15928    
  16  Prefactor     .55511E-10    16.055       -.95293E-07** at limit **
  17  norm          1.6946        .98508        .55802E-08   -.28265E-02
  18  Normalizat    .71131        .29438       -.27764E-05   -.28660E-03
  19  Prefactor     1.0846        .10307        .93317E-06   -.78763E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.3418
  Prefactor  = 39.7661
  Prefactor  = 52.7684
  Prefactor  = 5.55112e-11
  Prefactor  = 19.1937
  Prefactor  = 1.46351
  Prefactor  = 3.88578e-10
  Prefactor  = 6.4679
  norm       = 8.47777
  norm       = 5.55112e-10
  Prefactor  = 0.233242
  Prefactor  = 50.9394
  norm       = 1.08263
  norm       = 2.19332
  Prefactor  = 185.611
  Prefactor  = 5.55112e-11
  norm       = 1.69465
  Normalizat = 0.711305
  Prefactor  = 1.08464
 **********
 **   18 **HESSE 
 **********

 FCN=   10650.75     FROM HESSE     STATUS=OK           318 CALLS     1865 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.342        11.012        .25620E-03   -1.5630    
   2  Prefactor     39.766        24.754        .15989E-03   -1.5582    
   3  Prefactor     52.768        65.120        .13578E-03   -1.5563    
   4  Prefactor     .55511E-10    10.850        .10557E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.194        50.604        .22343E-03   -1.5620    
   6  Prefactor     1.4635        249.40        .45916E-03   -1.5684    
   7  Prefactor     .38858E-09    13.075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4679        6.9226        .39275E-03   -1.5657    
   9  norm          8.4778        7.4156        .34412E-03   -1.5650    
  10  norm          .55511E-09    7.3562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .23324        5.6113        .70343E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     50.939        84.096        .13943E-03   -1.5565    
  13  norm          1.0826        2.5523        .11722E-02   -1.5687    
  14  norm          2.1933        2.5538        .69447E-03   -1.5678    
  15  Prefactor     185.61        46.954        .73390E-04   -1.5435    
  16  Prefactor     .55511E-10    16.042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.6946        .99341        .80755E-03   -1.5682    
  18  Normalizat    .71131        .29064        .11909       -1.0345    
  19  Prefactor     1.0846        .94731E-01    .38194E-01   -.89959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.53415e-07
Minuit parameter uncertainties:
  1  11.0119
  2  24.7543
  3  65.1208
  4  5.79906e-05
  5  50.6048
  6  38.2115
  7  0.000147362
  8  6.9226
  9  7.41561
  10  0.000130268
  11  2.28806
  12  84.0975
  13  2.55228
  14  2.55381
  15  46.9542
  16  6.63761e-05
  17  0.993415
  18  0.291274
  19  0.0947456
Done.

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

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  5.551e-10  1.303e-04  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  1.085e+00  9.475e-02  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  7.113e-01  2.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 320.260 19.032
Photon Flux Upper Limit: 7.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866513/likelihoodResults_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.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) = 10650.7508866
delta logL = 0.00379732341389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10650.7458915
delta logL = 0.00879240305949

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10650.75     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      282 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16950        3.9868        .42184E-02** at limit **
   2  alpha         3.2851        2.6760        .43978        .40554E-04
   3  Normalizat    .70323        .16613E-01    .11973        .29740E-03
   4  Prefactor     1.0858        .61539E-02    .38157E-01    .37613E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.169497
  alpha      = 3.28508
  Normalizat = 0.703227
  Prefactor  = 1.08579
 **********
 **   18 **HESSE 
 **********

 FCN=   10650.75     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16950        119.04        .14604E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.2851        3.8561        .50000        .31944    
   3  Normalizat    .70323        .49018E-01    .53106E-03   -1.0377    
   4  Prefactor     1.0858        .17252E-01    .16062E-03   -.89922    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.79238e-07
Minuit parameter uncertainties:
  1  8.98376
  2  21.039
  3  0.0490214
  4  0.0172517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866513': 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): 102
logL (Free Index) = 10650.74589
delta logL = 0.00879393387186

Extracting fit parameters...

4FGL J2121.0+1901
   Spectrum: LogParabola
390         norm:  1.695e-01  8.984e+00  0.000e+00  1.000e+06 ( 1.000e-12)
391        alpha:  3.285e+00  2.104e+01  0.000e+00  5.000e+00 ( 1.000e+00)
392         beta:  5.740e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
393           Eb:  8.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  1.086e+00  1.725e-02  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  7.032e-01  4.902e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 320.260 19.032

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/866513/cmap_HighResolution_689040001_689299201_4FGL_J2121.0+1901_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-05', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2022-11-05 00:50:22.327890', job_id='866513', GAL2='1.09', fit_tolerance='1e-08', EG2='0.70', EG='0.71', time_epoch_completed='1667634622.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='8.79e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1735' AND source_name='4FGL J2121.0+1901' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:50:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 866513: <4FGL_J2121.0+1901_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2121.0+1901_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:12 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:13 2022
Terminated at Sat Nov  5 00:50:23 2022
Results reported at Sat Nov  5 00:50:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2121.0+1901_daily_bin1735 320.26 19.0324 689040001 689299201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2121.0+1901 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   855.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             358.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            911 sec.

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

