/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 96 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 = 6797
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1662
RA = 26.2585, Dec = -27.5363
tmin = 670118401, tmax = 670377601
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='113461', job_status='RUN', time_executed='2022-03-31 00:09:28.752999', time_epoch_executed='1648710568.75' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1662'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113461

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113461/ft1_4FGL_J0145.0-2732_daily_bin1662.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113461/ft2_4FGL_J0145.0-2732_daily_bin1662.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113461/ft1_4FGL_J0145.0-2732_daily_bin1662.fits outfile=/scratch/kocevski/113461/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1662.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=670118401.0 tmax=670377601.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 33.83
user 3.07
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/113461/ft2_4FGL_J0145.0-2732_daily_bin1662.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/113461/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1662.fits evtable="EVENTS" outfile="/scratch/kocevski/113461/ft1_filtered_4FGL_J0145.0-2732_daily_bin1662.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 21.07
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 459

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/113461/ft1_filtered_4FGL_J0145.0-2732_daily_bin1662.fits" evtable="EVENTS" scfile=/scratch/kocevski/113461/ft2_4FGL_J0145.0-2732_daily_bin1662.fits sctable="SC_DATA" outfile=/scratch/kocevski/113461/ltcube_670118401_670377601_4FGL_J0145.0-2732_daily_bin1662.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/113461/ft2_4FGL_J0145.0-2732_daily_bin1662.fits
.....................!
real 41.41
user 15.82
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113461/ft1_filtered_4FGL_J0145.0-2732_daily_bin1662.fits evtable="EVENTS" scfile=/scratch/kocevski/113461/ft2_4FGL_J0145.0-2732_daily_bin1662.fits sctable="SC_DATA" expcube=/scratch/kocevski/113461/ltcube_670118401_670377601_4FGL_J0145.0-2732_daily_bin1662.fits outfile=/scratch/kocevski/113461/expmap_670118401_670377601_4FGL_J0145.0-2732_daily_bin1662.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/113461/ltcube_670118401_670377601_4FGL_J0145.0-2732_daily_bin1662.fits
.....................!
real 225.26
user 185.77
sys 4.87

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/113461/ft1_filtered_4FGL_J0145.0-2732_daily_bin1662.fits scfile=/scratch/kocevski/113461/ft2_4FGL_J0145.0-2732_daily_bin1662.fits outfile=/scratch/kocevski/113461/cmap_670118401_670377601_4FGL_J0145.0-2732_daily_bin1662.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113461/ft1_filtered_4FGL_J0145.0-2732_daily_bin1662.fits scfile=/scratch/kocevski/113461/ft2_4FGL_J0145.0-2732_daily_bin1662.fits outfile=/scratch/kocevski/113461/cmap_HighResolution_670118401_670377601_4FGL_J0145.0-2732_daily_bin1662.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.76
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    7.8038       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.941       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5125       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5723       1.0000         .10000E-03   10000.    
     6 'norm      '    4.4120       1.0000         .10000E-03   10000.    
     7 'norm      '    3.8103       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4091       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3610       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.748       1.0000         .10000E-03   10000.    
    12 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.2504       1.0000         .10000E-03   10000.    
    14 'norm      '    2.1780       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14335E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.484       1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.612       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6446       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .60771       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .63230       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94816       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=   5036.052     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2535 TOTAL
                     EDM=   .76E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .93942        .22855E-07** at limit **
   2  Prefactor     7.8046        5.9036        .60398E-07   -.20383E-05
   3  Prefactor     14.944        12.900       -.26902E-06   -.66685E-04
   4  Prefactor     1.5133        3.3046        .65906E-06   -.12997E-04
   5  Prefactor     4.5758        14.853        .12494E-06   -.17205E-04
   6  norm          4.4130        3.5779        .10666E-06    .10349E-03
   7  norm          3.8087        2.7317        .18292E-06   -.24385E-04
   8  Prefactor     6.4222        14.165       -.21066E-05   -.15386E-03
   9  Prefactor     .10000E-03    3.3749       -.18388E-06** at limit **
  10  norm          1.3612        1.1156        .31273E-07   -.41193E-05
  11  Prefactor     19.755        23.295        .74930E-07    .11655E-06
  12  norm          .10000E-03    .67239       -.16268E-06** at limit **
  13  Prefactor     9.2511        4.2579        .10302E-06    .63708E-04
  14  norm          2.1775        2.6010        .14641E-07   -.11307E-03
  15  Prefactor     .10000E-03    115.32       -.96035E-06** at limit **
  16  norm          11.484        3.4206        .21068E-07   -.18593E-04
  17  Prefactor     31.611        12.660       -.44243E-07   -.35822E-04
  18  Prefactor     3.6462        5.3425       -.20891E-06   -.19361E-03
  19  Prefactor     .62347        7.5952        .34680E-05   -.10786E-03
  20  Prefactor     .10000E-03    14.196       -.35326E-06** at limit **
  21  Prefactor     .10000E-03    13.359        .30331E-06** at limit **
  22  Normalizat    .63241        .16607        .24654E-06   -.11741E-03
  23  Prefactor     .94787        .18563       -.11181E-05   -.38729E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 7.80459
  Prefactor  = 14.9436
  Prefactor  = 1.51332
  Prefactor  = 4.57581
  norm       = 4.41303
  norm       = 3.80869
  Prefactor  = 6.4222
  Prefactor  = 0.0001
  norm       = 1.36118
  Prefactor  = 19.7551
  norm       = 0.0001
  Prefactor  = 9.25106
  norm       = 2.17748
  Prefactor  = 0.0001
  norm       = 11.4835
  Prefactor  = 31.6114
  Prefactor  = 3.64623
  Prefactor  = 0.623466
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.632408
  Prefactor  = 0.947874
 **********
 **   18 **HESSE 
 **********

 FCN=   5036.052     FROM HESSE     STATUS=OK           378 CALLS     2913 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .94260        .67171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.8046        5.9033        .14187E-03   -1.5149    
   3  Prefactor     14.944        12.901        .10362E-03   -1.4935    
   4  Prefactor     1.5133        3.3000        .18146E-03   -1.5462    
   5  Prefactor     4.5758        14.772        .18825E-03   -1.5280    
   6  norm          4.4130        3.5540        .86052E-04   -1.5288    
   7  norm          3.8087        2.7324        .91207E-04   -1.5318    
   8  Prefactor     6.4222        14.702        .15854E-03   -1.5201    
   9  Prefactor     .10000E-03    3.4991        .25338E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3612        1.1157        .37433E-04   -1.5475    
  11  Prefactor     19.755        23.287        .90130E-04   -1.4819    
  12  norm          .10000E-03    .67867        .56616E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.2511        4.2664        .93494E-04   -1.5100    
  14  norm          2.1775        2.6041        .11700E-03   -1.5413    
  15  Prefactor     .10000E-03    118.49        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.484        3.4258        .68564E-04   -1.5030    
  17  Prefactor     31.611        12.653        .71265E-04   -1.4583    
  18  Prefactor     3.6462        5.3354        .18129E-03   -1.5326    
  19  Prefactor     .62347        7.9360        .37092E-03   -1.5550    
  20  Prefactor     .10000E-03    14.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    13.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .63241        .19315        .23860E-03   -1.0663    
  23  Prefactor     .94787        .21543        .23701E-03   -.94488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69948e-10
