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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1037
RA = 26.2585, Dec = -27.5363
tmin = 508118401, tmax = 508377601
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='832666', job_status='RUN', time_executed='2021-08-14 16:01:19.005681', time_epoch_executed='1628982079.01' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1037'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832666

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832666/ft1_4FGL_J0145.0-2732_daily_bin1037.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832666/ft2_4FGL_J0145.0-2732_daily_bin1037.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832666/ft1_4FGL_J0145.0-2732_daily_bin1037.fits outfile=/scratch/kocevski/832666/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1037.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=508118401.0 tmax=508377601.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 3.73
user 3.42
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832666/ft1_filtered_4FGL_J0145.0-2732_daily_bin1037.fits" evtable="EVENTS" scfile=/scratch/kocevski/832666/ft2_4FGL_J0145.0-2732_daily_bin1037.fits sctable="SC_DATA" outfile=/scratch/kocevski/832666/ltcube_508118401_508377601_4FGL_J0145.0-2732_daily_bin1037.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/832666/ft2_4FGL_J0145.0-2732_daily_bin1037.fits
.....................!
real 14.12
user 13.60
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832666/ft1_filtered_4FGL_J0145.0-2732_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/832666/ft2_4FGL_J0145.0-2732_daily_bin1037.fits sctable="SC_DATA" expcube=/scratch/kocevski/832666/ltcube_508118401_508377601_4FGL_J0145.0-2732_daily_bin1037.fits outfile=/scratch/kocevski/832666/expmap_508118401_508377601_4FGL_J0145.0-2732_daily_bin1037.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/832666/ltcube_508118401_508377601_4FGL_J0145.0-2732_daily_bin1037.fits
.....................!
real 195.17
user 187.43
sys 5.27

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/832666/ft1_filtered_4FGL_J0145.0-2732_daily_bin1037.fits scfile=/scratch/kocevski/832666/ft2_4FGL_J0145.0-2732_daily_bin1037.fits outfile=/scratch/kocevski/832666/cmap_508118401_508377601_4FGL_J0145.0-2732_daily_bin1037.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 0.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/832666/ft1_filtered_4FGL_J0145.0-2732_daily_bin1037.fits scfile=/scratch/kocevski/832666/ft2_4FGL_J0145.0-2732_daily_bin1037.fits outfile=/scratch/kocevski/832666/cmap_HighResolution_508118401_508377601_4FGL_J0145.0-2732_daily_bin1037.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 0.64
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/832666/ft1_filtered_4FGL_J0145.0-2732_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/832666/ft2_4FGL_J0145.0-2732_daily_bin1037.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832666/Model_4FGL_J0145.0-2732_daily_bin1037.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/832666/ft1_filtered_4FGL_J0145.0-2732_daily_bin1037.fits.....................!
real 41.54
user 39.02
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20205       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.029       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2247       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.533       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.9381       1.0000         .10000E-03   10000.    
     7 'norm      '    .74565       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.1976       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    45.733       1.0000         .10000E-03   10000.    
    12 'norm      '    .20862E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.657       1.0000         .10000E-03   10000.    
    14 'norm      '    .13539E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    53.424       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3878       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.988       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.4725       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.1748       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    73.213       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .64017       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3122       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4538.217     FROM MIGRAD    STATUS=CONVERGED     56 CALLS     2133 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20323        .45637        .25147E-05    .43197E-03
   2  Prefactor     11.029        1.0091       -.87500E-07   -.31267E-03
   3  Prefactor     8.2230        1.0338       -.11708E-05    .10039E-02
   4  Prefactor     10.533        1.0110        .38441E-06    .33629E-03
   5  Prefactor     .10000E-03    9.5721        .78761E-04** at limit **
   6  norm          7.9385        3.2381       -.19148E-05   -.18777E-03
   7  norm          .74822        3.1004       -.62743E-05    .10984E-03
   8  Prefactor     3.2077        1.8714        .12474E-04   -.53649E-02
   9  Prefactor     .10000E-03    4.9816       -.11543E-06** at limit **
  10  norm          .10000E-03    .49451        .44376E-07** at limit **
  11  Prefactor     45.727        1.3358       -.19431E-05    .13473E-01
  12  norm          .10003E-03    7.4511       -.51819E-04** at limit **
  13  Prefactor     14.656        1.0270        .91365E-06    .37087E-03
  14  norm          .10016E-03    3.7908        .12792E-04** at limit **
  15  Prefactor     53.422        1.0265       -.47097E-06    .38339E-02
  16  norm          1.3877        1.8040        .26500E-06    .72017E-03
  17  Prefactor     12.988        1.0018        .14787E-06   -.91911E-04
  18  Prefactor     6.4719        1.0303        .10624E-05   -.23957E-03
  19  Prefactor     4.1745        1.0282        .15924E-05    .67653E-03
  20  Prefactor     .10004E-03    22.725       -.64074E-04** at limit **
  21  Prefactor     73.213        1.0015       -.92309E-07    .11789E-02
  22  Normalizat    .64013        .22420       -.28983E-05    .42212E-03
  23  Prefactor     1.3123        .26655        .51324E-05    .46004E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.203234
  Prefactor  = 11.029
  Prefactor  = 8.223
  Prefactor  = 10.5326
  Prefactor  = 0.000100001
  norm       = 7.9385
  norm       = 0.748222
  Prefactor  = 3.20772
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 45.7269
  norm       = 0.000100033
  Prefactor  = 14.6564
  norm       = 0.000100161
  Prefactor  = 53.4224
  norm       = 1.38768
  Prefactor  = 12.9883
  Prefactor  = 6.47189
  Prefactor  = 4.1745
  Prefactor  = 0.000100036
  Prefactor  = 73.2132
  Normalizat = 0.640126
  Prefactor  = 1.31231
 **********
 **   18 **HESSE 
 **********

 FCN=   4538.217     FROM HESSE     STATUS=OK           450 CALLS     2583 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20323        2.7317        .36298E-01   -1.5618    
   2  Prefactor     11.029        9.1230        .30159E-02   -1.5044    
   3  Prefactor     8.2230        14.108        .34948E-02   -1.5134    
   4  Prefactor     10.533        5.8339        .30863E-02   -1.5059    
   5  Prefactor     .10000E-03    11.502        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.9385        3.2853        .35578E-02   -1.5144    
   7  norm          .74822        6.2469        .12236E-01   -1.5535    
   8  Prefactor     3.2077        59.876        .56647E-02   -1.5350    
   9  Prefactor     .10000E-03    4.8764        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .48200        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     45.727        43.942        .14822E-02   -1.4354    
  12  norm          .10003E-03    1.5166        .46754E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.656        6.5313        .26155E-02   -1.4942    
  14  norm          .10016E-03    2.1644        .55789E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.422        52.262        .13719E-02   -1.4245    
  16  norm          1.3877        1.8319        .92264E-02   -1.5472    
  17  Prefactor     12.988        15.700        .27786E-02   -1.4987    
  18  Prefactor     6.4719        8.3499        .39438E-02   -1.5199    
  19  Prefactor     4.1745        6.3505        .49313E-02   -1.5299    
  20  Prefactor     .10004E-03    22.871        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     73.213        67.038        .11730E-02   -1.3995    
  22  Normalizat    .64013        .21057        .65221E-01   -1.0631    
  23  Prefactor     1.3123        .22834        .55773E-01   -.82942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60966e-06
