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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1572
RA = 26.2585, Dec = -27.5363
tmin = 646790401, tmax = 647049601
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='835580', job_status='RUN', time_executed='2021-08-14 16:08:48.072484', time_epoch_executed='1628982528.07' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1572'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835580

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835580/ft1_4FGL_J0145.0-2732_daily_bin1572.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835580/ft2_4FGL_J0145.0-2732_daily_bin1572.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835580/ft1_4FGL_J0145.0-2732_daily_bin1572.fits outfile=/scratch/kocevski/835580/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1572.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=646790401.0 tmax=647049601.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 10.18
user 3.45
sys 6.44

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835580/ft1_filtered_4FGL_J0145.0-2732_daily_bin1572.fits" evtable="EVENTS" scfile=/scratch/kocevski/835580/ft2_4FGL_J0145.0-2732_daily_bin1572.fits sctable="SC_DATA" outfile=/scratch/kocevski/835580/ltcube_646790401_647049601_4FGL_J0145.0-2732_daily_bin1572.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/835580/ft2_4FGL_J0145.0-2732_daily_bin1572.fits
.....................!
real 20.23
user 11.76
sys 7.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835580/ft1_filtered_4FGL_J0145.0-2732_daily_bin1572.fits evtable="EVENTS" scfile=/scratch/kocevski/835580/ft2_4FGL_J0145.0-2732_daily_bin1572.fits sctable="SC_DATA" expcube=/scratch/kocevski/835580/ltcube_646790401_647049601_4FGL_J0145.0-2732_daily_bin1572.fits outfile=/scratch/kocevski/835580/expmap_646790401_647049601_4FGL_J0145.0-2732_daily_bin1572.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/835580/ltcube_646790401_647049601_4FGL_J0145.0-2732_daily_bin1572.fits
.....................!
real 199.84
user 186.36
sys 11.90

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/835580/ft1_filtered_4FGL_J0145.0-2732_daily_bin1572.fits scfile=/scratch/kocevski/835580/ft2_4FGL_J0145.0-2732_daily_bin1572.fits outfile=/scratch/kocevski/835580/cmap_646790401_647049601_4FGL_J0145.0-2732_daily_bin1572.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 6.09
user 0.38
sys 5.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835580/ft1_filtered_4FGL_J0145.0-2732_daily_bin1572.fits scfile=/scratch/kocevski/835580/ft2_4FGL_J0145.0-2732_daily_bin1572.fits outfile=/scratch/kocevski/835580/cmap_HighResolution_646790401_647049601_4FGL_J0145.0-2732_daily_bin1572.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 6.13
user 0.40
sys 5.68

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/835580/ft1_filtered_4FGL_J0145.0-2732_daily_bin1572.fits evtable="EVENTS" scfile=/scratch/kocevski/835580/ft2_4FGL_J0145.0-2732_daily_bin1572.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835580/Model_4FGL_J0145.0-2732_daily_bin1572.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/835580/ft1_filtered_4FGL_J0145.0-2732_daily_bin1572.fits.....................!
real 55.77
user 46.63
sys 8.61

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .16839       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .20378E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .21435E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    3.5459       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7990       1.0000         .10000E-03   10000.    
     8 'Prefactor '    41.368       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .55196       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3801       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.540       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4073       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.966       1.0000         .10000E-03   10000.    
    14 'norm      '    4.1841       1.0000         .10000E-03   10000.    
    15 'Prefactor '    57.902       1.0000         .10000E-03   10000.    
    16 'norm      '    14.563       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3437       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.3979       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6059       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91900       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89805       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=   5548.188     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2626 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0027       -.59120E-07** at limit **
   2  Prefactor     .64524E-01    93.382        .33603E-04   -.14462E-03
   3  Prefactor     .10000E-03    14.341        .27749E-07** at limit **
   4  Prefactor     .10003E-03    24.669       -.15931E-04** at limit **
   5  Prefactor     .10000E-03    39.538       -.12081E-04** at limit **
   6  norm          3.5492        2.7248       -.18573E-06   -.15416E-03
   7  norm          1.7991        2.4629        .16893E-06    .43975E-04
   8  Prefactor     41.375        19.664       -.40645E-06   -.10085E-03
   9  Prefactor     .54956        5.0632        .44603E-06   -.62816E-04
  10  norm          1.3794        1.2100        .18930E-06    .71007E-04
  11  Prefactor     14.529        31.237        .25826E-05    .19817E-04
  12  norm          1.4062        1.9988        .30320E-06    .15490E-03
  13  Prefactor     14.963        5.4864       -.12628E-06    .59700E-04
  14  norm          4.1820        3.1934        .87226E-07   -.20665E-03
  15  Prefactor     57.921        49.386       -.11347E-05   -.52119E-04
  16  norm          14.560        4.0942        .10617E-06   -.24454E-03
  17  Prefactor     4.3281        16.918        .13914E-05   -.41246E-04
  18  Prefactor     2.3925        7.0815        .13232E-06   -.30326E-03
  19  Prefactor     2.6026        4.8343       -.78540E-06   -.67529E-03
  20  Prefactor     .10000E-03    14.283       -.25289E-06** at limit **
  21  Prefactor     .10002E-03    140.27        .23745E-05** at limit **
  22  Normalizat    .91944        .18212       -.62468E-06   -.13580E-03
  23  Prefactor     .89802        .19176       -.49327E-06   -.21800E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0645235
  Prefactor  = 0.0001
  Prefactor  = 0.000100032
  Prefactor  = 0.0001
  norm       = 3.54924
  norm       = 1.79915
  Prefactor  = 41.3748
  Prefactor  = 0.549563
  norm       = 1.37944
  Prefactor  = 14.5295
  norm       = 1.4062
  Prefactor  = 14.9629
  norm       = 4.18202
  Prefactor  = 57.9211
  norm       = 14.5604
  Prefactor  = 4.32813
  Prefactor  = 2.3925
  Prefactor  = 2.60261
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  Normalizat = 0.919443
  Prefactor  = 0.898025
 **********
 **   18 **HESSE 
 **********

 FCN=   5548.188     FROM HESSE     STATUS=OK           392 CALLS     3018 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0093        .72842E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .64524E-01    10.789        .53009E-01   -1.5657    
   3  Prefactor     .10000E-03    14.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10003E-03    34.972        .18345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    39.783        .34811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.5492        2.7202        .97771E-04   -1.5331    
   7  norm          1.7991        2.4355        .12540E-03   -1.5440    
   8  Prefactor     41.375        19.610        .62325E-04   -1.4421    
   9  Prefactor     .54956        4.9588        .30063E-03   -1.5560    
  10  norm          1.3794        1.1985        .36891E-03   -1.5473    
  11  Prefactor     14.529        31.276        .10504E-03   -1.4945    
  12  norm          1.4062        1.9632        .11803E-03   -1.5471    
  13  Prefactor     14.963        5.4987        .96626E-04   -1.4934    
  14  norm          4.1820        3.1903        .10928E-03   -1.5299    
  15  Prefactor     57.921        49.394        .26361E-03   -1.4184    
  16  norm          14.560        4.1013        .76111E-04   -1.4945    
  17  Prefactor     4.3281        16.524        .19327E-03   -1.5292    
  18  Prefactor     2.3925        6.9170        .26444E-03   -1.5399    
  19  Prefactor     2.6026        4.8302        .21202E-03   -1.5385    
  20  Prefactor     .10000E-03    14.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10002E-03    141.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91944        .21156        .23493E-03   -.95780    
  23  Prefactor     .89802        .22209        .27433E-03   -.96210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62861e-09
