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 227 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2127.7+3612_monthly_bin167
RA = 321.931, Dec = 36.2125
tmin = 669859201, tmax = 672451201
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='909336', job_status='RUN', time_executed='2022-04-24 02:39:30.068216', time_epoch_executed='1650793170.07' WHERE source_name='4FGL J2127.7+3612' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/909336

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/909336/ft1_4FGL_J2127.7+3612_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/909336/ft2_4FGL_J2127.7+3612_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/909336/ft1_4FGL_J2127.7+3612_monthly_bin167.fits outfile=/scratch/kocevski/909336/ft1_filteredMKT_4FGL_J2127.7+3612_monthly_bin167.fits ra=321.931 dec=36.2125 rad=12.0 tmin=669859201.0 tmax=672451201.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 38.22
user 37.36
sys 0.76

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/909336/ft2_4FGL_J2127.7+3612_monthly_bin167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/909336/ft2_4FGL_J2127.7+3612_monthly_bin167.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/909336/ft1_filteredMKT_4FGL_J2127.7+3612_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/909336/ft1_filtered_4FGL_J2127.7+3612_monthly_bin167.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.85
user 0.69
sys 0.16

Number of photons that the gtmktime cut: 30442

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/909336/ft1_filtered_4FGL_J2127.7+3612_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/909336/ft2_4FGL_J2127.7+3612_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/909336/ltcube_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.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/909336/ft2_4FGL_J2127.7+3612_monthly_bin167.fits
.....................!
real 124.34
user 123.69
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/909336/ft1_filtered_4FGL_J2127.7+3612_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/909336/ft2_4FGL_J2127.7+3612_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/909336/ltcube_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.fits outfile=/scratch/kocevski/909336/expmap_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.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/909336/ltcube_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.fits
.....................!
real 192.34
user 187.29
sys 4.47

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 Cocoon in ROI with RadialGaussian spatial model.
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 190 point sources and 4 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 J2127.7+3612 @ 321.931 36.2125

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/909336/ft1_filtered_4FGL_J2127.7+3612_monthly_bin167.fits scfile=/scratch/kocevski/909336/ft2_4FGL_J2127.7+3612_monthly_bin167.fits outfile=/scratch/kocevski/909336/cmap_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.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=321.931 yref=36.2125 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.83
user 0.66
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/909336/ft1_filtered_4FGL_J2127.7+3612_monthly_bin167.fits scfile=/scratch/kocevski/909336/ft2_4FGL_J2127.7+3612_monthly_bin167.fits outfile=/scratch/kocevski/909336/cmap_HighResolution_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.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=321.931 yref=36.2125 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.84
user 0.68
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/909336/ft1_filtered_4FGL_J2127.7+3612_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/909336/ft2_4FGL_J2127.7+3612_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/909336/Model_4FGL_J2127.7+3612_monthly_bin167.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 Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/scratch/kocevski/909336/ft1_filtered_4FGL_J2127.7+3612_monthly_bin167.fits.....................!
real 6160.95
user 6145.00
sys 4.66

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/909336/ft1_filtered_4FGL_J2127.7+3612_monthly_bin167.fits', '/scratch/kocevski/909336/ft2_4FGL_J2127.7+3612_monthly_bin167.fits', expMap='/scratch/kocevski/909336/expmap_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.fits', expCube='/scratch/kocevski/909336/ltcube_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/909336/Model_4FGL_J2127.7+3612_monthly_bin167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2127.7+3612'

4FGL J2127.7+3612
   Spectrum: LogParabola
429         norm:  3.781e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
430        alpha:  1.812e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
431         beta:  1.274e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.863e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/909336/ft1_filtered_4FGL_J2127.7+3612_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/909336/ft2_4FGL_J2127.7+3612_monthly_bin167.fits
Exposure map: /scratch/kocevski/909336/expmap_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.fits
Exposure cube: /scratch/kocevski/909336/ltcube_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/909336/Model_4FGL_J2127.7+3612_monthly_bin167.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) = 283737.252795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2587       1.0000         .10000E-03   10000.    
     2 'norm      '    10.560       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.788       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3953       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5916       1.0000         .10000E-03   10000.    
     6 'norm      '    .61506       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29087       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22596       1.0000         .10000E-03   10000.    
    10 'norm      '    .22639       1.0000         .10000E-03   10000.    
    11 'norm      '    17.320       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .49227       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .85292       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   283737.2     FROM MIGRAD    STATUS=CONVERGED    284 CALLS     1446 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2588        1.8551       -.66458E-07   -.52259E-03
   2  norm          10.560        5.8352        .46167E-07    .54046E-05
   3  Prefactor     13.790        9.1214        .25510E-05    .15253E-03
   4  Prefactor     1.3957        1.2310        .28955E-07   -.74103E-03
   5  norm          1.5917        1.1631        .17035E-06   -.22053E-02
   6  norm          .61466        .35539        .48662E-08   -.16976E-02
   7  norm          .10000E-03    1.1860       -.68682E-08** at limit **
   8  Prefactor     .29254        .41433        .17307E-06   -.31096E-02
   9  Prefactor     .22068        .49832       -.28191E-06    .91156E-03
  10  norm          .22644        .13107        .57710E-07   -.46057E-02
  11  norm          17.319        .49791       -.11689E-08    .11917E-02
  12  Prefactor     .10000E-03    2.2298        .36185E-07** at limit **
  13  Prefactor     .51815        1.1086       -.79254E-07   -.33044E-03
  14  Normalizat    .85288        .72492E-01   -.83949E-06   -.25733E-03
  15  Prefactor     1.0383        .10863E-01    .14666E-07    .20354E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.25878
  norm       = 10.5602
  Prefactor  = 13.79
  Prefactor  = 1.39568
  norm       = 1.5917
  norm       = 0.61466
  norm       = 0.0001
  Prefactor  = 0.292536
  Prefactor  = 0.220684
  norm       = 0.226441
  norm       = 17.3193
  Prefactor  = 0.0001
  Prefactor  = 0.518146
  Normalizat = 0.852877
  Prefactor  = 1.03827
 **********
 **   18 **HESSE 
 **********

 FCN=   283737.2     FROM HESSE     STATUS=OK           206 CALLS     1652 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2588        1.8765        .14888E-03   -1.5169    
   2  norm          10.560        5.8351        .12329E-03   -1.5058    
   3  Prefactor     13.790        9.2467        .10787E-03   -1.4965    
   4  Prefactor     1.3957        1.2104        .18381E-03   -1.5472    
   5  norm          1.5917        1.3074        .33631E-03   -1.5456    
   6  norm          .61466        .26536        .23489E-02   -1.5551    
   7  norm          .10000E-03    1.2295        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .29254        1.7529        .39128E-02   -1.5600    
   9  Prefactor     .22068        2.6299        .54910E-02   -1.5614    
  10  norm          .22644        .15255        .14924E-02   -1.5613    
  11  norm          17.319        .50226        .57894E-04   -1.4875    
  12  Prefactor     .10000E-03    2.2707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .51815        1.2632        .13373       -1.5564    
  14  Normalizat    .85288        .71245E-01    .92247E-03   -.98136    
  15  Prefactor     1.0383        .10830E-01    .13163E-03   -.91464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78468e-07
