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


Performing analysis on: 4FGL_J0250.2-8224_daily_bin1576
RA = 42.5732, Dec = -82.4037
tmin = 647827201, tmax = 648086401
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='829175', job_status='RUN', time_executed='2021-08-16 21:50:26.030768', time_epoch_executed='1629175826.03' WHERE source_name='4FGL J0250.2-8224' and cadence='daily' and bin_id='1576'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829175

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829175/ft1_4FGL_J0250.2-8224_daily_bin1576.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829175/ft2_4FGL_J0250.2-8224_daily_bin1576.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829175/ft1_4FGL_J0250.2-8224_daily_bin1576.fits outfile=/scratch/kocevski/829175/ft1_filteredMKT_4FGL_J0250.2-8224_daily_bin1576.fits ra=42.5732 dec=-82.4037 rad=12.0 tmin=647827201.0 tmax=648086401.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 14.05
user 4.33
sys 9.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/829175/ft2_4FGL_J0250.2-8224_daily_bin1576.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/829175/ft1_filteredMKT_4FGL_J0250.2-8224_daily_bin1576.fits evtable="EVENTS" outfile="/scratch/kocevski/829175/ft1_filtered_4FGL_J0250.2-8224_daily_bin1576.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 10.39
user 0.35
sys 9.28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/829175/ft1_filtered_4FGL_J0250.2-8224_daily_bin1576.fits" evtable="EVENTS" scfile=/scratch/kocevski/829175/ft2_4FGL_J0250.2-8224_daily_bin1576.fits sctable="SC_DATA" outfile=/scratch/kocevski/829175/ltcube_647827201_648086401_4FGL_J0250.2-8224_daily_bin1576.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/829175/ft2_4FGL_J0250.2-8224_daily_bin1576.fits
.....................!
real 23.63
user 12.35
sys 10.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829175/ft1_filtered_4FGL_J0250.2-8224_daily_bin1576.fits evtable="EVENTS" scfile=/scratch/kocevski/829175/ft2_4FGL_J0250.2-8224_daily_bin1576.fits sctable="SC_DATA" expcube=/scratch/kocevski/829175/ltcube_647827201_648086401_4FGL_J0250.2-8224_daily_bin1576.fits outfile=/scratch/kocevski/829175/expmap_647827201_648086401_4FGL_J0250.2-8224_daily_bin1576.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/829175/ltcube_647827201_648086401_4FGL_J0250.2-8224_daily_bin1576.fits
.....................!
real 211.11
user 186.50
sys 15.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/829175/ft1_filtered_4FGL_J0250.2-8224_daily_bin1576.fits scfile=/scratch/kocevski/829175/ft2_4FGL_J0250.2-8224_daily_bin1576.fits outfile=/scratch/kocevski/829175/cmap_647827201_648086401_4FGL_J0250.2-8224_daily_bin1576.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 9.57
user 0.40
sys 9.06

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/829175/ft1_filtered_4FGL_J0250.2-8224_daily_bin1576.fits scfile=/scratch/kocevski/829175/ft2_4FGL_J0250.2-8224_daily_bin1576.fits outfile=/scratch/kocevski/829175/cmap_HighResolution_647827201_648086401_4FGL_J0250.2-8224_daily_bin1576.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 9.61
user 0.40
sys 9.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/829175/ft1_filtered_4FGL_J0250.2-8224_daily_bin1576.fits evtable="EVENTS" scfile=/scratch/kocevski/829175/ft2_4FGL_J0250.2-8224_daily_bin1576.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/829175/Model_4FGL_J0250.2-8224_daily_bin1576.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/829175/ft1_filtered_4FGL_J0250.2-8224_daily_bin1576.fits.....................!
real 7872.50
user 7841.68
sys 13.68

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    74.686       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10439E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    377.90       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10432E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.554       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1421       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.503       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.4779       1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.971       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.059       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .50446E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.5056       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .81839       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98498       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=   9304.836     FROM MIGRAD    STATUS=CONVERGED    364 CALLS     1765 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.2918        .62980E-06** at limit **
   2  Prefactor     74.692        49.191        .22675E-06   -.68426E-04
   3  Prefactor     .10000E-03    8.0998        .16889E-05** at limit **
   4  Prefactor     377.85        67.634       -.22812E-05    .80989E-04
   5  Prefactor     .10000E-03    12.229        .15620E-05** at limit **
   6  Prefactor     12.551        16.742        .57458E-06   -.13605E-04
   7  Prefactor     .10000E-03    29.792       -.60231E-06** at limit **
   8  norm          .10000E-03    11.375       -.53757E-06** at limit **
   9  Prefactor     1.1415        3.2557       -.13323E-06    .55580E-04
  10  Prefactor     20.480        26.077       -.87995E-06   -.56934E-05
  11  Prefactor     .10000E-03    14.169        .10139E-05** at limit **
  12  norm          7.4761        5.0378       -.14617E-05   -.51528E-04
  13  Prefactor     28.975        14.831       -.46500E-07    .30386E-04
  14  Prefactor     10.056        24.455        .41830E-06   -.59017E-05
  15  Prefactor     .10000E-03    53.282        .10952E-04** at limit **
  16  Prefactor     5.5718        45.613        .11871E-04    .25220E-04
  17  Normalizat    .81833        .21125        .22413E-05   -.17423E-03
  18  Prefactor     .98506        .87166E-01   -.14516E-05   -.11024E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 74.6918
  Prefactor  = 0.0001
  Prefactor  = 377.849
  Prefactor  = 0.0001
  Prefactor  = 12.5509
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.14151
  Prefactor  = 20.4803
  Prefactor  = 0.0001
  norm       = 7.47614
  Prefactor  = 28.9749
  Prefactor  = 10.0561
  Prefactor  = 0.0001
  Prefactor  = 5.57175
  Normalizat = 0.818328
  Prefactor  = 0.985061
 **********
 **   18 **HESSE 
 **********

 FCN=   9304.836     FROM HESSE     STATUS=OK           246 CALLS     2011 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.4520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     74.692        49.182        .46460E-04   -1.3977    
   3  Prefactor     .10000E-03    8.4094        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     377.85        67.300        .10488E-03   -1.1795    
   5  Prefactor     .10000E-03    12.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.551        16.745        .11306E-03   -1.4999    
   7  Prefactor     .10000E-03    29.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    11.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.1415        3.2119        .28651E-03   -1.5494    
  10  Prefactor     20.480        26.093        .88456E-04   -1.4803    
  11  Prefactor     .10000E-03    14.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.4761        4.9876        .73330E-03   -1.5161    
  13  Prefactor     28.975        14.807        .74435E-04   -1.4631    
  14  Prefactor     10.056        24.437        .12634E-03   -1.5074    
  15  Prefactor     .10000E-03    52.014        .33325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.5718        44.247        .17124E-03   -1.5236    
  17  Normalizat    .81833        .23796        .40463E-03   -.99392    
  18  Prefactor     .98506        .99368E-01    .15797E-03   -.93229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16052e-10
