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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1108
RA = 26.2585, Dec = -27.5363
tmin = 526521601, tmax = 526780801
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='832768', job_status='RUN', time_executed='2021-08-14 16:01:11.091142', time_epoch_executed='1628982071.09' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1108'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832768

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832768/ft1_4FGL_J0145.0-2732_daily_bin1108.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832768/ft2_4FGL_J0145.0-2732_daily_bin1108.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832768/ft1_4FGL_J0145.0-2732_daily_bin1108.fits outfile=/scratch/kocevski/832768/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1108.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=526521601.0 tmax=526780801.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 9.62
user 4.15
sys 5.44

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832768/ft1_filtered_4FGL_J0145.0-2732_daily_bin1108.fits" evtable="EVENTS" scfile=/scratch/kocevski/832768/ft2_4FGL_J0145.0-2732_daily_bin1108.fits sctable="SC_DATA" outfile=/scratch/kocevski/832768/ltcube_526521601_526780801_4FGL_J0145.0-2732_daily_bin1108.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/832768/ft2_4FGL_J0145.0-2732_daily_bin1108.fits
.....................!
real 18.79
user 12.50
sys 6.20

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832768/ft1_filtered_4FGL_J0145.0-2732_daily_bin1108.fits evtable="EVENTS" scfile=/scratch/kocevski/832768/ft2_4FGL_J0145.0-2732_daily_bin1108.fits sctable="SC_DATA" expcube=/scratch/kocevski/832768/ltcube_526521601_526780801_4FGL_J0145.0-2732_daily_bin1108.fits outfile=/scratch/kocevski/832768/expmap_526521601_526780801_4FGL_J0145.0-2732_daily_bin1108.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/832768/ltcube_526521601_526780801_4FGL_J0145.0-2732_daily_bin1108.fits
.....................!
real 197.90
user 185.89
sys 11.45

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/832768/ft1_filtered_4FGL_J0145.0-2732_daily_bin1108.fits scfile=/scratch/kocevski/832768/ft2_4FGL_J0145.0-2732_daily_bin1108.fits outfile=/scratch/kocevski/832768/cmap_526521601_526780801_4FGL_J0145.0-2732_daily_bin1108.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 5.66
user 0.38
sys 5.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/832768/ft1_filtered_4FGL_J0145.0-2732_daily_bin1108.fits scfile=/scratch/kocevski/832768/ft2_4FGL_J0145.0-2732_daily_bin1108.fits outfile=/scratch/kocevski/832768/cmap_HighResolution_526521601_526780801_4FGL_J0145.0-2732_daily_bin1108.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 5.73
user 0.40
sys 5.26

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/832768/ft1_filtered_4FGL_J0145.0-2732_daily_bin1108.fits evtable="EVENTS" scfile=/scratch/kocevski/832768/ft2_4FGL_J0145.0-2732_daily_bin1108.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832768/Model_4FGL_J0145.0-2732_daily_bin1108.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/832768/ft1_filtered_4FGL_J0145.0-2732_daily_bin1108.fits.....................!
real 44.89
user 36.41
sys 7.98

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8756       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13291E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    33.060       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0730       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10199E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10917E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.5338       1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.498       1.0000         .10000E-03   10000.    
    12 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.330       1.0000         .10000E-03   10000.    
    16 'norm      '    4.6446       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18454E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.1213       1.0000         .10000E-03   10000.    
    20 'Prefactor '    91.539       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4078       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .30980       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=   3913.623     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2549 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8753        3.8904       -.17278E-06   -.23869E-04
   2  Prefactor     .10000E-03    9.6586        .56911E-05** at limit **
   3  Prefactor     33.061        22.655        .68329E-06   -.23473E-04
   4  Prefactor     1.0690        4.1113        .29601E-06   -.76680E-03
   5  Prefactor     .10000E-03    31.443       -.16497E-04** at limit **
   6  norm          .10000E-03    1.6706       -.93290E-07** at limit **
   7  norm          .10000E-03    .82989       -.41056E-07** at limit **
   8  Prefactor     .10000E-03    5.6078        .42620E-06** at limit **
   9  Prefactor     .10000E-03    7.0692       -.28332E-05** at limit **
  10  norm          5.5337        2.1635       -.17946E-06    .45911E-03
  11  Prefactor     30.492        29.243       -.71497E-05    .36027E-05
  12  norm          .10000E-03    1.1225       -.12099E-06** at limit **
  13  Prefactor     .10000E-03    2.2138       -.24923E-07** at limit **
  14  norm          .10000E-03    .85982       -.35260E-07** at limit **
  15  Prefactor     33.329        30.401       -.53996E-06    .42524E-04
  16  norm          4.6445        2.9715       -.28466E-06    .33777E-03
  17  Prefactor     .10000E-03    3.2008       -.11302E-07** at limit **
  18  Prefactor     .10004E-03    6.3701       -.48528E-05** at limit **
  19  Prefactor     4.1256        8.5864        .23912E-05    .27077E-03
  20  Prefactor     91.490        83.025       -.48901E-04    .20955E-04
  21  Prefactor     .10000E-03    25.355        .20042E-04** at limit **
  22  Normalizat    1.4076        .22198        .41058E-05    .68375E-03
  23  Prefactor     .31012        .23319        .20672E-05    .38278E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.87533
  Prefactor  = 0.0001
  Prefactor  = 33.0607
  Prefactor  = 1.06898
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.53371
  Prefactor  = 30.4917
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 33.3294
  norm       = 4.64453
  Prefactor  = 0.0001
  Prefactor  = 0.000100043
  Prefactor  = 4.12565
  Prefactor  = 91.4898
  Prefactor  = 0.0001
  Normalizat = 1.40764
  Prefactor  = 0.310119
 **********
 **   18 **HESSE 
 **********

 FCN=   3913.623     FROM HESSE     STATUS=OK           368 CALLS     2917 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8753        3.8862        .10698E-03   -1.5266    
   2  Prefactor     .10000E-03    9.7433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     33.061        22.556        .69692E-04   -1.4557    
   4  Prefactor     1.0690        4.0809        .23543E-03   -1.5501    
   5  Prefactor     .10000E-03    32.511        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.8148        .15537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .83217        .55638E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.6112        .14468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.3561        .32397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.5337        2.1628        .55318E-04   -1.5237    
  11  Prefactor     30.492        29.252        .72552E-04   -1.4603    
  12  norm          .10000E-03    1.1738        .12936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.2478        .90855E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .86278        .56642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.329        30.396        .69409E-04   -1.4553    
  16  norm          4.6445        2.9713        .83173E-04   -1.5277    
  17  Prefactor     .10000E-03    3.2017        .10931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10004E-03    13.885        .29691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.1256        8.4800        .19857E-03   -1.5302    
  20  Prefactor     91.490        83.481        .21001E-03   -1.3792    
  21  Prefactor     .10000E-03    25.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4076        .22804        .18870E-03   -.80408    
  23  Prefactor     .31012        .23552        .40526E-03   -1.2167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14634e-09
