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


Performing analysis on: 4FGL_J0904.0+2724_weekly_bin733
RA = 136.009, Dec = 27.4041
tmin = 682300801, tmax = 682905601
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='155426', job_status='RUN', time_executed='2022-09-16 18:47:27.462084', time_epoch_executed='1663379247.46' WHERE source_name='4FGL J0904.0+2724' and cadence='weekly' and bin_id='733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/155426

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/155426/ft1_4FGL_J0904.0+2724_weekly_bin733.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/155426/ft2_4FGL_J0904.0+2724_weekly_bin733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/155426/ft1_4FGL_J0904.0+2724_weekly_bin733.fits outfile=/scratch/kocevski/155426/ft1_filteredMKT_4FGL_J0904.0+2724_weekly_bin733.fits ra=136.009 dec=27.4041 rad=12.0 tmin=682300801.0 tmax=682905601.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 7.99
user 7.68
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/155426/ft2_4FGL_J0904.0+2724_weekly_bin733.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/155426/ft2_4FGL_J0904.0+2724_weekly_bin733.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/155426/ft1_filteredMKT_4FGL_J0904.0+2724_weekly_bin733.fits evtable="EVENTS" outfile="/scratch/kocevski/155426/ft1_filtered_4FGL_J0904.0+2724_weekly_bin733.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.57
user 0.38
sys 0.16

Number of photons that the gtmktime cut: 1358

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/155426/ft1_filtered_4FGL_J0904.0+2724_weekly_bin733.fits" evtable="EVENTS" scfile=/scratch/kocevski/155426/ft2_4FGL_J0904.0+2724_weekly_bin733.fits sctable="SC_DATA" outfile=/scratch/kocevski/155426/ltcube_682300801_682905601_4FGL_J0904.0+2724_weekly_bin733.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/155426/ft2_4FGL_J0904.0+2724_weekly_bin733.fits
.....................!
real 34.69
user 34.27
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/155426/ft1_filtered_4FGL_J0904.0+2724_weekly_bin733.fits evtable="EVENTS" scfile=/scratch/kocevski/155426/ft2_4FGL_J0904.0+2724_weekly_bin733.fits sctable="SC_DATA" expcube=/scratch/kocevski/155426/ltcube_682300801_682905601_4FGL_J0904.0+2724_weekly_bin733.fits outfile=/scratch/kocevski/155426/expmap_682300801_682905601_4FGL_J0904.0+2724_weekly_bin733.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/155426/ltcube_682300801_682905601_4FGL_J0904.0+2724_weekly_bin733.fits
.....................!
real 193.05
user 187.30
sys 5.37

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

Setting source of interest to:
4FGL J0904.0+2724 @ 136.009 27.4041

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/155426/ft1_filtered_4FGL_J0904.0+2724_weekly_bin733.fits scfile=/scratch/kocevski/155426/ft2_4FGL_J0904.0+2724_weekly_bin733.fits outfile=/scratch/kocevski/155426/cmap_682300801_682905601_4FGL_J0904.0+2724_weekly_bin733.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=136.009 yref=27.4041 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.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/155426/ft1_filtered_4FGL_J0904.0+2724_weekly_bin733.fits scfile=/scratch/kocevski/155426/ft2_4FGL_J0904.0+2724_weekly_bin733.fits outfile=/scratch/kocevski/155426/cmap_HighResolution_682300801_682905601_4FGL_J0904.0+2724_weekly_bin733.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=136.009 yref=27.4041 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.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/155426/ft1_filtered_4FGL_J0904.0+2724_weekly_bin733.fits evtable="EVENTS" scfile=/scratch/kocevski/155426/ft2_4FGL_J0904.0+2724_weekly_bin733.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/155426/Model_4FGL_J0904.0+2724_weekly_bin733.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/155426/ft1_filtered_4FGL_J0904.0+2724_weekly_bin733.fits.....................!
real 122.20
user 120.73
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/155426/ft1_filtered_4FGL_J0904.0+2724_weekly_bin733.fits', '/scratch/kocevski/155426/ft2_4FGL_J0904.0+2724_weekly_bin733.fits', expMap='/scratch/kocevski/155426/expmap_682300801_682905601_4FGL_J0904.0+2724_weekly_bin733.fits', expCube='/scratch/kocevski/155426/ltcube_682300801_682905601_4FGL_J0904.0+2724_weekly_bin733.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/155426/Model_4FGL_J0904.0+2724_weekly_bin733.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0904.0+2724'

