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


Performing analysis on: 4FGL_J0350.6-3226_daily_bin1073
RA = 57.6594, Dec = -32.4473
tmin = 517449601, tmax = 517708801
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='42338', job_status='RUN', time_executed='2021-08-19 16:26:48.483696', time_epoch_executed='1629415608.48' WHERE source_name='4FGL J0350.6-3226' and cadence='daily' and bin_id='1073'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/42338

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/42338/ft1_4FGL_J0350.6-3226_daily_bin1073.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/42338/ft2_4FGL_J0350.6-3226_daily_bin1073.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/42338/ft1_4FGL_J0350.6-3226_daily_bin1073.fits outfile=/scratch/kocevski/42338/ft1_filteredMKT_4FGL_J0350.6-3226_daily_bin1073.fits ra=57.6594 dec=-32.4473 rad=12.0 tmin=517449601.0 tmax=517708801.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 6.29
user 5.30
sys 0.95

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/42338/ft2_4FGL_J0350.6-3226_daily_bin1073.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/42338/ft2_4FGL_J0350.6-3226_daily_bin1073.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/42338/ft1_filteredMKT_4FGL_J0350.6-3226_daily_bin1073.fits evtable="EVENTS" outfile="/scratch/kocevski/42338/ft1_filtered_4FGL_J0350.6-3226_daily_bin1073.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.19
user 0.32
sys 0.84

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/42338/ft1_filtered_4FGL_J0350.6-3226_daily_bin1073.fits" evtable="EVENTS" scfile=/scratch/kocevski/42338/ft2_4FGL_J0350.6-3226_daily_bin1073.fits sctable="SC_DATA" outfile=/scratch/kocevski/42338/ltcube_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.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/42338/ft2_4FGL_J0350.6-3226_daily_bin1073.fits
.....................!
real 12.59
user 11.42
sys 1.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/42338/ft1_filtered_4FGL_J0350.6-3226_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/42338/ft2_4FGL_J0350.6-3226_daily_bin1073.fits sctable="SC_DATA" expcube=/scratch/kocevski/42338/ltcube_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.fits outfile=/scratch/kocevski/42338/expmap_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.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/42338/ltcube_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.fits
.....................!
real 190.90
user 185.27
sys 5.31

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 Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 172 point sources and 1 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 J0350.6-3226 @ 57.6594 -32.4473

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/42338/ft1_filtered_4FGL_J0350.6-3226_daily_bin1073.fits scfile=/scratch/kocevski/42338/ft2_4FGL_J0350.6-3226_daily_bin1073.fits outfile=/scratch/kocevski/42338/cmap_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.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=57.6594 yref=-32.4473 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 1.23
user 0.36
sys 0.84

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/42338/ft1_filtered_4FGL_J0350.6-3226_daily_bin1073.fits scfile=/scratch/kocevski/42338/ft2_4FGL_J0350.6-3226_daily_bin1073.fits outfile=/scratch/kocevski/42338/cmap_HighResolution_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.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=57.6594 yref=-32.4473 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 1.21
user 0.37
sys 0.83

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/42338/ft1_filtered_4FGL_J0350.6-3226_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/42338/ft2_4FGL_J0350.6-3226_daily_bin1073.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/42338/Model_4FGL_J0350.6-3226_daily_bin1073.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/42338/ft1_filtered_4FGL_J0350.6-3226_daily_bin1073.fits.....................!
real 78.02
user 75.70
sys 2.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/42338/ft1_filtered_4FGL_J0350.6-3226_daily_bin1073.fits', '/scratch/kocevski/42338/ft2_4FGL_J0350.6-3226_daily_bin1073.fits', expMap='/scratch/kocevski/42338/expmap_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.fits', expCube='/scratch/kocevski/42338/ltcube_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/42338/Model_4FGL_J0350.6-3226_daily_bin1073.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0350.6-3226'

4FGL J0350.6-3226
   Spectrum: PowerLaw
