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


Performing analysis on: 4FGL_J0250.2-8224_daily_bin1673
RA = 42.5732, Dec = -82.4037
tmin = 672969601, tmax = 673228801
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='351185', job_status='RUN', time_executed='2022-05-03 00:09:08.934137', time_epoch_executed='1651561748.93' WHERE source_name='4FGL J0250.2-8224' and cadence='daily' and bin_id='1673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351185

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351185/ft1_4FGL_J0250.2-8224_daily_bin1673.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351185/ft2_4FGL_J0250.2-8224_daily_bin1673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351185/ft1_4FGL_J0250.2-8224_daily_bin1673.fits outfile=/scratch/kocevski/351185/ft1_filteredMKT_4FGL_J0250.2-8224_daily_bin1673.fits ra=42.5732 dec=-82.4037 rad=12.0 tmin=672969601.0 tmax=673228801.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.36
user 3.13
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/351185/ft2_4FGL_J0250.2-8224_daily_bin1673.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/351185/ft1_filteredMKT_4FGL_J0250.2-8224_daily_bin1673.fits evtable="EVENTS" outfile="/scratch/kocevski/351185/ft1_filtered_4FGL_J0250.2-8224_daily_bin1673.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 1255

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351185/ft1_filtered_4FGL_J0250.2-8224_daily_bin1673.fits" evtable="EVENTS" scfile=/scratch/kocevski/351185/ft2_4FGL_J0250.2-8224_daily_bin1673.fits sctable="SC_DATA" outfile=/scratch/kocevski/351185/ltcube_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.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/351185/ft2_4FGL_J0250.2-8224_daily_bin1673.fits
.....................!
real 16.67
user 16.23
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351185/ft1_filtered_4FGL_J0250.2-8224_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/351185/ft2_4FGL_J0250.2-8224_daily_bin1673.fits sctable="SC_DATA" expcube=/scratch/kocevski/351185/ltcube_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.fits outfile=/scratch/kocevski/351185/expmap_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.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/351185/ltcube_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.fits
.....................!
real 192.28
user 186.21
sys 5.51

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/351185/ft1_filtered_4FGL_J0250.2-8224_daily_bin1673.fits scfile=/scratch/kocevski/351185/ft2_4FGL_J0250.2-8224_daily_bin1673.fits outfile=/scratch/kocevski/351185/cmap_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351185/ft1_filtered_4FGL_J0250.2-8224_daily_bin1673.fits scfile=/scratch/kocevski/351185/ft2_4FGL_J0250.2-8224_daily_bin1673.fits outfile=/scratch/kocevski/351185/cmap_HighResolution_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/351185/ft1_filtered_4FGL_J0250.2-8224_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/351185/ft2_4FGL_J0250.2-8224_daily_bin1673.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/351185/Model_4FGL_J0250.2-8224_daily_bin1673.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/351185/ft1_filtered_4FGL_J0250.2-8224_daily_bin1673.fits.....................!
real 10976.51
user 10950.00
sys 2.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/351185/ft1_filtered_4FGL_J0250.2-8224_daily_bin1673.fits', '/scratch/kocevski/351185/ft2_4FGL_J0250.2-8224_daily_bin1673.fits', expMap='/scratch/kocevski/351185/expmap_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.fits', expCube='/scratch/kocevski/351185/ltcube_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/351185/Model_4FGL_J0250.2-8224_daily_bin1673.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/351185/ft1_filtered_4FGL_J0250.2-8224_daily_bin1673.fits
Spacecraft file(s): /scratch/kocevski/351185/ft2_4FGL_J0250.2-8224_daily_bin1673.fits
Exposure map: /scratch/kocevski/351185/expmap_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.fits
Exposure cube: /scratch/kocevski/351185/ltcube_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/351185/Model_4FGL_J0250.2-8224_daily_bin1673.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) = 13136.5283978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0677       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.300       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12455E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.5624       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.803       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8380       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.0660       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1690       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0024       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=   13136.53     FROM MIGRAD    STATUS=CONVERGED    369 CALLS     1717 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0684        3.8504       -.37774E-07   -.27958E-04
   2  Prefactor     .10000E-03    16.466       -.63425E-07** at limit **
   3  Prefactor     .10000E-03    1.6389       -.57976E-08** at limit **
   4  Prefactor     .10000E-03    21.069        .50309E-06** at limit **
   5  Prefactor     .10000E-03    4.4895       -.60944E-08** at limit **
   6  Prefactor     .10000E-03    10.384       -.30272E-07** at limit **
   7  Prefactor     .10000E-03    28.400       -.37853E-05** at limit **
   8  norm          .10000E-03    30.183        .34610E-05** at limit **
   9  Prefactor     .10000E-03    1.7596       -.73865E-08** at limit **
  10  Prefactor     18.290        24.436       -.29837E-05    .32323E-05
  11  Prefactor     .10000E-03    80.483        .21914E-06** at limit **
  12  norm          3.5633        .91777        .30155E-07   -.50809E-03
  13  Prefactor     .10000E-03    5.3588       -.35083E-08** at limit **
  14  Prefactor     35.804        43.554        .32186E-06    .20871E-05
  15  Prefactor     4.8395        7.2371       -.10504E-05   -.74861E-05
  16  Prefactor     8.0663        20.162       -.14686E-06    .58450E-05
  17  Normalizat    1.1689        .16919        .44218E-06    .42880E-05
  18  Prefactor     1.0023        .71855E-01    .51456E-07    .32882E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.06839
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.29
  Prefactor  = 0.0001
  norm       = 3.56331
  Prefactor  = 0.0001
  Prefactor  = 35.8038
  Prefactor  = 4.8395
  Prefactor  = 8.06625
  Normalizat = 1.16893
  Prefactor  = 1.00234
 **********
 **   18 **HESSE 
 **********

 FCN=   13136.53     FROM HESSE     STATUS=OK           242 CALLS     1959 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0684        3.8327        .28731E-03   -1.5420    
   2  Prefactor     .10000E-03    16.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.6470        .14326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.4943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    30.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.7699        .14847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.290        24.449        .93625E-04   -1.4852    
  11  Prefactor     .10000E-03    81.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.5633        4.6315        .10707E-02   -1.5330    
  13  Prefactor     .10000E-03    5.3912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.804        45.314        .66976E-04   -1.4511    
  15  Prefactor     4.8395        7.2227        .18289E-03   -1.5268    
  16  Prefactor     8.0663        20.066        .14117E-03   -1.5140    
  17  Normalizat    1.1689        .19633        .35585E-03   -.87569    
  18  Prefactor     1.0023        .84084E-01    .16310E-03   -.92651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41679e-10
