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


Performing analysis on: 4FGL_J0343.2-2529_daily_bin1212
RA = 55.8136, Dec = -25.4943
tmin = 553478401, tmax = 553737601
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='785473', job_status='RUN', time_executed='2021-08-19 01:01:37.530997', time_epoch_executed='1629360097.53' WHERE source_name='4FGL J0343.2-2529' and cadence='daily' and bin_id='1212'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785473

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785473/ft1_4FGL_J0343.2-2529_daily_bin1212.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785473/ft2_4FGL_J0343.2-2529_daily_bin1212.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785473/ft1_4FGL_J0343.2-2529_daily_bin1212.fits outfile=/scratch/kocevski/785473/ft1_filteredMKT_4FGL_J0343.2-2529_daily_bin1212.fits ra=55.8136 dec=-25.4943 rad=12.0 tmin=553478401.0 tmax=553737601.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 2.62
user 2.40
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/785473/ft2_4FGL_J0343.2-2529_daily_bin1212.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/785473/ft2_4FGL_J0343.2-2529_daily_bin1212.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/785473/ft1_filteredMKT_4FGL_J0343.2-2529_daily_bin1212.fits evtable="EVENTS" outfile="/scratch/kocevski/785473/ft1_filtered_4FGL_J0343.2-2529_daily_bin1212.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.49
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785473/ft1_filtered_4FGL_J0343.2-2529_daily_bin1212.fits" evtable="EVENTS" scfile=/scratch/kocevski/785473/ft2_4FGL_J0343.2-2529_daily_bin1212.fits sctable="SC_DATA" outfile=/scratch/kocevski/785473/ltcube_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.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/785473/ft2_4FGL_J0343.2-2529_daily_bin1212.fits
.....................!
real 12.49
user 12.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785473/ft1_filtered_4FGL_J0343.2-2529_daily_bin1212.fits evtable="EVENTS" scfile=/scratch/kocevski/785473/ft2_4FGL_J0343.2-2529_daily_bin1212.fits sctable="SC_DATA" expcube=/scratch/kocevski/785473/ltcube_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.fits outfile=/scratch/kocevski/785473/expmap_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.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/785473/ltcube_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.fits
.....................!
real 190.85
user 185.01
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 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 154 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 J0343.2-2529 @ 55.8136 -25.4943

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/785473/ft1_filtered_4FGL_J0343.2-2529_daily_bin1212.fits scfile=/scratch/kocevski/785473/ft2_4FGL_J0343.2-2529_daily_bin1212.fits outfile=/scratch/kocevski/785473/cmap_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.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=55.8136 yref=-25.4943 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785473/ft1_filtered_4FGL_J0343.2-2529_daily_bin1212.fits scfile=/scratch/kocevski/785473/ft2_4FGL_J0343.2-2529_daily_bin1212.fits outfile=/scratch/kocevski/785473/cmap_HighResolution_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.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=55.8136 yref=-25.4943 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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/785473/ft1_filtered_4FGL_J0343.2-2529_daily_bin1212.fits evtable="EVENTS" scfile=/scratch/kocevski/785473/ft2_4FGL_J0343.2-2529_daily_bin1212.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/785473/Model_4FGL_J0343.2-2529_daily_bin1212.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/785473/ft1_filtered_4FGL_J0343.2-2529_daily_bin1212.fits.....................!
real 146.18
user 144.66
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/785473/ft1_filtered_4FGL_J0343.2-2529_daily_bin1212.fits', '/scratch/kocevski/785473/ft2_4FGL_J0343.2-2529_daily_bin1212.fits', expMap='/scratch/kocevski/785473/expmap_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.fits', expCube='/scratch/kocevski/785473/ltcube_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/785473/Model_4FGL_J0343.2-2529_daily_bin1212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0343.2-2529'

4FGL J0343.2-2529
   Spectrum: PowerLaw
