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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1619
RA = 26.2585, Dec = -27.5363
tmin = 658972801, tmax = 659232001
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='142366', job_status='RUN', time_executed='2021-12-07 12:19:02.653153', time_epoch_executed='1638908342.65' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1619'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/142366

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/142366/ft1_4FGL_J0145.0-2732_daily_bin1619.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/142366/ft2_4FGL_J0145.0-2732_daily_bin1619.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/142366/ft1_4FGL_J0145.0-2732_daily_bin1619.fits outfile=/scratch/kocevski/142366/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1619.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=658972801.0 tmax=659232001.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.59
user 2.38
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/142366/ft2_4FGL_J0145.0-2732_daily_bin1619.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/142366/ft2_4FGL_J0145.0-2732_daily_bin1619.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/142366/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1619.fits evtable="EVENTS" outfile="/scratch/kocevski/142366/ft1_filtered_4FGL_J0145.0-2732_daily_bin1619.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/142366/ft1_filtered_4FGL_J0145.0-2732_daily_bin1619.fits" evtable="EVENTS" scfile=/scratch/kocevski/142366/ft2_4FGL_J0145.0-2732_daily_bin1619.fits sctable="SC_DATA" outfile=/scratch/kocevski/142366/ltcube_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.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/142366/ft2_4FGL_J0145.0-2732_daily_bin1619.fits
.....................!
real 16.45
user 16.11
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/142366/ft1_filtered_4FGL_J0145.0-2732_daily_bin1619.fits evtable="EVENTS" scfile=/scratch/kocevski/142366/ft2_4FGL_J0145.0-2732_daily_bin1619.fits sctable="SC_DATA" expcube=/scratch/kocevski/142366/ltcube_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.fits outfile=/scratch/kocevski/142366/expmap_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.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/142366/ltcube_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.fits
.....................!
real 160.54
user 156.34
sys 3.79

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J0145.0-2732 @ 26.2585 -27.5363

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/142366/ft1_filtered_4FGL_J0145.0-2732_daily_bin1619.fits scfile=/scratch/kocevski/142366/ft2_4FGL_J0145.0-2732_daily_bin1619.fits outfile=/scratch/kocevski/142366/cmap_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.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=26.2585 yref=-27.5363 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.51
user 0.34
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/142366/ft1_filtered_4FGL_J0145.0-2732_daily_bin1619.fits scfile=/scratch/kocevski/142366/ft2_4FGL_J0145.0-2732_daily_bin1619.fits outfile=/scratch/kocevski/142366/cmap_HighResolution_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.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=26.2585 yref=-27.5363 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.51
user 0.35
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/142366/ft1_filtered_4FGL_J0145.0-2732_daily_bin1619.fits evtable="EVENTS" scfile=/scratch/kocevski/142366/ft2_4FGL_J0145.0-2732_daily_bin1619.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/142366/Model_4FGL_J0145.0-2732_daily_bin1619.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/142366/ft1_filtered_4FGL_J0145.0-2732_daily_bin1619.fits.....................!
real 33.88
user 32.67
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/142366/ft1_filtered_4FGL_J0145.0-2732_daily_bin1619.fits', '/scratch/kocevski/142366/ft2_4FGL_J0145.0-2732_daily_bin1619.fits', expMap='/scratch/kocevski/142366/expmap_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.fits', expCube='/scratch/kocevski/142366/ltcube_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/142366/Model_4FGL_J0145.0-2732_daily_bin1619.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0145.0-2732'

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.960e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.480e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  9.678e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/142366/ft1_filtered_4FGL_J0145.0-2732_daily_bin1619.fits
Spacecraft file(s): /scratch/kocevski/142366/ft2_4FGL_J0145.0-2732_daily_bin1619.fits
Exposure map: /scratch/kocevski/142366/expmap_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.fits
Exposure cube: /scratch/kocevski/142366/ltcube_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/142366/Model_4FGL_J0145.0-2732_daily_bin1619.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) = 4459.55720741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.2089       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.933       1.0000         .10000E-03   10000.    
     6 'norm      '    .11002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.1052       1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.248       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5083       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9588       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10254E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1382       1.0000         .10000E-03   10000.    
    14 'norm      '    2.5394       1.0000         .10000E-03   10000.    
    15 'Prefactor '    74.600       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2388       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .22907       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.4659       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10488E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .74150       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98512       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4459.556     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2570 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .74948        .75588E-08** at limit **
   2  Prefactor     9.2073        8.9749        .94223E-07   -.13670E-03
   3  Prefactor     .10000E-03    25.684        .18310E-06** at limit **
   4  Prefactor     .10000E-03    2.3413        .45950E-07** at limit **
   5  Prefactor     24.952        12.912       -.93591E-06   -.78738E-03
   6  norm          .10000E-03    2.8316        .12368E-05** at limit **
   7  norm          5.1047        3.1605        .23564E-07   -.14232E-03
   8  Prefactor     30.241        19.955       -.13703E-06   -.10557E-03
   9  Prefactor     4.5083        4.6333       -.78886E-07   -.30003E-03
  10  norm          1.9586        1.9421        .47592E-07   -.15485E-03
  11  Prefactor     .10000E-03    41.055        .16544E-06** at limit **
  12  norm          .10000E-03    1.0495        .28562E-06** at limit **
  13  Prefactor     4.1377        3.8950        .20909E-06   -.22467E-04
  14  norm          2.5387        3.1324        .16417E-06   -.70519E-04
  15  Prefactor     74.623        58.991       -.71589E-07    .13636E-03
  16  norm          1.2386        5.5241        .16201E-05   -.95662E-05
  17  Prefactor     .16047        10.388       -.13546E-05    .40806E-03
  18  Prefactor     .10000E-03    6.0943       -.31889E-06** at limit **
  19  Prefactor     6.4662        7.8895        .29067E-07   -.69586E-04
  20  Prefactor     .10000E-03    21.551        .21550E-07** at limit **
  21  Prefactor     .10000E-03    25.688       -.37345E-06** at limit **
  22  Normalizat    .74152        .18061       -.73117E-06   -.10621E-03
  23  Prefactor     .98517        .19740       -.37066E-06   -.10212E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 9.20725
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.952
  norm       = 0.0001
  norm       = 5.10465
  Prefactor  = 30.2413
  Prefactor  = 4.50827
  norm       = 1.95863
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.13766
  norm       = 2.53868
  Prefactor  = 74.6226
  norm       = 1.23862
  Prefactor  = 0.16047
  Prefactor  = 0.0001
  Prefactor  = 6.46621
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.741525
  Prefactor  = 0.985167
 **********
 **   18 **HESSE 
 **********

 FCN=   4459.556     FROM HESSE     STATUS=OK           376 CALLS     2946 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .75101        .56460E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.2073        8.9547        .13207E-03   -1.5101    
   3  Prefactor     .10000E-03    26.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.4051        .19937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     24.952        13.167        .80223E-04   -1.4709    
   6  norm          .10000E-03    5.2159        .19579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.1047        3.1588        .86992E-04   -1.5256    
   8  Prefactor     30.241        19.909        .72850E-04   -1.4608    
   9  Prefactor     4.5083        4.6165        .13749E-03   -1.5283    
  10  norm          1.9586        1.9264        .89025E-04   -1.5428    
  11  Prefactor     .10000E-03    41.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.7298        .13000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1377        3.8840        .11942E-03   -1.5301    
  14  norm          2.5387        3.1067        .12353E-03   -1.5389    
  15  Prefactor     74.623        59.319        .23243E-03   -1.3978    
  16  norm          1.2386        5.1697        .28623E-03   -1.5485    
  17  Prefactor     .16047        184.82        .38242E-02   -1.5628    
  18  Prefactor     .10000E-03    6.1598        .16051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.4662        7.8790        .15783E-03   -1.5199    
  20  Prefactor     .10000E-03    21.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    25.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .74152        .20817        .23869E-03   -1.0228    
  23  Prefactor     .98517        .22927        .24166E-03   -.93226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37386e-08