Minuit parameter uncertainties:
  1  3.83312
  2  3.7294e-06
  3  7.99077e-07
  4  1.14078e-05
  5  1.23914e-06
  6  6.43076e-07
  7  9.37736e-06
  8  1.92528e-05
  9  1.03185e-06
  10  24.4626
  11  0.000108813
  12  4.63194
  13  6.41311e-07
  14  45.3575
  15  7.22395
  16  20.0829
  17  0.196455
  18  0.0840952
Done.

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

Extracting fit parameters...

4FGL J0250.2-8224
   Spectrum: PowerLaw
106    Prefactor:  1.000e-04  7.991e-07  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.002e+00  8.410e-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:  1.169e+00  1.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 42.573 -82.404
Photon Flux Upper Limit: 5.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351185/likelihoodResults_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.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): 102
logL (Free Index) = 13136.5295988
delta logL = -0.00289221881576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13136.5267065
delta logL = 4.39922587248e-08

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13136.53     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      255 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3269        .14376E-01** at limit **
   2  Index         2.3430        6.1715        .50000       -.19554E-07
   3  Normalizat    1.1689        .86875E-02    .35585E-03   -.87665E-04
   4  Prefactor     1.0023        .37440E-02    .16310E-03   -.19026E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.34301
  Normalizat = 1.16893
  Prefactor  = 1.00234
 **********
 **   18 **HESSE 
 **********

 FCN=   13136.53     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    86.675        .14755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3430        8.4676        .50000       -.56025    
   3  Normalizat    1.1689        .33819E-01    .14234E-04   -.87569    
   4  Prefactor     1.0023        .14575E-01    .32620E-04   -.92652    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.12371e-09
Minuit parameter uncertainties:
  1  0.000107528
  2  605.38
  3  0.0338199
  4  0.0145753
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351185': 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) = 13136.5267048
delta logL = 1.79750350071e-06

Extracting fit parameters...

4FGL J0250.2-8224
   Spectrum: PowerLaw
106    Prefactor:  1.000e-04  1.075e-04  1.000e-04  1.000e+04 ( 1.000e-12)
107        Index:  2.343e+00  6.054e+02  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.002e+00  1.458e-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:  1.169e+00  3.382e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 42.573 -82.404

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/351185/cmap_HighResolution_672969601_673228801_4FGL_J0250.2-8224_daily_bin1673.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-03', job_status='DONE', photon_flux_upper_limit='5.25e-08', time_completed='2022-05-03 03:25:49.088566', job_id='351185', GAL2='1.00', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1651573549.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.80e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1673' AND source_name='4FGL J0250.2-8224' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May  3 03:25:49 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 351288: <4FGL_J0250.2-8224_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0250.2-8224_daily_bin1673> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue May  3 00:05:44 2022
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:10:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:10:20 2022
Terminated at Tue May  3 03:21:05 2022
Results reported at Tue May  3 03:21:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0250.2-8224_daily_bin1673 42.5732 -82.4037 672969601 673228801 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 :                                   11359.00 sec.
    Max Memory :                                 628 MB
    Average Memory :                             597.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11444 sec.
    Turnaround time :                            11721 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 351185: <4FGL_J0250.2-8224_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0250.2-8224_daily_bin1673> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue May  3 00:05:39 2022
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:08:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:08:07 2022
Terminated at Tue May  3 03:25:49 2022
Results reported at Tue May  3 03:25:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0250.2-8224_daily_bin1673 42.5732 -82.4037 672969601 673228801 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 :                                   11780.00 sec.
    Max Memory :                                 783 MB
    Average Memory :                             598.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11862 sec.
    Turnaround time :                            12010 sec.

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