248    Prefactor:  1.449e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
249        Index:  2.537e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
250        Scale:  7.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/785473/ft1_filtered_4FGL_J0343.2-2529_daily_bin1212.fits
Spacecraft file(s): /scratch/kocevski/785473/ft2_4FGL_J0343.2-2529_daily_bin1212.fits
Exposure map: /scratch/kocevski/785473/expmap_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.fits
Exposure cube: /scratch/kocevski/785473/ltcube_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/785473/Model_4FGL_J0343.2-2529_daily_bin1212.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) = 6619.06835552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.187       1.0000         .10000E-03   10000.    
     2 'norm      '    .10487E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.5889       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    45.096       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    49.457       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.573       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.7996       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.910       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.2209       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7364       1.0000         .10000E-03   10000.    
    21 'norm      '    1.6855       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .36526       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .58302       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1961       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .73501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6619.046     FROM MIGRAD    STATUS=CONVERGED    617 CALLS     3110 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.146        41.692       -.42667E-04   -.23428E-04
   2  norm          .10000E-03    1.7006        .65290E-06** at limit **
   3  Prefactor     .10000E-03    3.2848        .23105E-06** at limit **
   4  norm          6.5883        3.2984        .41853E-06   -.12659E-03
   5  Prefactor     .10000E-03    99.695       -.87478E-05** at limit **
   6  Prefactor     .10000E-03    2.0735       -.56817E-07** at limit **
   7  Prefactor     45.100        20.606        .11161E-05    .10265E-03
   8  Prefactor     .10000E-03    10.908       -.15031E-05** at limit **
   9  Prefactor     49.456        40.557       -.15927E-05    .27869E-05
  10  Prefactor     19.541        43.995       -.45205E-04    .51398E-04
  11  Prefactor     3.7997        2.4773       -.38464E-07   -.60394E-04
  12  Prefactor     .10000E-03    1.5448       -.55382E-07** at limit **
  13  Prefactor     .10000E-03    1.6278       -.63176E-07** at limit **
  14  Prefactor     .10000E-03    9.8446       -.12531E-04** at limit **
  15  norm          10.911        1.6703       -.92243E-07    .20126E-03
  16  Prefactor     .10000E-03    25.247       -.30427E-04** at limit **
  17  norm          2.2209        1.2530        .12459E-07    .28295E-03
  18  Prefactor     .10000E-03    29.742        .33910E-04** at limit **
  19  Prefactor     .10000E-03    11.655        .11268E-04** at limit **
  20  Prefactor     1.7365        2.0729       -.41497E-06   -.48496E-03
  21  norm          1.6844        25.337       -.49331E-05   -.22077E-03
  22  Prefactor     .10000E-03    9.0689        .56750E-05** at limit **
  23  norm          .36533        .28076       -.10451E-06   -.46884E-04
  24  Prefactor     .58323        2.4151       -.22052E-05   -.16979E-02
  25  Normalizat    1.1956        .17327        .15392E-05    .23183E-03
  26  Prefactor     .73544        .17041        .58430E-05    .10603E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.1461
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 6.5883
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.0997
  Prefactor  = 0.0001
  Prefactor  = 49.4558
  Prefactor  = 19.5407
  Prefactor  = 3.79967
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.9106
  Prefactor  = 0.0001
  norm       = 2.22087
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.73649
  norm       = 1.68436
  Prefactor  = 0.0001
  norm       = 0.365329
  Prefactor  = 0.583227
  Normalizat = 1.19561
  Prefactor  = 0.735444
 **********
 **   18 **HESSE 
 **********

 FCN=   6619.046     FROM HESSE     STATUS=OK           456 CALLS     3566 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.146        41.834        .71747E-04   -1.4591    
   2  norm          .10000E-03    3.5591        .20421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2865        .14401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.5883        3.2836        .10080E-03   -1.5195    
   5  Prefactor     .10000E-03    99.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.0833        .11426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     45.100        20.588        .59704E-04   -1.4364    
   8  Prefactor     .10000E-03    10.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.456        40.571        .57022E-04   -1.4300    
  10  Prefactor     19.541        44.268        .90531E-04   -1.4824    
  11  Prefactor     3.7997        2.4676        .97241E-04   -1.5318    
  12  Prefactor     .10000E-03    1.5595        .98691E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.6631        .10129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.9920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.911        1.6732        .38815E-04   -1.5047    
  16  Prefactor     .10000E-03    25.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2209        1.2495        .64594E-04   -1.5410    
  18  Prefactor     .10000E-03    29.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7365        2.0504        .12231E-03   -1.5444    
  21  norm          1.6844        25.539        .32435E-03   -1.5448    
  22  Prefactor     .10000E-03    9.0800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .36533        .28291        .36375E-04   -1.5587    
  24  Prefactor     .58323        2.3529        .24473E-03   -1.5555    
  25  Normalizat    1.1956        .20446        .23905E-03   -.86739    
  26  Prefactor     .73544        .20079        .29384E-03   -1.0215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93382e-09
