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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1140
RA = 26.2585, Dec = -27.5363
tmin = 534816001, tmax = 535075201
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='833952', job_status='RUN', time_executed='2021-08-14 16:02:39.876138', time_epoch_executed='1628982159.88' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1140'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833952

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833952/ft1_4FGL_J0145.0-2732_daily_bin1140.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833952/ft2_4FGL_J0145.0-2732_daily_bin1140.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833952/ft1_4FGL_J0145.0-2732_daily_bin1140.fits outfile=/scratch/kocevski/833952/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1140.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=534816001.0 tmax=535075201.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 8.57
user 3.39
sys 5.08

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833952/ft1_filtered_4FGL_J0145.0-2732_daily_bin1140.fits" evtable="EVENTS" scfile=/scratch/kocevski/833952/ft2_4FGL_J0145.0-2732_daily_bin1140.fits sctable="SC_DATA" outfile=/scratch/kocevski/833952/ltcube_534816001_535075201_4FGL_J0145.0-2732_daily_bin1140.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/833952/ft2_4FGL_J0145.0-2732_daily_bin1140.fits
.....................!
real 17.26
user 11.71
sys 5.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833952/ft1_filtered_4FGL_J0145.0-2732_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/833952/ft2_4FGL_J0145.0-2732_daily_bin1140.fits sctable="SC_DATA" expcube=/scratch/kocevski/833952/ltcube_534816001_535075201_4FGL_J0145.0-2732_daily_bin1140.fits outfile=/scratch/kocevski/833952/expmap_534816001_535075201_4FGL_J0145.0-2732_daily_bin1140.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/833952/ltcube_534816001_535075201_4FGL_J0145.0-2732_daily_bin1140.fits
.....................!
real 196.34
user 186.07
sys 9.81

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/833952/ft1_filtered_4FGL_J0145.0-2732_daily_bin1140.fits scfile=/scratch/kocevski/833952/ft2_4FGL_J0145.0-2732_daily_bin1140.fits outfile=/scratch/kocevski/833952/cmap_534816001_535075201_4FGL_J0145.0-2732_daily_bin1140.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 4.70
user 0.39
sys 4.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833952/ft1_filtered_4FGL_J0145.0-2732_daily_bin1140.fits scfile=/scratch/kocevski/833952/ft2_4FGL_J0145.0-2732_daily_bin1140.fits outfile=/scratch/kocevski/833952/cmap_HighResolution_534816001_535075201_4FGL_J0145.0-2732_daily_bin1140.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 4.75
user 0.40
sys 4.28

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/833952/ft1_filtered_4FGL_J0145.0-2732_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/833952/ft2_4FGL_J0145.0-2732_daily_bin1140.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833952/Model_4FGL_J0145.0-2732_daily_bin1140.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/833952/ft1_filtered_4FGL_J0145.0-2732_daily_bin1140.fits.....................!
real 43.13
user 35.24
sys 7.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3339       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .42232       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12142E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    4.0151       1.0000         .10000E-03   10000.    
     7 'norm      '    5.5220       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.722       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1470       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.554       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5567       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    36.230       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.915       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .97053E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    94.113       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88177       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .78492       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=   3808.621     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2620 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3340        3.6157        .40662E-08    .51531E-04
   2  Prefactor     .10000E-03    5.7795        .30142E-07** at limit **
   3  Prefactor     .10000E-03    7.4429       -.12054E-08** at limit **
   4  Prefactor     .41676        3.2303       -.41719E-06   -.24063E-03
   5  Prefactor     .10000E-03    26.009        .74403E-05** at limit **
   6  norm          4.0173        2.5412       -.34863E-06   -.55700E-03
   7  norm          5.5221        2.8561       -.25411E-07   -.92470E-04
   8  Prefactor     15.727        15.435       -.32494E-06   -.14036E-03
   9  Prefactor     .10000E-03    4.4321        .48408E-07** at limit **
  10  norm          3.1471        1.9179       -.13081E-07   -.41563E-04
  11  Prefactor     13.553        29.864        .16362E-06   -.79292E-05
  12  norm          .10000E-03    .89727        .14895E-07** at limit **
  13  Prefactor     3.5562        3.9625        .55783E-07    .11226E-03
  14  norm          .10000E-03    1.6335        .28590E-07** at limit **
  15  Prefactor     36.256        49.547       -.90017E-06    .28199E-04
  16  norm          .10000E-03    .80786        .39161E-08** at limit **
  17  Prefactor     11.914        10.290        .49192E-07    .74502E-04
  18  Prefactor     .10013E-03    6.4164       -.21328E-05** at limit **
  19  Prefactor     .10000E-03    3.0452        .84979E-08** at limit **
  20  Prefactor     94.138        77.678       -.39095E-06    .28315E-04
  21  Prefactor     .10000E-03    26.923        .85542E-07** at limit **
  22  Normalizat    .88200        .18514       -.12602E-05   -.28669E-03
  23  Prefactor     .78471        .21151        .11125E-05   -.73777E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.33401
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.416759
  Prefactor  = 0.000100001
  norm       = 4.01729
  norm       = 5.52207
  Prefactor  = 15.7273
  Prefactor  = 0.000100003
  norm       = 3.14709
  Prefactor  = 13.5528
  norm       = 0.0001
  Prefactor  = 3.55618
  norm       = 0.0001
  Prefactor  = 36.2564
  norm       = 0.0001
  Prefactor  = 11.9137
  Prefactor  = 0.000100126
  Prefactor  = 0.0001
  Prefactor  = 94.1376
  Prefactor  = 0.0001
  Normalizat = 0.882002
  Prefactor  = 0.784708
 **********
 **   18 **HESSE 
 **********

 FCN=   3808.621     FROM HESSE     STATUS=OK           372 CALLS     2992 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3340        3.6078        .11780E-03   -1.5343    
   2  Prefactor     .10000E-03    5.9711        .28965E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.4835        .16440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .41676        5.7631        .20633E-02   -1.5579    
   5  Prefactor     .10000E-03    29.013        .35991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.0173        2.5809        .76272E-04   -1.5307    
   7  norm          5.5221        2.8555        .71759E-04   -1.5238    
   8  Prefactor     15.727        15.396        .10101E-03   -1.4915    
   9  Prefactor     .10000E-03    8.0762        .24125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1471        1.9155        .63741E-04   -1.5353    
  11  Prefactor     13.553        29.805        .10880E-03   -1.4972    
  12  norm          .10000E-03    .91139        .57035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.5562        3.9512        .12110E-03   -1.5331    
  14  norm          .10000E-03    1.6815        .15394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     36.256        49.561        .66582E-04   -1.4503    
  16  norm          .10000E-03    .81249        .54166E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.914        10.268        .11605E-03   -1.5018    
  18  Prefactor     .10013E-03    37.625        .22120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.0555        .10515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     94.138        77.591        .41428E-04   -1.3764    
  21  Prefactor     .10000E-03    26.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .88200        .21621        .20798E-03   -.97095    
  23  Prefactor     .78471        .24729        .25735E-03   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02409e-09
