/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 69 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 = 7446
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0257.9-1215_daily_bin779
RA = 44.492, Dec = -12.2637
tmin = 441244801, tmax = 441504001
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='970524', job_status='RUN', time_executed='2021-08-17 05:07:28.246001', time_epoch_executed='1629202048.25' WHERE source_name='4FGL J0257.9-1215' and cadence='daily' and bin_id='779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/970524

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/970524/ft1_4FGL_J0257.9-1215_daily_bin779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/970524/ft2_4FGL_J0257.9-1215_daily_bin779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/970524/ft1_4FGL_J0257.9-1215_daily_bin779.fits outfile=/scratch/kocevski/970524/ft1_filteredMKT_4FGL_J0257.9-1215_daily_bin779.fits ra=44.492 dec=-12.2637 rad=12.0 tmin=441244801.0 tmax=441504001.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 4.41
user 3.19
sys 0.51

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/970524/ft2_4FGL_J0257.9-1215_daily_bin779.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/970524/ft2_4FGL_J0257.9-1215_daily_bin779.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/970524/ft1_filteredMKT_4FGL_J0257.9-1215_daily_bin779.fits evtable="EVENTS" outfile="/scratch/kocevski/970524/ft1_filtered_4FGL_J0257.9-1215_daily_bin779.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 1.29
user 0.33
sys 0.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/970524/ft1_filtered_4FGL_J0257.9-1215_daily_bin779.fits" evtable="EVENTS" scfile=/scratch/kocevski/970524/ft2_4FGL_J0257.9-1215_daily_bin779.fits sctable="SC_DATA" outfile=/scratch/kocevski/970524/ltcube_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.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/970524/ft2_4FGL_J0257.9-1215_daily_bin779.fits
.....................!
real 14.85
user 13.73
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/970524/ft1_filtered_4FGL_J0257.9-1215_daily_bin779.fits evtable="EVENTS" scfile=/scratch/kocevski/970524/ft2_4FGL_J0257.9-1215_daily_bin779.fits sctable="SC_DATA" expcube=/scratch/kocevski/970524/ltcube_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.fits outfile=/scratch/kocevski/970524/expmap_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.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/970524/ltcube_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.fits
.....................!
real 195.63
user 186.11
sys 5.57

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
Added 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J0257.9-1215 @ 44.492 -12.2637

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/970524/ft1_filtered_4FGL_J0257.9-1215_daily_bin779.fits scfile=/scratch/kocevski/970524/ft2_4FGL_J0257.9-1215_daily_bin779.fits outfile=/scratch/kocevski/970524/cmap_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.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=44.492 yref=-12.2637 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.88
user 0.39
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/970524/ft1_filtered_4FGL_J0257.9-1215_daily_bin779.fits scfile=/scratch/kocevski/970524/ft2_4FGL_J0257.9-1215_daily_bin779.fits outfile=/scratch/kocevski/970524/cmap_HighResolution_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.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=44.492 yref=-12.2637 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.87
user 0.39
sys 0.46

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/970524/ft1_filtered_4FGL_J0257.9-1215_daily_bin779.fits evtable="EVENTS" scfile=/scratch/kocevski/970524/ft2_4FGL_J0257.9-1215_daily_bin779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/970524/Model_4FGL_J0257.9-1215_daily_bin779.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
Working on...
/scratch/kocevski/970524/ft1_filtered_4FGL_J0257.9-1215_daily_bin779.fits.....................!
real 62.12
user 58.50
sys 1.76

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/970524/ft1_filtered_4FGL_J0257.9-1215_daily_bin779.fits', '/scratch/kocevski/970524/ft2_4FGL_J0257.9-1215_daily_bin779.fits', expMap='/scratch/kocevski/970524/expmap_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.fits', expCube='/scratch/kocevski/970524/ltcube_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/970524/Model_4FGL_J0257.9-1215_daily_bin779.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0257.9-1215'

4FGL J0257.9-1215
   Spectrum: PowerLaw
