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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin935
RA = 26.2585, Dec = -27.5363
tmin = 481680001, tmax = 481939201
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='832518', job_status='RUN', time_executed='2021-08-14 15:57:33.345664', time_epoch_executed='1628981853.35' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832518

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832518/ft1_4FGL_J0145.0-2732_daily_bin935.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832518/ft2_4FGL_J0145.0-2732_daily_bin935.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832518/ft1_4FGL_J0145.0-2732_daily_bin935.fits outfile=/scratch/kocevski/832518/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin935.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=481680001.0 tmax=481939201.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 4.72
user 3.47
sys 1.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/832518/ft2_4FGL_J0145.0-2732_daily_bin935.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/832518/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin935.fits evtable="EVENTS" outfile="/scratch/kocevski/832518/ft1_filtered_4FGL_J0145.0-2732_daily_bin935.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 1.58
user 0.34
sys 1.21

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832518/ft1_filtered_4FGL_J0145.0-2732_daily_bin935.fits" evtable="EVENTS" scfile=/scratch/kocevski/832518/ft2_4FGL_J0145.0-2732_daily_bin935.fits sctable="SC_DATA" outfile=/scratch/kocevski/832518/ltcube_481680001_481939201_4FGL_J0145.0-2732_daily_bin935.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/832518/ft2_4FGL_J0145.0-2732_daily_bin935.fits
.....................!
real 14.73
user 13.21
sys 1.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832518/ft1_filtered_4FGL_J0145.0-2732_daily_bin935.fits evtable="EVENTS" scfile=/scratch/kocevski/832518/ft2_4FGL_J0145.0-2732_daily_bin935.fits sctable="SC_DATA" expcube=/scratch/kocevski/832518/ltcube_481680001_481939201_4FGL_J0145.0-2732_daily_bin935.fits outfile=/scratch/kocevski/832518/expmap_481680001_481939201_4FGL_J0145.0-2732_daily_bin935.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/832518/ltcube_481680001_481939201_4FGL_J0145.0-2732_daily_bin935.fits
.....................!
real 192.92
user 185.80
sys 6.60

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/832518/ft1_filtered_4FGL_J0145.0-2732_daily_bin935.fits scfile=/scratch/kocevski/832518/ft2_4FGL_J0145.0-2732_daily_bin935.fits outfile=/scratch/kocevski/832518/cmap_481680001_481939201_4FGL_J0145.0-2732_daily_bin935.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 1.55
user 0.38
sys 1.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/832518/ft1_filtered_4FGL_J0145.0-2732_daily_bin935.fits scfile=/scratch/kocevski/832518/ft2_4FGL_J0145.0-2732_daily_bin935.fits outfile=/scratch/kocevski/832518/cmap_HighResolution_481680001_481939201_4FGL_J0145.0-2732_daily_bin935.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 1.60
user 0.40
sys 1.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/832518/ft1_filtered_4FGL_J0145.0-2732_daily_bin935.fits evtable="EVENTS" scfile=/scratch/kocevski/832518/ft2_4FGL_J0145.0-2732_daily_bin935.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832518/Model_4FGL_J0145.0-2732_daily_bin935.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/832518/ft1_filtered_4FGL_J0145.0-2732_daily_bin935.fits......................!
real 37.84
user 35.17
sys 2.49

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.765       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.3603       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.2732       1.0000         .10000E-03   10000.    
     7 'norm      '    3.6814       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5709       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.125       1.0000         .10000E-03   10000.    
    12 'norm      '    .18013E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .45645E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    3.3993       1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.281       1.0000         .10000E-03   10000.    
    16 'norm      '    2.3150       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0557       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95592       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=   3675.786     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2589 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.6420       -.17065E-07** at limit **
   2  Prefactor     18.767        11.558       -.43389E-06   -.84711E-04
   3  Prefactor     .10000E-03    10.082        .48770E-05** at limit **
   4  Prefactor     6.3599        5.3341        .11091E-07   -.14043E-03
   5  Prefactor     .10000E-03    14.954        .61062E-05** at limit **
   6  norm          5.2750        3.5624       -.53498E-06   -.41085E-03
   7  norm          3.6820        2.7731       -.32084E-07    .26529E-04
   8  Prefactor     2.5611        26.765        .15530E-05   -.72271E-04
   9  Prefactor     .10000E-03    4.1158        .59932E-08** at limit **
  10  norm          .10000E-03    1.2505       -.83364E-07** at limit **
  11  Prefactor     12.116        28.087       -.16139E-04   -.33890E-04
  12  norm          .23101E-01    1.4851       -.48170E-06    .44391E-03
  13  Prefactor     .64605E-01    3.3755        .69191E-06   -.18415E-03
  14  norm          3.3989        3.1226       -.88167E-07    .11585E-03
  15  Prefactor     27.285        31.601        .38882E-05    .14992E-04
  16  norm          2.3150        2.9324       -.16930E-06   -.14659E-03
  17  Prefactor     .10000E-03    9.8266       -.47242E-05** at limit **
  18  Prefactor     .10000E-03    2.4817        .17087E-06** at limit **
  19  Prefactor     .10000E-03    6.0226       -.21063E-06** at limit **
  20  Prefactor     .10000E-03    40.562        .16409E-05** at limit **
  21  Prefactor     .10000E-03    15.510       -.63418E-05** at limit **
  22  Normalizat    1.0557        .22543        .54593E-06   -.23249E-04
  23  Prefactor     .95577        .24525        .78619E-06   -.93705E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 18.7666
  Prefactor  = 0.0001
  Prefactor  = 6.35989
  Prefactor  = 0.0001
  norm       = 5.27502
  norm       = 3.68202
  Prefactor  = 2.56106
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.116
  norm       = 0.0231005
  Prefactor  = 0.0646048
  norm       = 3.39886
  Prefactor  = 27.2853
  norm       = 2.31498
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05568
  Prefactor  = 0.955773
 **********
 **   18 **HESSE 
 **********

 FCN=   3675.786     FROM HESSE     STATUS=OK           378 CALLS     2967 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6809        .96228E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.767        11.575        .92460E-04   -1.4841    
   3  Prefactor     .10000E-03    10.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.3599        5.3334        .12339E-03   -1.5204    
   5  Prefactor     .10000E-03    15.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.2750        3.5611        .89871E-04   -1.5249    
   7  norm          3.6820        2.7654        .83181E-04   -1.5324    
   8  Prefactor     2.5611        26.442        .25457E-03   -1.5388    
   9  Prefactor     .10000E-03    4.1502        .11994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.6375        .13004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.116        28.144        .11504E-03   -1.5012    
  12  norm          .23101E-01    44.946        .13941E-02   -1.5678    
  13  Prefactor     .64605E-01    69.143        .21015E-02   -1.5657    
  14  norm          3.3989        3.1266        .98532E-04   -1.5339    
  15  Prefactor     27.285        31.620        .76700E-04   -1.4663    
  16  norm          2.3150        2.9230        .11245E-03   -1.5404    
  17  Prefactor     .10000E-03    9.8834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.4961        .93262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.0993        .14527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    40.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    15.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0557        .26098        .23048E-03   -.91188    
  23  Prefactor     .95577        .28583        .27275E-03   -.94219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82012e-09
