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


Performing analysis on: 4FGL_J0904.0+2724_daily_bin1772
RA = 136.009, Dec = 27.4041
tmin = 698630401, tmax = 698889601
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='623439', job_status='RUN', time_executed='2023-02-24 01:06:34.179923', time_epoch_executed='1677229594.18' WHERE source_name='4FGL J0904.0+2724' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/623439

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/623439/ft1_4FGL_J0904.0+2724_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/623439/ft2_4FGL_J0904.0+2724_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/623439/ft1_4FGL_J0904.0+2724_daily_bin1772.fits outfile=/scratch/kocevski/623439/ft1_filteredMKT_4FGL_J0904.0+2724_daily_bin1772.fits ra=136.009 dec=27.4041 rad=12.0 tmin=698630401.0 tmax=698889601.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 2.98
user 2.77
sys 0.19

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

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

Number of photons that the gtmktime cut: 40

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/623439/ft1_filtered_4FGL_J0904.0+2724_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/623439/ft2_4FGL_J0904.0+2724_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/623439/ltcube_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.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/623439/ft2_4FGL_J0904.0+2724_daily_bin1772.fits
.....................!
real 12.77
user 12.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/623439/ft1_filtered_4FGL_J0904.0+2724_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/623439/ft2_4FGL_J0904.0+2724_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/623439/ltcube_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.fits outfile=/scratch/kocevski/623439/expmap_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.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/623439/ltcube_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.fits
.....................!
real 192.21
user 186.44
sys 5.45

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/623439/ft1_filtered_4FGL_J0904.0+2724_daily_bin1772.fits scfile=/scratch/kocevski/623439/ft2_4FGL_J0904.0+2724_daily_bin1772.fits outfile=/scratch/kocevski/623439/cmap_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/623439/ft1_filtered_4FGL_J0904.0+2724_daily_bin1772.fits scfile=/scratch/kocevski/623439/ft2_4FGL_J0904.0+2724_daily_bin1772.fits outfile=/scratch/kocevski/623439/cmap_HighResolution_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/623439/ft1_filtered_4FGL_J0904.0+2724_daily_bin1772.fits', '/scratch/kocevski/623439/ft2_4FGL_J0904.0+2724_daily_bin1772.fits', expMap='/scratch/kocevski/623439/expmap_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.fits', expCube='/scratch/kocevski/623439/ltcube_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/623439/Model_4FGL_J0904.0+2724_daily_bin1772.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/623439/ft1_filtered_4FGL_J0904.0+2724_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/623439/ft2_4FGL_J0904.0+2724_daily_bin1772.fits
Exposure map: /scratch/kocevski/623439/expmap_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.fits
Exposure cube: /scratch/kocevski/623439/ltcube_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/623439/Model_4FGL_J0904.0+2724_daily_bin1772.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 507.249088809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 501.559039964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19174E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .85928E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    191.93       1.0000          .0000       .10000E+07
     4 'norm      '    .74718E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .94124E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .19879E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .62589       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24582E-02   1.0000          .0000       .10000E+07
     9 'norm      '    580.35       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15923       1.0000          .0000       .10000E+07
    11 'norm      '    .45403E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    223.03       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10240E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.3841       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.1118       1.0000          .0000       .10000E+07
    16 'Normalizat'    .15602       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0662       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=   501.5552     FROM MIGRAD    STATUS=CONVERGED    174 CALLS      647 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-08    42.773        .46488E-06** at limit **
   2  Prefactor     .73508E-06    47.993       -.22714E-04** at limit **
   3  Prefactor     192.17        100.31       -.95591E-05    .47443E-02
   4  norm          .27756E-09    10.460       -.85569E-05** at limit **
   5  Prefactor     .28866E-08    115.88        .87118E-06** at limit **
   6  norm          .11102E-09    11.244       -.35339E-06** at limit **
   7  Prefactor     .33707E-04    52.003        .16046E-04** at limit **
   8  Prefactor     .30371E-05    60.188       -.55000E-06** at limit **
   9  norm          580.52        7.1542        .45120E-06   -.74642E-01
  10  Prefactor     .22204E-09    153.65       -.75093E-05** at limit **
  11  norm          .55511E-10    8.1546       -.13333E-07** at limit **
  12  Prefactor     221.79        26.814       -.96856E-06    .37486E-01
  13  Prefactor     .80297E-06    48.056        .16044E-04** at limit **
  14  Prefactor     .91317E-05    1982.8       -.38128E-04** at limit **
  15  Prefactor     4.1118        1.0076         .0000         .0000    
  16  Normalizat    .15646        .83518       -.24794E-03   -.99067E-04
  17  Prefactor     1.0666        .58616       -.80790E-04    .27827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-09
  Prefactor  = 7.35079e-07
  Prefactor  = 192.172
  norm       = 2.77556e-10
  Prefactor  = 2.88658e-09
  norm       = 1.11022e-10
  Prefactor  = 3.37073e-05
  Prefactor  = 3.03713e-06
  norm       = 580.515
  Prefactor  = 2.22045e-10
  norm       = 5.55112e-11
  Prefactor  = 221.787
  Prefactor  = 8.02969e-07
  Prefactor  = 9.1317e-06
  Prefactor  = 4.1118
  Normalizat = 0.156457
  Prefactor  = 1.06664
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   501.5552     FROM HESSE     STATUS=FAILED        67 CALLS      714 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-08    42.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .73508E-06    50.759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     192.17        91.671        .72188E-04   -1.5431    
   4  norm          .27756E-09    10.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .28866E-08    113.89        .14090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    11.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33707E-04    180.61        .66940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .30371E-05    71.969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          580.52        565.59        .41522E-04   -1.5226    
  10  Prefactor     .22204E-09    153.75        .12552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    8.1619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     221.79        195.78        .66968E-04   -1.5410    
  13  Prefactor     .80297E-06    51.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .91317E-05    2020.4        .48078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     59505.        59501.         .0000       -1.5667    
  16  Normalizat    .15646        .40557       -.24794E-03   -1.8136    
  17  Prefactor     1.0666        1.1748       -.80790E-04   -.90540    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.56794e-10
