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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1593
RA = 26.1502, Dec = 27.0899
tmin = 652233601, tmax = 652492801
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='325032', job_status='RUN', time_executed='2021-09-05 00:00:56.653023', time_epoch_executed='1630825256.65' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/325032

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/325032/ft1_4FGL_J0144.6+2705_daily_bin1593.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/325032/ft2_4FGL_J0144.6+2705_daily_bin1593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/325032/ft1_4FGL_J0144.6+2705_daily_bin1593.fits outfile=/scratch/kocevski/325032/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1593.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=652233601.0 tmax=652492801.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 4.44
user 4.18
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/325032/ft2_4FGL_J0144.6+2705_daily_bin1593.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/325032/ft2_4FGL_J0144.6+2705_daily_bin1593.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/325032/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1593.fits evtable="EVENTS" outfile="/scratch/kocevski/325032/ft1_filtered_4FGL_J0144.6+2705_daily_bin1593.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/325032/ft1_filtered_4FGL_J0144.6+2705_daily_bin1593.fits" evtable="EVENTS" scfile=/scratch/kocevski/325032/ft2_4FGL_J0144.6+2705_daily_bin1593.fits sctable="SC_DATA" outfile=/scratch/kocevski/325032/ltcube_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.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/325032/ft2_4FGL_J0144.6+2705_daily_bin1593.fits
.....................!
real 12.05
user 11.71
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/325032/ft1_filtered_4FGL_J0144.6+2705_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/325032/ft2_4FGL_J0144.6+2705_daily_bin1593.fits sctable="SC_DATA" expcube=/scratch/kocevski/325032/ltcube_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.fits outfile=/scratch/kocevski/325032/expmap_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.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/325032/ltcube_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.fits
.....................!
real 192.98
user 187.41
sys 5.12

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0144.6+2705 @ 26.1502 27.0899

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/325032/ft1_filtered_4FGL_J0144.6+2705_daily_bin1593.fits scfile=/scratch/kocevski/325032/ft2_4FGL_J0144.6+2705_daily_bin1593.fits outfile=/scratch/kocevski/325032/cmap_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.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.1502 yref=27.0899 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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/325032/ft1_filtered_4FGL_J0144.6+2705_daily_bin1593.fits scfile=/scratch/kocevski/325032/ft2_4FGL_J0144.6+2705_daily_bin1593.fits outfile=/scratch/kocevski/325032/cmap_HighResolution_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.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.1502 yref=27.0899 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/325032/ft1_filtered_4FGL_J0144.6+2705_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/325032/ft2_4FGL_J0144.6+2705_daily_bin1593.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/325032/Model_4FGL_J0144.6+2705_daily_bin1593.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/325032/ft1_filtered_4FGL_J0144.6+2705_daily_bin1593.fits.....................!
real 92.28
user 90.73
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/325032/ft1_filtered_4FGL_J0144.6+2705_daily_bin1593.fits', '/scratch/kocevski/325032/ft2_4FGL_J0144.6+2705_daily_bin1593.fits', expMap='/scratch/kocevski/325032/expmap_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.fits', expCube='/scratch/kocevski/325032/ltcube_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/325032/Model_4FGL_J0144.6+2705_daily_bin1593.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0144.6+2705'

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.270e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/325032/ft1_filtered_4FGL_J0144.6+2705_daily_bin1593.fits
Spacecraft file(s): /scratch/kocevski/325032/ft2_4FGL_J0144.6+2705_daily_bin1593.fits
Exposure map: /scratch/kocevski/325032/expmap_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.fits
Exposure cube: /scratch/kocevski/325032/ltcube_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/325032/Model_4FGL_J0144.6+2705_daily_bin1593.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) = 8687.97571018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.147       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .30161       1.0000         .10000E-03   10000.    
     4 'norm      '    2.8335       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.476       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2770       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.5481       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0029       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .23415       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2462       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.3213       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.8951       1.0000         .10000E-03   10000.    
    20 'norm      '    1.1255       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.789       1.0000         .10000E-03   10000.    
    23 'norm      '    12.072       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .89107       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1630       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8687.973     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     2895 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.147        18.353        .28266E-06   -.41936E-05
   2  Prefactor     .10000E-03    17.723        .79649E-06** at limit **
   3  norm          .30172        .39373        .54551E-07    .50132E-03
   4  norm          2.8335        1.9448       -.44276E-08   -.28711E-04
   5  Prefactor     18.474        26.644        .26452E-07   -.98016E-05
   6  Prefactor     1.2771        2.3130        .40413E-08   -.37062E-05
   7  Prefactor     9.5493        10.418        .11243E-05   -.15640E-04
   8  Prefactor     3.0052        12.769        .56257E-05   -.91547E-05
   9  Prefactor     .10000E-03    9.6642       -.62523E-06** at limit **
  10  Prefactor     .10000E-03    32.565        .22896E-05** at limit **
  11  norm          .23414        .56256        .11565E-06   -.33347E-04
  12  Prefactor     .10000E-03    7.8554       -.28409E-08** at limit **
  13  Prefactor     3.2463        10.180        .50876E-06    .11674E-06
  14  Prefactor     .10000E-03    10.281        .54455E-06** at limit **
  15  norm          .10000E-03    1.4910        .21861E-07** at limit **
  16  Prefactor     5.2800        525.72        .19052E-04   -.31941E-05
  17  Prefactor     .10000E-03    2.0051        .29235E-07** at limit **
  18  Prefactor     .10000E-03    2.2311       -.13187E-06** at limit **
  19  Prefactor     4.8947        11.658        .28840E-05    .47150E-05
  20  norm          1.1256        .64209       -.32256E-07    .10114E-04
  21  norm          .10000E-03    25.708       -.27750E-05** at limit **
  22  Prefactor     14.768        40.798        .49320E-05   -.23475E-05
  23  norm          12.072        3.5624       -.10338E-06   -.18631E-04
  24  Normalizat    .89090        .21323       -.36538E-05   -.41927E-04
  25  Prefactor     1.1631        .11633        .55397E-06   -.88519E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.147
  Prefactor  = 0.0001
  norm       = 0.301716
  norm       = 2.83346
  Prefactor  = 18.4742
  Prefactor  = 1.27711
  Prefactor  = 9.5493
  Prefactor  = 3.0052
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.23414
  Prefactor  = 0.0001
  Prefactor  = 3.24626
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.27999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.89474
  norm       = 1.12557
  norm       = 0.0001
  Prefactor  = 14.7684
  norm       = 12.0716
  Normalizat = 0.890901
  Prefactor  = 1.16306
 **********
 **   18 **HESSE 
 **********

 FCN=   8687.973     FROM HESSE     STATUS=OK           433 CALLS     3328 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.147        18.322        .10649E-03   -1.4956    
   2  Prefactor     .10000E-03    17.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .30172        .35774        .64406E-03   -1.5598    
   4  norm          2.8335        1.9239        .93986E-04   -1.5371    
   5  Prefactor     18.474        26.608        .93178E-04   -1.4848    
   6  Prefactor     1.2771        2.2549        .18418E-03   -1.5482    
   7  Prefactor     9.5493        10.379        .64845E-03   -1.5090    
   8  Prefactor     3.0052        12.714        .11712E-02   -1.5361    
   9  Prefactor     .10000E-03    9.6651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    32.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .23414        .55361        .10251E-03   -1.5611    
  12  Prefactor     .10000E-03    7.9114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.2463        10.166        .22480E-03   -1.5348    
  14  Prefactor     .10000E-03    10.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.5039        .11112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.2800        529.35        .17423E-03   -1.5248    
  17  Prefactor     .10000E-03    2.0100        .12887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.2593        .13597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.8947        11.629        .90900E-03   -1.5265    
  20  norm          1.1256        .64017        .53122E-04   -1.5496    
  21  norm          .10000E-03    25.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.768        40.923        .10415E-03   -1.4939    
  23  norm          12.072        3.5611        .91855E-04   -1.5013    
  24  Normalizat    .89090        .23578        .36158E-03   -.96781    
  25  Prefactor     1.1631        .13144        .18870E-03   -.87476    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47436e-10