Minuit parameter uncertainties:
  1  2.23248e-06
  2  11.576
  3  3.46012e-06
  4  5.33382
  5  4.27322e-05
  6  3.56121
  7  2.76554
  8  16.4674
  9  6.14081e-06
  10  4.01556e-06
  11  28.1747
  12  2.03503
  13  4.22866
  14  3.1268
  15  31.6393
  16  2.92322
  17  6.01397e-06
  18  1.95797e-06
  19  7.85308e-06
  20  1.72719e-05
  21  2.17478e-06
  22  0.261299
  23  0.286284
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  3.399e+00  3.127e+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.558e-01  2.863e-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:  1.056e+00  2.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 26.259 -27.536
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 4.05e-08 +/- 3.72e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 9.79e-06

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) = 3674.40994512
delta logL = 1.37563101299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3673.80991249
delta logL = 1.97566364359

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57164       1.0000         .10000E-03   10000.    
     2 'alpha     '    .89572       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0874       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93901       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=   3673.810     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      211 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57203        .65918        .99913E-02   -.16253E-03
   2  alpha         .89571        .42769        .24918       -.29471E-04
   3  Normalizat    1.0872        .21572        .38538E-01    .92648E-05
   4  Prefactor     .93923        .24543        .45500E-01    .24483E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.572026
  alpha      = 0.89571
  Normalizat = 1.08718
  Prefactor  = 0.939225
 **********
 **   18 **HESSE 
 **********

 FCN=   3673.810     FROM HESSE     STATUS=OK            35 CALLS      246 TOTAL
                     EDM=   .82E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57203        1.1441        .41310E-03   -1.5557    
   2  alpha         .89571        .70742        .10669E-01   -.69673    
   3  Normalizat    1.0872        .25088        .22743E-03   -.90164    
   4  Prefactor     .93923        .28536        .27484E-03   -.94784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.20026e-12
Minuit parameter uncertainties:
  1  1.14414
  2  0.724541
  3  0.251153
  4  0.285822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832518': 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) = 3673.80991188
delta logL = 1.97566424882

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  5.720e-01  1.144e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  8.957e-01  7.245e-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.392e-01  2.858e-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:  1.087e+00  2.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.15
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 0.90 +/- 0.72
Photon Flux (Free Index): 8.37e-09 +/- 1.05e-08
Energy Flux (Free Index): 4.07e-05 +/- 6.02e-05

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/832518/cmap_HighResolution_481680001_481939201_4FGL_J0145.0-2732_daily_bin935.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.05e-08', energy_flux2='4.07e-05', photon_flux_error='3.72e-08', dlogl='1.98e+00', energy_flux='1.06e-05', photon_flux2='8.37e-09', job_status='DONE', time_completed='2021-08-14 16:05:48.573746', photon_index_error2='0.72', photon_index2='0.90', ts='5.20', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='6.02e-05', EG='1.06', time_epoch_completed='1628982348.57', return_code='0', job_id='832518', GAL2='0.94', EG2='1.09', return_code2='0', energy_flux_error='9.79e-06', photon_flux_error2='1.05e-08', ts2='9.15', photon_index='2.48' WHERE bin_id='935' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:05:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 832518: <4FGL_J0145.0-2732_daily_bin935> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin935> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Aug 14 15:55:38 2021
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:56:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 15:56:59 2021
Terminated at Sat Aug 14 16:05:49 2021
Results reported at Sat Aug 14 16:05:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin935 26.2585 -27.5363 481680001 481939201 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 :                                   510.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             283.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   530 sec.
    Turnaround time :                            611 sec.

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

