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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1498
RA = 26.2585, Dec = -27.5363
tmin = 627609601, tmax = 627868801
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='835469', job_status='RUN', time_executed='2021-08-14 16:09:35.640913', time_epoch_executed='1628982575.64' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1498'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835469

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835469/ft1_4FGL_J0145.0-2732_daily_bin1498.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835469/ft2_4FGL_J0145.0-2732_daily_bin1498.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835469/ft1_4FGL_J0145.0-2732_daily_bin1498.fits outfile=/scratch/kocevski/835469/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1498.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=627609601.0 tmax=627868801.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 11.10
user 2.37
sys 8.66

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/835469/ft2_4FGL_J0145.0-2732_daily_bin1498.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/835469/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1498.fits evtable="EVENTS" outfile="/scratch/kocevski/835469/ft1_filtered_4FGL_J0145.0-2732_daily_bin1498.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 9.04
user 0.35
sys 8.55

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835469/ft1_filtered_4FGL_J0145.0-2732_daily_bin1498.fits" evtable="EVENTS" scfile=/scratch/kocevski/835469/ft2_4FGL_J0145.0-2732_daily_bin1498.fits sctable="SC_DATA" outfile=/scratch/kocevski/835469/ltcube_627609601_627868801_4FGL_J0145.0-2732_daily_bin1498.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/835469/ft2_4FGL_J0145.0-2732_daily_bin1498.fits
.....................!
real 24.66
user 14.73
sys 9.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835469/ft1_filtered_4FGL_J0145.0-2732_daily_bin1498.fits evtable="EVENTS" scfile=/scratch/kocevski/835469/ft2_4FGL_J0145.0-2732_daily_bin1498.fits sctable="SC_DATA" expcube=/scratch/kocevski/835469/ltcube_627609601_627868801_4FGL_J0145.0-2732_daily_bin1498.fits outfile=/scratch/kocevski/835469/expmap_627609601_627868801_4FGL_J0145.0-2732_daily_bin1498.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/835469/ltcube_627609601_627868801_4FGL_J0145.0-2732_daily_bin1498.fits
.....................!
real 203.08
user 186.32
sys 16.22

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/835469/ft1_filtered_4FGL_J0145.0-2732_daily_bin1498.fits scfile=/scratch/kocevski/835469/ft2_4FGL_J0145.0-2732_daily_bin1498.fits outfile=/scratch/kocevski/835469/cmap_627609601_627868801_4FGL_J0145.0-2732_daily_bin1498.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 8.90
user 0.38
sys 8.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835469/ft1_filtered_4FGL_J0145.0-2732_daily_bin1498.fits scfile=/scratch/kocevski/835469/ft2_4FGL_J0145.0-2732_daily_bin1498.fits outfile=/scratch/kocevski/835469/cmap_HighResolution_627609601_627868801_4FGL_J0145.0-2732_daily_bin1498.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 9.49
user 0.39
sys 8.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/835469/ft1_filtered_4FGL_J0145.0-2732_daily_bin1498.fits evtable="EVENTS" scfile=/scratch/kocevski/835469/ft2_4FGL_J0145.0-2732_daily_bin1498.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835469/Model_4FGL_J0145.0-2732_daily_bin1498.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/835469/ft1_filtered_4FGL_J0145.0-2732_daily_bin1498.fits.....................!
real 54.06
user 40.56
sys 12.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9156       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.071       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15815E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4900       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.726       1.0000         .10000E-03   10000.    
    16 'norm      '    3.1979       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .51140       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11659E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.8340       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2215       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0041       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=   4625.919     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2180 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9152        3.2846        .28085E-06    .27991E-03
   2  Prefactor     .10000E-03    2.8289        .73788E-07** at limit **
   3  Prefactor     .10000E-03    8.8552        .87398E-07** at limit **
   4  Prefactor     .10000E-03    1.1648        .25813E-07** at limit **
   5  Prefactor     12.075        11.125       -.96659E-07   -.19642E-03
   6  norm          .10000E-03    1.8531        .68546E-07** at limit **
   7  norm          .10000E-03    .92089        .66510E-07** at limit **
   8  Prefactor     .10000E-03    9.2563        .32743E-06** at limit **
   9  Prefactor     .10000E-03    4.8867       -.52882E-06** at limit **
  10  norm          .10000E-03    .80393        .40689E-07** at limit **
  11  Prefactor     .10001E-03    26.124       -.17795E-05** at limit **
  12  norm          .10000E-03    1.2326        .77556E-07** at limit **
  13  Prefactor     3.4890        4.4286        .49280E-06    .73781E-04
  14  norm          .10000E-03    1.1711        .47983E-07** at limit **
  15  Prefactor     16.677        29.434       -.96853E-06   -.20461E-03
  16  norm          3.1975        4.4354        .46315E-06    .29516E-03
  17  Prefactor     .36899        14.459        .27525E-05    .95002E-04
  18  Prefactor     .10004E-03    25.335       -.80417E-05** at limit **
  19  Prefactor     5.8337        10.539       -.87227E-06   -.94827E-04
  20  Prefactor     .10000E-03    22.843        .14442E-05** at limit **
  21  Prefactor     .10001E-03    36.062        .20149E-05** at limit **
  22  Normalizat    1.2216        .20224       -.12880E-05   -.66233E-03
  23  Prefactor     1.0041        .22477       -.85779E-06   -.56534E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.91518
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.0748
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 3.48901
  norm       = 0.0001
  Prefactor  = 16.6774
  norm       = 3.19751
  Prefactor  = 0.368994
  Prefactor  = 0.000100039
  Prefactor  = 5.83369
  Prefactor  = 0.000100005
  Prefactor  = 0.000100008
  Normalizat = 1.22165
  Prefactor  = 1.00411
 **********
 **   18 **HESSE 
 **********

 FCN=   4625.919     FROM HESSE     STATUS=OK           362 CALLS     2542 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9152        3.2894        .12740E-03   -1.5366    
   2  Prefactor     .10000E-03    2.8367        .11174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.8894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.1701        .71683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.075        10.990        .11530E-03   -1.5013    
   6  norm          .10000E-03    1.8933        .18000E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .92631        .63763E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.3038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.375        .28216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .81306        .59554E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    26.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.2729        .14748E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.4890        4.4784        .15377E-03   -1.5334    
  14  norm          .10000E-03    1.1794        .71877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.677        29.684        .97930E-04   -1.4891    
  16  norm          3.1975        4.4663        .16379E-03   -1.5350    
  17  Prefactor     .36899        198.91        .46048E-02   -1.5586    
  18  Prefactor     .10004E-03    27.334        .35082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.8337        10.181        .16627E-03   -1.5225    
  20  Prefactor     .10000E-03    23.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    36.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2216        .24163        .22458E-03   -.85936    
  23  Prefactor     1.0041        .26928        .27863E-03   -.92593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70366e-09
