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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1327
RA = 26.2585, Dec = -27.5363
tmin = 583286401, tmax = 583545601
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='834223', job_status='RUN', time_executed='2021-08-14 16:04:55.225431', time_epoch_executed='1628982295.23' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1327'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834223

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834223/ft1_4FGL_J0145.0-2732_daily_bin1327.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834223/ft2_4FGL_J0145.0-2732_daily_bin1327.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834223/ft1_4FGL_J0145.0-2732_daily_bin1327.fits outfile=/scratch/kocevski/834223/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1327.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=583286401.0 tmax=583545601.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 10.40
user 3.28
sys 5.91

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834223/ft2_4FGL_J0145.0-2732_daily_bin1327.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/834223/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1327.fits evtable="EVENTS" outfile="/scratch/kocevski/834223/ft1_filtered_4FGL_J0145.0-2732_daily_bin1327.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 6.20
user 0.33
sys 5.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834223/ft1_filtered_4FGL_J0145.0-2732_daily_bin1327.fits" evtable="EVENTS" scfile=/scratch/kocevski/834223/ft2_4FGL_J0145.0-2732_daily_bin1327.fits sctable="SC_DATA" outfile=/scratch/kocevski/834223/ltcube_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.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/834223/ft2_4FGL_J0145.0-2732_daily_bin1327.fits
.....................!
real 20.16
user 13.31
sys 6.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834223/ft1_filtered_4FGL_J0145.0-2732_daily_bin1327.fits evtable="EVENTS" scfile=/scratch/kocevski/834223/ft2_4FGL_J0145.0-2732_daily_bin1327.fits sctable="SC_DATA" expcube=/scratch/kocevski/834223/ltcube_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.fits outfile=/scratch/kocevski/834223/expmap_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.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/834223/ltcube_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.fits
.....................!
real 199.11
user 186.26
sys 12.33

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/834223/ft1_filtered_4FGL_J0145.0-2732_daily_bin1327.fits scfile=/scratch/kocevski/834223/ft2_4FGL_J0145.0-2732_daily_bin1327.fits outfile=/scratch/kocevski/834223/cmap_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.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 6.10
user 0.38
sys 5.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834223/ft1_filtered_4FGL_J0145.0-2732_daily_bin1327.fits scfile=/scratch/kocevski/834223/ft2_4FGL_J0145.0-2732_daily_bin1327.fits outfile=/scratch/kocevski/834223/cmap_HighResolution_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.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 6.15
user 0.40
sys 5.70

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834223/ft1_filtered_4FGL_J0145.0-2732_daily_bin1327.fits evtable="EVENTS" scfile=/scratch/kocevski/834223/ft2_4FGL_J0145.0-2732_daily_bin1327.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834223/Model_4FGL_J0145.0-2732_daily_bin1327.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/834223/ft1_filtered_4FGL_J0145.0-2732_daily_bin1327.fits.....................!
real 57.74
user 48.19
sys 8.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/834223/ft1_filtered_4FGL_J0145.0-2732_daily_bin1327.fits', '/scratch/kocevski/834223/ft2_4FGL_J0145.0-2732_daily_bin1327.fits', expMap='/scratch/kocevski/834223/expmap_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.fits', expCube='/scratch/kocevski/834223/ltcube_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/834223/Model_4FGL_J0145.0-2732_daily_bin1327.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/834223/ft1_filtered_4FGL_J0145.0-2732_daily_bin1327.fits
Spacecraft file(s): /scratch/kocevski/834223/ft2_4FGL_J0145.0-2732_daily_bin1327.fits
Exposure map: /scratch/kocevski/834223/expmap_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.fits
Exposure cube: /scratch/kocevski/834223/ltcube_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/834223/Model_4FGL_J0145.0-2732_daily_bin1327.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) = 5906.76680819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .53998       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.4588       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1930       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5233       1.0000         .10000E-03   10000.    
     6 'norm      '    .10971       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7339       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7670       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.058       1.0000         .10000E-03   10000.    
    12 'norm      '    .11693E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .21959E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    1.1837       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4016       1.0000         .10000E-03   10000.    
    16 'norm      '    3.8248       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.1802       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.3847       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .67549       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2030       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=   5906.718     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2255 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .88143        .18268E-08** at limit **
   2  Prefactor     .55246        3.3612        .32515E-06   -.30099E-03
   3  Prefactor     7.4554        8.2514        .50348E-07   -.31744E-04
   4  Prefactor     2.1940        3.2300       -.21671E-06   -.13919E-04
   5  Prefactor     5.5014        14.066        .32458E-06   -.27651E-04
   6  norm          .11356        21.875        .97922E-06   -.45867E-04
   7  norm          .10000E-03    .54703       -.12843E-07** at limit **
   8  Prefactor     .10000E-03    14.913       -.60955E-06** at limit **
   9  Prefactor     2.7275        4.5306        .33807E-06   -.40671E-04
  10  norm          1.7672        1.3785       -.31379E-07   -.31554E-04
  11  Prefactor     15.064        18.809        .61811E-06    .30087E-04
  12  norm          .10000E-03    .91294       -.24404E-07** at limit **
  13  Prefactor     .10000E-03    1.9685       -.20545E-06** at limit **
  14  norm          1.1834        1.8016       -.39509E-07   -.25872E-04
  15  Prefactor     7.3944        22.533       -.19710E-05   -.49540E-05
  16  norm          3.8250        2.4854       -.42062E-07   -.81427E-05
  17  Prefactor     5.1793        7.7400       -.94666E-06   -.74107E-04
  18  Prefactor     .10000E-03    1.6114       -.10118E-07** at limit **
  19  Prefactor     9.3856        5.8298       -.50823E-07   -.30000E-04
  20  Prefactor     .10000E-03    9.7352        .48658E-07** at limit **
  21  Prefactor     .10000E-03    21.845        .93954E-06** at limit **
  22  Normalizat    .67543        .15531        .66551E-06    .89868E-05
  23  Prefactor     1.2031        .17871        .32465E-07    .35364E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.552459
  Prefactor  = 7.4554
  Prefactor  = 2.194
  Prefactor  = 5.50142
  norm       = 0.113559
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.72747
  norm       = 1.76718
  Prefactor  = 15.0641
  norm       = 0.000100003
  Prefactor  = 0.000100003
  norm       = 1.18339
  Prefactor  = 7.39443
  norm       = 3.82504
  Prefactor  = 5.17933
  Prefactor  = 0.0001
  Prefactor  = 9.38565
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.67543
  Prefactor  = 1.20306
 **********
 **   18 **HESSE 
 **********

 FCN=   5906.718     FROM HESSE     STATUS=OK           384 CALLS     2639 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .88455        .70463E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55246        12.016        .25785E-02   -1.5559    
   3  Prefactor     7.4554        8.2215        .14685E-03   -1.5162    
   4  Prefactor     2.1940        3.2213        .15948E-03   -1.5412    
   5  Prefactor     5.5014        18.615        .17096E-03   -1.5239    
   6  norm          .11356        39.388        .14581E-02   -1.5641    
   7  norm          .10000E-03    .54893        .55503E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7275        4.4681        .18455E-03   -1.5378    
  10  norm          1.7672        1.3672        .75857E-04   -1.5442    
  11  Prefactor     15.064        18.763        .10321E-03   -1.4932    
  12  norm          .10000E-03    6.6756        .13699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.482        .19200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.1834        1.7561        .12140E-03   -1.5490    
  15  Prefactor     7.3944        22.503        .14742E-03   -1.5164    
  16  norm          3.8250        2.4809        .93453E-04   -1.5317    
  17  Prefactor     5.1793        7.7822        .88313E-03   -1.5253    
  18  Prefactor     .10000E-03    1.6280        .95244E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.3856        5.8302        .13082E-03   -1.5095    
  20  Prefactor     .10000E-03    9.7368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    21.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .67543        .18259        .23935E-03   -1.0487    
  23  Prefactor     1.2031        .21438        .22597E-03   -.86237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.05858e-08
