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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1202
RA = 26.2585, Dec = -27.5363
tmin = 550886401, tmax = 551145601
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='834042', job_status='RUN', time_executed='2021-08-14 16:03:56.565475', time_epoch_executed='1628982236.57' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834042

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834042/ft1_4FGL_J0145.0-2732_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834042/ft2_4FGL_J0145.0-2732_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834042/ft1_4FGL_J0145.0-2732_daily_bin1202.fits outfile=/scratch/kocevski/834042/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1202.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=550886401.0 tmax=551145601.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 6.55
user 3.54
sys 2.80

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834042/ft1_filtered_4FGL_J0145.0-2732_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/834042/ft2_4FGL_J0145.0-2732_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/834042/ltcube_550886401_551145601_4FGL_J0145.0-2732_daily_bin1202.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/834042/ft2_4FGL_J0145.0-2732_daily_bin1202.fits
.....................!
real 15.22
user 11.60
sys 3.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834042/ft1_filtered_4FGL_J0145.0-2732_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/834042/ft2_4FGL_J0145.0-2732_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/834042/ltcube_550886401_551145601_4FGL_J0145.0-2732_daily_bin1202.fits outfile=/scratch/kocevski/834042/expmap_550886401_551145601_4FGL_J0145.0-2732_daily_bin1202.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/834042/ltcube_550886401_551145601_4FGL_J0145.0-2732_daily_bin1202.fits
.....................!
real 195.81
user 186.30
sys 8.18

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/834042/ft1_filtered_4FGL_J0145.0-2732_daily_bin1202.fits scfile=/scratch/kocevski/834042/ft2_4FGL_J0145.0-2732_daily_bin1202.fits outfile=/scratch/kocevski/834042/cmap_550886401_551145601_4FGL_J0145.0-2732_daily_bin1202.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 3.10
user 0.38
sys 2.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834042/ft1_filtered_4FGL_J0145.0-2732_daily_bin1202.fits scfile=/scratch/kocevski/834042/ft2_4FGL_J0145.0-2732_daily_bin1202.fits outfile=/scratch/kocevski/834042/cmap_HighResolution_550886401_551145601_4FGL_J0145.0-2732_daily_bin1202.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 3.12
user 0.39
sys 2.69

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834042/ft1_filtered_4FGL_J0145.0-2732_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/834042/ft2_4FGL_J0145.0-2732_daily_bin1202.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834042/Model_4FGL_J0145.0-2732_daily_bin1202.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/834042/ft1_filtered_4FGL_J0145.0-2732_daily_bin1202.fits.....................!
real 59.64
user 54.84
sys 4.55

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    5.1221       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8536       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.6000       1.0000         .10000E-03   10000.    
     7 'norm      '    5.0219       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9201       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .14528       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9714       1.0000         .10000E-03   10000.    
    12 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .74162       1.0000         .10000E-03   10000.    
    14 'norm      '    1.7565       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .44280E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    2.1872       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .53516E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.0183       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5309       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5357       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.6610       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87662       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0766       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=   7120.997     FROM MIGRAD    STATUS=CONVERGED    953 CALLS     3048 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4316        .19389E-03** at limit **
   2  Prefactor     5.1215        6.6385        .17764E-03   -.14630E-03
   3  Prefactor     .10000E-03    16.382        .18142E-02** at limit **
   4  Prefactor     4.8531        3.2081        .11770E-03    .22699E-04
   5  Prefactor     .10000E-03    3.5158        .15426E-02** at limit **
   6  norm          2.6002        1.7648        .89156E-04    .11438E-03
   7  norm          5.0221        2.1883        .79608E-04    .14538E-03
   8  Prefactor     4.9221        6.4176        .18133E-03    .24828E-04
   9  Prefactor     .10000E-03    1.0771        .85247E-03** at limit **
  10  norm          .14659        2.4209        .13354E-02   -.18111E-03
  11  Prefactor     2.9865        62.599        .23555E-03    .35040E-04
  12  norm          .10000E-03    .73994        .11647E-02** at limit **
  13  Prefactor     .74071        4.8591        .24563E-02   -.26397E-03
  14  norm          1.7565        1.9105        .11742E-03    .87139E-05
  15  Prefactor     .10000E-03    32.185        .13240    ** at limit **
  16  norm          2.1869        1.9980        .11022E-03   -.26828E-03
  17  Prefactor     .10003E-03    29.561        .37040E-02** at limit **
  18  Prefactor     2.0185        4.7528        .26277E-03   -.10981E-03
  19  Prefactor     2.5289        3.9673        .19998E-03   -.90332E-04
  20  Prefactor     6.5319        16.837        .15698E-03   -.26506E-04
  21  Prefactor     9.6745        23.072        .12893E-03    .47793E-04
  22  Normalizat    .87664        .17426        .22551E-03    .89227E-03
  23  Prefactor     1.0766        .19663        .24449E-03    .77546E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.12153
  Prefactor  = 0.0001
  Prefactor  = 4.85308
  Prefactor  = 0.0001
  norm       = 2.60024
  norm       = 5.02211
  Prefactor  = 4.92213
  Prefactor  = 0.0001
  norm       = 0.146593
  Prefactor  = 2.98649
  norm       = 0.0001
  Prefactor  = 0.740707
  norm       = 1.75649
  Prefactor  = 0.0001
  norm       = 2.18692
  Prefactor  = 0.00010003
  Prefactor  = 2.01846
  Prefactor  = 2.52885
  Prefactor  = 6.53187
  Prefactor  = 9.67449
  Normalizat = 0.876638
  Prefactor  = 1.07662
 **********
 **   18 **HESSE 
 **********

 FCN=   7120.997     FROM HESSE     STATUS=OK           360 CALLS     3408 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4316        .38777E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.1215        6.6358        .71057E-05   -1.5255    
   3  Prefactor     .10000E-03    16.394        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.8531        3.2077        .47079E-05   -1.5267    
   5  Prefactor     .10000E-03    3.5160        .30852E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.6002        1.7646        .35662E-05   -1.5385    
   7  norm          5.0221        2.1881        .31843E-05   -1.5260    
   8  Prefactor     4.9221        6.4173        .72531E-05   -1.5264    
   9  Prefactor     .10000E-03    1.0772        .17049E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .14659        2.4142        .53415E-04   -1.5631    
  11  Prefactor     2.9865        61.849        .94220E-05   -1.5362    
  12  norm          .10000E-03    .74059        .23295E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .74071        4.7506        .98253E-04   -1.5536    
  14  norm          1.7565        1.9101        .46968E-05   -1.5443    
  15  Prefactor     .10000E-03    31.812        .13341       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.1869        1.9977        .44088E-05   -1.5412    
  17  Prefactor     .10003E-03    30.249        .74080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.0185        4.7485        .10511E-04   -1.5424    
  19  Prefactor     2.5289        3.9661        .79993E-05   -1.5390    
  20  Prefactor     6.5319        16.835        .62792E-05   -1.5197    
  21  Prefactor     9.6745        23.068        .51571E-05   -1.5086    
  22  Normalizat    .87664        .17411        .45103E-04   -.97286    
  23  Prefactor     1.0766        .19679        .48897E-04   -.90217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13337e-09
