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


Performing analysis on: 4FGL_J0134.3-3842_daily_bin1595
RA = 23.5887, Dec = -38.7085
tmin = 652752001, tmax = 653011201
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='49646', job_status='RUN', time_executed='2021-09-11 00:04:55.927477', time_epoch_executed='1631343895.93' WHERE source_name='4FGL J0134.3-3842' and cadence='daily' and bin_id='1595'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49646

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49646/ft1_4FGL_J0134.3-3842_daily_bin1595.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49646/ft2_4FGL_J0134.3-3842_daily_bin1595.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49646/ft1_4FGL_J0134.3-3842_daily_bin1595.fits outfile=/scratch/kocevski/49646/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1595.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=652752001.0 tmax=653011201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.15
user 2.94
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/49646/ft2_4FGL_J0134.3-3842_daily_bin1595.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/49646/ft2_4FGL_J0134.3-3842_daily_bin1595.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/49646/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1595.fits evtable="EVENTS" outfile="/scratch/kocevski/49646/ft1_filtered_4FGL_J0134.3-3842_daily_bin1595.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.54
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/49646/ft1_filtered_4FGL_J0134.3-3842_daily_bin1595.fits" evtable="EVENTS" scfile=/scratch/kocevski/49646/ft2_4FGL_J0134.3-3842_daily_bin1595.fits sctable="SC_DATA" outfile=/scratch/kocevski/49646/ltcube_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.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/49646/ft2_4FGL_J0134.3-3842_daily_bin1595.fits
.....................!
real 13.65
user 13.20
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49646/ft1_filtered_4FGL_J0134.3-3842_daily_bin1595.fits evtable="EVENTS" scfile=/scratch/kocevski/49646/ft2_4FGL_J0134.3-3842_daily_bin1595.fits sctable="SC_DATA" expcube=/scratch/kocevski/49646/ltcube_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.fits outfile=/scratch/kocevski/49646/expmap_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.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/49646/ltcube_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.fits
.....................!
real 191.00
user 185.46
sys 5.15

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 185 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 J0134.3-3842 @ 23.5887 -38.7085

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/49646/ft1_filtered_4FGL_J0134.3-3842_daily_bin1595.fits scfile=/scratch/kocevski/49646/ft2_4FGL_J0134.3-3842_daily_bin1595.fits outfile=/scratch/kocevski/49646/cmap_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.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=23.5887 yref=-38.7085 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49646/ft1_filtered_4FGL_J0134.3-3842_daily_bin1595.fits scfile=/scratch/kocevski/49646/ft2_4FGL_J0134.3-3842_daily_bin1595.fits outfile=/scratch/kocevski/49646/cmap_HighResolution_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.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=23.5887 yref=-38.7085 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/49646/ft1_filtered_4FGL_J0134.3-3842_daily_bin1595.fits evtable="EVENTS" scfile=/scratch/kocevski/49646/ft2_4FGL_J0134.3-3842_daily_bin1595.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/49646/Model_4FGL_J0134.3-3842_daily_bin1595.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/49646/ft1_filtered_4FGL_J0134.3-3842_daily_bin1595.fits....................!
real 36.44
user 35.13
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/49646/ft1_filtered_4FGL_J0134.3-3842_daily_bin1595.fits', '/scratch/kocevski/49646/ft2_4FGL_J0134.3-3842_daily_bin1595.fits', expMap='/scratch/kocevski/49646/expmap_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.fits', expCube='/scratch/kocevski/49646/ltcube_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/49646/Model_4FGL_J0134.3-3842_daily_bin1595.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0134.3-3842'

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  3.272e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  8.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/49646/ft1_filtered_4FGL_J0134.3-3842_daily_bin1595.fits
Spacecraft file(s): /scratch/kocevski/49646/ft2_4FGL_J0134.3-3842_daily_bin1595.fits
Exposure map: /scratch/kocevski/49646/expmap_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.fits
Exposure cube: /scratch/kocevski/49646/ltcube_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/49646/Model_4FGL_J0134.3-3842_daily_bin1595.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) = 1424.6545486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2667.6       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14061E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .17658E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    19.269       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    43.222       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.667       1.0000         .10000E-03   10000.    
    10 'norm      '    6.9744       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11464E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.358       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11058E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.8286       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .10099E-01   1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.8971       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+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=   1424.650     FROM MIGRAD    STATUS=CONVERGED    706 CALLS     2621 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2667.9        2578.5        .45222E-04    .83716E-05
   2  Prefactor     .10000E-03    91.488        .18142E-02** at limit **
   3  norm          .10000E-03    154.32        .18142E-02** at limit **
   4  norm          19.244        30.898        .91242E-04    .50058E-04
   5  Prefactor     .10000E-03    58.757        .18142E-02** at limit **
   6  Prefactor     .10000E-03    7.8204        .10306E-02** at limit **
   7  Prefactor     43.246        84.662        .60979E-04    .97768E-04
   8  Prefactor     .10000E-03    65.706        .18142E-02** at limit **
   9  Prefactor     40.670        17.739        .62857E-04    .42563E-03
  10  norm          6.9713        9.6682        .13099E-03    .20138E-03
  11  Prefactor     .10118E-03    43.367        .51835E-01** at limit **
  12  norm          .10000E-03    21.433        .33512E-03** at limit **
  13  Prefactor     .10000E-03    6.7572        .95833E-03** at limit **
  14  Prefactor     .10000E-03    106.55        .18142E-02** at limit **
  15  Prefactor     21.343        20.610        .86668E-04    .25698E-03
  16  Prefactor     .10001E-03    53.564        .18142E-02** at limit **
  17  norm          3.8284        4.3324        .77728E-04    .43857E-03
  18  Normalizat    .10000E-01    1.8793        .15374    ** at limit **
  19  Prefactor     1.8972        .41857        .21309E-03    .57196E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2667.87
  Prefactor  = 0.000100001
  norm       = 0.000100005
  norm       = 19.2445
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.2456
  Prefactor  = 0.0001
  Prefactor  = 40.6704
  norm       = 6.9713
  Prefactor  = 0.00010118
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.3433
  Prefactor  = 0.00010001
  norm       = 3.82836
  Normalizat = 0.0100001
  Prefactor  = 1.89722
 **********
 **   18 **HESSE 
 **********

 FCN=   1424.650     FROM HESSE     STATUS=OK           268 CALLS     2889 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2667.9        2578.5        .90444E-05   -.48525    
   2  Prefactor     .10000E-03    91.488        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    154.32        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          19.244        30.895        .36497E-05   -1.4830    
   5  Prefactor     .10000E-03    58.757        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.8205        .20611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     43.246        84.718        .12196E-04   -1.4392    
   8  Prefactor     .10000E-03    65.707        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     40.670        17.756        .12571E-04   -1.4432    
  10  norm          6.9713        9.6732        .52395E-05   -1.5180    
  11  Prefactor     .10118E-03    36.610        .57569E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    21.434        .67024E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.7572        .19167E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    106.57        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.343        20.613        .17334E-04   -1.4784    
  16  Prefactor     .10001E-03    53.568        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.8284        4.3339        .31091E-05   -1.5317    
  18  Normalizat    .10000E-01    1.3878        .19025       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.8972        .42700        .42618E-04   -.66945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38784e-09