Minuit parameter uncertainties:
  1  1.87656
  2  5.83538
  3  9.24769
  4  1.2104
  5  1.30746
  6  0.265359
  7  1.35459e-07
  8  1.43201
  9  1.52339
  10  0.152548
  11  0.502258
  12  3.2866e-06
  13  1.26328
  14  0.0712529
  15  0.0108297
Done.

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

Extracting fit parameters...

4FGL J2127.7+3612
   Spectrum: LogParabola
429         norm:  1.000e-04  1.355e-07  1.000e-04  1.000e+04 ( 1.000e-13)
430        alpha:  1.812e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
431         beta:  1.274e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.863e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
690    Prefactor:  1.038e+00  1.083e-02  0.000e+00  1.000e+01 ( 1.000e+00)
691        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
692        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
689   Normalization:  8.529e-01  7.125e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 321.931 36.212
Photon Flux Upper Limit: 6.30e-09 ph cm-2 s-1
Energy Flux Upper Limit: 7.07e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/909336/likelihoodResults_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.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) = 283737.199312
delta logL = -0.00388465070864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 283737.195383
delta logL = 4.38386341557e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16477E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8006       1.0000          .0000       5.0000    
     3 'Normalizat'    .85287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   283737.2     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      304 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19804E-01    .11538        .90712E-01    .55138E-02
   2  alpha         2.8627        3.9294        .41534        .68978E-04
   3  Normalizat    .85270        .22002E-02    .20671        .15903E-02
   4  Prefactor     1.0383        .34490E-03    .29786E-01    .15123E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0198042
  alpha      = 2.86271
  Normalizat = 0.852703
  Prefactor  = 1.03827
 **********
 **   18 **HESSE 
 **********

 FCN=   283737.2     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      347 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19804E-01    .17476        .65090E-01   -1.5680    
   2  alpha         2.8627        3.9105        .50000        .14560    
   3  Normalizat    .85270        .22371E-02    .92255E-03   -.98143    
   4  Prefactor     1.0383        .35430E-03    .13163E-03   -.91464    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.4959e-09
Minuit parameter uncertainties:
  1  0.117363
  2  3.79306
  3  0.00223714
  4  0.000354303
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/909336': 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) = 283737.195147
delta logL = 0.000280037755147

Extracting fit parameters...

4FGL J2127.7+3612
   Spectrum: LogParabola
429         norm:  1.980e-02  1.174e-01  1.000e-04  1.000e+04 ( 1.000e-13)
430        alpha:  2.863e+00  3.793e+00  0.000e+00  5.000e+00 ( 1.000e+00)
431         beta:  1.274e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.863e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
690    Prefactor:  1.038e+00  3.543e-04  0.000e+00  1.000e+01 ( 1.000e+00)
691        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
692        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
689   Normalization:  8.527e-01  2.237e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 321.931 36.212

Creating a high resolution counts map...
INFO: Auto-setting vmin to -5.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  5.550e+00 [aplpy.core]
Saving /scratch/kocevski/909336/cmap_HighResolution_669859201_672451201_4FGL_J2127.7+3612_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-06', job_status='DONE', photon_flux_upper_limit='6.30e-09', time_completed='2022-04-24 07:38:02.946934', job_id='909336', GAL2='1.04', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1650811082.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.80e-04', ts2='0.00', photon_index_error='0.00', photon_index='1.81' WHERE bin_id='167' AND source_name='4FGL J2127.7+3612' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 07:38:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 909336: <4FGL_J2127.7+3612_monthly_bin167> in cluster <slac> Done

Job <4FGL_J2127.7+3612_monthly_bin167> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 02:35:31 2022
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 02:35:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 02:35:32 2022
Terminated at Sun Apr 24 07:38:05 2022
Results reported at Sun Apr 24 07:38:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2127.7+3612_monthly_bin167 321.931 36.2125 669859201 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2127.7+3612 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   17837.00 sec.
    Max Memory :                                 818 MB
    Average Memory :                             721.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   18152 sec.
    Turnaround time :                            18154 sec.

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

