/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 1 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7383
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0634.9-2335_daily_bin276
RA = 98.7305, Dec = -23.5949
tmin = 310867201, tmax = 311126401
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='507275', job_status='RUN', time_executed='2021-08-25 09:06:17.951542', time_epoch_executed='1629907577.95' WHERE source_name='4FGL J0634.9-2335' and cadence='daily' and bin_id='276'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507275

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507275/ft1_4FGL_J0634.9-2335_daily_bin276.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507275/ft2_4FGL_J0634.9-2335_daily_bin276.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507275/ft1_4FGL_J0634.9-2335_daily_bin276.fits outfile=/scratch/kocevski/507275/ft1_filteredMKT_4FGL_J0634.9-2335_daily_bin276.fits ra=98.7305 dec=-23.5949 rad=12.0 tmin=310867201.0 tmax=311126401.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 5.23
user 3.28
sys 1.90

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/507275/ft2_4FGL_J0634.9-2335_daily_bin276.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/507275/ft2_4FGL_J0634.9-2335_daily_bin276.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/507275/ft1_filteredMKT_4FGL_J0634.9-2335_daily_bin276.fits evtable="EVENTS" outfile="/scratch/kocevski/507275/ft1_filtered_4FGL_J0634.9-2335_daily_bin276.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 2.23
user 0.31
sys 1.87

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507275/ft1_filtered_4FGL_J0634.9-2335_daily_bin276.fits" evtable="EVENTS" scfile=/scratch/kocevski/507275/ft2_4FGL_J0634.9-2335_daily_bin276.fits sctable="SC_DATA" outfile=/scratch/kocevski/507275/ltcube_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.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/507275/ft2_4FGL_J0634.9-2335_daily_bin276.fits
.....................!
real 13.79
user 11.53
sys 2.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507275/ft1_filtered_4FGL_J0634.9-2335_daily_bin276.fits evtable="EVENTS" scfile=/scratch/kocevski/507275/ft2_4FGL_J0634.9-2335_daily_bin276.fits sctable="SC_DATA" expcube=/scratch/kocevski/507275/ltcube_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.fits outfile=/scratch/kocevski/507275/expmap_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.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/507275/ltcube_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.fits
.....................!
real 192.29
user 185.04
sys 6.72

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J0634.9-2335 @ 98.7305 -23.5949

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/507275/ft1_filtered_4FGL_J0634.9-2335_daily_bin276.fits scfile=/scratch/kocevski/507275/ft2_4FGL_J0634.9-2335_daily_bin276.fits outfile=/scratch/kocevski/507275/cmap_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.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=98.7305 yref=-23.5949 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 2.21
user 0.37
sys 1.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507275/ft1_filtered_4FGL_J0634.9-2335_daily_bin276.fits scfile=/scratch/kocevski/507275/ft2_4FGL_J0634.9-2335_daily_bin276.fits outfile=/scratch/kocevski/507275/cmap_HighResolution_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.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=98.7305 yref=-23.5949 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 2.20
user 0.38
sys 1.81

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507275/ft1_filtered_4FGL_J0634.9-2335_daily_bin276.fits evtable="EVENTS" scfile=/scratch/kocevski/507275/ft2_4FGL_J0634.9-2335_daily_bin276.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507275/Model_4FGL_J0634.9-2335_daily_bin276.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/507275/ft1_filtered_4FGL_J0634.9-2335_daily_bin276.fits.....................!
real 145.03
user 141.29
sys 3.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/507275/ft1_filtered_4FGL_J0634.9-2335_daily_bin276.fits', '/scratch/kocevski/507275/ft2_4FGL_J0634.9-2335_daily_bin276.fits', expMap='/scratch/kocevski/507275/expmap_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.fits', expCube='/scratch/kocevski/507275/ltcube_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/507275/Model_4FGL_J0634.9-2335_daily_bin276.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0634.9-2335'

4FGL J0634.9-2335
   Spectrum: PowerLaw