4FGL J0904.0+2724
   Spectrum: PowerLaw
270    Prefactor:  4.118e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
271        Index:  2.793e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  3.968e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/155426/ft1_filtered_4FGL_J0904.0+2724_weekly_bin733.fits
Spacecraft file(s): /scratch/kocevski/155426/ft2_4FGL_J0904.0+2724_weekly_bin733.fits
Exposure map: /scratch/kocevski/155426/expmap_682300801_682905601_4FGL_J0904.0+2724_weekly_bin733.fits
Exposure cube: /scratch/kocevski/155426/ltcube_682300801_682905601_4FGL_J0904.0+2724_weekly_bin733.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/155426/Model_4FGL_J0904.0+2724_weekly_bin733.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) = 15454.3991988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.103       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23244E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.676       1.0000          .0000       .10000E+07
     4 'norm      '    .62677       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.3435       1.0000          .0000       .10000E+07
     6 'norm      '    .97012       1.0000          .0000       .10000E+07
     7 'Prefactor '    .74900E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    28.704       1.0000          .0000       .10000E+07
     9 'norm      '    .59167E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14411E-02   1.0000          .0000       .10000E+07
    11 'norm      '    2.9569       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4418       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20334E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    21.298       1.0000          .0000       .10000E+07
    15 'Prefactor '    .88962E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    .85223       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3864       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15454.36     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1154 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.937        12.430        .11079E-05   -.47084E-01
   2  Prefactor     .10492E-07    95.373       -.14142E-05** at limit **
   3  Prefactor     40.396        7.4992        .20077E-06    .61521E-02
   4  norm          .60948        .84648        .10571E-06    .53066E-02
   5  Prefactor     8.3295        7.1677       -.28863E-06   -.36764E-02
   6  norm          .97004        .42539        .29314E-07    .66334E-04
   7  Prefactor     .14988E-08    9.1882       -.10138E-05** at limit **
   8  Prefactor     28.687        11.037       -.89880E-06   -.45550E-01
   9  norm          .33307E-09    5.6424       -.10256E-05** at limit **
  10  Prefactor      .0000        15.171        .14410E-05** at limit **
  11  norm          2.9567        1.1537        .54300E-07    .13265E-02
  12  Prefactor     2.1241        11.203       -.58282E-06   -.15006E-01
  13  Prefactor      .0000        .53808        .55192E-07** at limit **
  14  Prefactor     21.095        5.9897       -.34065E-07   -.30082E-01
  15  Prefactor      .0000        2.3617        .33296E-07** at limit **
  16  Normalizat    .85256        .13941       -.35202E-05   -.87025E-04
  17  Prefactor     1.3863        .13386        .25867E-05   -.16021E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.9368
  Prefactor  = 1.04916e-08
  Prefactor  = 40.3963
  norm       = 0.609476
  Prefactor  = 8.32947
  norm       = 0.97004
  Prefactor  = 1.4988e-09
  Prefactor  = 28.6874
  norm       = 3.33067e-10
  Prefactor  = 0
  norm       = 2.95667
  Prefactor  = 2.12415
  Prefactor  = 0
  Prefactor  = 21.0953
  Prefactor  = 0
  Normalizat = 0.852556
  Prefactor  = 1.38626
 **********
 **   18 **HESSE 
 **********

 FCN=   15454.36     FROM HESSE     STATUS=OK           261 CALLS     1415 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.937        20.745        .25746E-03   -1.5631    
   2  Prefactor     .10492E-07    91.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.396        19.171        .15877E-03   -1.5581    
   4  norm          .60948        .98093        .66864E-03   -1.5692    
   5  Prefactor     8.3295        7.2562        .34683E-03   -1.5650    
   6  norm          .97004        .42800        .42705E-04   -1.5688    
   7  Prefactor     .14988E-08    9.1947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     28.687        11.724        .18668E-03   -1.5601    
   9  norm          .33307E-09    5.6822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        15.826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9567        1.1597        .59030E-03   -1.5674    
  12  Prefactor     2.1241        26.988        .65446E-03   -1.5679    
  13  Prefactor      .0000        .54083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.095        15.356        .21675E-03   -1.5616    
  15  Prefactor      .0000        2.3690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .85256        .12082        .67122E-01   -.98148    
  17  Prefactor     1.3863        .11321        .52110E-01   -.80777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19973e-07