Minuit parameter uncertainties:
  1  5.16819e-07
  2  8.95604
  3  5.61378e-08
  4  5.60981e-06
  5  13.1683
  6  4.40413e-05
  7  3.15893
  8  19.9135
  9  4.6169
  10  1.92648
  11  6.94453e-05
  12  1.58573e-05
  13  3.88425
  14  3.10695
  15  59.3664
  16  5.0615
  17  10.9223
  18  1.96792e-05
  19  7.88022
  20  3.50767e-05
  21  2.90669e-06
  22  0.208389
  23  0.229495
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  2.539e+00  3.107e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.480e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  9.678e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.852e-01  2.295e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  7.415e-01  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.91
Ra Dec: 26.259 -27.536
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/142366/likelihoodResults_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.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) = 4459.55319163
delta logL = 0.00243340847464

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4459.55316358
delta logL = 0.002461457756

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5387       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4105       1.0000          .0000       5.0000    
     3 'Normalizat'    .74305       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98377       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4459.553     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      190 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5358        4.4637        .64080E-02    .36452E-03
   2  alpha         2.4111        1.1748        .41185       -.12474E-04
   3  Normalizat    .74305        .17056        .42862E-01    .73742E-05
   4  Prefactor     .98379        .19766        .46064E-01    .97080E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53579
  alpha      = 2.41106
  Normalizat = 0.74305
  Prefactor  = 0.983788
 **********
 **   18 **HESSE 
 **********

 FCN=   4459.553     FROM HESSE     STATUS=OK            33 CALLS      223 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5358        3.0907        .12378E-03   -1.5389    
   2  alpha         2.4111        .94796        .22058E-01   -.35582E-01
   3  Normalizat    .74305        .19887        .23847E-03   -1.0222    
   4  Prefactor     .98379        .22877        .24180E-03   -.93272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28971e-10
Minuit parameter uncertainties:
  1  3.09091
  2  0.972321
  3  0.199067
  4  0.228998
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/142366': 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) = 4459.55316296
delta logL = 0.0024620737704

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  2.536e+00  3.091e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.411e+00  9.723e-01  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  9.678e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.838e-01  2.290e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  7.431e-01  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.91
Ra Dec: 26.259 -27.536

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/142366/cmap_HighResolution_658972801_659232001_4FGL_J0145.0-2732_daily_bin1619.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-05', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-12-07 12:26:49.904864', job_id='142366', GAL2='0.98', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1638908809.9', return_code2='0', ts='0.91', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.46e-03', ts2='0.91', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1619' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:26:49 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 142366: <4FGL_J0145.0-2732_daily_bin1619> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1619> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec  7 12:15:25 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 12:16:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 12:16:59 2021
Terminated at Tue Dec  7 12:26:50 2021
Results reported at Tue Dec  7 12:26:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1619 26.2585 -27.5363 658972801 659232001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0145.0-2732 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   466.57 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   591 sec.
    Turnaround time :                            685 sec.

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

