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


Performing analysis on: 4FGL_J0902.4+2051_weekly_bin734
RA = 135.617, Dec = 20.8503
tmin = 682905601, tmax = 683510401
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='155419', job_status='RUN', time_executed='2022-09-16 18:48:12.201743', time_epoch_executed='1663379292.2' WHERE source_name='4FGL J0902.4+2051' and cadence='weekly' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/155419

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/155419/ft1_4FGL_J0902.4+2051_weekly_bin734.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/155419/ft2_4FGL_J0902.4+2051_weekly_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/155419/ft1_4FGL_J0902.4+2051_weekly_bin734.fits outfile=/scratch/kocevski/155419/ft1_filteredMKT_4FGL_J0902.4+2051_weekly_bin734.fits ra=135.617 dec=20.8503 rad=12.0 tmin=682905601.0 tmax=683510401.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 9.73
user 9.31
sys 0.34

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/155419/ft2_4FGL_J0902.4+2051_weekly_bin734.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/155419/ft2_4FGL_J0902.4+2051_weekly_bin734.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/155419/ft1_filteredMKT_4FGL_J0902.4+2051_weekly_bin734.fits evtable="EVENTS" outfile="/scratch/kocevski/155419/ft1_filtered_4FGL_J0902.4+2051_weekly_bin734.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.54
user 0.36
sys 0.18

Number of photons that the gtmktime cut: 1290

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/155419/ft1_filtered_4FGL_J0902.4+2051_weekly_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/155419/ft2_4FGL_J0902.4+2051_weekly_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/155419/ltcube_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.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/155419/ft2_4FGL_J0902.4+2051_weekly_bin734.fits
.....................!
real 30.55
user 30.00
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/155419/ft1_filtered_4FGL_J0902.4+2051_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/155419/ft2_4FGL_J0902.4+2051_weekly_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/155419/ltcube_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.fits outfile=/scratch/kocevski/155419/expmap_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.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/155419/ltcube_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.fits
.....................!
real 193.97
user 188.10
sys 5.20

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

Setting source of interest to:
4FGL J0902.4+2051 @ 135.617 20.8503

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/155419/ft1_filtered_4FGL_J0902.4+2051_weekly_bin734.fits scfile=/scratch/kocevski/155419/ft2_4FGL_J0902.4+2051_weekly_bin734.fits outfile=/scratch/kocevski/155419/cmap_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.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=135.617 yref=20.8503 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.62
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/155419/ft1_filtered_4FGL_J0902.4+2051_weekly_bin734.fits scfile=/scratch/kocevski/155419/ft2_4FGL_J0902.4+2051_weekly_bin734.fits outfile=/scratch/kocevski/155419/cmap_HighResolution_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.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=135.617 yref=20.8503 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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/155419/ft1_filtered_4FGL_J0902.4+2051_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/155419/ft2_4FGL_J0902.4+2051_weekly_bin734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/155419/Model_4FGL_J0902.4+2051_weekly_bin734.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/155419/ft1_filtered_4FGL_J0902.4+2051_weekly_bin734.fits.....................!
real 123.20
user 121.46
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/155419/ft1_filtered_4FGL_J0902.4+2051_weekly_bin734.fits', '/scratch/kocevski/155419/ft2_4FGL_J0902.4+2051_weekly_bin734.fits', expMap='/scratch/kocevski/155419/expmap_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.fits', expCube='/scratch/kocevski/155419/ltcube_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/155419/Model_4FGL_J0902.4+2051_weekly_bin734.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0902.4+2051'

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  7.653e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
299        Index:  2.145e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/155419/ft1_filtered_4FGL_J0902.4+2051_weekly_bin734.fits
Spacecraft file(s): /scratch/kocevski/155419/ft2_4FGL_J0902.4+2051_weekly_bin734.fits
Exposure map: /scratch/kocevski/155419/expmap_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.fits
Exposure cube: /scratch/kocevski/155419/ltcube_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/155419/Model_4FGL_J0902.4+2051_weekly_bin734.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) = 14940.8343572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.146       1.0000          .0000       .10000E+07
     2 'norm      '    1.3839       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.4361       1.0000          .0000       .10000E+07
     4 'Prefactor '    23.218       1.0000          .0000       .10000E+07
     5 'norm      '    .62147       1.0000          .0000       .10000E+07
     6 'Prefactor '    .73830E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .25061E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     9 'norm      '    7.3193       1.0000          .0000       .10000E+07
    10 'norm      '    1.7469       1.0000          .0000       .10000E+07
    11 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.776       1.0000          .0000       .10000E+07
    13 'Prefactor '    43.580       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1282       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0872       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14940.83     FROM MIGRAD    STATUS=CONVERGED     86 CALLS     1168 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.134        2.1288       -.23589E-06    .84507E-02
   2  norm          1.3847        .83041        .11473E-06    .28620E-02
   3  Prefactor     9.4339        6.8276       -.17313E-06    .95543E-03
   4  Prefactor     23.207        19.723       -.14030E-05   -.63435E-01
   5  norm          .62150        .45627        .91066E-07    .69464E-02
   6  Prefactor     .55511E-10    6.1469        .89530E-06** at limit **
   7  Prefactor     .16653E-09    35.175       -.67075E-06** at limit **
   8  norm           .0000        .97019        .57199E-06** at limit **
   9  norm          7.3182        6.2862       -.20990E-06   -.25145E-01
  10  norm          1.7471        .97984        .53048E-07    .52548E-02
  11  Prefactor      .0000        .97533       -.28868E-07** at limit **
  12  Prefactor     10.777        13.609        .17216E-05    .35839E-01
  13  Prefactor     43.597        16.346       -.11833E-05    .13121    
  14  Normalizat    1.1283        .15115        .17377E-04    .12015E-03
  15  Prefactor     1.0872        .12932       -.97537E-05    .15024E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1345
  norm       = 1.38466
  Prefactor  = 9.43389
  Prefactor  = 23.2074
  norm       = 0.621502
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  norm       = 0
  norm       = 7.31816
  norm       = 1.74711
  Prefactor  = 0
  Prefactor  = 10.7774
  Prefactor  = 43.5966
  Normalizat = 1.12832
  Prefactor  = 1.08717
 **********
 **   18 **HESSE 
 **********

 FCN=   14940.83     FROM HESSE     STATUS=OK           216 CALLS     1384 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.134        17.954        .24161E-03   -1.5625    
   2  norm          1.3847        .92186        .92439E-03   -1.5684    
   3  Prefactor     9.4339        6.8831        .32600E-03   -1.5647    
   4  Prefactor     23.207        22.593        .20758E-03   -1.5612    
   5  norm          .62150        .46294        .67327E-03   -1.5692    
   6  Prefactor     .55511E-10    6.1883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    34.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .97173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.3182        18.458        .37050E-03   -1.5654    
  10  norm          1.7471        .98254        .79315E-03   -1.5682    
  11  Prefactor      .0000        .97457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.777        14.089        .30496E-03   -1.5642    
  13  Prefactor     43.597        34.021        .15149E-03   -1.5576    
  14  Normalizat    1.1283        .12825        .60260E-01   -.88848    
  15  Prefactor     1.0872        .10938        .38095E-01   -.89878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83587e-07