Minuit parameter uncertainties:
  1  1.48991
  2  9.1241
  3  14.1138
  4  5.83426
  5  0.000222567
  6  3.28535
  7  4.32424
  8  27.7492
  9  0.000220205
  10  2.5013e-06
  11  43.9732
  12  0.000444382
  13  6.53157
  14  0.00118233
  15  52.307
  16  1.83195
  17  15.7051
  18  8.35144
  19  6.3515
  20  0.00182307
  21  67.1069
  22  0.210833
  23  0.228517
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.002e-04  1.182e-03  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.312e+00  2.285e-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.401e-01  2.108e-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: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/832666/likelihoodResults_508118401_508377601_4FGL_J0145.0-2732_daily_bin1037.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) = 4538.21783563
delta logL = -0.000481830326862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4537.95984175
delta logL = 0.25751204532

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44801       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .58468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3542       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=   4537.960     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      353 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44809        .70029        .66307E-03    .42043E-02
   2  alpha         5.0000        4.0395        .11024    ** at limit **
   3  Normalizat    .58461        .23641        .30143E-03   -.16859E-04
   4  Prefactor     1.3543        .27291        .24341E-03   -.13395E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.44809
  alpha      = 5
  Normalizat = 0.584608
  Prefactor  = 1.35429
 **********
 **   18 **HESSE 
 **********

 FCN=   4537.960     FROM HESSE     STATUS=OK            25 CALLS      378 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44809        .69499        .13261E-03   -1.5574    
   2  alpha         5.0000        4.0356        .22047E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .58461        .23634        .12057E-04   -1.0864    
   4  Prefactor     1.3543        .27301        .48683E-04   -.81707    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15836e-12
Minuit parameter uncertainties:
  1  0.695
  2  5.20578e-06
  3  0.236752
  4  0.273297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832666': 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) = 4537.95984169
delta logL = 0.257512107796

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  4.481e-01  6.950e-01  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  5.000e+00  5.206e-06  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.354e+00  2.733e-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:  5.846e-01  2.368e-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/832666/cmap_HighResolution_508118401_508377601_4FGL_J0145.0-2732_daily_bin1037.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.67e-05', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-08-14 16:10:38.954136', job_id='832666', GAL2='1.35', fit_tolerance='1e-08', EG2='0.58', EG='0.64', time_epoch_completed='1628982638.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='2.58e-01', ts2='0.57', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1037' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:10:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 832666: <4FGL_J0145.0-2732_daily_bin1037> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1037> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Aug 14 15:55:48 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:58:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 15:58:13 2021
Terminated at Sat Aug 14 16:10:39 2021
Results reported at Sat Aug 14 16:10:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1037 26.2585 -27.5363 508118401 508377601 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 :                                   550.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            891 sec.

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