Minuit parameter uncertainties:
  1  18.3293
  2  4.91917e-06
  3  0.357743
  4  1.92393
  5  26.6249
  6  2.2551
  7  10.3812
  8  12.3668
  9  2.25731e-06
  10  5.96446e-07
  11  0.553622
  12  5.02002e-06
  13  10.1714
  14  3.11655e-06
  15  1.43528e-06
  16  106.718
  17  1.42532e-06
  18  6.275e-06
  19  11.6346
  20  0.640177
  21  3.36019e-07
  22  41.0008
  23  3.56116
  24  0.236051
  25  0.131481
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  2.341e-01  5.536e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.163e+00  1.315e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  8.909e-01  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 26.150 27.090
Photon Flux Upper Limit: 8.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.25e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/325032/likelihoodResults_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.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) = 8687.95493275
delta logL = 0.0183202268108

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8687.95447268
delta logL = 0.0187803029876

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24827       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8289       1.0000          .0000       5.0000    
     3 'Normalizat'    .89335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1620       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+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=   8687.954     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      237 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24807        .54676        .10044E-03    .11912E-03
   2  alpha         1.8283        .97227        .30733E-01   -.10105E-03
   3  Normalizat    .89337        .21483        .36112E-03   -.29593E-05
   4  Prefactor     1.1619        .12804        .18877E-03   -.16984E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.248066
  alpha      = 1.82833
  Normalizat = 0.893375
  Prefactor  = 1.16194
 **********
 **   18 **HESSE 
 **********

 FCN=   8687.954     FROM HESSE     STATUS=OK            27 CALLS      264 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24807        .55001        .20088E-04   -1.5608    
   2  alpha         1.8283        .97866        .61466E-02   -.27201    
   3  Normalizat    .89337        .21495        .14445E-04   -.96693    
   4  Prefactor     1.1619        .12812        .75508E-05   -.87511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83375e-12
Minuit parameter uncertainties:
  1  0.550024
  2  1.00782
  3  0.215157
  4  0.128152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/325032': 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) = 8687.95447246
delta logL = 0.0187805223268

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  2.481e-01  5.500e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.828e+00  1.008e+00  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.162e+00  1.282e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  8.934e-01  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 26.150 27.090

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/325032/cmap_HighResolution_652233601_652492801_4FGL_J0144.6+2705_daily_bin1593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.25e-05', job_status='DONE', photon_flux_upper_limit='8.07e-08', time_completed='2021-09-05 00:14:53.464365', job_id='325032', GAL2='1.16', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1630826093.46', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.88e-02', ts2='0.25', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1593' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 00:14:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 325032: <4FGL_J0144.6+2705_daily_bin1593> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1593> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 00:00:43 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 00:00:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 00:00:46 2021
Terminated at Sun Sep  5 00:14:54 2021
Results reported at Sun Sep  5 00:14:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1593 26.1502 27.0899 652233601 652492801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0144.6+2705 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   838.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            851 sec.

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

