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


Performing analysis on: 4FGL_J0909.1+0121_weekly_bin729
RA = 137.297, Dec = 1.3557
tmin = 679881601, tmax = 680486401
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='197055', job_status='RUN', time_executed='2022-07-26 02:32:02.176813', time_epoch_executed='1658827922.18' WHERE source_name='4FGL J0909.1+0121' and cadence='weekly' and bin_id='729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/197055

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/197055/ft1_4FGL_J0909.1+0121_weekly_bin729.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/197055/ft2_4FGL_J0909.1+0121_weekly_bin729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/197055/ft1_4FGL_J0909.1+0121_weekly_bin729.fits outfile=/scratch/kocevski/197055/ft1_filteredMKT_4FGL_J0909.1+0121_weekly_bin729.fits ra=137.297 dec=1.3557 rad=12.0 tmin=679881601.0 tmax=680486401.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 8.30
user 7.97
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/197055/ft2_4FGL_J0909.1+0121_weekly_bin729.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/197055/ft2_4FGL_J0909.1+0121_weekly_bin729.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/197055/ft1_filteredMKT_4FGL_J0909.1+0121_weekly_bin729.fits evtable="EVENTS" outfile="/scratch/kocevski/197055/ft1_filtered_4FGL_J0909.1+0121_weekly_bin729.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.56
user 0.39
sys 0.16

Number of photons that the gtmktime cut: 736

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/197055/ft1_filtered_4FGL_J0909.1+0121_weekly_bin729.fits" evtable="EVENTS" scfile=/scratch/kocevski/197055/ft2_4FGL_J0909.1+0121_weekly_bin729.fits sctable="SC_DATA" outfile=/scratch/kocevski/197055/ltcube_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.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/197055/ft2_4FGL_J0909.1+0121_weekly_bin729.fits
.....................!
real 32.80
user 32.18
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/197055/ft1_filtered_4FGL_J0909.1+0121_weekly_bin729.fits evtable="EVENTS" scfile=/scratch/kocevski/197055/ft2_4FGL_J0909.1+0121_weekly_bin729.fits sctable="SC_DATA" expcube=/scratch/kocevski/197055/ltcube_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.fits outfile=/scratch/kocevski/197055/expmap_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.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/197055/ltcube_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.fits
.....................!
real 194.12
user 187.14
sys 5.35

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J0909.1+0121 @ 137.297 1.3557

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/197055/ft1_filtered_4FGL_J0909.1+0121_weekly_bin729.fits scfile=/scratch/kocevski/197055/ft2_4FGL_J0909.1+0121_weekly_bin729.fits outfile=/scratch/kocevski/197055/cmap_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.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=137.297 yref=1.3557 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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/197055/ft1_filtered_4FGL_J0909.1+0121_weekly_bin729.fits scfile=/scratch/kocevski/197055/ft2_4FGL_J0909.1+0121_weekly_bin729.fits outfile=/scratch/kocevski/197055/cmap_HighResolution_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.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=137.297 yref=1.3557 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.60
user 0.44
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/197055/ft1_filtered_4FGL_J0909.1+0121_weekly_bin729.fits evtable="EVENTS" scfile=/scratch/kocevski/197055/ft2_4FGL_J0909.1+0121_weekly_bin729.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/197055/Model_4FGL_J0909.1+0121_weekly_bin729.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/197055/ft1_filtered_4FGL_J0909.1+0121_weekly_bin729.fits.....................!
real 88.57
user 87.09
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/197055/ft1_filtered_4FGL_J0909.1+0121_weekly_bin729.fits', '/scratch/kocevski/197055/ft2_4FGL_J0909.1+0121_weekly_bin729.fits', expMap='/scratch/kocevski/197055/expmap_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.fits', expCube='/scratch/kocevski/197055/ltcube_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/197055/Model_4FGL_J0909.1+0121_weekly_bin729.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0909.1+0121'

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  5.916e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.491e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/197055/ft1_filtered_4FGL_J0909.1+0121_weekly_bin729.fits
Spacecraft file(s): /scratch/kocevski/197055/ft2_4FGL_J0909.1+0121_weekly_bin729.fits
Exposure map: /scratch/kocevski/197055/expmap_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.fits
Exposure cube: /scratch/kocevski/197055/ltcube_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/197055/Model_4FGL_J0909.1+0121_weekly_bin729.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) = 8706.84053693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .82167       1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    16.198       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2624       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1421       1.0000         .10000E-03   10000.    
    11 'Normalizat'    .89757       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0456       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8706.177     FROM MIGRAD    STATUS=CONVERGED    211 CALLS      862 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82159        .89107       -.43245E-07   -.16745E-04
   2  norm          .10000E-03    13.988       -.21067E-04** at limit **
   3  Prefactor     .10000E-03    2.1943       -.36578E-07** at limit **
   4  norm          .10000E-03    2.3433       -.11594E-07** at limit **
   5  norm          16.198        6.4036        .70878E-08   -.15705E-03
   6  Prefactor     .10000E-03    11.877        .64799E-05** at limit **
   7  Prefactor     2.2623        2.4389       -.12407E-06   -.28365E-03
   8  Prefactor     .10000E-03    29.959       -.98595E-05** at limit **
   9  Prefactor     .10000E-03    17.123        .22337E-04** at limit **
  10  norm          1.1420        .64895       -.10869E-06   -.23118E-02
  11  Normalizat    .89755        .16116        .25274E-06    .16250E-03
  12  Prefactor     1.0456        .12354        .40815E-06    .24666E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.821595
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 16.1979
  Prefactor  = 0.0001
  Prefactor  = 2.26231
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.14197
  Normalizat = 0.897545
  Prefactor  = 1.04563
 **********
 **   18 **HESSE 
 **********

 FCN=   8706.177     FROM HESSE     STATUS=OK           127 CALLS      989 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82159        .80879        .87287E-03   -1.5527    
   2  norm          .10000E-03    14.173        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.2070        .13496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.4355        .27869E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          16.198        6.4035        .99516E-04   -1.4903    
   6  Prefactor     .10000E-03    11.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2623        2.4370        .14589E-03   -1.5407    
   8  Prefactor     .10000E-03    30.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1420        .63491        .53639E-04   -1.5494    
  11  Normalizat    .89755        .19105        .28544E-03   -.96546    
  12  Prefactor     1.0456        .14739        .20634E-03   -.91224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71357e-09