Minuit parameter uncertainties:
  1  3.60805
  2  2.00332e-05
  3  5.91959e-06
  4  3.09956
  5  0.000339623
  6  2.58095
  7  2.85558
  8  15.3994
  9  0.000302967
  10  1.91551
  11  29.8379
  12  4.85437e-06
  13  3.95148
  14  8.93531e-06
  15  49.6175
  16  6.72836e-07
  17  10.2697
  18  0.00434962
  19  1.18977e-05
  20  77.675
  21  4.29238e-05
  22  0.216421
  23  0.247635
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  8.935e-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.847e-01  2.476e-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.820e-01  2.164e-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.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833952/likelihoodResults_534816001_535075201_4FGL_J0145.0-2732_daily_bin1140.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) = 3808.62357783
delta logL = -0.00282886748528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3808.62071975
delta logL = 2.92153363262e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54505E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9999       1.0000          .0000       5.0000    
     3 'Normalizat'    .88201       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78469       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=   3808.621     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      387 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15372E-03    3.8667        .13874E-01** at limit **
   2  alpha         4.9999        4.1260        .46268       -.14841E-06
   3  Normalizat    .88199        .12295E-01    .44671E-01   -.16217E-03
   4  Prefactor     .78472        .14484E-01    .43518E-01   -.10427E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000153715
  alpha      = 4.99995
  Normalizat = 0.881986
  Prefactor  = 0.784719
 **********
 **   18 **HESSE 
 **********

 FCN=   3808.621     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      428 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15372E-03    4.9296        .12680E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.9999        2.5064        .50000        1.5643    
   3  Normalizat    .88199        .13032E-01    .20798E-03   -.97096    
   4  Prefactor     .78472        .15342E-01    .25735E-03   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.06473e-09
Minuit parameter uncertainties:
  1  0.0325478
  2  8.81459
  3  0.0130325
  4  0.0153421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833952': 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) = 3808.62071918
delta logL = 2.97791639241e-05

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.537e-04  3.255e-02  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  5.000e+00  8.815e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  9.678e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  7.847e-01  1.534e-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:  8.820e-01  1.303e-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/833952/cmap_HighResolution_534816001_535075201_4FGL_J0145.0-2732_daily_bin1140.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.74e-05', job_status='DONE', photon_flux_upper_limit='6.64e-08', time_completed='2021-08-14 16:12:36.912709', job_id='833952', GAL2='0.78', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1628982756.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.98e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1140' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:12:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 833952: <4FGL_J0145.0-2732_daily_bin1140> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1140> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:36 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:00:46 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:00:46 2021
Terminated at Sat Aug 14 16:12:38 2021
Results reported at Sat Aug 14 16:12:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1140 26.2585 -27.5363 534816001 535075201 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 :                                   667.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            722 sec.

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

