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


Performing analysis on: 4FGL_J0909.1+0121_weekly_bin714
RA = 137.297, Dec = 1.3557
tmin = 670809601, tmax = 671414401
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='422930', job_status='RUN', time_executed='2022-04-12 01:09:02.206266', time_epoch_executed='1649750942.21' WHERE source_name='4FGL J0909.1+0121' and cadence='weekly' and bin_id='714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/422930

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/422930/ft1_4FGL_J0909.1+0121_weekly_bin714.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/422930/ft2_4FGL_J0909.1+0121_weekly_bin714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/422930/ft1_4FGL_J0909.1+0121_weekly_bin714.fits outfile=/scratch/kocevski/422930/ft1_filteredMKT_4FGL_J0909.1+0121_weekly_bin714.fits ra=137.297 dec=1.3557 rad=12.0 tmin=670809601.0 tmax=671414401.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 11.61
user 11.19
sys 0.37

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

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

Number of photons that the gtmktime cut: 991

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/422930/ft1_filtered_4FGL_J0909.1+0121_weekly_bin714.fits" evtable="EVENTS" scfile=/scratch/kocevski/422930/ft2_4FGL_J0909.1+0121_weekly_bin714.fits sctable="SC_DATA" outfile=/scratch/kocevski/422930/ltcube_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.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/422930/ft2_4FGL_J0909.1+0121_weekly_bin714.fits
.....................!
real 25.67
user 25.33
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/422930/ft1_filtered_4FGL_J0909.1+0121_weekly_bin714.fits evtable="EVENTS" scfile=/scratch/kocevski/422930/ft2_4FGL_J0909.1+0121_weekly_bin714.fits sctable="SC_DATA" expcube=/scratch/kocevski/422930/ltcube_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.fits outfile=/scratch/kocevski/422930/expmap_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.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/422930/ltcube_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.fits
.....................!
real 190.62
user 185.71
sys 4.59

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/422930/ft1_filtered_4FGL_J0909.1+0121_weekly_bin714.fits scfile=/scratch/kocevski/422930/ft2_4FGL_J0909.1+0121_weekly_bin714.fits outfile=/scratch/kocevski/422930/cmap_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.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.56
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/422930/ft1_filtered_4FGL_J0909.1+0121_weekly_bin714.fits scfile=/scratch/kocevski/422930/ft2_4FGL_J0909.1+0121_weekly_bin714.fits outfile=/scratch/kocevski/422930/cmap_HighResolution_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.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.57
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/422930/ft1_filtered_4FGL_J0909.1+0121_weekly_bin714.fits', '/scratch/kocevski/422930/ft2_4FGL_J0909.1+0121_weekly_bin714.fits', expMap='/scratch/kocevski/422930/expmap_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.fits', expCube='/scratch/kocevski/422930/ltcube_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/422930/Model_4FGL_J0909.1+0121_weekly_bin714.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/422930/ft1_filtered_4FGL_J0909.1+0121_weekly_bin714.fits
Spacecraft file(s): /scratch/kocevski/422930/ft2_4FGL_J0909.1+0121_weekly_bin714.fits
Exposure map: /scratch/kocevski/422930/expmap_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.fits
Exposure cube: /scratch/kocevski/422930/ltcube_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/422930/Model_4FGL_J0909.1+0121_weekly_bin714.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) = 11152.5481329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1053       1.0000         .10000E-03   10000.    
     2 'norm      '    4.3585       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3117       1.0000         .10000E-03   10000.    
     4 'norm      '    .25489E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.318       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .26380       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.1220       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0970       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=   11152.46     FROM MIGRAD    STATUS=CONVERGED    210 CALLS      872 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1054        .77503       -.30616E-08   -.13018E-03
   2  norm          4.3583        1.7339        .96923E-07   -.10699E-02
   3  Prefactor     2.3120        3.4598        .19218E-07   -.60149E-04
   4  norm          .10000E-03    1.1732        .38373E-07** at limit **
   5  norm          .10000E-03    2.0114        .87124E-07** at limit **
   6  Prefactor     11.321        13.142        .31914E-05    .14222E-04
   7  Prefactor     .10000E-03    1.1506        .28860E-07** at limit **
   8  Prefactor     .10000E-03    17.995       -.24234E-06** at limit **
   9  Prefactor     .10000E-03    4.8792        .86320E-07** at limit **
  10  norm          .26391        .41440       -.10264E-06   -.49975E-03
  11  Normalizat    1.1220        .14650       -.79667E-06    .35314E-04
  12  Prefactor     1.0969        .11493        .19670E-06   -.74541E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.10541
  norm       = 4.35832
  Prefactor  = 2.31202
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 11.3209
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.263911
  Normalizat = 1.122
  Prefactor  = 1.09694
 **********
 **   18 **HESSE 
 **********

 FCN=   11152.46     FROM HESSE     STATUS=OK           131 CALLS     1003 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1054        .75780        .74475E-04   -1.5498    
   2  norm          4.3583        5.7884        .96467E-03   -1.5290    
   3  Prefactor     2.3120        3.4493        .23428E-03   -1.5404    
   4  norm          .10000E-03    4.5192        .21935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.0321        .14619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.321        13.138        .11908E-03   -1.5035    
   7  Prefactor     .10000E-03    1.1791        .22110E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.9000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .26391        .40637        .81471E-04   -1.5605    
  11  Normalizat    1.1220        .16909        .26893E-03   -.89048    
  12  Prefactor     1.0969        .13489        .21791E-03   -.89564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.04025e-10