Minuit parameter uncertainties:
  1  20.7446
  2  0.00196532
  3  19.1714
  4  0.980929
  5  7.25625
  6  0.428001
  7  0.000233573
  8  11.7244
  9  8.37201e-05
  10  1.30825e-05
  11  1.15972
  12  15.1428
  13  2.78189e-07
  14  15.3563
  15  6.73415e-06
  16  0.120859
  17  0.113229
Done.

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

Extracting fit parameters...

4FGL J0904.0+2724
   Spectrum: PowerLaw
270    Prefactor:  2.869e+01  1.172e+01  0.000e+00  1.000e+06 ( 1.000e-12)
271        Index:  2.793e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  3.968e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  1.386e+00  1.132e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  8.526e-01  1.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.67
Ra Dec: 136.009 27.404
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 7.52e-08 +/- 3.07e-08
Energy Flux (Fixed Index): 1.69e-05 +/- 6.91e-06

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) = 15451.1331101
delta logL = 3.23093910825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15451.1328735
delta logL = 3.23117568394

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15451.13     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      221 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.471        11.527        .18744E-03    .14407E-01
   2  Index         1.9743        .21969        .16965       -.14889E-03
   3  Normalizat    .89031        .11663        .65828E-01    .11379E-03
   4  Prefactor     1.3611        .11229        .52477E-01    .57026E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.471
  Index      = 1.97434
  Normalizat = 0.890313
  Prefactor  = 1.36106
 **********
 **   18 **HESSE 
 **********

 FCN=   15451.13     FROM HESSE     STATUS=OK            29 CALLS      250 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.471        13.497        .74978E-05   -1.5601    
   2  Index         1.9743        .28928        .66794E-02   -.64993    
   3  Normalizat    .89031        .13824        .29119E-03   -.96801    
   4  Prefactor     1.3611        .13290        .23201E-03   -.81509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73615e-09
Minuit parameter uncertainties:
  1  13.497
  2  0.289531
  3  0.138293
  4  0.132937
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/155426': 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) = 15451.1328734
delta logL = 3.2311757246

Extracting fit parameters...

4FGL J0904.0+2724
   Spectrum: PowerLaw
270    Prefactor:  2.847e+01  1.350e+01  0.000e+00  1.000e+06 ( 1.000e-12)
271        Index:  1.974e+00  2.895e-01  0.000e+00  1.000e+01 (-1.000e+00)
272        Scale:  3.968e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  1.361e+00  1.329e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  8.903e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.11
Ra Dec: 136.009 27.404
Photon Index (Free Index): 1.97 +/- 0.29
Photon Flux (Free Index): 4.44e-08 +/- 2.38e-08
Energy Flux (Free Index): 3.27e-05 +/- 1.82e-05

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/155426/cmap_HighResolution_682300801_682905601_4FGL_J0904.0+2724_weekly_bin733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.52e-08', energy_flux2='3.27e-05', photon_flux_error='3.07e-08', dlogl='3.23e+00', energy_flux='1.69e-05', photon_flux2='4.44e-08', job_status='DONE', time_completed='2022-09-16 19:00:05.834134', photon_index_error2='0.29', photon_index2='1.97', ts='10.67', fit_tolerance='1e-08', GAL='1.39', photon_index_error='0.00', energy_flux_error2='1.82e-05', EG='0.85', time_epoch_completed='1663380005.83', return_code='0', job_id='155426', GAL2='1.36', EG2='0.89', return_code2='0', energy_flux_error='6.91e-06', photon_flux_error2='2.38e-08', ts2='17.11', photon_index='2.79' WHERE bin_id='733' AND source_name='4FGL J0904.0+2724' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:00:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 155426: <4FGL_J0904.0+2724_weekly_bin733> in cluster <slac> Done

Job <4FGL_J0904.0+2724_weekly_bin733> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:45:32 2022
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:46:34 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:34 2022
Terminated at Fri Sep 16 19:00:06 2022
Results reported at Fri Sep 16 19:00:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0904.0+2724_weekly_bin733 136.009 27.4041 682300801 682905601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0904.0+2724 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   759.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            874 sec.

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