Minuit parameter uncertainties:
  1  1.16737e-05
  2  6.63675
  3  0.00010963
  4  3.20782
  5  1.51829e-06
  6  1.76461
  7  2.18811
  8  6.41822
  9  2.0605e-06
  10  1.18946
  11  27.2135
  12  3.58899e-06
  13  3.75186
  14  1.9102
  15  6.90279e-05
  16  1.9978
  17  0.00192128
  18  4.74936
  19  3.96646
  20  16.8476
  21  23.089
  22  0.174223
  23  0.196922
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.756e+00  1.910e+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:  1.077e+00  1.969e-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:  8.766e-01  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.23
Ra Dec: 26.259 -27.536
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 2.27e-08
Energy Flux (Fixed Index): 5.50e-06 +/- 5.98e-06

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

Saving results to:
/scratch/kocevski/834042/likelihoodResults_550886401_551145601_4FGL_J0145.0-2732_daily_bin1202.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) = 7120.30606797
delta logL = 0.690877078296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7120.29731291
delta logL = 0.699632140691

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8038       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6920       1.0000          .0000       5.0000    
     3 'Normalizat'    .89098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0591       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=   7120.297     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      201 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8038        1.5150        .77801E-02   -.29023E-02
   2  alpha         1.6919        .41351        .39003       -.61413E-04
   3  Normalizat    .89097        .13929        .44786E-01   -.27692E-03
   4  Prefactor     1.0591        .16651        .39406E-01   -.24194E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.80379
  alpha      = 1.69191
  Normalizat = 0.890972
  Prefactor  = 1.05905
 **********
 **   18 **HESSE 
 **********

 FCN=   7120.297     FROM HESSE     STATUS=OK            29 CALLS      230 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8038        1.6997        .92286E-04   -1.5439    
   2  alpha         1.6919        .55542        .14465E-01   -.32915    
   3  Normalizat    .89097        .16354        .22378E-03   -.96778    
   4  Prefactor     1.0591        .19544        .24590E-03   -.90786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91172e-09
Minuit parameter uncertainties:
  1  1.69975
  2  0.560658
  3  0.16363
  4  0.19557
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834042': 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) = 7120.29731288
delta logL = 0.69963217224

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.804e+00  1.700e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  1.692e+00  5.607e-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:  1.059e+00  1.956e-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:  8.910e-01  1.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.64
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 1.69 +/- 0.56
Photon Flux (Free Index): 1.69e-08 +/- 1.60e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.25e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/834042/cmap_HighResolution_550886401_551145601_4FGL_J0145.0-2732_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-05', comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='1.20e-05', photon_flux_error='2.27e-08', dlogl='7.00e-01', energy_flux='5.50e-06', photon_flux2='1.69e-08', job_status='DONE', time_completed='2021-08-14 16:16:56.585202', photon_index_error2='0.56', photon_index2='1.69', ts='1.23', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='7.41e-08', energy_flux_error2='1.25e-05', EG='0.88', time_epoch_completed='1628983016.59', return_code='0', job_id='834042', GAL2='1.06', EG2='0.89', return_code2='0', energy_flux_error='5.98e-06', photon_flux_error2='1.60e-08', ts2='2.64', photon_index='2.48' WHERE bin_id='1202' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:16:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 834042: <4FGL_J0145.0-2732_daily_bin1202> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1202> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:43 2021
Job was executed on host(s) <bullet0294>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:01:32 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:01:32 2021
Terminated at Sat Aug 14 16:16:57 2021
Results reported at Sat Aug 14 16:16:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1202 26.2585 -27.5363 550886401 551145601 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 :                                   816.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             264.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            974 sec.

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

