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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin674
RA = 26.2585, Dec = -27.5363
tmin = 414028801, tmax = 414288001
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='831051', job_status='RUN', time_executed='2021-08-14 15:55:45.343782', time_epoch_executed='1628981745.34' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831051

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831051/ft1_4FGL_J0145.0-2732_daily_bin674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831051/ft2_4FGL_J0145.0-2732_daily_bin674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831051/ft1_4FGL_J0145.0-2732_daily_bin674.fits outfile=/scratch/kocevski/831051/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin674.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=414028801.0 tmax=414288001.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 5.96
user 4.92
sys 1.02

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/831051/ft1_filtered_4FGL_J0145.0-2732_daily_bin674.fits" evtable="EVENTS" scfile=/scratch/kocevski/831051/ft2_4FGL_J0145.0-2732_daily_bin674.fits sctable="SC_DATA" outfile=/scratch/kocevski/831051/ltcube_414028801_414288001_4FGL_J0145.0-2732_daily_bin674.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/831051/ft2_4FGL_J0145.0-2732_daily_bin674.fits
.....................!
real 13.63
user 12.26
sys 1.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831051/ft1_filtered_4FGL_J0145.0-2732_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/831051/ft2_4FGL_J0145.0-2732_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/831051/ltcube_414028801_414288001_4FGL_J0145.0-2732_daily_bin674.fits outfile=/scratch/kocevski/831051/expmap_414028801_414288001_4FGL_J0145.0-2732_daily_bin674.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/831051/ltcube_414028801_414288001_4FGL_J0145.0-2732_daily_bin674.fits
.....................!
real 191.78
user 185.24
sys 5.88

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/831051/ft1_filtered_4FGL_J0145.0-2732_daily_bin674.fits scfile=/scratch/kocevski/831051/ft2_4FGL_J0145.0-2732_daily_bin674.fits outfile=/scratch/kocevski/831051/cmap_414028801_414288001_4FGL_J0145.0-2732_daily_bin674.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.71
user 0.37
sys 0.93

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831051/ft1_filtered_4FGL_J0145.0-2732_daily_bin674.fits scfile=/scratch/kocevski/831051/ft2_4FGL_J0145.0-2732_daily_bin674.fits outfile=/scratch/kocevski/831051/cmap_HighResolution_414028801_414288001_4FGL_J0145.0-2732_daily_bin674.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.32
user 0.39
sys 0.91

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/831051/ft1_filtered_4FGL_J0145.0-2732_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/831051/ft2_4FGL_J0145.0-2732_daily_bin674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831051/Model_4FGL_J0145.0-2732_daily_bin674.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/831051/ft1_filtered_4FGL_J0145.0-2732_daily_bin674.fits.....................!
real 34.93
user 32.26
sys 2.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2910       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.511       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .26749       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5692       1.0000         .10000E-03   10000.    
    10 'norm      '    1.5886       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.278       1.0000         .10000E-03   10000.    
    12 'norm      '    10.282       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3551       1.0000         .10000E-03   10000.    
    20 'Prefactor '    37.356       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .14954E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87234       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76254       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=   3317.043     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2565 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8298        .30190E-07** at limit **
   2  Prefactor     5.2900        9.0620        .38447E-06   -.11388E-03
   3  Prefactor     18.513        16.902       -.31386E-05    .22281E-04
   4  Prefactor     .10000E-03    2.6290        .17597E-06** at limit **
   5  Prefactor     .10000E-03    11.649       -.78487E-06** at limit **
   6  norm          .10000E-03    2.2209       -.30012E-06** at limit **
   7  norm          .26784        2.1094       -.58969E-06   -.44464E-03
   8  Prefactor     .10000E-03    10.867        .58597E-06** at limit **
   9  Prefactor     4.5685        5.7891        .21929E-05   -.11523E-03
  10  norm          1.5883        1.7100       -.16506E-06   -.37516E-03
  11  Prefactor     12.296        33.506       -.97932E-05   -.32093E-04
  12  norm          10.282        3.4825        .10476E-06    .39675E-04
  13  Prefactor     .10000E-03    2.7759        .44246E-06** at limit **
  14  norm          .10000E-03    1.2420        .68937E-08** at limit **
  15  Prefactor     .10000E-03    27.745       -.14104E-06** at limit **
  16  norm          .10000E-03    1.8915       -.26132E-07** at limit **
  17  Prefactor     .10000E-03    3.9530       -.10865E-07** at limit **
  18  Prefactor     .10000E-03    2.0941       -.67892E-07** at limit **
  19  Prefactor     2.3605        6.6410        .18893E-05   -.30372E-03
  20  Prefactor     37.346        46.684       -.39784E-05    .10309E-04
  21  Prefactor     .10000E-03    362.19       -.17851E-04** at limit **
  22  Normalizat    .87239        .18797        .56028E-06    .82155E-05
  23  Prefactor     .76258        .21041       -.77963E-08    .24264E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.29001
  Prefactor  = 18.5128
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.267843
  Prefactor  = 0.0001
  Prefactor  = 4.56847
  norm       = 1.58833
  Prefactor  = 12.2965
  norm       = 10.2817
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.36054
  Prefactor  = 37.3464
  Prefactor  = 0.000100001
  Normalizat = 0.872387
  Prefactor  = 0.76258
 **********
 **   18 **HESSE 
 **********

 FCN=   3317.043     FROM HESSE     STATUS=OK           374 CALLS     2939 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8390        .76078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.2900        9.0301        .17473E-03   -1.5248    
   3  Prefactor     18.513        16.683        .93090E-04   -1.4847    
   4  Prefactor     .10000E-03    5.1159        .18140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.2778        .16712E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .26784        3.5711        .16231E-02   -1.5604    
   8  Prefactor     .10000E-03    10.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5685        5.7016        .14411E-03   -1.5280    
  10  norm          1.5883        1.6959        .75106E-04   -1.5456    
  11  Prefactor     12.296        33.898        .11432E-03   -1.5006    
  12  norm          10.282        3.4859        .59227E-04   -1.5067    
  13  Prefactor     .10000E-03    4.6775        .18474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.2473        .62649E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    27.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.9781        .15455E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.9588        .11183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.1051        .81372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.3605        6.5065        .22873E-03   -1.5401    
  20  Prefactor     37.346        46.606        .65574E-04   -1.4485    
  21  Prefactor     .10000E-03    376.60        .40946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .87239        .22270        .20078E-03   -.97437    
  23  Prefactor     .76258        .24856        .25041E-03   -1.0112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.74014e-10