Minuit parameter uncertainties:
  1  2.8577e-07
  2  5.90376
  3  12.9034
  4  3.30043
  5  14.7838
  6  3.55418
  7  2.73253
  8  14.7102
  9  1.27225e-05
  10  1.11569
  11  23.2976
  12  3.38229e-06
  13  4.26652
  14  2.60421
  15  9.73773e-05
  16  3.42585
  17  12.6539
  18  5.33606
  19  4.44913
  20  3.31499e-05
  21  1.22296e-05
  22  0.193357
  23  0.2156DonDone.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  2.177e+00  2.604e+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:  9.479e-01  2.156e-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.324e-01  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/113461/likelihoodResults_670118401_670377601_4FGL_J0145.0-2732_daily_bin1662.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) = 5034.81364173
delta logL = 1.23816124316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5034.80888115
delta logL = 1.24292181917

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6956       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.2601       1.0000          .0000       5.0000    
     3 'Normalizat'    .55715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0078       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=   5034.809     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      230 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6956        24.790        .80791E-02    .46197E-03
   2  alpha         4.2601        2.8464        .50000        .54738E-05
   3  Normalizat    .55715        .68938E-01    .40350E-01    .23793E-04
   4  Prefactor     1.0078        .81335E-01    .43671E-01    .47684E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.69558
  alpha      = 4.26008
  Normalizat = 0.557151
  Prefactor  = 1.00779
 **********
 **   18 **HESSE 
 **********

 FCN=   5034.809     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6956        2.2551        .54200E-04   -1.5448    
   2  alpha         4.2601        1.2923        .28926E-01    .78106    
   3  Normalizat    .55715        .18558        .25301E-03   -1.0984    
   4  Prefactor     1.0078        .21797        .23060E-03   -.92470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20079e-10
Minuit parameter uncertainties:
  1  2.25525
  2  1.44732
  3  0.185785
  4  0.218159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113461': 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) = 5034.80888115
delta logL = 1.24292182185

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  1.008e+00  2.182e-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.572e-01  1.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.74
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 4.26 +/- 1.45
Photon Flux (Free Index): 7.44e-08 +/- 4.73e-08
Energy Flux (Free Index): 1.08e-05 +/- 6.95e-06

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-05', comment='SUCCESS', energy_flux2='1.08e-05', dlogl='1.24e+00', photon_flux2='7.44e-08', job_status='DONE', time_completed='2022-03-31 00:21:52.741488', photon_index_error2='1.45', photon_index2='4.26', ts='0.99', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='9.41e-08', energy_flux_error2='6.95e-06', EG='0.63', time_epoch_completed='1648711312.74', return_code='0', job_id='113461', GAL2='1.01', EG2='0.56', return_code2='0', photon_flux_error2='4.73e-08', ts2='3.74', photon_index='2.48' WHERE bin_id='1662' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar 31 00:21:52 PDT 2022

----------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 113462: <4FGL_J0145.0-2732_daily_bin1662> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1662> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Mar 31 00:05:52 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar 31 00:05:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar 31 00:05:54 2022
Terminated at Thu Mar 31 00:21:07 2022
Results reported at Thu Mar 31 00:21:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1662 26.2585 -27.5363 670118401 670377601 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 :                                   598.23 sec.
    Max Memory :                                 618 MB
    Average Memory :                             223.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            915 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 113461: <4FGL_J0145.0-2732_daily_bin1662> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1662> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Mar 31 00:05:52 2022
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar 31 00:05:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar 31 00:05:54 2022
Terminated at Thu Mar 31 00:21:53 2022
Results reported at Thu Mar 31 00:21:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1662 26.2585 -27.5363 670118401 670377601 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 :                                   586.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             272.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            961 sec.

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

