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 160 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 modified.
Done.


Performing analysis on: 4FGL_J0250.2-8224_daily_bin1701
RA = 42.5732, Dec = -82.4037
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='158069', job_status='RUN', time_executed='2022-07-26 00:24:11.739163', time_epoch_executed='1658820251.74' WHERE source_name='4FGL J0250.2-8224' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158069

Creating custom pfile directory:
/scratch/kocevski/158069/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/158069/ft1_4FGL_J0250.2-8224_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/158069/ft2_4FGL_J0250.2-8224_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158069/ft1_4FGL_J0250.2-8224_daily_bin1701.fits outfile=/scratch/kocevski/158069/ft1_filteredMKT_4FGL_J0250.2-8224_daily_bin1701.fits ra=42.5732 dec=-82.4037 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.33
user 3.04
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/158069/ft2_4FGL_J0250.2-8224_daily_bin1701.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158069/ft2_4FGL_J0250.2-8224_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/158069/ft1_filteredMKT_4FGL_J0250.2-8224_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/158069/ft1_filtered_4FGL_J0250.2-8224_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.53
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 1058

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158069/ft1_filtered_4FGL_J0250.2-8224_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/158069/ft2_4FGL_J0250.2-8224_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/158069/ltcube_680227201_680486401_4FGL_J0250.2-8224_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/158069/ft2_4FGL_J0250.2-8224_daily_bin1701.fits
.....................!
real 16.23
user 15.77
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158069/ft1_filtered_4FGL_J0250.2-8224_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/158069/ft2_4FGL_J0250.2-8224_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/158069/ltcube_680227201_680486401_4FGL_J0250.2-8224_daily_bin1701.fits outfile=/scratch/kocevski/158069/expmap_680227201_680486401_4FGL_J0250.2-8224_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/158069/ltcube_680227201_680486401_4FGL_J0250.2-8224_daily_bin1701.fits
.....................!
real 193.38
user 187.39
sys 4.85

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 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.
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-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-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.
Added 177 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 J0250.2-8224 @ 42.5732 -82.4037

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/158069/ft1_filtered_4FGL_J0250.2-8224_daily_bin1701.fits scfile=/scratch/kocevski/158069/ft2_4FGL_J0250.2-8224_daily_bin1701.fits outfile=/scratch/kocevski/158069/cmap_680227201_680486401_4FGL_J0250.2-8224_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=42.5732 yref=-82.4037 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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158069/ft1_filtered_4FGL_J0250.2-8224_daily_bin1701.fits scfile=/scratch/kocevski/158069/ft2_4FGL_J0250.2-8224_daily_bin1701.fits outfile=/scratch/kocevski/158069/cmap_HighResolution_680227201_680486401_4FGL_J0250.2-8224_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=42.5732 yref=-82.4037 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158069/ft1_filtered_4FGL_J0250.2-8224_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/158069/ft2_4FGL_J0250.2-8224_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158069/Model_4FGL_J0250.2-8224_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/158069/ft1_filtered_4FGL_J0250.2-8224_daily_bin1701.fits.....................!
real 9209.81
user 9178.15
sys 2.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158069/ft1_filtered_4FGL_J0250.2-8224_daily_bin1701.fits', '/scratch/kocevski/158069/ft2_4FGL_J0250.2-8224_daily_bin1701.fits', expMap='/scratch/kocevski/158069/expmap_680227201_680486401_4FGL_J0250.2-8224_daily_bin1701.fits', expCube='/scratch/kocevski/158069/ltcube_680227201_680486401_4FGL_J0250.2-8224_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158069/Model_4FGL_J0250.2-8224_daily_bin1701.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0250.2-8224'

4FGL J0250.2-8224
   Spectrum: PowerLaw
