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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1334
RA = 26.2585, Dec = -27.5363
tmin = 585100801, tmax = 585360001
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='834230', job_status='RUN', time_executed='2021-08-14 16:04:43.930471', time_epoch_executed='1628982283.93' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1334'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834230

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834230/ft1_4FGL_J0145.0-2732_daily_bin1334.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834230/ft2_4FGL_J0145.0-2732_daily_bin1334.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834230/ft1_4FGL_J0145.0-2732_daily_bin1334.fits outfile=/scratch/kocevski/834230/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1334.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=585100801.0 tmax=585360001.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.85
user 2.81
sys 1.68

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834230/ft1_filtered_4FGL_J0145.0-2732_daily_bin1334.fits" evtable="EVENTS" scfile=/scratch/kocevski/834230/ft2_4FGL_J0145.0-2732_daily_bin1334.fits sctable="SC_DATA" outfile=/scratch/kocevski/834230/ltcube_585100801_585360001_4FGL_J0145.0-2732_daily_bin1334.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/834230/ft2_4FGL_J0145.0-2732_daily_bin1334.fits
.....................!
real 16.52
user 14.31
sys 1.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834230/ft1_filtered_4FGL_J0145.0-2732_daily_bin1334.fits evtable="EVENTS" scfile=/scratch/kocevski/834230/ft2_4FGL_J0145.0-2732_daily_bin1334.fits sctable="SC_DATA" expcube=/scratch/kocevski/834230/ltcube_585100801_585360001_4FGL_J0145.0-2732_daily_bin1334.fits outfile=/scratch/kocevski/834230/expmap_585100801_585360001_4FGL_J0145.0-2732_daily_bin1334.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/834230/ltcube_585100801_585360001_4FGL_J0145.0-2732_daily_bin1334.fits
.....................!
real 193.94
user 185.68
sys 7.06

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/834230/ft1_filtered_4FGL_J0145.0-2732_daily_bin1334.fits scfile=/scratch/kocevski/834230/ft2_4FGL_J0145.0-2732_daily_bin1334.fits outfile=/scratch/kocevski/834230/cmap_585100801_585360001_4FGL_J0145.0-2732_daily_bin1334.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 2.05
user 0.39
sys 1.60

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834230/ft1_filtered_4FGL_J0145.0-2732_daily_bin1334.fits evtable="EVENTS" scfile=/scratch/kocevski/834230/ft2_4FGL_J0145.0-2732_daily_bin1334.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834230/Model_4FGL_J0145.0-2732_daily_bin1334.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/834230/ft1_filtered_4FGL_J0145.0-2732_daily_bin1334.fits.....................!
real 50.71
user 47.30
sys 3.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.7666       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1035       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .67986E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .13073E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.6477       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1048       1.0000         .10000E-03   10000.    
    14 'norm      '    .82472       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.0863       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.8990       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.994       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.5918       1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.468       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .73302       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0712       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=   5998.057     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2571 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7593        .53632E-07** at limit **
   2  Prefactor     8.7608        6.8930        .16254E-05   -.46724E-03
   3  Prefactor     5.1178        14.235       -.19102E-05   -.12558E-03
   4  Prefactor     .10000E-03    1.4833        .54230E-07** at limit **
   5  Prefactor     .10000E-03    3.4656       -.47698E-07** at limit **
   6  norm          .10000E-03    .72289       -.42085E-07** at limit **
   7  norm          .10000E-03    1.6666       -.90441E-07** at limit **
   8  Prefactor     .10000E-03    10.228        .15277E-06** at limit **
   9  Prefactor     8.6467        4.3482       -.99392E-07   -.15550E-03
  10  norm          .10000E-03    .29911        .21992E-07** at limit **
  11  Prefactor     .10000E-03    17.448       -.43339E-07** at limit **
  12  norm          .10000E-03    .69008       -.43051E-07** at limit **
  13  Prefactor     5.1037        3.4765        .32177E-07   -.66580E-04
  14  norm          .82378        2.5204        .85048E-06   -.19943E-03
  15  Prefactor     .10000E-03    12.771        .52546E-07** at limit **
  16  norm          4.0856        2.2712        .29206E-07   -.34450E-04
  17  Prefactor     8.8970        8.8696        .17681E-07   -.21960E-04
  18  Prefactor     11.992        5.2109       -.36136E-07   -.92964E-04
  19  Prefactor     4.5910        4.1592        .65112E-07   -.23740E-04
  20  Prefactor     23.447        28.448       -.27978E-05   -.24288E-03
  21  Prefactor     .10000E-03    10.125       -.21628E-06** at limit **
  22  Normalizat    .73325        .15863       -.26387E-06   -.43724E-04
  23  Prefactor     1.0711        .17828       -.12804E-06   -.24874E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 8.76084
  Prefactor  = 5.11785
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.64674
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.10367
  norm       = 0.82378
  Prefactor  = 0.0001
  norm       = 4.08562
  Prefactor  = 8.89697
  Prefactor  = 11.992
  Prefactor  = 4.59096
  Prefactor  = 23.4467
  Prefactor  = 0.0001
  Normalizat = 0.733251
  Prefactor  = 1.07112
 **********
 **   18 **HESSE 
 **********

 FCN=   5998.057     FROM HESSE     STATUS=OK           380 CALLS     2951 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8060        .20059E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.7608        7.0384        .67689E-03   -1.5116    
   3  Prefactor     5.1178        13.957        .17797E-03   -1.5255    
   4  Prefactor     .10000E-03    4.2631        .31568E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.4773        .14074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .72869        .64204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.1274        .18809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.6467        4.3539        .10836E-03   -1.5120    
  10  norm          .10000E-03    .30308        .41350E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .70160        .62704E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1037        3.4823        .11328E-03   -1.5256    
  14  norm          .82378        2.5607        .19731E-03   -1.5526    
  15  Prefactor     .10000E-03    12.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.0856        2.2714        .83657E-04   -1.5304    
  17  Prefactor     8.8970        8.8652        .13436E-03   -1.5111    
  18  Prefactor     11.992        5.2157        .11060E-03   -1.5015    
  19  Prefactor     4.5910        4.1573        .14452E-03   -1.5279    
  20  Prefactor     23.447        30.255        .82686E-04   -1.4739    
  21  Prefactor     .10000E-03    10.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .73325        .18578        .23153E-03   -1.0259    
  23  Prefactor     1.0711        .20883        .23548E-03   -.90395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.34277e-10