Minuit parameter uncertainties:
  1  3.53255e-07
  2  5.15367
  3  8.22273
  4  3.22151
  5  18.6351
  6  4.23078
  7  4.35719e-07
  8  1.87e-05
  9  4.46865
  10  1.36721
  11  18.7701
  12  0.000295595
  13  0.000466982
  14  1.75618
  15  22.5286
  16  2.48101
  17  7.7837
  18  6.83389e-07
  19  5.83059
  20  1.22698e-06
  21  2.80209e-06
  22  0.182756
  23  0.214536
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.183e+00  1.756e+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:  1.203e+00  2.145e-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:  6.754e-01  1.828e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.75
Ra Dec: 26.259 -27.536
Photon Flux Upper Limit: 7.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834223/likelihoodResults_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.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) = 5906.71706717
delta logL = 0.00123591936881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5906.71699211
delta logL = 0.00131097877147

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2022       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5546       1.0000          .0000       5.0000    
     3 'Normalizat'    .67414       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2041       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=   5906.717     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      198 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2019        3.0007        .10344E-01    .43730E-03
   2  alpha         2.5561        1.8661        .41164       -.16016E-04
   3  Normalizat    .67412        .14513        .41944E-01    .98725E-05
   4  Prefactor     1.2041        .17808        .51093E-01   -.87493E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20187
  alpha      = 2.55612
  Normalizat = 0.674115
  Prefactor  = 1.20412
 **********
 **   18 **HESSE 
 **********

 FCN=   5906.717     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2019        1.7743        .12112E-03   -1.5489    
   2  alpha         2.5561        1.3953        .37681E-01    .22450E-01
   3  Normalizat    .67412        .17407        .23957E-03   -1.0492    
   4  Prefactor     1.2041        .21229        .22588E-03   -.86204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71419e-09
Minuit parameter uncertainties:
  1  1.77442
  2  1.48031
  3  0.174217
  4  0.21244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834223': 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) = 5906.71699153
delta logL = 0.00131155740382

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.202e+00  1.774e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.556e+00  1.480e+00  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:  1.204e+00  2.124e-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:  6.741e-01  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.75
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/834223/cmap_HighResolution_583286401_583545601_4FGL_J0145.0-2732_daily_bin1327.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-05', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2021-08-14 16:16:38.647027', job_id='834223', GAL2='1.20', fit_tolerance='1e-08', EG2='0.67', EG='0.68', time_epoch_completed='1628982998.65', return_code2='0', ts='0.75', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='1.31e-03', ts2='0.75', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1327' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:16:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 834223: <4FGL_J0145.0-2732_daily_bin1327> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1327> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:56 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:03:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 16:03:15 2021
Terminated at Sat Aug 14 16:16:40 2021
Results reported at Sat Aug 14 16:16:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1327 26.2585 -27.5363 583286401 583545601 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 :                                   786.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            944 sec.

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