Minuit parameter uncertainties:
  1  3.52342e-05
  2  49.2089
  3  3.12557e-05
  4  67.3142
  5  2.62918e-05
  6  16.7511
  7  0.000100717
  8  1.65632e-05
  9  3.2124
  10  26.1071
  11  2.77367e-05
  12  4.98791
  13  14.8087
  14  24.4613
  15  4.09684e-05
  16  31.4346
  17  0.238263
  18  0.0993862
Done.

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

Extracting fit parameters...

4FGL J0250.2-8224
   Spectrum: PowerLaw
106    Prefactor:  1.000e-04  3.126e-05  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:  9.851e-01  9.939e-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.183e-01  2.383e-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: 9.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/829175/likelihoodResults_647827201_648086401_4FGL_J0250.2-8224_daily_bin1576.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) = 9304.83678996
delta logL = -0.000567756122109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9304.8362232
delta logL = -1.00015495264e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12105E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6866       1.0000          .0000       10.000    
     3 'Normalizat'    .81841       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98505       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=   9304.836     FROM MIGRAD    STATUS=CONVERGED    123 CALLS      282 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    .82210E-01    .40949E-01** at limit **
   2  Index         3.6081        7.2788        .50000        .64935E-05
   3  Normalizat    .81831        .12278E-02    .40463E-03   -.50535E-02
   4  Prefactor     .98506        .52567E-03    .15797E-03   -.12741E-01
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100018
  Index      = 3.60805
  Normalizat = 0.818314
  Prefactor  = 0.985056
 **********
 **   18 **HESSE 
 **********

 FCN=   9304.836     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      319 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    .13728        .32560E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6081        6.3366        .50000       -.28212    
   3  Normalizat    .81831        .13263E-02    .80926E-04   -.99393    
   4  Prefactor     .98506        .56785E-03    .31594E-04   -.93229    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49148e-09
Minuit parameter uncertainties:
  1  9.94689e-05
  2  27.5746
  3  0.00132629
  4  0.00056785
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829175': 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) = 9304.83621747
delta logL = 4.73039108329e-06

Extracting fit parameters...

4FGL J0250.2-8224
   Spectrum: PowerLaw
106    Prefactor:  1.000e-04  9.947e-05  1.000e-04  1.000e+04 ( 1.000e-12)
107        Index:  3.608e+00  2.757e+01  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:  9.851e-01  5.678e-04  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.183e-01  1.326e-03  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/829175/cmap_HighResolution_647827201_648086401_4FGL_J0250.2-8224_daily_bin1576.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.42e-03', job_status='DONE', photon_flux_upper_limit='9.45e-08', time_completed='2021-08-17 00:15:37.095539', job_id='829175', GAL2='0.99', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1629184537.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.73e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1576' AND source_name='4FGL J0250.2-8224' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 00:15:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 829175: <4FGL_J0250.2-8224_daily_bin1576> in cluster <slac> Done

Job <4FGL_J0250.2-8224_daily_bin1576> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug 16 21:15:17 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 16 21:47:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 16 21:47:37 2021
Terminated at Tue Aug 17 00:15:39 2021
Results reported at Tue Aug 17 00:15:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0250.2-8224_daily_bin1576 42.5732 -82.4037 647827201 648086401 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 :                                   8822.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             583.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   8881 sec.
    Turnaround time :                            10822 sec.

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

