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


Performing analysis on: 4FGL_J0134.3-3842_daily_bin1145
RA = 23.5887, Dec = -38.7085
tmin = 536112001, tmax = 536371201
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='658424', job_status='RUN', time_executed='2021-08-14 05:30:47.034488', time_epoch_executed='1628944247.03' WHERE source_name='4FGL J0134.3-3842' and cadence='daily' and bin_id='1145'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658424

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658424/ft1_4FGL_J0134.3-3842_daily_bin1145.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658424/ft2_4FGL_J0134.3-3842_daily_bin1145.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658424/ft1_4FGL_J0134.3-3842_daily_bin1145.fits outfile=/scratch/kocevski/658424/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1145.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=536112001.0 tmax=536371201.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 7.33
user 3.31
sys 2.89

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/658424/ft2_4FGL_J0134.3-3842_daily_bin1145.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/658424/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1145.fits evtable="EVENTS" outfile="/scratch/kocevski/658424/ft1_filtered_4FGL_J0134.3-3842_daily_bin1145.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 3.55
user 0.34
sys 2.83

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658424/ft1_filtered_4FGL_J0134.3-3842_daily_bin1145.fits" evtable="EVENTS" scfile=/scratch/kocevski/658424/ft2_4FGL_J0134.3-3842_daily_bin1145.fits sctable="SC_DATA" outfile=/scratch/kocevski/658424/ltcube_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.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/658424/ft2_4FGL_J0134.3-3842_daily_bin1145.fits
.....................!
real 16.03
user 11.74
sys 3.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658424/ft1_filtered_4FGL_J0134.3-3842_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/658424/ft2_4FGL_J0134.3-3842_daily_bin1145.fits sctable="SC_DATA" expcube=/scratch/kocevski/658424/ltcube_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.fits outfile=/scratch/kocevski/658424/expmap_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.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/658424/ltcube_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.fits
.....................!
real 198.97
user 187.25
sys 8.63

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/658424/ft1_filtered_4FGL_J0134.3-3842_daily_bin1145.fits scfile=/scratch/kocevski/658424/ft2_4FGL_J0134.3-3842_daily_bin1145.fits outfile=/scratch/kocevski/658424/cmap_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.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 3.49
user 0.38
sys 2.77

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658424/ft1_filtered_4FGL_J0134.3-3842_daily_bin1145.fits scfile=/scratch/kocevski/658424/ft2_4FGL_J0134.3-3842_daily_bin1145.fits outfile=/scratch/kocevski/658424/cmap_HighResolution_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.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 3.43
user 0.39
sys 2.78

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/658424/ft1_filtered_4FGL_J0134.3-3842_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/658424/ft2_4FGL_J0134.3-3842_daily_bin1145.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/658424/Model_4FGL_J0134.3-3842_daily_bin1145.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/658424/ft1_filtered_4FGL_J0134.3-3842_daily_bin1145.fits......................!
real 82.79
user 71.33
sys 4.80

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/658424/ft1_filtered_4FGL_J0134.3-3842_daily_bin1145.fits', '/scratch/kocevski/658424/ft2_4FGL_J0134.3-3842_daily_bin1145.fits', expMap='/scratch/kocevski/658424/expmap_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.fits', expCube='/scratch/kocevski/658424/ltcube_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/658424/Model_4FGL_J0134.3-3842_daily_bin1145.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/658424/ft1_filtered_4FGL_J0134.3-3842_daily_bin1145.fits
Spacecraft file(s): /scratch/kocevski/658424/ft2_4FGL_J0134.3-3842_daily_bin1145.fits
Exposure map: /scratch/kocevski/658424/expmap_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.fits
Exposure cube: /scratch/kocevski/658424/ltcube_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/658424/Model_4FGL_J0134.3-3842_daily_bin1145.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) = 3647.13010474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.176       1.0000         .10000E-03   10000.    
     3 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.7903       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.5955       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.7527       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .30134E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.5520       1.0000         .10000E-03   10000.    
    12 'norm      '    3.3530       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2701       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71883       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.

 FCN=   3647.116     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1855 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.629       -.15099E-05** at limit **
   2  Prefactor     31.174        17.502        .12709E-06    .12114E-04
   3  norm          .10002E-03    55.132        .55489E-05** at limit **
   4  norm          3.7902        3.5419        .28500E-07    .23334E-04
   5  Prefactor     .10000E-03    14.328       -.23154E-06** at limit **
   6  Prefactor     7.5958        6.2247       -.82388E-07    .97387E-03
   7  Prefactor     .10000E-03    50.954       -.76449E-06** at limit **
   8  Prefactor     8.7523        29.264       -.24640E-06    .21727E-04
   9  Prefactor     .10001E-03    15.132       -.60539E-05** at limit **
  10  norm          .10000E-03    3.2415       -.58091E-07** at limit **
  11  Prefactor     5.5515        7.6025        .69785E-07    .51239E-04
  12  norm          3.3529        4.0086        .51665E-07    .30117E-04
  13  Prefactor     .10000E-03    7.6872       -.75393E-07** at limit **
  14  Prefactor     .10000E-03    21.227        .26257E-05** at limit **
  15  Prefactor     .10002E-03    36.635       -.60225E-05** at limit **
  16  Prefactor     .10000E-03    27.741        .73849E-06** at limit **
  17  norm          .10000E-03    .80521       -.99686E-08** at limit **
  18  Normalizat    1.2702        .21454       -.74387E-06    .63220E-04
  19  Prefactor     .71872        .23168        .49639E-06    .37916E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 31.174
  norm       = 0.000100016
  norm       = 3.79025
  Prefactor  = 0.0001
  Prefactor  = 7.59582
  Prefactor  = 0.0001
  Prefactor  = 8.75235
  Prefactor  = 0.000100013
  norm       = 0.0001
  Prefactor  = 5.55155
  norm       = 3.35293
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.27023
  Prefactor  = 0.718722
 **********
 **   18 **HESSE 
 **********

 FCN=   3647.116     FROM HESSE     STATUS=OK           262 CALLS     2117 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.174        17.495        .71760E-04   -1.4591    
   3  norm          .10002E-03    57.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.7902        3.5424        .10680E-03   -1.5319    
   5  Prefactor     .10000E-03    14.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.5958        6.4655        .66606E-03   -1.5157    
   7  Prefactor     .10000E-03    51.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.7523        29.122        .13549E-03   -1.5116    
   9  Prefactor     .10001E-03    16.909        .21974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.2792        .10615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.5515        7.5900        .17051E-03   -1.5237    
  12  norm          3.3529        4.0024        .12690E-03   -1.5342    
  13  Prefactor     .10000E-03    7.7261        .16353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    39.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .80576        .52924E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2702        .25248        .21073E-03   -.84459    
  19  Prefactor     .71872        .27395        .29879E-03   -1.0280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22216e-09
