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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1032
RA = 26.2585, Dec = -27.5363
tmin = 506822401, tmax = 507081601
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='832658', job_status='RUN', time_executed='2021-08-14 16:01:32.144336', time_epoch_executed='1628982092.14' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1032'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832658

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832658/ft1_4FGL_J0145.0-2732_daily_bin1032.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832658/ft2_4FGL_J0145.0-2732_daily_bin1032.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832658/ft1_4FGL_J0145.0-2732_daily_bin1032.fits outfile=/scratch/kocevski/832658/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1032.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=506822401.0 tmax=507081601.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.19
user 2.68
sys 1.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/832658/ft2_4FGL_J0145.0-2732_daily_bin1032.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/832658/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1032.fits evtable="EVENTS" outfile="/scratch/kocevski/832658/ft1_filtered_4FGL_J0145.0-2732_daily_bin1032.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.72
user 0.27
sys 1.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832658/ft1_filtered_4FGL_J0145.0-2732_daily_bin1032.fits" evtable="EVENTS" scfile=/scratch/kocevski/832658/ft2_4FGL_J0145.0-2732_daily_bin1032.fits sctable="SC_DATA" outfile=/scratch/kocevski/832658/ltcube_506822401_507081601_4FGL_J0145.0-2732_daily_bin1032.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/832658/ft2_4FGL_J0145.0-2732_daily_bin1032.fits
.....................!
real 12.03
user 10.26
sys 1.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832658/ft1_filtered_4FGL_J0145.0-2732_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/832658/ft2_4FGL_J0145.0-2732_daily_bin1032.fits sctable="SC_DATA" expcube=/scratch/kocevski/832658/ltcube_506822401_507081601_4FGL_J0145.0-2732_daily_bin1032.fits outfile=/scratch/kocevski/832658/expmap_506822401_507081601_4FGL_J0145.0-2732_daily_bin1032.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/832658/ltcube_506822401_507081601_4FGL_J0145.0-2732_daily_bin1032.fits
.....................!
real 154.06
user 148.54
sys 5.19

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/832658/ft1_filtered_4FGL_J0145.0-2732_daily_bin1032.fits scfile=/scratch/kocevski/832658/ft2_4FGL_J0145.0-2732_daily_bin1032.fits outfile=/scratch/kocevski/832658/cmap_506822401_507081601_4FGL_J0145.0-2732_daily_bin1032.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.78
user 0.30
sys 1.24

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/832658/ft1_filtered_4FGL_J0145.0-2732_daily_bin1032.fits scfile=/scratch/kocevski/832658/ft2_4FGL_J0145.0-2732_daily_bin1032.fits outfile=/scratch/kocevski/832658/cmap_HighResolution_506822401_507081601_4FGL_J0145.0-2732_daily_bin1032.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 2.01
user 0.30
sys 1.33

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/832658/ft1_filtered_4FGL_J0145.0-2732_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/832658/ft2_4FGL_J0145.0-2732_daily_bin1032.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832658/Model_4FGL_J0145.0-2732_daily_bin1032.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/832658/ft1_filtered_4FGL_J0145.0-2732_daily_bin1032.fits.....................!
real 43.15
user 38.88
sys 2.59

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7775       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3295       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.3694       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.072       1.0000         .10000E-03   10000.    
     6 'norm      '    .12324E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.2579       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.0533       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.130       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11434E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.7806       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.7004       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.732       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.097       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.371       1.0000         .10000E-03   10000.    
    21 'Prefactor '    62.780       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .79762       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89737       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=   6293.039     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2577 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7775        2.5948        .25413E-07    .33605E-03
   2  Prefactor     .10000E-03    7.0920        .13127E-06** at limit **
   3  Prefactor     2.3288        8.5160        .49912E-05   -.46176E-03
   4  Prefactor     4.3695        2.6589        .54362E-07    .68571E-03
   5  Prefactor     17.071        8.2628       -.88104E-06   -.18494E-02
   6  norm          .10000E-03    1.2898        .11969E-05** at limit **
   7  norm          3.2579        1.9258       -.47763E-07    .14174E-03
   8  Prefactor     .10000E-03    4.8808        .14450E-07** at limit **
   9  Prefactor     .10000E-03    1.0791        .69112E-07** at limit **
  10  norm          2.0533        1.0357        .17741E-07   -.13300E-03
  11  Prefactor     16.129        24.470        .54292E-06    .15545E-03
  12  norm          .10000E-03    .74988       -.47445E-07** at limit **
  13  Prefactor     .10000E-03    2.8096       -.22786E-05** at limit **
  14  norm          3.7808        2.3395        .67049E-07    .31222E-03
  15  Prefactor     .10000E-03    10.358       -.49264E-07** at limit **
  16  norm          3.7005        2.1648        .42011E-07    .86687E-04
  17  Prefactor     16.731        10.199        .50991E-07   -.31156E-04
  18  Prefactor     12.098        4.9451        .18432E-07   -.35992E-04
  19  Prefactor     .10000E-03    2.7449        .52331E-06** at limit **
  20  Prefactor     11.371        25.304        .12336E-06    .12828E-04
  21  Prefactor     62.791        36.456        .31340E-06    .40694E-03
  22  Normalizat    .79753        .14974       -.11283E-05    .16289E-03
  23  Prefactor     .89747        .16621        .87207E-06    .21349E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.77749
  Prefactor  = 0.0001
  Prefactor  = 2.32883
  Prefactor  = 4.36946
  Prefactor  = 17.0706
  norm       = 0.000100001
  norm       = 3.25787
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.05333
  Prefactor  = 16.1287
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.78084
  Prefactor  = 0.0001
  norm       = 3.70048
  Prefactor  = 16.7315
  Prefactor  = 12.0975
  Prefactor  = 0.0001
  Prefactor  = 11.3712
  Prefactor  = 62.7911
  Normalizat = 0.797535
  Prefactor  = 0.897467
 **********
 **   18 **HESSE 
 **********

 FCN=   6293.039     FROM HESSE     STATUS=OK           378 CALLS     2955 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7775        2.5936        .10300E-03   -1.5319    
   2  Prefactor     .10000E-03    7.3604        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3288        9.4345        .13435E-02   -1.5403    
   4  Prefactor     4.3695        2.6603        .97784E-04   -1.5290    
   5  Prefactor     17.071        8.1554        .96934E-04   -1.4881    
   6  norm          .10000E-03    3.0062        .15846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.2579        1.9286        .81744E-04   -1.5347    
   8  Prefactor     .10000E-03    4.8988        .17113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.0877        .80434E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.0533        1.0359        .28846E-04   -1.5421    
  11  Prefactor     16.129        24.039        .99725E-04   -1.4905    
  12  norm          .10000E-03    1.1432        .13239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.8995        .20193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.7808        2.3399        .90517E-04   -1.5319    
  15  Prefactor     .10000E-03    10.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.7005        2.1625        .85820E-04   -1.5323    
  17  Prefactor     16.731        10.200        .97915E-04   -1.4890    
  18  Prefactor     12.098        4.9448        .10800E-03   -1.5012    
  19  Prefactor     .10000E-03    2.8152        .12867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.371        25.296        .11880E-03   -1.5033    
  21  Prefactor     62.791        36.760        .25322E-03   -1.4121    
  22  Normalizat    .79753        .17305        .22132E-03   -1.0016    
  23  Prefactor     .89747        .19491        .24938E-03   -.96230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98869e-09