264    Prefactor:  2.140e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
265        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  5.205e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/970524/ft1_filtered_4FGL_J0257.9-1215_daily_bin779.fits
Spacecraft file(s): /scratch/kocevski/970524/ft2_4FGL_J0257.9-1215_daily_bin779.fits
Exposure map: /scratch/kocevski/970524/expmap_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.fits
Exposure cube: /scratch/kocevski/970524/ltcube_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/970524/Model_4FGL_J0257.9-1215_daily_bin779.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) = 5438.97547729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.735       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .46512       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.176       1.0000         .10000E-03   10000.    
     9 'norm      '    4.0142       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0988       1.0000         .10000E-03   10000.    
    16 'Prefactor '    207.30       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .85689       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.1597       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.4668       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .87642       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97359       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5438.966     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2413 TOTAL
                     EDM=   .96E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.734        14.445       -.96059E-08    .52992E-05
   2  Prefactor     .45264        6.9273        .65792E-07   -.20081E-04
   3  Prefactor     .10000E-03    9.5642       -.97015E-08** at limit **
   4  norm          .10000E-03    20.795       -.76121E-07** at limit **
   5  Prefactor     .10000E-03    18.430       -.22387E-06** at limit **
   6  Prefactor     .10000E-03    2.8906        .68862E-08** at limit **
   7  Prefactor     .10000E-03    18.040       -.34337E-06** at limit **
   8  Prefactor     29.182        31.772        .41335E-07    .34331E-04
   9  norm          4.0140        2.1604        .16306E-07   -.27901E-04
  10  Prefactor     .10000E-03    13.583        .41346E-06** at limit **
  11  Prefactor     .10000E-03    42.186       -.51385E-06** at limit **
  12  norm          .10000E-03    1.2235       -.18450E-08** at limit **
  13  Prefactor     .10000E-03    22.928        .77941E-06** at limit **
  14  Prefactor     .10000E-03    3.5961        .73780E-09** at limit **
  15  Prefactor     3.0990        4.1967        .25176E-06   -.16860E-03
  16  Prefactor     207.26        236.49        .75853E-06   -.18990E-04
  17  Prefactor     .85789        7.3027        .34422E-05   -.19604E-03
  18  Prefactor     5.1549        17.959       -.36943E-05   -.17825E-03
  19  Prefactor     8.4669        9.1706        .48177E-07   -.38622E-04
  20  Prefactor     .10000E-03    30.488        .53000E-06** at limit **
  21  Normalizat    .87652        .17334        .93054E-07   -.10888E-03
  22  Prefactor     .97353        .14239       -.30767E-06   -.10947E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7339
  Prefactor  = 0.45264
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.1819
  norm       = 4.01399
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.09896
  Prefactor  = 207.258
  Prefactor  = 0.857887
  Prefactor  = 5.15491
  Prefactor  = 8.46688
  Prefactor  = 0.000100001
  Normalizat = 0.876516
  Prefactor  = 0.973527
 **********
 **   18 **HESSE 
 **********

 FCN=   5438.966     FROM HESSE     STATUS=OK           338 CALLS     2751 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.734        14.450        .97904E-04   -1.4890    
   2  Prefactor     .45264        24.277        .36934E-02   -1.5573    
   3  Prefactor     .10000E-03    9.5687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    20.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.8922        .12246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.708        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.182        31.794        .74173E-04   -1.4627    
   9  norm          4.0140        2.1635        .75978E-04   -1.5307    
  10  Prefactor     .10000E-03    13.946        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    42.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.2250        .79661E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    23.659        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.5969        .13659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0990        4.1730        .16739E-03   -1.5356    
  16  Prefactor     207.26        236.37        .14037E-03   -1.2819    
  17  Prefactor     .85789        7.4120        .31070E-03   -1.5523    
  18  Prefactor     5.1549        18.169        .17698E-03   -1.5254    
  19  Prefactor     8.4669        9.1654        .13777E-03   -1.5126    
  20  Prefactor     .10000E-03    30.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .87652        .19871        .25041E-03   -.97290    
  22  Prefactor     .97353        .16429        .20293E-03   -.93617    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83349e-08
Minuit parameter uncertainties:
  1  14.4528
  2  6.63189
  3  3.01022e-06
  4  7.14663e-06
  5  8.36224e-05
  6  7.95748e-08
  7  4.3716e-05
  8  31.8122
  9  2.16356
  10  1.19814e-05
  11  0.00032662
  12  1.79101e-07
  13  1.87858e-05
  14  2.56515e-07
  15  4.17335
  16  237.47
  17  5.04381
  18  18.1889
  19  9.16694
  20  0.000264548
  21  0.198878
  22  0.164378
Done.

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

Extracting fit parameters...

4FGL J0257.9-1215
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  1.198e-05  1.000e-04  1.000e+04 ( 1.000e-12)
265        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  5.205e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  9.735e-01  1.644e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  8.765e-01  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 44.492 -12.264
Photon Flux Upper Limit: 9.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/970524/likelihoodResults_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.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) = 5438.96680329
delta logL = -0.000342176319464

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5438.96646079
delta logL = 3.26924237015e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5438.540     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      286 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .67848        21.928        .90712E-03   -.53235E-03
   2  Index         4.8762        7.3268        .16747        .18045E-04
   3  Normalizat    .81088        .54810E-01    .44604E-01   -.86016E-04
   4  Prefactor     1.0046        .46094E-01    .45933E-01    .15306E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.678485
  Index      = 4.87618
  Normalizat = 0.810878
  Prefactor  = 1.00462
 **********
 **   18 **HESSE 
 **********

 FCN=   5438.540     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      317 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .67848        40.986        .36285E-04   -1.5543    
   2  Index         4.8762        7.0341        .85876E-02   -.24768E-01
   3  Normalizat    .81088        .18362        .25959E-03   -.99666    
   4  Prefactor     1.0046        .15174        .20015E-03   -.92576    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.00083e-10
Minuit parameter uncertainties:
  1  10.5536
  2  10.6093
  3  0.183759
  4  0.151803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/970524': 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) = 5438.53969398
delta logL = 0.426767136174

Extracting fit parameters...

4FGL J0257.9-1215
   Spectrum: PowerLaw
264    Prefactor:  6.785e-01  1.055e+01  1.000e-04  1.000e+04 ( 1.000e-12)
265        Index:  4.876e+00  1.061e+01  0.000e+00  1.000e+01 (-1.000e+00)
266        Scale:  5.205e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.005e+00  1.518e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  8.109e-01  1.838e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 44.492 -12.264

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/970524/cmap_HighResolution_441244801_441504001_4FGL_J0257.9-1215_daily_bin779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.45e-08', time_completed='2021-08-17 05:17:54.448566', job_id='970524', GAL2='1.00', fit_tolerance='1e-08', EG2='0.81', EG='0.88', time_epoch_completed='1629202674.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='4.27e-01', ts2='0.94', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='779' AND source_name='4FGL J0257.9-1215' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 05:17:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 970524: <4FGL_J0257.9-1215_daily_bin779> in cluster <slac> Done

Job <4FGL_J0257.9-1215_daily_bin779> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Tue Aug 17 05:01:54 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 05:04:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 17 05:04:32 2021
Terminated at Tue Aug 17 05:17:55 2021
Results reported at Tue Aug 17 05:17:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0257.9-1215_daily_bin779 44.492 -12.2637 441244801 441504001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0257.9-1215 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   618.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            961 sec.

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