Minuit parameter uncertainties:
  1  17.9537
  2  0.921864
  3  6.88306
  4  22.5936
  5  0.462938
  6  3.5963e-05
  7  0.000146054
  8  7.79684e-06
  9  18.4579
  10  0.982537
  11  2.30127e-06
  12  14.0894
  13  34.0207
  14  0.128285
  15  0.109405
Done.

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

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  5.551e-11  3.596e-05  0.000e+00  1.000e+06 ( 1.000e-13)
299        Index:  2.145e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.087e+00  1.094e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.128e+00  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 135.617 20.850
Photon Flux Upper Limit: 4.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/155419/likelihoodResults_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.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) = 14940.8439212
delta logL = -0.0117744456093

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14940.8321526
delta logL = -5.87766044191e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41808E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.3402       1.0000          .0000       10.000    
     3 'Normalizat'    1.1281       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0872       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14940.83     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      245 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44409E-09    40.525        .42118E-03** at limit **
   2  Index         2.9606        5.6734        .50000        .45475E-10
   3  Normalizat    1.1283        .81700E-02    .60259E-01    .87428E-03
   4  Prefactor     1.0872        .71316E-02    .38094E-01    .29178E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44089e-10
  Index      = 2.96055
  Normalizat = 1.12833
  Prefactor  = 1.08717
 **********
 **   18 **HESSE 
 **********

 FCN=   14940.83     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44409E-09    481.93        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9606        5.5180        .50000       -.42014    
   3  Normalizat    1.1283        .30462E-01    .26651E-03   -.88847    
   4  Prefactor     1.0872        .26602E-01    .23540E-03   -.89878    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.48838e-09
Minuit parameter uncertainties:
  1  0.000912285
  2  40.1851
  3  0.0304625
  4  0.0266022
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/155419': 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) = 14940.8321468
delta logL = -4.8748916015e-10

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  4.441e-10  9.123e-04  0.000e+00  1.000e+06 ( 1.000e-13)
299        Index:  2.961e+00  4.019e+01  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.087e+00  2.660e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.128e+00  3.046e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 135.617 20.850

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/155419/cmap_HighResolution_682905601_683510401_4FGL_J0902.4+2051_weekly_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2022-09-16 19:01:27.711722', job_id='155419', GAL2='1.09', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1663380087.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-4.87e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='734' AND source_name='4FGL J0902.4+2051' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:01:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 155419: <4FGL_J0902.4+2051_weekly_bin734> in cluster <slac> Done

Job <4FGL_J0902.4+2051_weekly_bin734> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:45:31 2022
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:46:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:46:32 2022
Terminated at Fri Sep 16 19:01:28 2022
Results reported at Fri Sep 16 19:01:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0902.4+2051_weekly_bin734 135.617 20.8503 682905601 683510401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0902.4+2051 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   793.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            957 sec.

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

