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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1277
RA = 26.2585, Dec = -27.5363
tmin = 570326401, tmax = 570585601
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='834153', job_status='RUN', time_executed='2021-08-14 16:04:03.173103', time_epoch_executed='1628982243.17' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834153

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834153/ft1_4FGL_J0145.0-2732_daily_bin1277.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834153/ft2_4FGL_J0145.0-2732_daily_bin1277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834153/ft1_4FGL_J0145.0-2732_daily_bin1277.fits outfile=/scratch/kocevski/834153/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1277.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=570326401.0 tmax=570585601.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.57
user 3.30
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834153/ft1_filtered_4FGL_J0145.0-2732_daily_bin1277.fits" evtable="EVENTS" scfile=/scratch/kocevski/834153/ft2_4FGL_J0145.0-2732_daily_bin1277.fits sctable="SC_DATA" outfile=/scratch/kocevski/834153/ltcube_570326401_570585601_4FGL_J0145.0-2732_daily_bin1277.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/834153/ft2_4FGL_J0145.0-2732_daily_bin1277.fits
.....................!
real 13.86
user 13.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834153/ft1_filtered_4FGL_J0145.0-2732_daily_bin1277.fits evtable="EVENTS" scfile=/scratch/kocevski/834153/ft2_4FGL_J0145.0-2732_daily_bin1277.fits sctable="SC_DATA" expcube=/scratch/kocevski/834153/ltcube_570326401_570585601_4FGL_J0145.0-2732_daily_bin1277.fits outfile=/scratch/kocevski/834153/expmap_570326401_570585601_4FGL_J0145.0-2732_daily_bin1277.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/834153/ltcube_570326401_570585601_4FGL_J0145.0-2732_daily_bin1277.fits
.....................!
real 191.54
user 186.52
sys 4.02

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/834153/ft1_filtered_4FGL_J0145.0-2732_daily_bin1277.fits scfile=/scratch/kocevski/834153/ft2_4FGL_J0145.0-2732_daily_bin1277.fits outfile=/scratch/kocevski/834153/cmap_570326401_570585601_4FGL_J0145.0-2732_daily_bin1277.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.40
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834153/ft1_filtered_4FGL_J0145.0-2732_daily_bin1277.fits evtable="EVENTS" scfile=/scratch/kocevski/834153/ft2_4FGL_J0145.0-2732_daily_bin1277.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834153/Model_4FGL_J0145.0-2732_daily_bin1277.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/834153/ft1_filtered_4FGL_J0145.0-2732_daily_bin1277.fits....................!
real 17.94
user 16.42
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    86.243       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.170       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .25289E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2228       1.0000         .10000E-03   10000.    
    10 'norm      '    4.0653       1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.982       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4989       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    236.23       1.0000         .10000E-03   10000.    
    16 'norm      '    6.8332       1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.302       1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.469       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.330       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .14961       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .77816       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=   649.3577     FROM MIGRAD    STATUS=CONVERGED     61 CALLS     2190 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10008E-03    6.1344       -.10387E-04** at limit **
   2  Prefactor     86.245        1.0701        .14518E-06   -.35189E-02
   3  Prefactor     .10511E-03    23.411       -.96295E-05** at limit **
   4  Prefactor     24.172        1.0261        .15178E-06   -.88748E-03
   5  Prefactor     .10002E-03    13.383        .87466E-05** at limit **
   6  norm          .10000E-03    3.2487        .39154E-05** at limit **
   7  norm          .10000E-03    3.6005        .64538E-06** at limit **
   8  Prefactor     .15461E-03    1.0725       -.62231E-05** at limit **
   9  Prefactor     8.2252        1.0439       -.30746E-06    .56114E-03
  10  norm          4.0653        3.3284        .23145E-05    .15921E-02
  11  Prefactor     53.986        1.3884        .47785E-06   -.72526E-02
  12  norm          .10001E-03    2.8811       -.98710E-06** at limit **
  13  Prefactor     3.4892        1.1898        .10092E-05   -.64367E-03
  14  norm          .10003E-03    2.0917       -.70123E-05** at limit **
  15  Prefactor     236.23        1.0001        .35077E-08   -.24280E-03
  16  norm          6.8333        1.0084        .14792E-06   -.12949E-03
  17  Prefactor     26.302        1.0062       -.79879E-07    .56249E-03
  18  Prefactor     30.471        1.0070        .55485E-07   -.44671E-03
  19  Prefactor     .10006E-03    5.8050        .11981E-04** at limit **
  20  Prefactor     .10445E-03    21.483        .10476E-04** at limit **
  21  Prefactor     30.328        1.0907       -.28495E-06    .24296E-02
  22  Normalizat    .14930        .41122        .36920E-04    .59833E-05
  23  Prefactor     .77851        .48683       -.20371E-04   -.15517E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100081
  Prefactor  = 86.2451
  Prefactor  = 0.000105111
  Prefactor  = 24.1724
  Prefactor  = 0.00010002
  norm       = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.000154613
  Prefactor  = 8.2252
  norm       = 4.0653
  Prefactor  = 53.9857
  norm       = 0.000100014
  Prefactor  = 3.48915
  norm       = 0.000100034
  Prefactor  = 236.228
  norm       = 6.83328
  Prefactor  = 26.3017
  Prefactor  = 30.4713
  Prefactor  = 0.000100062
  Prefactor  = 0.000104447
  Prefactor  = 30.3277
  Normalizat = 0.149303
  Prefactor  = 0.778514
 **********
 **   18 **HESSE 
 **********

 FCN=   649.3577     FROM HESSE     STATUS=OK           412 CALLS     2602 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10008E-03    6.8389        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     86.245        43.683        .10815E-02   -1.3848    
   3  Prefactor     .10511E-03    44.448        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.172        19.488        .20369E-02   -1.4724    
   5  Prefactor     .10002E-03    13.439        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.2449        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.7154        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .15461E-03    244.51        .10730E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.2252        15.459        .34953E-02   -1.5134    
  10  norm          4.0653        3.3390        .49993E-02   -1.5305    
  11  Prefactor     53.986        145.92        .13648E-02   -1.4237    
  12  norm          .10001E-03    4.1494        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.4892        21.399        .54037E-02   -1.5334    
  14  norm          .10003E-03    4.0153        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     236.23        174.47        .65846E-03   -1.2622    
  16  norm          6.8333        8.3964        .38372E-02   -1.5185    
  17  Prefactor     26.302        42.431        .19528E-02   -1.4682    
  18  Prefactor     30.471        21.273        .18146E-02   -1.4603    
  19  Prefactor     .10006E-03    6.4987        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10445E-03    38.236        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     30.328        70.627        .18188E-02   -1.4606    
  22  Normalizat    .14930        1.0450        .93393E-01   -1.3341    
  23  Prefactor     .77851        .71156        .43432E-01   -1.0053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60329e-06