270    Prefactor:  9.696e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.305e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/42338/ft1_filtered_4FGL_J0350.6-3226_daily_bin1073.fits
Spacecraft file(s): /scratch/kocevski/42338/ft2_4FGL_J0350.6-3226_daily_bin1073.fits
Exposure map: /scratch/kocevski/42338/expmap_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.fits
Exposure cube: /scratch/kocevski/42338/ltcube_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/42338/Model_4FGL_J0350.6-3226_daily_bin1073.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3352.57181344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.1653       1.0000         .10000E-03   10000.    
     4 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .84043       1.0000         .10000E-03   10000.    
     6 'Prefactor '    39.872       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8154       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.8453       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.294       1.0000         .10000E-03   10000.    
    14 'norm      '    37.044       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.501       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.876       1.0000         .10000E-03   10000.    
    20 'norm      '    8.0555       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4044       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .45462       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3352.542     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2884 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    80.125       -.49708E-05** at limit **
   2  Prefactor     .10000E-03    27.322        .11002E-05** at limit **
   3  Prefactor     6.1585        365.44       -.40569E-06    .19483E-05
   4  norm          .10012E-03    59.055        .10780E-04** at limit **
   5  norm          .84054        1.3578       -.95395E-06   -.84376E-03
   6  Prefactor     39.844        142.62       -.74365E-05   -.26590E-04
   7  Prefactor     .10000E-03    .98677        .33508E-08** at limit **
   8  Prefactor     2.8158        7.6539       -.10472E-05   -.65566E-03
   9  Prefactor     .10010E-03    6.4634       -.42676E-06** at limit **
  10  Prefactor     .10000E-03    15.008        .14126E-06** at limit **
  11  norm          2.8453        1.8658        .73382E-07   -.49473E-03
  12  norm          .10000E-03    1.2639       -.24065E-06** at limit **
  13  Prefactor     31.323        304.87        .36829E-05    .15320E-04
  14  norm          37.046        24.376       -.49225E-06   -.61806E-04
  15  Prefactor     .10000E-03    16.132        .17334E-05** at limit **
  16  norm          .10000E-03    .27259       -.20079E-06** at limit **
  17  norm          .10000E-03    21.913       -.40262E-06** at limit **
  18  Prefactor     23.498        21.289        .46746E-06    .13819E-03
  19  Prefactor     12.878        18.035       -.33323E-06    .66562E-04
  20  norm          8.0555        1.6874        .13548E-07    .65618E-03
  21  Normalizat    1.4044        .25710        .30760E-05    .24752E-04
  22  Prefactor     .45463        .24687        .70939E-07    .71975E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 6.15854
  norm       = 0.000100119
  norm       = 0.840542
  Prefactor  = 39.8437
  Prefactor  = 0.0001
  Prefactor  = 2.81576
  Prefactor  = 0.000100096
  Prefactor  = 0.0001
  norm       = 2.84531
  norm       = 0.0001
  Prefactor  = 31.3231
  norm       = 37.0464
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 23.4983
  Prefactor  = 12.8783
  norm       = 8.05547
  Normalizat = 1.40438
  Prefactor  = 0.454627
 **********
 **   18 **HESSE 
 **********

 FCN=   3352.542     FROM HESSE     STATUS=OK           348 CALLS     3232 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    80.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.1585        349.99        .16168E-03   -1.5212    
   4  norm          .10012E-03    4.4793        .35571E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .84054        1.3471        .80808E-04   -1.5525    
   6  Prefactor     39.844        139.40        .63479E-04   -1.4445    
   7  Prefactor     .10000E-03    .98765        .56169E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.8158        7.8259        .24175E-03   -1.5372    
   9  Prefactor     .10010E-03    14.022        .21700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.8453        1.8596        .55372E-04   -1.5371    
  12  norm          .10000E-03    2.1933        .12614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     31.323        306.06        .71626E-04   -1.4588    
  14  norm          37.046        24.423        .65849E-04   -1.4490    
  15  Prefactor     .10000E-03    16.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .47768        .57984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    22.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.498        21.226        .82628E-04   -1.4738    
  19  Prefactor     12.878        18.111        .11163E-03   -1.4990    
  20  norm          8.0555        1.6981        .30175E-04   -1.5140    
  21  Normalizat    1.4044        .28601        .22472E-03   -.80502    
  22  Prefactor     .45463        .27381        .37633E-03   -1.1411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.07539e-09