277    Prefactor:  1.593e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
278        Index:  2.612e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  7.320e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/507275/ft1_filtered_4FGL_J0634.9-2335_daily_bin276.fits
Spacecraft file(s): /scratch/kocevski/507275/ft2_4FGL_J0634.9-2335_daily_bin276.fits
Exposure map: /scratch/kocevski/507275/expmap_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.fits
Exposure cube: /scratch/kocevski/507275/ltcube_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/507275/Model_4FGL_J0634.9-2335_daily_bin276.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) = 9551.0198514

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5842       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.086       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5282       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.349       1.0000         .10000E-03   10000.    
     9 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10282E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2885       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    13.727       1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .19499E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.6725       1.0000         .10000E-03   10000.    
    18 'norm      '    25.587       1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.3995       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10115E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10177E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1256       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0096       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9550.902     FROM MIGRAD    STATUS=CONVERGED    649 CALLS     2829 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5845        9.6257        .49130E-05    .18852E-03
   2  Prefactor     .10000E-03    5.6548        .19430E-07** at limit **
   3  Prefactor     26.087        13.553        .35871E-07   -.29447E-04
   4  Prefactor     .10000E-03    39.829       -.17621E-05** at limit **
   5  Prefactor     .10000E-03    12.977        .14092E-07** at limit **
   6  Prefactor     2.5034        83.507        .40526E-05    .17706E-04
   7  Prefactor     .10000E-03    21.634       -.10791E-05** at limit **
   8  Prefactor     35.361        34.465       -.73403E-06   -.57903E-04
   9  norm          .10000E-03    2.1717        .10026E-06** at limit **
  10  Prefactor     .10000E-03    24.320        .10485E-05** at limit **
  11  Prefactor     3.2881        4.7567        .22111E-06   -.14687E-04
  12  Prefactor     .10000E-03    6.7047        .34688E-07** at limit **
  13  norm          .10000E-03    33.534        .53296E-06** at limit **
  14  norm          13.731        8.7708       -.31557E-06   -.20985E-03
  15  norm          .10000E-03    .44645        .93365E-07** at limit **
  16  norm          .10011E-03    15.342        .57533E-05** at limit **
  17  Prefactor     1.6831        6.6631       -.21127E-05   -.13058E-03
  18  norm          25.585        19.341        .15856E-06   -.51966E-04
  19  norm          .10000E-03    4.3679        .39820E-07** at limit **
  20  Prefactor     7.3984        13.160       -.34109E-08   -.75620E-05
  21  Prefactor     .10000E-03    3.1605        .49745E-07** at limit **
  22  norm          .10000E-03    28.846        .14554E-05** at limit **
  23  norm          .10000E-03    81.893        .12270E-05** at limit **
  24  norm          .10000E-03    1.2363        .41080E-07** at limit **
  25  Prefactor     .10000E-03    12.350        .12316E-06** at limit **
  26  Normalizat    1.1254        .25586       -.75097E-06   -.10707E-03
  27  Prefactor     1.0096        .61507E-01   -.10556E-07   -.47050E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58455
  Prefactor  = 0.0001
  Prefactor  = 26.0873
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.50339
  Prefactor  = 0.0001
  Prefactor  = 35.3609
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.2881
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.7312
  norm       = 0.0001
  norm       = 0.000100108
  Prefactor  = 1.68313
  norm       = 25.5846
  norm       = 0.0001
  Prefactor  = 7.39835
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.12542
  Prefactor  = 1.00959
 **********
 **   18 **HESSE 
 **********

 FCN=   9550.902     FROM HESSE     STATUS=OK           484 CALLS     3313 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5845        10.554        .16866E-02   -1.5456    
   2  Prefactor     .10000E-03    5.7047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     26.087        13.555        .78433E-04   -1.4686    
   4  Prefactor     .10000E-03    39.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5034        83.911        .25690E-03   -1.5392    
   7  Prefactor     .10000E-03    21.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     35.361        34.480        .67404E-04   -1.4518    
   9  norm          .10000E-03    2.1745        .14062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    24.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2881        4.7403        .22328E-03   -1.5345    
  12  Prefactor     .10000E-03    6.7060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    33.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.731        8.7315        .10811E-03   -1.4967    
  15  norm          .10000E-03    .44764        .63813E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10011E-03    57.789        .52235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.6831        6.7246        .32593E-03   -1.5448    
  18  norm          25.585        19.355        .79194E-04   -1.4696    
  19  norm          .10000E-03    4.3970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.3984        13.145        .14744E-03   -1.5164    
  21  Prefactor     .10000E-03    3.2541        .33887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    28.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    82.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    2.2056        .21087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    12.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1254        .26565        .51960E-03   -.88940    
  27  Prefactor     1.0096        .64083E-01    .14163E-03   -.92411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05973e-09