Minuit parameter uncertainties:
  1  0.00149006
  2  43.699
  3  0.0301681
  4  19.4931
  5  0.00102703
  6  1.55287e-05
  7  0.000241952
  8  0.232065
  9  15.4664
  10  3.3391
  11  146.898
  12  0.000483893
  13  17.2907
  14  0.00074387
  15  174.854
  16  8.39787
  17  42.4794
  18  21.2786
  19  0.00126951
  20  0.0260958
  21  70.8222
  22  0.783038
  23  0.7202
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  7.439e-04  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.785e-01  7.202e-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.493e-01  7.830e-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: 2.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834153/likelihoodResults_570326401_570585601_4FGL_J0145.0-2732_daily_bin1277.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) = 649.358729578
delta logL = -0.00105528231643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 649.35767451
delta logL = -2.1346545509e-07

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 'alpha     '    2.4788       1.0000          .0000       5.0000    
     3 'Normalizat'    .14958       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77825       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=   649.3577     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      224 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    4.6879        .49832E-03** at limit **
   2  alpha         2.4435        2.7681        .16461        .91757E-06
   3  Normalizat    .14930        .41176        .41226E-03    .94793E-05
   4  Prefactor     .77851        .48666        .21002E-03   -.11567E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100042
  alpha      = 2.44351
  Normalizat = 0.149304
  Prefactor  = 0.778513
 **********
 **   18 **HESSE 
 **********

 FCN=   649.3577     FROM HESSE     STATUS=OK            23 CALLS      247 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    4.0298        .99665E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4435        3.7017        .65846E-02   -.22596E-01
   3  Normalizat    .14930        .41141        .16491E-04   -1.3341    
   4  Prefactor     .77851        .48623        .42003E-04   -1.0053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24481e-08
Minuit parameter uncertainties:
  1  0.000824298
  2  301.797
  3  0.420378
  4  0.488943
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834153': 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) = 649.357674276
delta logL = 1.97719600692e-08

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  8.243e-04  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.444e+00  3.018e+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:  7.785e-01  4.889e-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.493e-01  4.204e-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/834153/cmap_HighResolution_570326401_570585601_4FGL_J0145.0-2732_daily_bin1277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-05', job_status='DONE', photon_flux_upper_limit='2.15e-07', time_completed='2021-08-14 16:10:00.096552', job_id='834153', GAL2='0.78', fit_tolerance='1e-08', EG2='0.15', EG='0.15', time_epoch_completed='1628982600.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.98e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1277' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:10:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 834153: <4FGL_J0145.0-2732_daily_bin1277> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1277 26.2585 -27.5363 570326401 570585601 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 :                                   354.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             305.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   442 sec.
    Turnaround time :                            549 sec.

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