Minuit parameter uncertainties:
  1  0.000291184
  2  17.4981
  3  0.00190854
  4  3.54262
  5  3.58172e-05
  6  6.46607
  7  0.00021821
  8  29.1698
  9  0.000943057
  10  1.84509e-06
  11  7.59131
  12  4.00276
  13  5.61499e-06
  14  0.000561274
  15  0.00161391
  16  0.000226218
  17  1.67697e-07
  18  0.252722
  19  0.27447
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  8.752e+00  2.917e+01  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:  7.187e-01  2.745e-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.270e+00  2.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 23.589 -38.709
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/658424/likelihoodResults_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.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) = 3646.82879669
delta logL = 0.287352190739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3646.80326808
delta logL = 0.312880798935

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.549       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4338       1.0000          .0000       10.000    
     3 'Normalizat'    1.2891       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69913       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.

 FCN=   3646.803     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      209 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 15.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.544        23.119       -.49118E-05   -.13337E-03
   2  Index         1.4329        .87179       -.29554E-04    .23654E-04
   3  Normalizat    1.2886        .20948        .20947E-06    .12785E-03
   4  Prefactor     .69915        .23109        .19675E-06    .77636E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.5443
  Index      = 1.43285
  Normalizat = 1.28865
  Prefactor  = 0.699154
 **********
 **   18 **HESSE 
 **********

 FCN=   3646.803     FROM HESSE     STATUS=OK            29 CALLS      238 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.544        22.567        .11308E-03   -1.4999    
   2  Index         1.4329        .84875        .10190E-01   -.79438    
   3  Normalizat    1.2886        .24856        .20936E-03   -.83906    
   4  Prefactor     .69915        .27365        .30228E-03   -1.0356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89622e-11
Minuit parameter uncertainties:
  1  22.5819
  2  0.857281
  3  0.248788
  4  0.274175
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658424': 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): 0
logL (Free Index) = 3646.80326034
delta logL = 0.312888542873

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.254e+01  2.258e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  1.433e+00  8.573e-01  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:  6.992e-01  2.742e-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.289e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/658424/cmap_HighResolution_536112001_536371201_4FGL_J0134.3-3842_daily_bin1145.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.49e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-08-14 05:40:17.793814', job_id='658424', GAL2='0.70', fit_tolerance='1e-08', EG2='1.29', EG='1.27', time_epoch_completed='1628944817.79', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='3.13e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1145' AND source_name='4FGL J0134.3-3842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 05:40:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 658424: <4FGL_J0134.3-3842_daily_bin1145> in cluster <slac> Done

Job <4FGL_J0134.3-3842_daily_bin1145> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 14 05:25:49 2021
Job was executed on host(s) <bullet0299>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 05:28:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 05:28:03 2021
Terminated at Sat Aug 14 05:40:19 2021
Results reported at Sat Aug 14 05:40:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_daily_bin1145 23.5887 -38.7085 536112001 536371201 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 :                                   592.32 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             284.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            870 sec.

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