Minuit parameter uncertainties:
  1  3.28961
  2  9.05488e-06
  3  1.23662e-05
  4  2.4531e-06
  5  10.9916
  6  9.29893e-06
  7  4.79185e-06
  8  9.00953e-05
  9  7.87411e-05
  10  3.15427e-06
  11  0.000766418
  12  7.74798e-06
  13  4.47887
  14  4.76897e-06
  15  29.7099
  16  4.46677
  17  17.1897
  18  0.00207856
  19  10.184
  20  0.000665501
  21  0.00111645
  22  0.241849
  23  0.269643
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  4.769e-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:  1.004e+00  2.696e-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.222e+00  2.418e-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: 6.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.76e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/835469/likelihoodResults_627609601_627868801_4FGL_J0145.0-2732_daily_bin1498.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): 102
logL (Free Index) = 4625.92247865
delta logL = -0.00392847818785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4625.91854705
delta logL = 3.12348674925e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15073E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3442       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2216       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0042       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=   4625.919     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      285 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    11.767        .20111E-01** at limit **
   2  alpha         5.0000        3.4103        .17840        .12264E-06
   3  Normalizat    1.2216        .20855E-01    .22458E-03   -.86063E-03
   4  Prefactor     1.0041        .23428E-01    .27863E-03    .68629E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100036
  alpha      = 4.99999
  Normalizat = 1.22162
  Prefactor  = 1.00413
 **********
 **   18 **HESSE 
 **********

 FCN=   4625.919     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      318 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    104.04        .15617E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.1396        .35679E-01    1.5740    
   3  Normalizat    1.2216        .93883E-01    .44916E-04   -.85937    
   4  Prefactor     1.0041        .71462E-01    .11145E-04   -.92592    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.78766e-08
Minuit parameter uncertainties:
  1  0.00386891
  2  12.6147
  3  0.0938956
  4  0.0714686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835469': 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): 102
logL (Free Index) = 4625.91851033
delta logL = 3.9841729631e-05

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  3.869e-03  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  5.000e+00  1.261e+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:  1.004e+00  7.147e-02  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.222e+00  9.390e-02  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/835469/cmap_HighResolution_627609601_627868801_4FGL_J0145.0-2732_daily_bin1498.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-05', job_status='DONE', photon_flux_upper_limit='6.71e-08', time_completed='2021-08-14 16:20:51.652287', job_id='835469', GAL2='1.00', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1628983251.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.98e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1498' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:20:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 835469: <4FGL_J0145.0-2732_daily_bin1498> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1498> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Aug 14 16:05:23 2021
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:05:54 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:05:54 2021
Terminated at Sat Aug 14 16:20:53 2021
Results reported at Sat Aug 14 16:20:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1498 26.2585 -27.5363 627609601 627868801 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 :                                   804.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            930 sec.

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

