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


Performing analysis on: 4FGL_J0047.0+5657_monthly_bin174
RA = 11.7535, Dec = 56.9601
tmin = 688003201, tmax = 690595201
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='836192', job_status='RUN', time_executed='2022-11-20 00:51:29.622948', time_epoch_executed='1668934289.62' WHERE source_name='4FGL J0047.0+5657' and cadence='monthly' and bin_id='174'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/836192

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/836192/ft1_4FGL_J0047.0+5657_monthly_bin174.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/836192/ft2_4FGL_J0047.0+5657_monthly_bin174.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/836192/ft1_4FGL_J0047.0+5657_monthly_bin174.fits outfile=/scratch/kocevski/836192/ft1_filteredMKT_4FGL_J0047.0+5657_monthly_bin174.fits ra=11.7535 dec=56.9601 rad=12.0 tmin=688003201.0 tmax=690595201.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 31.69
user 30.71
sys 0.81

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/836192/ft2_4FGL_J0047.0+5657_monthly_bin174.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/836192/ft2_4FGL_J0047.0+5657_monthly_bin174.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/836192/ft1_filteredMKT_4FGL_J0047.0+5657_monthly_bin174.fits evtable="EVENTS" outfile="/scratch/kocevski/836192/ft1_filtered_4FGL_J0047.0+5657_monthly_bin174.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.88
user 0.67
sys 0.19

Number of photons that the gtmktime cut: 30328

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/836192/ft1_filtered_4FGL_J0047.0+5657_monthly_bin174.fits" evtable="EVENTS" scfile=/scratch/kocevski/836192/ft2_4FGL_J0047.0+5657_monthly_bin174.fits sctable="SC_DATA" outfile=/scratch/kocevski/836192/ltcube_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.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/836192/ft2_4FGL_J0047.0+5657_monthly_bin174.fits
.....................!
real 109.65
user 108.76
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/836192/ft1_filtered_4FGL_J0047.0+5657_monthly_bin174.fits evtable="EVENTS" scfile=/scratch/kocevski/836192/ft2_4FGL_J0047.0+5657_monthly_bin174.fits sctable="SC_DATA" expcube=/scratch/kocevski/836192/ltcube_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.fits outfile=/scratch/kocevski/836192/expmap_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.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/836192/ltcube_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.fits
.....................!
real 192.39
user 186.32
sys 5.15

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 HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Added 197 point sources and 5 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 J0047.0+5657 @ 11.7535 56.9601

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/836192/ft1_filtered_4FGL_J0047.0+5657_monthly_bin174.fits scfile=/scratch/kocevski/836192/ft2_4FGL_J0047.0+5657_monthly_bin174.fits outfile=/scratch/kocevski/836192/cmap_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.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=11.7535 yref=56.9601 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.85
user 0.65
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/836192/ft1_filtered_4FGL_J0047.0+5657_monthly_bin174.fits scfile=/scratch/kocevski/836192/ft2_4FGL_J0047.0+5657_monthly_bin174.fits outfile=/scratch/kocevski/836192/cmap_HighResolution_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.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=11.7535 yref=56.9601 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.67
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/836192/ft1_filtered_4FGL_J0047.0+5657_monthly_bin174.fits evtable="EVENTS" scfile=/scratch/kocevski/836192/ft2_4FGL_J0047.0+5657_monthly_bin174.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/836192/Model_4FGL_J0047.0+5657_monthly_bin174.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 CTB 109
adding source EG_v02
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/scratch/kocevski/836192/ft1_filtered_4FGL_J0047.0+5657_monthly_bin174.fits.....................!
real 3968.50
user 3960.06
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/836192/ft1_filtered_4FGL_J0047.0+5657_monthly_bin174.fits', '/scratch/kocevski/836192/ft2_4FGL_J0047.0+5657_monthly_bin174.fits', expMap='/scratch/kocevski/836192/expmap_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.fits', expCube='/scratch/kocevski/836192/ltcube_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/836192/Model_4FGL_J0047.0+5657_monthly_bin174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0047.0+5657'