Minuit parameter uncertainties:
  1  6.05022e-08
  2  9.03245
  3  16.6875
  4  5.03695e-06
  5  9.73981e-05
  6  3.74706e-05
  7  1.9558
  8  8.92797e-07
  9  5.70229
  10  1.69596
  11  33.9506
  12  3.48596
  13  0.000120743
  14  1.57913e-06
  15  1.21793e-05
  16  3.33678e-06
  17  3.73651e-06
  18  4.90696e-06
  19  6.50841
  20  46.6516
  21  0.000924886
  22  0.22293
  23  0.248925
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  1.579e-06  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:  7.626e-01  2.489e-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:  8.724e-01  2.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/831051/likelihoodResults_414028801_414288001_4FGL_J0145.0-2732_daily_bin674.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) = 3317.04693669
delta logL = -0.00376954632065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3317.0431672
delta logL = -5.65873961023e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4853       1.0000          .0000       5.0000    
     3 'Normalizat'    .87242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76260       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3317.043     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      222 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4702        .62714E-03** at limit **
   2  alpha         2.7814        3.8505        .16461       -.67130E-07
   3  Normalizat    .87239        .20808        .20078E-03   -.19281E-03
   4  Prefactor     .76258        .24537        .25041E-03   -.12880E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.78136
  Normalizat = 0.872386
  Prefactor  = 0.76258
 **********
 **   18 **HESSE 
 **********

 FCN=   3317.043     FROM HESSE     STATUS=OK            23 CALLS      245 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2877        .12543E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7814        3.0292        .65844E-02    .11278    
   3  Normalizat    .87239        .20826        .40157E-04   -.97437    
   4  Prefactor     .76258        .24559        .10017E-04   -1.0112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.70172e-11
Minuit parameter uncertainties:
  1  4.30281e-06
  2  194.597
  3  0.208456
  4  0.24594
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831051': 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) = 3317.04316589
delta logL = 1.25714814203e-06

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  4.303e-06  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.781e+00  1.946e+02  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:  7.626e-01  2.459e-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:  8.724e-01  2.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/831051/cmap_HighResolution_414028801_414288001_4FGL_J0145.0-2732_daily_bin674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.91e-05', job_status='DONE', photon_flux_upper_limit='7.28e-08', time_completed='2021-08-14 16:04:22.662819', job_id='831051', GAL2='0.76', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1628982262.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.26e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='674' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:04:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 831051: <4FGL_J0145.0-2732_daily_bin674> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin674> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 15:50:40 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:53:25 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:53:25 2021
Terminated at Sat Aug 14 16:04:23 2021
Results reported at Sat Aug 14 16:04:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin674 26.2585 -27.5363 414028801 414288001 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 :                                   526.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            823 sec.

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