Minuit parameter uncertainties:
  1  3.8864
  2  0.000137678
  3  22.5614
  4  4.08199
  5  4.02315e-05
  6  1.52258e-05
  7  4.42066e-06
  8  1.46362e-05
  9  5.35433e-05
  10  2.1628
  11  29.2658
  12  1.14817e-05
  13  3.86103e-06
  14  3.45145e-06
  15  30.4101
  16  2.97142
  17  1.07392e-06
  18  0.00155279
  19  8.48246
  20  83.5887
  21  0.000103618
  22  0.228209
  23  0.236249
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  3.451e-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:  3.101e-01  2.362e-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.408e+00  2.282e-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: 5.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.45e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/832768/likelihoodResults_526521601_526780801_4FGL_J0145.0-2732_daily_bin1108.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) = 3913.62440469
delta logL = -0.00125163789971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3913.62315639
delta logL = -3.3451942727e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10345E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9727       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .31010       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=   3913.623     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      400 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .95845        .55969E-03** at limit **
   2  alpha         2.6477        3.3207        .16849       -.13360E-07
   3  Normalizat    1.4076        .21932        .18870E-03    .96332E-04
   4  Prefactor     .31012        .23430        .40526E-03    .56794E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.64766
  Normalizat = 1.40764
  Prefactor  = 0.310117
 **********
 **   18 **HESSE 
 **********

 FCN=   3913.623     FROM HESSE     STATUS=OK            23 CALLS      423 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .87091        .11194E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6477        2.6010        .67395E-02    .59098E-01
   3  Normalizat    1.4076        .21933        .37739E-04   -.80408    
   4  Prefactor     .31012        .23432        .16210E-04   -1.2167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50352e-11
Minuit parameter uncertainties:
  1  4.79775e-07
  2  164.739
  3  0.219481
  4  0.235037
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832768': 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) = 3913.62315251
delta logL = 5.40072051081e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  3.101e-01  2.350e-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.408e+00  2.195e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 26.259 -27.536

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/832768/cmap_HighResolution_526521601_526780801_4FGL_J0145.0-2732_daily_bin1108.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-05', job_status='DONE', photon_flux_upper_limit='5.51e-08', time_completed='2021-08-14 16:11:25.208219', job_id='832768', GAL2='0.31', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1628982685.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.31', dlogl='5.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1108' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:11:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 832768: <4FGL_J0145.0-2732_daily_bin1108> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1108 26.2585 -27.5363 526521601 526780801 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 :                                   686.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            930 sec.

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

