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 9 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_J0904.0+2724_weekly_bin734
RA = 136.009, Dec = 27.4041
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='155427', job_status='RUN', time_executed='2022-09-16 18:46:53.800463', time_epoch_executed='1663379213.8' WHERE source_name='4FGL J0904.0+2724' and cadence='weekly' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/155427

Creating custom pfile directory:
/scratch/kocevski/155427/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/155427/ft1_4FGL_J0904.0+2724_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/155427/ft2_4FGL_J0904.0+2724_weekly_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/155427/ft1_4FGL_J0904.0+2724_weekly_bin734.fits outfile=/scratch/kocevski/155427/ft1_filteredMKT_4FGL_J0904.0+2724_weekly_bin734.fits ra=136.009 dec=27.4041 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.82
user 9.39
sys 0.34

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

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

Number of photons that the gtmktime cut: 1209

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/155427/ft1_filtered_4FGL_J0904.0+2724_weekly_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/155427/ft2_4FGL_J0904.0+2724_weekly_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/155427/ltcube_682905601_683510401_4FGL_J0904.0+2724_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/155427/ft2_4FGL_J0904.0+2724_weekly_bin734.fits
.....................!
real 32.72
user 31.91
sys 0.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/155427/ft1_filtered_4FGL_J0904.0+2724_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/155427/ft2_4FGL_J0904.0+2724_weekly_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/155427/ltcube_682905601_683510401_4FGL_J0904.0+2724_weekly_bin734.fits outfile=/scratch/kocevski/155427/expmap_682905601_683510401_4FGL_J0904.0+2724_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/155427/ltcube_682905601_683510401_4FGL_J0904.0+2724_weekly_bin734.fits
.....................!
real 192.46
user 187.09
sys 4.86

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/155427/ft1_filtered_4FGL_J0904.0+2724_weekly_bin734.fits scfile=/scratch/kocevski/155427/ft2_4FGL_J0904.0+2724_weekly_bin734.fits outfile=/scratch/kocevski/155427/cmap_682905601_683510401_4FGL_J0904.0+2724_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=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.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/155427/ft1_filtered_4FGL_J0904.0+2724_weekly_bin734.fits scfile=/scratch/kocevski/155427/ft2_4FGL_J0904.0+2724_weekly_bin734.fits outfile=/scratch/kocevski/155427/cmap_HighResolution_682905601_683510401_4FGL_J0904.0+2724_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=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.44
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/155427/ft1_filtered_4FGL_J0904.0+2724_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/155427/ft2_4FGL_J0904.0+2724_weekly_bin734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/155427/Model_4FGL_J0904.0+2724_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/155427/ft1_filtered_4FGL_J0904.0+2724_weekly_bin734.fits.....................!
real 109.94
user 108.20
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/155427/ft1_filtered_4FGL_J0904.0+2724_weekly_bin734.fits', '/scratch/kocevski/155427/ft2_4FGL_J0904.0+2724_weekly_bin734.fits', expMap='/scratch/kocevski/155427/expmap_682905601_683510401_4FGL_J0904.0+2724_weekly_bin734.fits', expCube='/scratch/kocevski/155427/ltcube_682905601_683510401_4FGL_J0904.0+2724_weekly_bin734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/155427/Model_4FGL_J0904.0+2724_weekly_bin734.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/155427/ft1_filtered_4FGL_J0904.0+2724_weekly_bin734.fits
Spacecraft file(s): /scratch/kocevski/155427/ft2_4FGL_J0904.0+2724_weekly_bin734.fits
Exposure map: /scratch/kocevski/155427/expmap_682905601_683510401_4FGL_J0904.0+2724_weekly_bin734.fits
Exposure cube: /scratch/kocevski/155427/ltcube_682905601_683510401_4FGL_J0904.0+2724_weekly_bin734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/155427/Model_4FGL_J0904.0+2724_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) = 14048.8112609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2431       1.0000          .0000       .10000E+07
     2 'Prefactor '    .44242E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    19.435       1.0000          .0000       .10000E+07
     4 'norm      '    1.4416       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.676       1.0000          .0000       .10000E+07
     6 'norm      '    .74435       1.0000          .0000       .10000E+07
     7 'Prefactor '    .38057E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.6087       1.0000          .0000       .10000E+07
     9 'norm      '    10.709       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30778       1.0000          .0000       .10000E+07
    11 'norm      '    1.8232       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.2829       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41472E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    15.227       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79381E-07   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0128       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1029       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=   14047.85     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      934 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1942        8.7007       -.11895E-06    .41892E-04
   2  Prefactor      .0000        6.1702       -.41486E-06** at limit **
   3  Prefactor     19.462        3.2210        .13435E-06    .19881E-01
   4  norm          1.4405        .84241       -.60097E-07    .25844E-02
   5  Prefactor     11.657        7.2329        .16609E-06   -.19843E-02
   6  norm          .74445        .49056        .13526E-07   -.22585E-02
   7  Prefactor     .27756E-09    7.9550        .90637E-06** at limit **
   8  Prefactor     1.6740        2.5328       -.31030E-06   -.12143E-01
   9  norm          10.295        20.056        .13003E-05   -.58203E-02
  10  Prefactor     .18319E-08    451.08        .73253E-05** at limit **
  11  norm          1.8224        1.0052        .20663E-07   -.24394E-02
  12  Prefactor     8.9812        15.132       -.79771E-06    .63403E-02
  13  Prefactor      .0000        1.1528       -.17173E-06** at limit **
  14  Prefactor     15.194        2.7834        .13223E-06    .22335E-01
  15  Prefactor      .0000        2.1490        .35976E-07** at limit **
  16  Normalizat    1.0130        .14435        .47742E-05   -.18663E-03
  17  Prefactor     1.1031        .13363       -.39370E-05   -.20579E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.19416
  Prefactor  = 0
  Prefactor  = 19.4619
  norm       = 1.44046
  Prefactor  = 11.6574
  norm       = 0.744446
  Prefactor  = 2.77556e-10
  Prefactor  = 1.67402
  norm       = 10.2945
  Prefactor  = 1.83187e-09
  norm       = 1.82241
  Prefactor  = 8.98121
  Prefactor  = 0
  Prefactor  = 15.1944
  Prefactor  = 0
  Normalizat = 1.01297
  Prefactor  = 1.10314
 **********
 **   18 **HESSE 
 **********

 FCN=   14047.85     FROM HESSE     STATUS=OK           267 CALLS     1201 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1942        8.7171        .56218E-03   -1.5672    
   2  Prefactor      .0000        6.1832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.462        18.259        .22691E-03   -1.5620    
   4  norm          1.4405        .93924        .89804E-03   -1.5684    
   5  Prefactor     11.657        7.3004        .29292E-03   -1.5640    
   6  norm          .74445        .49503        .57179E-03   -1.5691    
   7  Prefactor     .27756E-09    7.9626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6740        24.810        .83494E-03   -1.5682    
   9  norm          10.295        20.340        .30591E-03   -1.5644    
  10  Prefactor     .18319E-08    13.371        .16215E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8224        1.0075        .77293E-03   -1.5681    
  12  Prefactor     8.9812        15.868        .32870E-03   -1.5648    
  13  Prefactor      .0000        1.1517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.194        16.245        .25640E-03   -1.5630    
  15  Prefactor      .0000        2.1508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0130        .12982        .44765E-01   -.92597    
  17  Prefactor     1.1031        .11542        .37478E-01   -.89366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97326e-08