Minuit parameter uncertainties:
  1  0.000614735
  2  3.56262e-05
  3  93.432
  4  0.0014627
  5  1.34714
  6  140.567
  7  1.79545e-06
  8  7.8287
  9  0.00232045
  10  2.35594e-05
  11  1.85964
  12  3.34735e-05
  13  197.153
  14  24.4299
  15  5.14618e-05
  16  1.07553e-05
  17  0.00010268
  18  21.2328
  19  18.1182
  20  1.69815
  21  0.286334
  22  0.2746
Done.

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

Extracting fit parameters...

4FGL J0350.6-3226
   Spectrum: PowerLaw
270    Prefactor:  3.132e+01  1.972e+02  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.305e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  4.546e-01  2.746e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.404e+00  2.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 57.659 -32.447
Photon Flux Upper Limit: 1.54e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/42338/likelihoodResults_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.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) = 3351.79329056
delta logL = 0.748258298789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3351.76792505
delta logL = 0.773623806587

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3351.768     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      347 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66200        11.985        .91698E-02    .48596E-03
   2  Index         5.2475        2.8448        .95434E-01    .10858E-03
   3  Normalizat    1.2912        .65056E-01    .52524E-01   -.35441E-04
   4  Prefactor     .53193        .65646E-01    .78989E-01   -.13683E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.662
  Index      = 5.24754
  Normalizat = 1.29121
  Prefactor  = 0.531928
 **********
 **   18 **HESSE 
 **********

 FCN=   3351.768     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      380 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66200        26.887        .41684E-03   -1.5545    
   2  Index         5.2475        7.2755        .36472E-02    .49529E-01
   3  Normalizat    1.2912        .22633        .23222E-03   -.83829    
   4  Prefactor     .53193        .22241        .34989E-03   -1.1053    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.21444e-08
Minuit parameter uncertainties:
  1  8.44121
  2  5.4242
  3  0.226502
  4  0.222777
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/42338': 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) = 3351.76791616
delta logL = 0.773632701259

Extracting fit parameters...

4FGL J0350.6-3226
   Spectrum: PowerLaw
270    Prefactor:  6.620e-01  8.441e+00  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  5.248e+00  5.424e+00  0.000e+00  1.000e+01 (-1.000e+00)
272        Scale:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  5.319e-01  2.228e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.291e+00  2.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.70
Ra Dec: 57.659 -32.447
Photon Index (Free Index): 5.25 +/- 5.42
Photon Flux (Free Index): 1.19e-07 +/- 1.04e-07
Energy Flux (Free Index): 1.55e-05 +/- 1.50e-05

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/42338/cmap_HighResolution_517449601_517708801_4FGL_J0350.6-3226_daily_bin1073.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', energy_flux2='1.55e-05', dlogl='7.74e-01', photon_flux2='1.19e-07', job_status='DONE', time_completed='2021-08-19 16:36:19.821900', photon_index_error2='5.42', photon_index2='5.25', ts='0.03', fit_tolerance='1e-08', GAL='0.45', photon_index_error='0.00', photon_flux_upper_limit='1.54e-07', energy_flux_error2='1.50e-05', EG='1.40', time_epoch_completed='1629416179.82', return_code='0', job_id='42338', GAL2='0.53', EG2='1.29', return_code2='102', photon_flux_error2='1.04e-07', ts2='1.70', photon_index='2.31' WHERE bin_id='1073' AND source_name='4FGL J0350.6-3226' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 16:36:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 42338: <4FGL_J0350.6-3226_daily_bin1073> in cluster <slac> Done

Job <4FGL_J0350.6-3226_daily_bin1073> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 19 16:25:51 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 16:25:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 19 16:25:53 2021
Terminated at Thu Aug 19 16:36:20 2021
Results reported at Thu Aug 19 16:36:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0350.6-3226_daily_bin1073 57.6594 -32.4473 517449601 517708801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0350.6-3226 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   575.21 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             317.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   627 sec.
    Turnaround time :                            629 sec.

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