Minuit parameter uncertainties:
  1  8.18077
  2  1.41635e-05
  3  13.5565
  4  0.000266175
  5  1.40045e-05
  6  29.0308
  7  7.45983e-05
  8  34.4999
  9  6.27706e-06
  10  5.39061e-05
  11  4.74086
  12  2.69238e-06
  13  0.000123822
  14  8.73229
  15  5.32105e-07
  16  0.00499442
  17  6.72757
  18  19.3597
  19  4.0492e-06
  20  13.1503
  21  7.66307e-06
  22  0.000190428
  23  0.000283668
  24  2.40743e-06
  25  1.14627e-05
  26  0.265962
  27  0.0640875
Done.

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

Extracting fit parameters...

4FGL J0634.9-2335
   Spectrum: PowerLaw
277    Prefactor:  1.683e+00  6.728e+00  1.000e-04  1.000e+04 ( 1.000e-12)
278        Index:  2.612e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  7.320e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.010e+00  6.409e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.125e+00  2.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 98.731 -23.595
Photon Flux Upper Limit: 1.86e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.45e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/507275/likelihoodResults_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.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) = 9550.55437657
delta logL = 0.347302834478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9550.5372593
delta logL = 0.364420099329

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45313       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4021       1.0000          .0000       10.000    
     3 'Normalizat'    1.0678       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0162       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9550.537     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      262 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45959        6.0408        .17705E-01    .80378E-03
   2  Index         4.3928        2.4579        .20290        .22404E-04
   3  Normalizat    1.0677        .47013E-01    .11985       -.23116E-03
   4  Prefactor     1.0162        .12263E-01    .31954E-01   -.11476E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.45959
  Index      = 4.39279
  Normalizat = 1.06768
  Prefactor  = 1.01618
 **********
 **   18 **HESSE 
 **********

 FCN=   9550.537     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      295 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45959        32.307        .79543E-03   -1.5572    
   2  Index         4.3928        6.9460        .83837E-02   -.12174    
   3  Normalizat    1.0677        .20457        .53171E-03   -.90796    
   4  Prefactor     1.0162        .51497E-01    .14122E-03   -.92192    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.37296e-09
Minuit parameter uncertainties:
  1  7.71005
  2  9.43174
  3  0.204718
  4  0.0514991
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507275': 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) = 9550.53725356
delta logL = 0.364425844731

Extracting fit parameters...

4FGL J0634.9-2335
   Spectrum: PowerLaw
277    Prefactor:  4.596e-01  7.710e+00  1.000e-04  1.000e+04 ( 1.000e-12)
278        Index:  4.393e+00  9.432e+00  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  7.320e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.016e+00  5.150e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.068e+00  2.047e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 98.731 -23.595

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/507275/cmap_HighResolution_310867201_311126401_4FGL_J0634.9-2335_daily_bin276.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-02', job_status='DONE', photon_flux_upper_limit='1.86e-07', time_completed='2021-08-25 09:21:53.889380', job_id='507275', GAL2='1.02', fit_tolerance='1e-08', EG2='1.07', EG='1.13', time_epoch_completed='1629908513.89', return_code2='102', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.64e-01', ts2='0.89', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='276' AND source_name='4FGL J0634.9-2335' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 09:21:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 507275: <4FGL_J0634.9-2335_daily_bin276> in cluster <slac> Done

Job <4FGL_J0634.9-2335_daily_bin276> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Aug 25 09:05:38 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 09:05:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 25 09:05:40 2021
Terminated at Wed Aug 25 09:21:54 2021
Results reported at Wed Aug 25 09:21:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0634.9-2335_daily_bin276 98.7305 -23.5949 310867201 311126401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0634.9-2335 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   960.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            976 sec.

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

