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 172 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 = 7494
number of fields = 31
RA_SUN column already exists. File will not be modifiedDoDone.


Performing analysis on: 4FGL_J0635.6-7518_daily_bin1701
RA = 98.9022, Dec = -75.3046
tmin = 680227201, tmax = 680486401
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='158622', job_status='RUN', time_executed='2022-07-26 01:40:46.711798', time_epoch_executed='1658824846.71' WHERE source_name='4FGL J0635.6-7518' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158622

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158622/ft1_4FGL_J0635.6-7518_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158622/ft2_4FGL_J0635.6-7518_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158622/ft1_4FGL_J0635.6-7518_daily_bin1701.fits outfile=/scratch/kocevski/158622/ft1_filteredMKT_4FGL_J0635.6-7518_daily_bin1701.fits ra=98.9022 dec=-75.3046 rad=12.0 tmin=680227201.0 tmax=680486401.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 3.03
user 2.71
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/158622/ft2_4FGL_J0635.6-7518_daily_bin1701.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158622/ft2_4FGL_J0635.6-7518_daily_bin1701.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/158622/ft1_filteredMKT_4FGL_J0635.6-7518_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/158622/ft1_filtered_4FGL_J0635.6-7518_daily_bin1701.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 1442

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158622/ft1_filtered_4FGL_J0635.6-7518_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/158622/ft2_4FGL_J0635.6-7518_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/158622/ltcube_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.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/158622/ft2_4FGL_J0635.6-7518_daily_bin1701.fits
.....................!
real 16.29
user 15.77
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158622/ft1_filtered_4FGL_J0635.6-7518_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/158622/ft2_4FGL_J0635.6-7518_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/158622/ltcube_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.fits outfile=/scratch/kocevski/158622/expmap_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.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/158622/ltcube_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.fits
.....................!
real 193.31
user 187.63
sys 4.95

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
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-North.fits is the correct path to the extended template.
Extended source SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Added 173 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0635.6-7518 @ 98.9022 -75.3046

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/158622/ft1_filtered_4FGL_J0635.6-7518_daily_bin1701.fits scfile=/scratch/kocevski/158622/ft2_4FGL_J0635.6-7518_daily_bin1701.fits outfile=/scratch/kocevski/158622/cmap_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.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.9022 yref=-75.3046 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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158622/ft1_filtered_4FGL_J0635.6-7518_daily_bin1701.fits scfile=/scratch/kocevski/158622/ft2_4FGL_J0635.6-7518_daily_bin1701.fits outfile=/scratch/kocevski/158622/cmap_HighResolution_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.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.9022 yref=-75.3046 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.57
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158622/ft1_filtered_4FGL_J0635.6-7518_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/158622/ft2_4FGL_J0635.6-7518_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158622/Model_4FGL_J0635.6-7518_daily_bin1701.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/scratch/kocevski/158622/ft1_filtered_4FGL_J0635.6-7518_daily_bin1701.fits.....................!
real 12957.11
user 12922.13
sys 4.71

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158622/ft1_filtered_4FGL_J0635.6-7518_daily_bin1701.fits', '/scratch/kocevski/158622/ft2_4FGL_J0635.6-7518_daily_bin1701.fits', expMap='/scratch/kocevski/158622/expmap_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.fits', expCube='/scratch/kocevski/158622/ltcube_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158622/Model_4FGL_J0635.6-7518_daily_bin1701.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0635.6-7518'

4FGL J0635.6-7518
   Spectrum: PowerLaw
269    Prefactor:  6.577e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  2.701e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  5.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/158622/ft1_filtered_4FGL_J0635.6-7518_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/158622/ft2_4FGL_J0635.6-7518_daily_bin1701.fits
Exposure map: /scratch/kocevski/158622/expmap_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.fits
Exposure cube: /scratch/kocevski/158622/ltcube_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158622/Model_4FGL_J0635.6-7518_daily_bin1701.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 15056.958174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10709E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .18008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.189       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .30093E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.2880       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0445       1.0000         .10000E-03   10000.    
     8 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4805       1.0000         .10000E-03   10000.    
    10 'norm      '    .71481       1.0000         .10000E-03   10000.    
    11 'norm      '    3.4964       1.0000         .10000E-03   10000.    
    12 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2617       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.612       1.0000         .10000E-03   10000.    
    15 'norm      '    13.404       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.9197       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.925       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1334       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15056.03     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     1743 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.885        .23727E-05** at limit **
   2  Prefactor     .10000E-03    13.849       -.90902E-07** at limit **
   3  Prefactor     .10001E-03    13.647        .16393E-04** at limit **
   4  Prefactor     26.210        18.331        .30893E-07   -.13598E-03
   5  Prefactor     .10045E-03    25.137        .14581E-04** at limit **
   6  norm          8.2844        23.401       -.72653E-06   -.27059E-04
   7  Prefactor     2.0442        3.0419        .20913E-07    .34000E-03
   8  norm          .10000E-03    2.2110       -.11327E-06** at limit **
   9  Prefactor     2.4774        4.8768        .64051E-05    .88124E-03
  10  norm          .71336        1.5372       -.21168E-07   -.48973E-03
  11  norm          3.4968        2.7073        .12112E-06    .24350E-03
  12  norm          .10000E-03    1.4573       -.28839E-06** at limit **
  13  Prefactor     1.7245        642.85        .27627E-05   -.74797E-05
  14  Prefactor     25.610        25.610       -.26100E-06   -.30437E-04
  15  norm          13.403        8.3629       -.24927E-06   -.10481E-03
  16  Prefactor     5.9160        8.5755       -.24270E-06   -.59829E-04
  17  Prefactor     18.909        31.371       -.17182E-06   -.24643E-04
  18  Normalizat    1.1337        .17703       -.87522E-06   -.35613E-03
  19  Prefactor     .98356        .67441E-01   -.54962E-07   -.81427E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 26.2096
  Prefactor  = 0.000100445
  norm       = 8.2844
  Prefactor  = 2.04419
  norm       = 0.0001
  Prefactor  = 2.47736
  norm       = 0.713364
  norm       = 3.49681
  norm       = 0.0001
  Prefactor  = 1.72446
  Prefactor  = 25.6099
  norm       = 13.4026
  Prefactor  = 5.916
  Prefactor  = 18.9093
  Normalizat = 1.13365
  Prefactor  = 0.983563
 **********
 **   18 **HESSE 
 **********

 FCN=   15056.03     FROM HESSE     STATUS=OK           286 CALLS     2029 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    20.423        .35020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.210        18.326        .78280E-04   -1.4684    
   5  Prefactor     .10045E-03    15.860        .17120       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2844        23.357        .13926E-03   -1.5132    
   7  Prefactor     2.0442        3.0227        .24970E-03   -1.5422    
   8  norm          .10000E-03    2.2323        .17817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4774        7.1387        .12979E-02   -1.5393    
  10  norm          .71336        1.6135        .21354E-02   -1.5539    
  11  norm          3.4968        2.6834        .17007E-03   -1.5334    
  12  norm          .10000E-03    3.7635        .28596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7245        645.70        .27315E-03   -1.5445    
  14  Prefactor     25.610        25.560        .39577E-03   -1.4695    
  15  norm          13.403        8.3636        .10940E-03   -1.4976    
  16  Prefactor     5.9160        8.5692        .16505E-03   -1.5221    
  17  Prefactor     18.909        31.372        .92068E-04   -1.4838    
  18  Normalizat    1.1337        .20391        .39502E-03   -.88679    
  19  Prefactor     .98356        .78477E-01    .16229E-03   -.93279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28681e-08