Minuit parameter uncertainties:
  1  2752.85
  2  0.000660289
  3  0.00175021
  4  30.921
  5  0.000227246
  6  1.56948e-05
  7  84.9547
  8  3.68013e-05
  9  17.7584
  10  9.67541
  11  0.0131552
  12  4.63453e-06
  13  5.3621e-06
  14  0.000180808
  15  20.62
  16  0.00148756
  17  4.33422
  18  0.00086083
  19  0.42785
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  3.680e-05  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  8.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.897e+00  4.279e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.000e-02  8.608e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 23.589 -38.709
Photon Flux Upper Limit: 2.88e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/49646/likelihoodResults_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.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) = 1424.6505382
delta logL = -7.33013193894e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1424.650466
delta logL = -1.10218206828e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1394       1.0000          .0000       10.000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.8972       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+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=   1424.650     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      342 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10196E-03    579.74        .18142E-02** at limit **
   2  Index         3.0620        6.3218        .50000        .26609E-05
   3  Normalizat    .10000E-01    .12076E-01    .15373    ** at limit **
   4  Prefactor     1.8972        .33195E-01    .21309E-03    .10697E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101956
  Index      = 3.06196
  Normalizat = 0.01
  Prefactor  = 1.89721
 **********
 **   18 **HESSE 
 **********

 FCN=   1424.650     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      381 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10196E-03    2292.7        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0620        6.7620        .50000       -.39804    
   3  Normalizat    .10000E-01    .37852E-01    .19027       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8972        .70858E-01    .85236E-05   -.66945    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.85533e-09
Minuit parameter uncertainties:
  1  0.139666
  2  2215.09
  3  1.38385e-07
  4  0.0708622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49646': 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) = 1424.65046503
delta logL = -1.33761204779e-07

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.020e-04  1.397e-01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  3.062e+00  2.215e+03  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  8.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.897e+00  7.086e-02  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.000e-02  1.384e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 23.589 -38.709

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/49646/cmap_HighResolution_652752001_653011201_4FGL_J0134.3-3842_daily_bin1595.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.24e-02', job_status='DONE', photon_flux_upper_limit='2.88e-07', time_completed='2021-09-11 00:11:39.646058', job_id='49646', GAL2='1.90', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631344299.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.90', dlogl='-1.34e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1595' AND source_name='4FGL J0134.3-3842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 00:11:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 49646: <4FGL_J0134.3-3842_daily_bin1595> in cluster <slac> Done

Job <4FGL_J0134.3-3842_daily_bin1595> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 00:01:27 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 00:01:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 00:01:29 2021
Terminated at Sat Sep 11 00:11:40 2021
Results reported at Sat Sep 11 00:11:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_daily_bin1595 23.5887 -38.7085 652752001 653011201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0134.3-3842 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   406.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   610 sec.
    Turnaround time :                            613 sec.

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