Minuit parameter uncertainties:
  1  2.59364
  2  7.26612e-05
  3  9.37708
  4  2.66034
  5  8.15593
  6  7.82096e-05
  7  1.92868
  8  1.63374e-05
  9  5.51952e-06
  10  1.03594
  11  24.0537
  12  2.47927e-06
  13  5.57752e-05
  14  2.33998
  15  3.07389e-05
  16  2.16258
  17  10.2014
  18  4.94493
  19  5.22613e-05
  20  25.3197
  21  36.773
  22  0.173166
  23  0.195056
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  3.781e+00  2.340e+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:  8.975e-01  1.951e-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.975e-01  1.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.08
Ra Dec: 26.259 -27.536
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 4.50e-08 +/- 2.79e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 7.32e-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) = 6292.98149648
delta logL = 0.0574236297552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6292.97430205
delta logL = 0.0646180607528

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9993       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7608       1.0000          .0000       5.0000    
     3 'Normalizat'    .78136       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90964       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=   6292.974     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      195 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9993        63.871        .50417E-02   -.13567E-03
   2  alpha         2.7605        3.1291        .41438       -.45022E-05
   3  Normalizat    .78129        .19414        .43367E-01    .18596E-04
   4  Prefactor     .90972        .24493        .45128E-01   -.44672E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.99928
  alpha      = 2.76052
  Normalizat = 0.781286
  Prefactor  = 0.909717
 **********
 **   18 **HESSE 
 **********

 FCN=   6292.974     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9993        2.2683        .85152E-04   -1.5308    
   2  alpha         2.7605        .76554        .20561E-01    .10440    
   3  Normalizat    .78129        .17018        .22337E-03   -1.0077    
   4  Prefactor     .90972        .19731        .24787E-03   -.95802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.56081e-11
Minuit parameter uncertainties:
  1  2.26839
  2  0.778178
  3  0.170295
  4  0.197464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832658': 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) = 6292.97430181
delta logL = 0.0646182992268

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  3.999e+00  2.268e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.761e+00  7.782e-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.097e-01  1.975e-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.813e-01  1.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.21
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 2.76 +/- 0.78
Photon Flux (Free Index): 5.58e-08 +/- 4.12e-08
Energy Flux (Free Index): 1.23e-05 +/- 7.01e-06

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/832658/cmap_HighResolution_506822401_507081601_4FGL_J0145.0-2732_daily_bin1032.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.50e-08', energy_flux2='1.23e-05', photon_flux_error='2.79e-08', dlogl='6.46e-02', energy_flux='1.18e-05', photon_flux2='5.58e-08', job_status='DONE', time_completed='2021-08-14 16:09:56.768963', photon_index_error2='0.78', photon_index2='2.76', ts='6.08', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='7.01e-06', EG='0.80', time_epoch_completed='1628982596.77', return_code='0', job_id='832658', GAL2='0.91', EG2='0.78', return_code2='0', energy_flux_error='7.32e-06', photon_flux_error2='4.12e-08', ts2='6.21', photon_index='2.48' WHERE bin_id='1032' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:09:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0135>
Subject: Job 832658: <4FGL_J0145.0-2732_daily_bin1032> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1032> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Aug 14 15:55:48 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:58:10 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:58:10 2021
Terminated at Sat Aug 14 16:09:58 2021
Results reported at Sat Aug 14 16:09:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1032 26.2585 -27.5363 506822401 507081601 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 :                                   519.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             283.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            850 sec.

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