Minuit parameter uncertainties:
  1  0.757806
  2  5.78909
  3  3.44963
  4  9.25138e-07
  5  2.53006e-06
  6  13.1415
  7  1.74085e-06
  8  4.50658e-05
  9  2.15277e-06
  10  0.406372
  11  0.169177
  12  0.134935
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.000e-04  9.251e-07  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.097e+00  1.349e-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:  1.122e+00  1.692e-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.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/422930/likelihoodResults_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.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) = 11152.4577672
delta logL = -0.00105345663178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11152.456715
delta logL = -1.26097438624e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11833E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4430       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0969       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=   11152.46     FROM MIGRAD    STATUS=FAILED        95 CALLS      256 TOTAL
                     EDM=   .10E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11077E-03    1975.3        .22934E-02** at limit **
   2  alpha         1.9701        3.4715        .16466E-01    .48891E-05
   3  Normalizat    1.1220        .82245E-01    .26893E-03   -.53180E-04
   4  Prefactor     1.0969        .66550E-01    .21791E-03   -.20555E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   11152.46     FROM SIMPLEX   STATUS=PROGRESS     152 CALLS      408 TOTAL
                     EDM=   .61E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11022E-03    1975.3        .45433E-03** at limit **
   2  alpha         1.9699        3.4715        .65224E-04    .48891E-05
   3  Normalizat    1.1220        .82245E-01    .23926E-05   -.53180E-04
   4  Prefactor     1.0969        .66550E-01    .67930E-06   -.20555E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11152.46     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      453 TOTAL
                     EDM=   .99E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.282        .45868E-03** at limit **
   2  alpha         1.9307        4.0346        .32932E-01    .20713E-08
   3  Normalizat    1.1220        .16672        .10757E-04   -.32973E-04
   4  Prefactor     1.0969        .13449        .87165E-05    .34433E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.93073
  Normalizat = 1.122
  Prefactor  = 1.09694
 **********
 **   18 **HESSE 
 **********

 FCN=   11152.46     FROM HESSE     STATUS=OK            23 CALLS      476 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.828        .91735E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9307        3.0350        .13173E-02   -.22972    
   3  Normalizat    1.1220        .16674        .21515E-05   -.89048    
   4  Prefactor     1.0969        .13451        .17433E-05   -.89564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07235e-11
Minuit parameter uncertainties:
  1  5.40037e-06
  2  145.237
  3  0.166819
  4  0.13455
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/422930': 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) = 11152.4567074
delta logL = 6.38132041786e-06

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.000e-04  5.400e-06  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  1.931e+00  1.452e+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.097e+00  1.345e-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:  1.122e+00  1.668e-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/422930/cmap_HighResolution_670809601_671414401_4FGL_J0909.1+0121_weekly_bin714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.83e-05', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2022-04-12 01:19:54.088392', job_id='422930', GAL2='1.10', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1649751594.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='6.38e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='714' AND source_name='4FGL J0909.1+0121' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 12 01:19:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 422930: <4FGL_J0909.1+0121_weekly_bin714> in cluster <slac> Done

Job <4FGL_J0909.1+0121_weekly_bin714> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Apr 12 01:05:23 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 01:05:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 01:05:24 2022
Terminated at Tue Apr 12 01:19:54 2022
Results reported at Tue Apr 12 01:19:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_weekly_bin714 137.297 1.3557 670809601 671414401 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 :                                   653.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             283.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            871 sec.

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