Minuit parameter uncertainties:
  1  41.8737
  2  0.000136465
  3  3.84857e-05
  4  3.28373
  5  6.69062e-05
  6  3.80336e-06
  7  20.5913
  8  9.15967e-06
  9  40.5933
  10  44.3429
  11  2.46771
  12  5.7652e-06
  13  6.71382e-06
  14  6.98158e-06
  15  1.67316
  16  0.000213096
  17  1.24954
  18  2.70959e-05
  19  1.91016e-07
  20  2.05045
  21  13.1238
  22  1.16817e-05
  23  0.282907
  24  2.34287
  25  0.204595
  26  0.20099
Done.

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

Extracting fit parameters...

4FGL J0343.2-2529
   Spectrum: PowerLaw
248    Prefactor:  1.000e-04  5.765e-06  1.000e-04  1.000e+04 ( 1.000e-12)
249        Index:  2.537e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
250        Scale:  7.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  7.354e-01  2.010e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  1.196e+00  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 55.814 -25.494
Photon Flux Upper Limit: 6.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785473/likelihoodResults_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.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) = 6619.04895203
delta logL = -0.00302213703162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6619.04593002
delta logL = -1.25365659187e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10269E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5123       1.0000          .0000       10.000    
     3 'Normalizat'    1.1956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73550       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+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=   6619.046     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      261 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.390        .10115E-01** at limit **
   2  Index         1.9925        9.0037        .50000       -.13010E-06
   3  Normalizat    1.1956        .96167E-02    .23905E-03    .10221E-02
   4  Prefactor     .73545        .95402E-02    .29384E-03    .84842E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.99246
  Normalizat = 1.19561
  Prefactor  = 0.735447
 **********
 **   18 **HESSE 
 **********

 FCN=   6619.046     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      290 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    95.241        .11618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9925        5.4187        .50000       -.64539    
   3  Normalizat    1.1956        .30334E-01    .47810E-04   -.86739    
   4  Prefactor     .73545        .30093E-01    .58768E-04   -1.0215    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.9632e-10
Minuit parameter uncertainties:
  1  4.68558e-06
  2  427.578
  3  0.0303349
  4  0.0300936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785473': 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) = 6619.04592098
delta logL = 8.91664967639e-06

Extracting fit parameters...

4FGL J0343.2-2529
   Spectrum: PowerLaw
248    Prefactor:  1.000e-04  4.686e-06  1.000e-04  1.000e+04 ( 1.000e-12)
249        Index:  1.992e+00  4.276e+02  0.000e+00  1.000e+01 (-1.000e+00)
250        Scale:  7.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  7.354e-01  3.009e-02  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  1.196e+00  3.033e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 55.814 -25.494

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/785473/cmap_HighResolution_553478401_553737601_4FGL_J0343.2-2529_daily_bin1212.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-03', job_status='DONE', photon_flux_upper_limit='6.34e-08', time_completed='2021-08-19 01:15:18.367064', job_id='785473', GAL2='0.74', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1629360918.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='8.92e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1212' AND source_name='4FGL J0343.2-2529' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 01:15:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 785473: <4FGL_J0343.2-2529_daily_bin1212> in cluster <slac> Done

Job <4FGL_J0343.2-2529_daily_bin1212> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Aug 19 01:00:06 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 01:00:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 19 01:00:07 2021
Terminated at Thu Aug 19 01:15:18 2021
Results reported at Thu Aug 19 01:15:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0343.2-2529_daily_bin1212 55.8136 -25.4943 553478401 553737601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0343.2-2529 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   816.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            912 sec.

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