106    Prefactor:  2.212e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
107        Index:  2.654e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
108        Scale:  5.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/158069/ft1_filtered_4FGL_J0250.2-8224_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/158069/ft2_4FGL_J0250.2-8224_daily_bin1701.fits
Exposure map: /scratch/kocevski/158069/expmap_680227201_680486401_4FGL_J0250.2-8224_daily_bin1701.fits
Exposure cube: /scratch/kocevski/158069/ltcube_680227201_680486401_4FGL_J0250.2-8224_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158069/Model_4FGL_J0250.2-8224_daily_bin1701.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) = 11155.4152066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4022       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3129       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.4453       1.0000         .10000E-03   10000.    
     4 'Prefactor '    81.170       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.278       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.104       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .23398E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.4218       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7034       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10422E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    66.103       1.0000         .10000E-03   10000.    
    12 'norm      '    3.2573       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.068       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .86542       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0894       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11155.40     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1771 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4035        4.1605       -.27697E-06    .21317E-04
   2  Prefactor     1.2265        366.52       -.39589E-05    .58923E-05
   3  Prefactor     4.4472        7.1209       -.75638E-06    .28494E-04
   4  Prefactor     81.147        35.598        .12304E-06   -.19102E-04
   5  Prefactor     12.272        22.605        .65967E-06    .41648E-05
   6  Prefactor     24.097        17.476        .34509E-06   -.10592E-04
   7  Prefactor     .10000E-03    68.599        .11599E-05** at limit **
   8  norm          7.4236        23.179        .33581E-06   -.59746E-05
   9  Prefactor     1.7036        2.9027        .54002E-06    .73249E-05
  10  Prefactor     .10000E-03    30.809        .27784E-07** at limit **
  11  Prefactor     66.102        43.803       -.14827E-07   -.51786E-05
  12  norm          3.2599        5.1032        .39565E-06    .23026E-04
  13  Prefactor     .10000E-03    28.155        .92374E-06** at limit **
  14  Prefactor     35.146        49.264       -.19668E-05    .25705E-04
  15  Prefactor     .10000E-03    4.2214        .13593E-06** at limit **
  16  Prefactor     .10000E-03    27.009        .22679E-06** at limit **
  17  Normalizat    .86561        .20175        .71918E-07   -.47189E-04
  18  Prefactor     1.0893        .83580E-01   -.80344E-06    .38171E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.40346
  Prefactor  = 1.22655
  Prefactor  = 4.44721
  Prefactor  = 81.1466
  Prefactor  = 12.2719
  Prefactor  = 24.0969
  Prefactor  = 0.0001
  norm       = 7.42356
  Prefactor  = 1.70361
  Prefactor  = 0.0001
  Prefactor  = 66.1022
  norm       = 3.25991
  Prefactor  = 0.0001
  Prefactor  = 35.1458
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.865611
  Prefactor  = 1.08932
 **********
 **   18 **HESSE 
 **********

 FCN=   11155.40     FROM HESSE     STATUS=OK           250 CALLS     2021 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4035        4.1496        .21933E-03   -1.5339    
   2  Prefactor     1.2265        385.37        .38463E-02   -1.5486    
   3  Prefactor     4.4472        7.0636        .19099E-03   -1.5286    
   4  Prefactor     81.147        35.827        .44580E-04   -1.3904    
   5  Prefactor     12.272        22.618        .11432E-03   -1.5007    
   6  Prefactor     24.097        17.470        .81589E-04   -1.4726    
   7  Prefactor     .10000E-03    70.647        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.4236        23.134        .14722E-03   -1.5163    
   9  Prefactor     1.7036        2.8795        .22737E-03   -1.5447    
  10  Prefactor     .10000E-03    31.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     66.102        43.819        .49363E-04   -1.4080    
  12  norm          3.2599        5.0845        .22439E-03   -1.5347    
  13  Prefactor     .10000E-03    28.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.146        49.141        .67672E-04   -1.4522    
  15  Prefactor     .10000E-03    4.2490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .86561        .22499        .40975E-03   -.97679    
  18  Prefactor     1.0893        .92518E-01    .15943E-03   -.89808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71391e-11