Minuit parameter uncertainties:
  1  1.25555e-08
  2  7.03902
  3  13.9654
  4  0.000158129
  5  1.2063e-06
  6  1.24622e-07
  7  6.90852e-05
  8  3.45601e-05
  9  4.35409
  10  1.36219e-08
  11  1.45473e-05
  12  1.53667e-06
  13  3.48245
  14  2.56102
  15  3.05856e-06
  16  2.27149
  17  8.86654
  18  5.21592
  19  4.15753
  20  30.275
  21  1.87461e-05
  22  0.185938
  23  0.208988
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  8.238e-01  2.561e+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:  1.071e+00  2.090e-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.333e-01  1.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/834230/likelihoodResults_585100801_585360001_4FGL_J0145.0-2732_daily_bin1334.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) = 5996.78103279
delta logL = 1.27603969304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5996.76215309
delta logL = 1.29491939501

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .91281       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.7072       1.0000          .0000       5.0000    
     3 'Normalizat'    .65227       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1357       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5996.762     FROM MIGRAD    STATUS=FAILED        93 CALLS      275 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .91275        2.3640        .49789E-03    .49177E-03
   2  alpha         4.7082        4.7222        .51007E-01   -.16452E-03
   3  Normalizat    .65216        .18021        .24438E-03    .10211E-03
   4  Prefactor     1.1358        .21266        .22954E-03    .12722E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5996.762     FROM SIMPLEX   STATUS=UNCHANGED     81 CALLS      356 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .91275        2.3640        .57767E-04   -1.5517    
   2  alpha         4.7082        4.7222        .40766E-02    1.0828    
   3  Normalizat    .65216        .18021        .27142E-03   -1.0581    
   4  Prefactor     1.1358        .21266        .19894E-03   -.88329    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5996.762     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      395 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .91274        1.5315        .19916E-04   -.38817E-04
   2  alpha         4.7082        4.0179        .10201E-01    .36442E-06
   3  Normalizat    .65216        .17958        .97751E-05    .11630E-05
   4  Prefactor     1.1358        .21285        .45909E-04    .79244E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.912744
  alpha      = 4.70819
  Normalizat = 0.652163
  Prefactor  = 1.13583
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.762     FROM HESSE     STATUS=OK            25 CALLS      420 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .91274        1.4910        .79663E-06   -1.5517    
   2  alpha         4.7082        3.9743        .40806E-03    1.0828    
   3  Normalizat    .65216        .17960        .19550E-05   -1.0581    
   4  Prefactor     1.1358        .21291        .91817E-05   -.88329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07261e-12
Minuit parameter uncertainties:
  1  1.49106
  2  1.62167
  3  0.179765
  4  0.213065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834230': 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) = 5996.76215216
delta logL = 1.29492032773

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  9.127e-01  1.491e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  4.708e+00  1.622e+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:  1.136e+00  2.131e-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:  6.522e-01  1.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.95
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 4.71 +/- 1.62
Photon Flux (Free Index): 5.96e-08 +/- 4.22e-08
Energy Flux (Free Index): 8.23e-06 +/- 6.00e-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/834230/cmap_HighResolution_585100801_585360001_4FGL_J0145.0-2732_daily_bin1334.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.03e-05', comment='SUCCESS', energy_flux2='8.23e-06', dlogl='1.29e+00', photon_flux2='5.96e-08', job_status='DONE', time_completed='2021-08-14 16:16:04.764984', photon_index_error2='1.62', photon_index2='4.71', ts='0.12', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='7.73e-08', energy_flux_error2='6.00e-06', EG='0.73', time_epoch_completed='1628982964.77', return_code='0', job_id='834230', GAL2='1.14', EG2='0.65', return_code2='0', photon_flux_error2='4.22e-08', ts2='2.95', photon_index='2.48' WHERE bin_id='1334' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:16:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 834230: <4FGL_J0145.0-2732_daily_bin1334> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1334> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:57 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:03:23 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:03:23 2021
Terminated at Sat Aug 14 16:16:05 2021
Results reported at Sat Aug 14 16:16:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1334 26.2585 -27.5363 585100801 585360001 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 :                                   699.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            908 sec.

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