Minuit parameter uncertainties:
  1  0.808806
  2  0.00025023
  3  2.0582e-06
  4  5.49218e-06
  5  6.4038
  6  2.99338e-05
  7  2.4371
  8  2.70329e-05
  9  0.00020492
  10  0.634916
  11  0.191189
  12  0.147448
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.000e-04  5.492e-06  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.491e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.046e+00  1.474e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.975e-01  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 137.297 1.356
Photon Flux Upper Limit: 6.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.85e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/197055/likelihoodResults_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.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) = 8706.17869284
delta logL = -0.00195998154595

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8706.17673308
delta logL = -2.20712536247e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8706.177     FROM MIGRAD    STATUS=FAILED        87 CALLS      235 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10034E-03    229.15        .27927E-02** at limit **
   2  alpha         2.4281        3.6938        .16461        .67985E-05
   3  Normalizat    .89755        .43668E-01    .28544E-03   -.21030E-04
   4  Prefactor     1.0456        .34021E-01    .20634E-03   -.19835E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8706.177     FROM SIMPLEX   STATUS=PROGRESS     146 CALLS      381 TOTAL
                     EDM=   .51E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10007E-03    229.15        .18129E-03** at limit **
   2  alpha         2.4280        3.6938        .76443E-04    .67985E-05
   3  Normalizat    .89754        .43668E-01    .13897E-05   -.21030E-04
   4  Prefactor     1.0456        .34021E-01    .89113E-06   -.19835E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8706.177     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      422 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.6399        .55853E-03** at limit **
   2  alpha         2.3682        3.5781        .65844E-01    .34532E-08
   3  Normalizat    .89755        .18907        .11417E-04   -.16330E-04
   4  Prefactor     1.0456        .14737        .82534E-05   -.22039E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.36816
  Normalizat = 0.897545
  Prefactor  = 1.04563
 **********
 **   18 **HESSE 
 **********

 FCN=   8706.177     FROM HESSE     STATUS=OK            23 CALLS      445 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4767        .11171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3682        3.1173        .26338E-02   -.52760E-01
   3  Normalizat    .89755        .18939        .22835E-05   -.96546    
   4  Prefactor     1.0456        .14759        .16507E-05   -.91224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31973e-12
Minuit parameter uncertainties:
  1  1.65474e-06
  2  150.027
  3  0.189531
  4  0.147647
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/197055': 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) = 8706.17673252
delta logL = 3.40913175023e-07

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.000e-04  1.655e-06  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.368e+00  1.500e+02  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.046e+00  1.476e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.975e-01  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.297 1.356

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/197055/cmap_HighResolution_679881601_680486401_4FGL_J0909.1+0121_weekly_bin729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.85e-05', job_status='DONE', photon_flux_upper_limit='6.14e-08', time_completed='2022-07-26 02:41:42.454197', job_id='197055', GAL2='1.05', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1658828502.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.41e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='729' AND source_name='4FGL J0909.1+0121' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:41:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 197055: <4FGL_J0909.1+0121_weekly_bin729> in cluster <slac> Done

Job <4FGL_J0909.1+0121_weekly_bin729> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jul 26 02:30:25 2022
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:31:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:31:07 2022
Terminated at Tue Jul 26 02:41:42 2022
Results reported at Tue Jul 26 02:41:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_weekly_bin729 137.297 1.3557 679881601 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0909.1+0121 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   580.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            677 sec.

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