Minuit parameter uncertainties:
  1  3.59635e-05
  2  3.81967e-05
  3  0.000958784
  4  18.3302
  5  0.0053166
  6  23.3824
  7  3.02292
  8  1.8245e-05
  9  7.14117
  10  1.61359
  11  2.68349
  12  5.17309e-05
  13  67.482
  14  25.5708
  15  8.36437
  16  8.57102
  17  31.3998
  18  0.204051
  19  0.0784856
Done.

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

Extracting fit parameters...

4FGL J0635.6-7518
   Spectrum: PowerLaw
269    Prefactor:  2.477e+00  7.141e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  2.701e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  5.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  9.836e-01  7.849e-02  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.134e+00  2.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 98.902 -75.305
Photon Flux Upper Limit: 9.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158622/likelihoodResults_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.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) = 15055.6744789
delta logL = 0.358447474515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15055.6532916
delta logL = 0.379634715455

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15055.65     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      267 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35094        3.7492        .10663E-01    .36410E-02
   2  Index         5.1842        2.3949        .29306        .10217E-03
   3  Normalizat    1.0923        .28684E-01    .90672E-01    .71957E-04
   4  Prefactor     .99349        .11118E-01    .46187E-01    .26386E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.350941
  Index      = 5.18423
  Normalizat = 1.09226
  Prefactor  = 0.993488
 **********
 **   18 **HESSE 
 **********

 FCN=   15055.65     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      300 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35094        21.466        .78267E-04   -1.5589    
   2  Index         5.1842        7.2202        .10102E-01    .36853E-01
   3  Normalizat    1.0923        .16310        .40159E-03   -.90001    
   4  Prefactor     .99349        .62588E-01    .16156E-03   -.92947    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49079e-06
Minuit parameter uncertainties:
  1  5.49066
  2  10.7931
  3  0.163173
  4  0.0625928
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158622': 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) = 15055.6532885
delta logL = 0.379637902162

Extracting fit parameters...

4FGL J0635.6-7518
   Spectrum: PowerLaw
269    Prefactor:  3.509e-01  5.491e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  5.184e+00  1.079e+01  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  5.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  9.935e-01  6.259e-02  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.092e+00  1.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 98.902 -75.305

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/158622/cmap_HighResolution_680227201_680486401_4FGL_J0635.6-7518_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2022-07-26 05:32:04.173362', job_id='158622', GAL2='0.99', fit_tolerance='1e-08', EG2='1.09', EG='1.13', time_epoch_completed='1658838724.17', return_code2='102', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='3.80e-01', ts2='0.96', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1701' AND source_name='4FGL J0635.6-7518' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 05:32:04 PDT 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 158468: <4FGL_J0635.6-7518_daily_bin1701> in cluster <slac> Done

Job <4FGL_J0635.6-7518_daily_bin1701> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jul 26 00:05:20 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 01:35:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 01:35:40 2022
Terminated at Tue Jul 26 05:21:22 2022
Results reported at Tue Jul 26 05:21:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0635.6-7518_daily_bin1701 98.9022 -75.3046 680227201 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0635.6-7518 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   13496.00 sec.
    Max Memory :                                 1103 MB
    Average Memory :                             604.99 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   13541 sec.
    Turnaround time :                            18962 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 158622: <4FGL_J0635.6-7518_daily_bin1701> in cluster <slac> Done

Job <4FGL_J0635.6-7518_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 00:05:29 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 01:37:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 01:37:46 2022
Terminated at Tue Jul 26 05:32:05 2022
Results reported at Tue Jul 26 05:32:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0635.6-7518_daily_bin1701 98.9022 -75.3046 680227201 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0635.6-7518 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   13855.00 sec.
    Max Memory :                                 630 MB
    Average Memory :                             596.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   14058 sec.
    Turnaround time :                            19596 sec.

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