Minuit parameter uncertainties:
  1  2.64368e-06
  2  1.66775
  3  7.36852e-05
  4  0.00210674
  5  0.000217799
  6  2.72027
  7  2.43563
  8  19.6135
  9  3.30169
  10  1.19855
  11  31.3109
  12  1.96328
  13  5.49885
  14  3.19044
  15  49.4293
  16  4.10135
  17  16.541
  18  6.91929
  19  4.83093
  20  1.09976e-05
  21  0.00316988
  22  0.211752
  23  0.222319
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  4.182e+00  3.190e+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:  8.980e-01  2.223e-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:  9.194e-01  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.75
Ra Dec: 26.259 -27.536
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 4.98e-08 +/- 3.80e-08
Energy Flux (Fixed Index): 1.31e-05 +/- 9.98e-06

TS (Fixed Index): 2.75
Ra Dec: 26.259 -27.536
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/835580/likelihoodResults_646790401_647049601_4FGL_J0145.0-2732_daily_bin1572.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) = 5548.0980342
delta logL = 0.0903862209052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5548.08755734
delta logL = 0.100863084646

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7337       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0698       1.0000          .0000       5.0000    
     3 'Normalizat'    .94017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88045       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5548.088     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      198 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7296        2.9794        .52242E-02    .62882E-03
   2  alpha         2.0679        .57023        .41949       -.66559E-04
   3  Normalizat    .94003        .16613        .45413E-01    .13890E-04
   4  Prefactor     .88054        .19182        .44755E-01   -.18490E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.72958
  alpha      = 2.06787
  Normalizat = 0.940034
  Prefactor  = 0.880544
 **********
 **   18 **HESSE 
 **********

 FCN=   5548.088     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7296        3.4649        .10885E-03   -1.5322    
   2  alpha         2.0679        .84012        .16689E-01   -.17372    
   3  Normalizat    .94003        .19476        .23265E-03   -.95067    
   4  Prefactor     .88054        .22199        .27664E-03   -.96824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40502e-10
Minuit parameter uncertainties:
  1  3.46505
  2  0.85734
  3  0.194906
  4  0.22222
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835580': 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) = 5548.08755401
delta logL = 0.100866410987

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  3.730e+00  3.465e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.068e+00  8.573e-01  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:  8.805e-01  2.222e-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:  9.400e-01  1.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.93
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 2.07 +/- 0.86
Photon Flux (Free Index): 3.74e-08 +/- 4.08e-08
Energy Flux (Free Index): 1.47e-05 +/- 1.24e-05

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/835580/cmap_HighResolution_646790401_647049601_4FGL_J0145.0-2732_daily_bin1572.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-05', comment='SUCCESS', photon_flux='4.98e-08', energy_flux2='1.47e-05', photon_flux_error='3.80e-08', dlogl='1.01e-01', energy_flux='1.31e-05', photon_flux2='3.74e-08', job_status='DONE', time_completed='2021-08-14 16:20:46.712527', photon_index_error2='0.86', photon_index2='2.07', ts='2.75', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.24e-05', EG='0.92', time_epoch_completed='1628983246.71', return_code='0', job_id='835580', GAL2='0.88', EG2='0.94', return_code2='0', energy_flux_error='9.98e-06', photon_flux_error2='4.08e-08', ts2='2.93', photon_index='2.48' WHERE bin_id='1572' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:20:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 835580: <4FGL_J0145.0-2732_daily_bin1572> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1572> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Aug 14 16:05:31 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:06:53 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:06:53 2021
Terminated at Sat Aug 14 16:20:49 2021
Results reported at Sat Aug 14 16:20:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1572 26.2585 -27.5363 646790401 647049601 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 :                                   808.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            918 sec.

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