Minuit parameter uncertainties:
  1  0.000432568
  2  0.0122169
  3  91.6717
  4  0.000112187
  5  0.00115017
  6  7.81154e-05
  7  0.156057
  8  0.0295691
  9  565.638
  10  0.000366358
  11  5.04273e-05
  12  195.79
  13  0.0128208
  14  0.271753
  15  1.00759
  16  0.413706
  17  1.20521
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 501.555247889

Extracting fit parameters...

4FGL J0904.0+2724
   Spectrum: PowerLaw
270    Prefactor:  3.037e-06  2.957e-02  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.067e+00  1.205e+00  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.565e-01  4.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 136.009 27.404
Photon Flux Upper Limit: 8.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.85e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/623439/likelihoodResults_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.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) = 501.561877113
delta logL = -0.00662922458224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 501.555248057
delta logL = -1.6780148826e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85176E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1197       1.0000          .0000       10.000    
     3 'Normalizat'    .15629       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0669       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=   501.5552     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      210 TOTAL
                     EDM=   .27E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    71.163       -.33520E-06** at limit **
   2  Index         2.8644        6.9483        .16089E-04    .12909E-11
   3  Normalizat    .15645        .79010       -.13074E-05   -.42109E-05
   4  Prefactor     1.0666        .58623        .10201E-04   -.17635E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.86436
  Normalizat = 0.15645
  Prefactor  = 1.06664
 **********
 **   18 **HESSE 
 **********

 FCN=   501.5552     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      243 TOTAL
                     EDM=   .56E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    2.3130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8644        7.1662        .36882       -.44131    
   3  Normalizat    .15645        .25454E-02    .13093       -1.3280    
   4  Prefactor     1.0666        .21762E-02    .39007E-01   -.90540    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.61966e-14
Minuit parameter uncertainties:
  1  4.00435e-05
  2  134669
  3  0.00254542
  4  0.00217618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/623439': 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) = 501.555247867
delta logL = 2.14421334022e-08

Extracting fit parameters...

4FGL J0904.0+2724
   Spectrum: PowerLaw
270    Prefactor:  1.665e-10  4.004e-05  0.000e+00  1.000e+06 ( 1.000e-12)
271        Index:  2.864e+00  1.347e+05  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.067e+00  2.176e-03  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.565e-01  2.545e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 136.009 27.404

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/623439/cmap_HighResolution_698630401_698889601_4FGL_J0904.0+2724_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.85e-02', job_status='DONE', photon_flux_upper_limit='8.65e-07', time_completed='2023-02-24 01:11:57.729547', job_id='623439', GAL2='1.07', fit_tolerance='1e-08', EG2='0.16', EG='0.16', time_epoch_completed='1677229917.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.07', dlogl='2.14e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1772' AND source_name='4FGL J0904.0+2724' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:11:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 623439: <4FGL_J0904.0+2724_daily_bin1772> in cluster <slac> Done

Job <4FGL_J0904.0+2724_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 01:05:17 2023
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:05:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:05:18 2023
Terminated at Fri Feb 24 01:11:58 2023
Results reported at Fri Feb 24 01:11:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0904.0+2724_daily_bin1772 136.009 27.4041 698630401 698889601 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 :                                   326.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             220.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   400 sec.
    Turnaround time :                            401 sec.

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