Minuit parameter uncertainties:
  1  4.14993
  2  43.7676
  3  7.0649
  4  35.8363
  5  22.6335
  6  17.4737
  7  0.000144743
  8  23.1617
  9  2.87976
  10  5.49771e-05
  11  43.84
  12  5.08519
  13  5.20761e-05
  14  49.1976
  15  3.94566e-06
  16  2.79413e-05
  17  0.225237
  18  0.0925316
Done.

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

Extracting fit parameters...

4FGL J0250.2-8224
   Spectrum: PowerLaw
106    Prefactor:  4.447e+00  7.065e+00  1.000e-04  1.000e+04 ( 1.000e-12)
107        Index:  2.654e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
108        Scale:  5.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.089e+00  9.253e-02  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  8.656e-01  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.49
Ra Dec: 42.573 -82.404
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158069/likelihoodResults_680227201_680486401_4FGL_J0250.2-8224_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) = 11154.5490636
delta logL = 0.853877835912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11154.4724663
delta logL = 0.930475216701

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11154.47     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      277 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55223        4.5601        .11499E-01   -.71545E-03
   2  Index         4.9220        2.7738        .14579        .46611E-04
   3  Normalizat    .78403        .44137E-01    .96749E-01   -.83758E-04
   4  Prefactor     1.1112        .19132E-01    .37176E-01   -.23442E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.552232
  Index      = 4.92199
  Normalizat = 0.784032
  Prefactor  = 1.11116
 **********
 **   18 **HESSE 
 **********

 FCN=   11154.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      310 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55223        12.745        .53948E-03   -1.5559    
   2  Index         4.9220        7.3323        .74284E-02   -.15603E-01
   3  Normalizat    .78403        .16061        .42868E-03   -1.0066    
   4  Prefactor     1.1112        .68672E-01    .15801E-03   -.89111    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.77102e-10
Minuit parameter uncertainties:
  1  5.30678
  2  6.16363
  3  0.160704
  4  0.0686777
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158069': 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) = 11154.4724632
delta logL = 0.930478275508

Extracting fit parameters...

4FGL J0250.2-8224
   Spectrum: PowerLaw
106    Prefactor:  5.522e-01  5.307e+00  1.000e-04  1.000e+04 ( 1.000e-12)
107        Index:  4.922e+00  6.164e+00  0.000e+00  1.000e+01 (-1.000e+00)
108        Scale:  5.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.111e+00  6.868e-02  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  7.840e-01  1.607e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.58
Ra Dec: 42.573 -82.404
Photon Index (Free Index): 4.92 +/- 6.16
Photon Flux (Free Index): 9.12e-08 +/- 6.29e-08
Energy Flux (Free Index): 1.22e-05 +/- 1.19e-05

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/158069/cmap_HighResolution_680227201_680486401_4FGL_J0250.2-8224_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.94e-03', comment='SUCCESS', energy_flux2='1.22e-05', dlogl='9.30e-01', photon_flux2='9.12e-08', job_status='DONE', time_completed='2022-07-26 03:10:23.705862', photon_index_error2='6.16', photon_index2='4.92', ts='0.49', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.27e-07', energy_flux_error2='1.19e-05', EG='0.87', time_epoch_completed='1658830223.71', return_code='0', job_id='158069', GAL2='1.11', EG2='0.78', return_code2='102', photon_flux_error2='6.29e-08', ts2='2.58', photon_index='2.65' WHERE bin_id='1701' AND source_name='4FGL J0250.2-8224' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 03:10:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 158069: <4FGL_J0250.2-8224_daily_bin1701> in cluster <slac> Done

Job <4FGL_J0250.2-8224_daily_bin1701> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jul 26 00:04:55 2022
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 00:21:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 00:21:17 2022
Terminated at Tue Jul 26 03:10:24 2022
Results reported at Tue Jul 26 03:10:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0250.2-8224_daily_bin1701 42.5732 -82.4037 680227201 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0250.2-8224 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9951.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             594.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10147 sec.
    Turnaround time :                            11129 sec.

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

