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


Performing analysis on: 4FGL_J0635.6-7518_daily_bin1675
RA = 98.9022, Dec = -75.3046
tmin = 673488001, tmax = 673747201
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='862478', job_status='RUN', time_executed='2022-05-09 00:52:06.183446', time_epoch_executed='1652082726.18' WHERE source_name='4FGL J0635.6-7518' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862478

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862478/ft1_4FGL_J0635.6-7518_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862478/ft2_4FGL_J0635.6-7518_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862478/ft1_4FGL_J0635.6-7518_daily_bin1675.fits outfile=/scratch/kocevski/862478/ft1_filteredMKT_4FGL_J0635.6-7518_daily_bin1675.fits ra=98.9022 dec=-75.3046 rad=12.0 tmin=673488001.0 tmax=673747201.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.59
user 2.36
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/862478/ft2_4FGL_J0635.6-7518_daily_bin1675.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/862478/ft1_filteredMKT_4FGL_J0635.6-7518_daily_bin1675.fits evtable="EVENTS" outfile="/scratch/kocevski/862478/ft1_filtered_4FGL_J0635.6-7518_daily_bin1675.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.34
sys 0.15

Number of photons that the gtmktime cut: 1385

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862478/ft1_filtered_4FGL_J0635.6-7518_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/862478/ft2_4FGL_J0635.6-7518_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/862478/ltcube_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.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/862478/ft2_4FGL_J0635.6-7518_daily_bin1675.fits
.....................!
real 14.93
user 14.54
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862478/ft1_filtered_4FGL_J0635.6-7518_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/862478/ft2_4FGL_J0635.6-7518_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/862478/ltcube_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.fits outfile=/scratch/kocevski/862478/expmap_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.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/862478/ltcube_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.fits
.....................!
real 192.81
user 185.80
sys 6.34

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/862478/ft1_filtered_4FGL_J0635.6-7518_daily_bin1675.fits scfile=/scratch/kocevski/862478/ft2_4FGL_J0635.6-7518_daily_bin1675.fits outfile=/scratch/kocevski/862478/cmap_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862478/ft1_filtered_4FGL_J0635.6-7518_daily_bin1675.fits scfile=/scratch/kocevski/862478/ft2_4FGL_J0635.6-7518_daily_bin1675.fits outfile=/scratch/kocevski/862478/cmap_HighResolution_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862478/ft1_filtered_4FGL_J0635.6-7518_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/862478/ft2_4FGL_J0635.6-7518_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862478/Model_4FGL_J0635.6-7518_daily_bin1675.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/862478/ft1_filtered_4FGL_J0635.6-7518_daily_bin1675.fits.....................!
real 12337.24
user 12288.99
sys 8.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862478/ft1_filtered_4FGL_J0635.6-7518_daily_bin1675.fits', '/scratch/kocevski/862478/ft2_4FGL_J0635.6-7518_daily_bin1675.fits', expMap='/scratch/kocevski/862478/expmap_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.fits', expCube='/scratch/kocevski/862478/ltcube_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862478/Model_4FGL_J0635.6-7518_daily_bin1675.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/862478/ft1_filtered_4FGL_J0635.6-7518_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/862478/ft2_4FGL_J0635.6-7518_daily_bin1675.fits
Exposure map: /scratch/kocevski/862478/expmap_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.fits
Exposure cube: /scratch/kocevski/862478/ltcube_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862478/Model_4FGL_J0635.6-7518_daily_bin1675.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) = 14523.1947847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.048       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .53717       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.6420       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3217       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1077       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.3171       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.758       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.450       1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.136       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .92570       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0202       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=   14523.14     FROM MIGRAD    STATUS=CONVERGED    390 CALLS     1953 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.047        28.131       -.57017E-06   -.65730E-05
   2  Prefactor     .10000E-03    14.380        .18081E-09** at limit **
   3  Prefactor     .53752        1.5475        .19961E-06   -.72400E-03
   4  Prefactor     5.6500        18.795        .29155E-05    .14595E-04
   5  Prefactor     .10000E-03    54.276        .51187E-07** at limit **
   6  norm          .10000E-03    8.3135       -.62552E-08** at limit **
   7  Prefactor     1.3219        2.5427        .12104E-07   -.27525E-03
   8  norm          .10000E-03    2.4540       -.43894E-10** at limit **
   9  Prefactor     .10000E-03    3.6328       -.64092E-08** at limit **
  10  norm          3.1078        2.2653        .13920E-07   -.90667E-04
  11  norm          .10000E-03    .90437        .47943E-08** at limit **
  12  norm          2.3170        2.9889        .11321E-07   -.25295E-03
  13  Prefactor     15.754        43.399       -.58489E-05   -.24757E-04
  14  Prefactor     .10000E-03    27.380       -.78090E-07** at limit **
  15  norm          .10000E-03    5.4926       -.39285E-08** at limit **
  16  Prefactor     12.450        11.736        .14208E-06   -.26290E-03
  17  Prefactor     27.136        36.397       -.31362E-06   -.39124E-05
  18  Normalizat    .92570        .17734        .14872E-07   -.16107E-04
  19  Prefactor     1.0202        .67923E-01    .31357E-08   -.12540E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0475
  Prefactor  = 0.0001
  Prefactor  = 0.537523
  Prefactor  = 5.65004
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.32189
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.10777
  norm       = 0.0001
  norm       = 2.31699
  Prefactor  = 15.754
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.45
  Prefactor  = 27.1359
  Normalizat = 0.925699
  Prefactor  = 1.02022
 **********
 **   18 **HESSE 
 **********

 FCN=   14523.14     FROM HESSE     STATUS=OK           270 CALLS     2223 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.047        28.256        .12641E-03   -1.5074    
   2  Prefactor     .10000E-03    14.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .53752        3.0917        .41731E-03   -1.5561    
   4  Prefactor     5.6500        18.789        .16912E-03   -1.5233    
   5  Prefactor     .10000E-03    54.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.3157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.3219        2.5308        .26202E-03   -1.5478    
   8  norm          .10000E-03    2.4749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.6653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1078        2.2663        .15003E-03   -1.5355    
  11  norm          .10000E-03    .91610        .11188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3170        3.0204        .23129E-03   -1.5404    
  13  Prefactor     15.754        43.641        .10089E-03   -1.4914    
  14  Prefactor     .10000E-03    27.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.5178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.450        12.352        .56762E-03   -1.5002    
  17  Prefactor     27.136        36.428        .76904E-04   -1.4666    
  18  Normalizat    .92570        .20263        .41686E-03   -.95563    
  19  Prefactor     1.0202        .78267E-01    .15520E-03   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03582e-10