4FGL J0047.0+5657
   Spectrum: LogParabola
137         norm:  3.670e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
138        alpha:  2.017e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
139         beta:  1.171e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
140           Eb:  1.707e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/836192/ft1_filtered_4FGL_J0047.0+5657_monthly_bin174.fits
Spacecraft file(s): /scratch/kocevski/836192/ft2_4FGL_J0047.0+5657_monthly_bin174.fits
Exposure map: /scratch/kocevski/836192/expmap_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.fits
Exposure cube: /scratch/kocevski/836192/ltcube_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/836192/Model_4FGL_J0047.0+5657_monthly_bin174.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) = 287788.411336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47846       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.2646       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22596E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.7668       1.0000          .0000       .10000E+07
     5 'norm      '    .68795E-06   1.0000          .0000       .10000E+07
     6 'norm      '    6.5320       1.0000          .0000       .10000E+07
     7 'norm      '    23.120       1.0000          .0000       .10000E+07
     8 'norm      '    4.8835       1.0000          .0000       .10000E+07
     9 'norm      '    .47748       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28400E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .10562E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.4665       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38989       1.0000          .0000       .10000E+07
    14 'norm      '    1.7586       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2598       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .96866       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   287787.9     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      889 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .47840        .35089        .27227E-07    .18500E-01
   2  Prefactor     2.2575        3.9914       -.26344E-06   -.44326E-03
   3  Prefactor     .15543E-08    11.596        .29410E-05** at limit **
   4  norm          1.7652        1.0229       -.16954E-07   -.13720E-01
   5  norm          .38858E-09    2.0746        .18476E-06** at limit **
   6  norm          6.5355        1.4697        .17113E-06    .34656E-02
   7  norm          23.126        1.0022       -.33305E-08    .62462E-01
   8  norm          4.8864        2.2363       -.25990E-07    .64493E-02
   9  norm          .47617        .76827        .18159E-08    .10452E-02
  10  Prefactor      .0000        1.2110       -.23734E-06** at limit **
  11  norm           .0000        4.9278        .10187E-05** at limit **
  12  norm          1.4664        .31838        .12154E-07    .21992E-01
  13  Prefactor     .38983        .46308        .15147E-06    .82500E-02
  14  norm          1.7592        1.2204       -.66731E-07    .69687E-02
  15  Normalizat    1.2598        .72836E-01    .20268E-05   -.85668E-03
  16  Prefactor     .96866        .93901E-02   -.54962E-06   -.94626E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.478398
  Prefactor  = 2.25753
  Prefactor  = 1.55431e-09
  norm       = 1.76522
  norm       = 3.88578e-10
  norm       = 6.5355
  norm       = 23.1259
  norm       = 4.88641
  norm       = 0.476168
  Prefactor  = 0
  norm       = 0
  norm       = 1.4664
  Prefactor  = 0.389829
  norm       = 1.75922
  Normalizat = 1.25981
  Prefactor  = 0.968656
 **********
 **   18 **HESSE 
 **********

 FCN=   287787.9     FROM HESSE     STATUS=OK           251 CALLS     1140 TOTAL
                     EDM=   .46E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .47840        .36206        .80907E-03   -1.5694    
   2  Prefactor     2.2575        3.9992        .68228E-03   -1.5678    
   3  Prefactor     .15543E-08    11.606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7652        1.0085        .78771E-03   -1.5681    
   5  norm          .38858E-09    2.1075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.5355        1.4739        .39243E-03   -1.5657    
   7  norm          23.126        8.8148        .20802E-03   -1.5612    
   8  norm          4.8864        2.2543        .45493E-03   -1.5664    
   9  norm          .47617        .77413        .81009E-03   -1.5694    
  10  Prefactor      .0000        1.2616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .12732        .78941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4664        .32108        .88752E-03   -1.5684    
  13  Prefactor     .38983        .38609        .90667E-02   -1.5695    
  14  norm          1.7592        1.2218        .78992E-03   -1.5681    
  15  Normalizat    1.2598        .72717E-01    .17884       -.84774    
  16  Prefactor     .96866        .92569E-02    .26534E-01   -.93782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56074e-05