Minuit parameter uncertainties:
  1  8.71714
  2  7.22712e-06
  3  18.2587
  4  0.939244
  5  7.30045
  6  0.49503
  7  9.34236e-05
  8  12.8892
  9  20.3397
  10  0.000313128
  11  1.00754
  12  15.8684
  13  4.15617e-06
  14  16.2447
  15  1.05395e-05
  16  0.129859
  17  0.115446
Done.

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

Extracting fit parameters...

4FGL J0904.0+2724
   Spectrum: PowerLaw
270    Prefactor:  1.674e+00  1.289e+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.103e+00  1.154e-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:  1.013e+00  1.299e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 136.009 27.404
Photon Flux Upper Limit: 7.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/155427/likelihoodResults_682905601_683510401_4FGL_J0904.0+2724_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) = 14047.699198
delta logL = 0.152867410206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14047.669963
delta logL = 0.182102451028

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5529       1.0000          .0000       .10000E+07
     2 'Index     '    3.8418       1.0000          .0000       10.000    
     3 'Normalizat'    .98935       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1157       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14047.67     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      268 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5525        11.042        .21439E-04   -.21392E-02
   2  Index         3.8418        2.1968        .12737E-01   -.63256E-04
   3  Normalizat    .98938        .14879        .26511E-03   -.58466E-03
   4  Prefactor     1.1156        .13449        .23348E-03   -.40668E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.55246
  Index      = 3.8418
  Normalizat = 0.989382
  Prefactor  = 1.11564
 **********
 **   18 **HESSE 
 **********

 FCN=   14047.67     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5525        8.8700        .85756E-06   -1.5670    
   2  Index         3.8418        1.7861        .50950E-03   -.23376    
   3  Normalizat    .98938        .14898        .53022E-04   -.93387    
   4  Prefactor     1.1156        .13468        .46696E-04   -.88968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.2049e-10
Minuit parameter uncertainties:
  1  8.87001
  2  1.82888
  3  0.149039
  4  0.134717
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/155427': 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) = 14047.6699629
delta logL = 0.18210250202

Extracting fit parameters...

4FGL J0904.0+2724
   Spectrum: PowerLaw
270    Prefactor:  3.552e+00  8.870e+00  0.000e+00  1.000e+06 ( 1.000e-12)
271        Index:  3.842e+00  1.829e+00  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.116e+00  1.347e-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:  9.894e-01  1.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 136.009 27.404

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/155427/cmap_HighResolution_682905601_683510401_4FGL_J0904.0+2724_weekly_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-03', job_status='DONE', photon_flux_upper_limit='7.75e-08', time_completed='2022-09-16 18:59:27.954378', job_id='155427', GAL2='1.12', fit_tolerance='1e-08', EG2='0.99', EG='1.01', time_epoch_completed='1663379967.95', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.82e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='734' AND source_name='4FGL J0904.0+2724' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:59:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 155427: <4FGL_J0904.0+2724_weekly_bin734> in cluster <slac> Done

Job <4FGL_J0904.0+2724_weekly_bin734> 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) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:46:35 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:35 2022
Terminated at Fri Sep 16 18:59:28 2022
Results reported at Fri Sep 16 18:59:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0904.0+2724_weekly_bin734 136.009 27.4041 682905601 683510401 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 :                                   749.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            836 sec.

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