Minuit parameter uncertainties:
  1  28.2938
  2  3.46627e-07
  3  2.57825
  4  18.8082
  5  0.000192927
  6  2.77367e-07
  7  2.53096
  8  6.26122e-08
  9  3.81775e-07
  10  2.2664
  11  4.40768e-07
  12  3.02059
  13  43.73
  14  2.86325e-06
  15  2.04029e-07
  16  12.3546
  17  36.4582
  18  0.202795
  19  0.078276
Done.

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

Extracting fit parameters...

4FGL J0635.6-7518
   Spectrum: PowerLaw
269    Prefactor:  1.000e-04  3.818e-07  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:  1.020e+00  7.828e-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:  9.257e-01  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/862478/likelihoodResults_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.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) = 14523.1458062
delta logL = -0.00130064863151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14523.1445057
delta logL = -1.14350768854e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6994       1.0000          .0000       10.000    
     3 'Normalizat'    .92569       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0202       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   14523.14     FROM MIGRAD    STATUS=FAILED        87 CALLS      241 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    520.71        .18142E-02** at limit **
   2  Index         2.6692        5.6646        .50000        .27460E-05
   3  Normalizat    .92570        .69232E-01    .41686E-03   -.71890E-04
   4  Prefactor     1.0202        .27082E-01    .15520E-03   -.14402E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   14523.14     FROM SIMPLEX   STATUS=UNCHANGED    164 CALLS      405 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    520.71        .32801E-03** at limit **
   2  Index         2.6692        5.6646        .14293E-04    .27460E-05
   3  Normalizat    .92570        .69232E-01    .59300E-06   -.71890E-04
   4  Prefactor     1.0202        .27082E-01    .20093E-06   -.14402E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14523.14     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      446 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0802        .36285E-03** at limit **
   2  Index         2.5646        7.8228        .50000       -.32196E-07
   3  Normalizat    .92570        .19671        .16674E-04    .85363E-04
   4  Prefactor     1.0202        .77158E-01    .62078E-05    .22855E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.56456
  Normalizat = 0.925699
  Prefactor  = 1.02022
 **********
 **   18 **HESSE 
 **********

 FCN=   14523.14     FROM HESSE     STATUS=OK            29 CALLS      475 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6965        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5646        7.1515        .50000       -.50875    
   3  Normalizat    .92570        .19675        .33349E-05   -.95563    
   4  Prefactor     1.0202        .77186E-01    .12416E-05   -.92058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15415e-11
Minuit parameter uncertainties:
  1  9.55754e-07
  2  177.792
  3  0.196904
  4  0.0771944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862478': 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) = 14523.1445055
delta logL = 5.6406861404e-08

Extracting fit parameters...

4FGL J0635.6-7518
   Spectrum: PowerLaw
269    Prefactor:  1.000e-04  9.558e-07  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  2.565e+00  1.778e+02  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:  1.020e+00  7.719e-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:  9.257e-01  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/862478/cmap_HighResolution_673488001_673747201_4FGL_J0635.6-7518_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.88e-03', job_status='DONE', photon_flux_upper_limit='6.20e-08', time_completed='2022-05-09 04:33:27.902360', job_id='862478', GAL2='1.02', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1652096007.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='5.64e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1675' AND source_name='4FGL J0635.6-7518' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 04:33:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 862479: <4FGL_J0635.6-7518_daily_bin1675> in cluster <slac> Done

Job <4FGL_J0635.6-7518_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 00:05:52 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 00:50:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 00:50:18 2022
Terminated at Mon May  9 04:22:42 2022
Results reported at Mon May  9 04:22:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0635.6-7518_daily_bin1675 98.9022 -75.3046 673488001 673747201 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 :                                   12593.00 sec.
    Max Memory :                                 784 MB
    Average Memory :                             597.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   12743 sec.
    Turnaround time :                            15410 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 862478: <4FGL_J0635.6-7518_daily_bin1675> in cluster <slac> Done

Job <4FGL_J0635.6-7518_daily_bin1675> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon May  9 00:05:52 2022
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 00:50:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 00:50:17 2022
Terminated at Mon May  9 04:33:28 2022
Results reported at Mon May  9 04:33:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0635.6-7518_daily_bin1675 98.9022 -75.3046 673488001 673747201 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 :                                   13250.00 sec.
    Max Memory :                                 629 MB
    Average Memory :                             596.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   13392 sec.
    Turnaround time :                            16056 sec.

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