Minuit parameter uncertainties:
  1  0.362057
  2  3.9992
  3  0.000267028
  4  1.0085
  5  5.58461e-05
  6  1.47389
  7  8.8148
  8  2.25433
  9  0.774133
  10  7.51307e-06
  11  2.78699e-06
  12  0.321081
  13  0.386089
  14  1.22182
  15  0.072723
  16  0.0092569
Done.

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

Extracting fit parameters...

4FGL J0047.0+5657
   Spectrum: LogParabola
137         norm:  3.886e-10  5.585e-05  0.000e+00  1.000e+06 ( 1.000e-13)
138        alpha:  2.017e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
139         beta:  1.171e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
140           Eb:  1.707e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  9.687e-01  9.257e-03  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
665   Normalization:  1.260e+00  7.272e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 11.754 56.960
Photon Flux Upper Limit: 9.67e-09 ph cm-2 s-1
Energy Flux Upper Limit: 6.90e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/836192/likelihoodResults_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.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): 102
logL (Free Index) = 287787.902724
delta logL = -0.00156116764992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 287787.898101
delta logL = 0.0030616633594

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   287787.9     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      317 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36759E-01    .65578E-01    .73642E-02** at limit **
   2  alpha         3.4959        3.7050        .46238        .15313E-03
   3  Normalizat    1.2586        .21748E-02    .17891        .66175E-03
   4  Prefactor     .96868        .28656E-03    .26534E-01   -.14747E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.036759
  alpha      = 3.49587
  Normalizat = 1.25863
  Prefactor  = 0.968678
 **********
 **   18 **HESSE 
 **********

 FCN=   287787.9     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      360 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36759E-01    .15096        .33664E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.4959        3.9335        .50000        .40972    
   3  Normalizat    1.2586        .28908E-02    .79679E-03   -.84810    
   4  Prefactor     .96868        .38394E-03    .11727E-03   -.93781    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.09497e-09
Minuit parameter uncertainties:
  1  0.148984
  2  2.87882
  3  0.00289077
  4  0.000383941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/836192': 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) = 287787.898101
delta logL = 0.0030619429308

Extracting fit parameters...

4FGL J0047.0+5657
   Spectrum: LogParabola
137         norm:  3.676e-02  1.490e-01  0.000e+00  1.000e+06 ( 1.000e-13)
138        alpha:  3.496e+00  2.879e+00  0.000e+00  5.000e+00 ( 1.000e+00)
139         beta:  1.171e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
140           Eb:  1.707e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  9.687e-01  3.839e-04  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
665   Normalization:  1.259e+00  2.891e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 11.754 56.960

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/836192/cmap_HighResolution_688003201_690595201_4FGL_J0047.0+5657_monthly_bin174.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-06', job_status='DONE', photon_flux_upper_limit='9.67e-09', time_completed='2022-11-20 04:35:30.727702', job_id='836192', GAL2='0.97', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1668947730.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.06e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='174' AND source_name='4FGL J0047.0+5657' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Nov 20 04:35:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 836192: <4FGL_J0047.0+5657_monthly_bin174> in cluster <slac> Done

Job <4FGL_J0047.0+5657_monthly_bin174> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:46:08 2022
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:51:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:51:20 2022
Terminated at Sun Nov 20 04:35:33 2022
Results reported at Sun Nov 20 04:35:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0047.0+5657_monthly_bin174 11.7535 56.9601 688003201 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0047.0+5657 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   13343.00 sec.
    Max Memory :                                 1291 MB
    Average Memory :                             751.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   13453 sec.
    Turnaround time :                            13765 sec.

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

