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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1294
RA = 26.1502, Dec = 27.0899
tmin = 574732801, tmax = 574992001
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='825185', job_status='RUN', time_executed='2021-08-14 15:35:20.330464', time_epoch_executed='1628980520.33' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1294'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/825185

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/825185/ft1_4FGL_J0144.6+2705_daily_bin1294.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/825185/ft2_4FGL_J0144.6+2705_daily_bin1294.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/825185/ft1_4FGL_J0144.6+2705_daily_bin1294.fits outfile=/scratch/kocevski/825185/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1294.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=574732801.0 tmax=574992001.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 5.93
user 5.08
sys 0.84

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/825185/ft2_4FGL_J0144.6+2705_daily_bin1294.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/825185/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1294.fits evtable="EVENTS" outfile="/scratch/kocevski/825185/ft1_filtered_4FGL_J0144.6+2705_daily_bin1294.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 1.11
user 0.33
sys 0.76

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/825185/ft1_filtered_4FGL_J0144.6+2705_daily_bin1294.fits" evtable="EVENTS" scfile=/scratch/kocevski/825185/ft2_4FGL_J0144.6+2705_daily_bin1294.fits sctable="SC_DATA" outfile=/scratch/kocevski/825185/ltcube_574732801_574992001_4FGL_J0144.6+2705_daily_bin1294.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/825185/ft2_4FGL_J0144.6+2705_daily_bin1294.fits
.....................!
real 12.69
user 11.62
sys 1.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/825185/ft1_filtered_4FGL_J0144.6+2705_daily_bin1294.fits evtable="EVENTS" scfile=/scratch/kocevski/825185/ft2_4FGL_J0144.6+2705_daily_bin1294.fits sctable="SC_DATA" expcube=/scratch/kocevski/825185/ltcube_574732801_574992001_4FGL_J0144.6+2705_daily_bin1294.fits outfile=/scratch/kocevski/825185/expmap_574732801_574992001_4FGL_J0144.6+2705_daily_bin1294.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/825185/ltcube_574732801_574992001_4FGL_J0144.6+2705_daily_bin1294.fits
.....................!
real 191.53
user 186.05
sys 5.08

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/825185/ft1_filtered_4FGL_J0144.6+2705_daily_bin1294.fits scfile=/scratch/kocevski/825185/ft2_4FGL_J0144.6+2705_daily_bin1294.fits outfile=/scratch/kocevski/825185/cmap_574732801_574992001_4FGL_J0144.6+2705_daily_bin1294.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 1.16
user 0.39
sys 0.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/825185/ft1_filtered_4FGL_J0144.6+2705_daily_bin1294.fits scfile=/scratch/kocevski/825185/ft2_4FGL_J0144.6+2705_daily_bin1294.fits outfile=/scratch/kocevski/825185/cmap_HighResolution_574732801_574992001_4FGL_J0144.6+2705_daily_bin1294.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 1.15
user 0.38
sys 0.76

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/825185/ft1_filtered_4FGL_J0144.6+2705_daily_bin1294.fits', '/scratch/kocevski/825185/ft2_4FGL_J0144.6+2705_daily_bin1294.fits', expMap='/scratch/kocevski/825185/expmap_574732801_574992001_4FGL_J0144.6+2705_daily_bin1294.fits', expCube='/scratch/kocevski/825185/ltcube_574732801_574992001_4FGL_J0144.6+2705_daily_bin1294.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/825185/Model_4FGL_J0144.6+2705_daily_bin1294.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/825185/ft1_filtered_4FGL_J0144.6+2705_daily_bin1294.fits
Spacecraft file(s): /scratch/kocevski/825185/ft2_4FGL_J0144.6+2705_daily_bin1294.fits
Exposure map: /scratch/kocevski/825185/expmap_574732801_574992001_4FGL_J0144.6+2705_daily_bin1294.fits
Exposure cube: /scratch/kocevski/825185/ltcube_574732801_574992001_4FGL_J0144.6+2705_daily_bin1294.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/825185/Model_4FGL_J0144.6+2705_daily_bin1294.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) = 6808.12961943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4693       1.0000         .10000E-03   10000.    
     4 'norm      '    1.1500       1.0000         .10000E-03   10000.    
     5 'Prefactor '    83.013       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7129       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.454       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .78980       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.8014       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2366       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .86123       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.924       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.1345       1.0000         .10000E-03   10000.    
    20 'norm      '    1.3291       1.0000         .10000E-03   10000.    
    21 'norm      '    8.3256       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    14.208       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0095       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97519       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=   6808.116     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2908 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.9804       -.84420E-07** at limit **
   2  Prefactor     .10000E-03    14.291        .95959E-07** at limit **
   3  norm          2.4692        .89826        .11925E-07    .69454E-03
   4  norm          1.1496        1.5246       -.22377E-06   -.61380E-04
   5  Prefactor     82.970        61.128        .11587E-05    .25578E-03
   6  Prefactor     7.7140        6.0840        .10262E-06    .29616E-03
   7  Prefactor     18.453        10.500        .86807E-07    .34006E-03
   8  Prefactor     .76208        46.798       -.17855E-04    .14990E-03
   9  Prefactor     .10000E-03    18.306        .28076E-07** at limit **
  10  Prefactor     .10000E-03    52.416       -.21368E-06** at limit **
  11  norm          2.8014        .99174        .40610E-07    .14493E-02
  12  Prefactor     1.2079        47.300       -.10007E-05    .13177E-03
  13  Prefactor     .10000E-03    4.8430       -.12966E-06** at limit **
  14  Prefactor     .10000E-03    11.540       -.17633E-06** at limit **
  15  norm          .86264        4.9018       -.10148E-05    .39025E-03
  16  Prefactor     .10000E-03    155.36       -.52215E-06** at limit **
  17  Prefactor     31.921        13.544        .68356E-06    .10028E-02
  18  Prefactor     .10000E-03    5.6168       -.15575E-06** at limit **
  19  Prefactor     4.1344        15.552       -.55137E-06    .12234E-03
  20  norm          1.3291        .97362       -.32663E-07    .49746E-03
  21  norm          8.1855        134.20        .56172E-05    .59692E-04
  22  Prefactor     .10000E-03    15.593       -.24728E-06** at limit **
  23  norm          14.208        4.4292       -.42185E-07    .21670E-03
  24  Normalizat    1.0097        .25397        .42379E-07    .52068E-03
  25  Prefactor     .97512        .12849        .14476E-05    .12456E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.46925
  norm       = 1.14959
  Prefactor  = 82.9699
  Prefactor  = 7.71398
  Prefactor  = 18.4528
  Prefactor  = 0.762077
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.80137
  Prefactor  = 1.20788
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.862639
  Prefactor  = 0.0001
  Prefactor  = 31.9211
  Prefactor  = 0.0001
  Prefactor  = 4.13444
  norm       = 1.32911
  norm       = 8.18545
  Prefactor  = 0.0001
  norm       = 14.2079
  Normalizat = 1.00969
  Prefactor  = 0.975118
 **********
 **   18 **HESSE 
 **********

 FCN=   6808.116     FROM HESSE     STATUS=OK           423 CALLS     3331 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.0129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4692        .89611        .45123E-04   -1.5394    
   4  norm          1.1496        1.4851        .11016E-03   -1.5494    
   5  Prefactor     82.970        61.000        .22043E-03   -1.3884    
   6  Prefactor     7.7140        6.0728        .14439E-03   -1.5152    
   7  Prefactor     18.453        10.503        .93235E-04   -1.4849    
   8  Prefactor     .76208        48.467        .42519E-02   -1.5533    
   9  Prefactor     .10000E-03    18.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    52.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.8014        .99116        .46820E-04   -1.5373    
  12  Prefactor     1.2079        48.204        .40370E-03   -1.5488    
  13  Prefactor     .10000E-03    4.8553        .17737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .86264        4.9169        .34084E-03   -1.5522    
  16  Prefactor     .10000E-03    155.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     31.921        13.577        .70917E-04   -1.4577    
  18  Prefactor     .10000E-03    5.6864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.1344        15.376        .19824E-03   -1.5301    
  20  norm          1.3291        .96562        .64470E-04   -1.5477    
  21  norm          8.1855        137.17        .13894E-03   -1.5136    
  22  Prefactor     .10000E-03    15.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          14.208        4.4282        .93388E-04   -1.4954    
  24  Normalizat    1.0097        .29157        .36196E-03   -.92707    
  25  Prefactor     .97512        .15093        .20618E-03   -.93564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45518e-09
Minuit parameter uncertainties:
  1  8.01307e-06
  2  9.60001e-07
  3  0.896119
  4  1.48517
  5  61.0457
  6  6.07328
  7  10.5037
  8  12.1644
  9  8.75257e-06
  10  9.40283e-05
  11  0.99117
  12  15.2736
  13  1.27438e-05
  14  3.72023e-05
  15  4.11925
  16  0.000451599
  17  13.5783
  18  2.94122e-05
  19  15.3907
  20  0.965629
  21  67.1967
  22  6.6145e-05
  23  4.42829
  24  0.292029
  25  0.150997
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  2.801e+00  9.912e-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:  9.751e-01  1.510e-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:  1.010e+00  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.30
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 1.42e-07 +/- 5.03e-08
Energy Flux (Fixed Index): 7.48e-05 +/- 2.65e-05

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) = 6808.07513379
delta logL = 0.0411472660753

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6808.07327228
delta logL = 0.0430087728873

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7743       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1307       1.0000          .0000       5.0000    
     3 'Normalizat'    .99640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97880       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.

 FCN=   6808.073     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7743        16.353        .61083E-02    .16157E-03
   2  alpha         2.1307        3.5003        .23661        .19208E-04
   3  Normalizat    .99646        .49711        .82232E-01    .26432E-04
   4  Prefactor     .97878        .23263        .46002E-01   -.33343E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.77429
  alpha      = 2.13073
  Normalizat = 0.996456
  Prefactor  = 0.978781
 **********
 **   18 **HESSE 
 **********

 FCN=   6808.073     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7743        .98264        .45838E-04   -1.5375    
   2  alpha         2.1307        .33571        .96862E-02   -.14825    
   3  Normalizat    .99646        .26677        .36401E-03   -.93149    
   4  Prefactor     .97878        .14887        .20580E-03   -.93440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34637e-12
Minuit parameter uncertainties:
  1  0.982642
  2  0.336749
  3  0.267129
  4  0.148931
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/825185': 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) = 6808.07327226
delta logL = 0.0430088003077

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  2.774e+00  9.826e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.131e+00  3.367e-01  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:  9.788e-01  1.489e-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:  9.965e-01  2.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.23
Ra Dec: 26.150 27.090
Photon Index (Free Index): 2.13 +/- 0.34
Photon Flux (Free Index): 1.56e-07 +/- 7.20e-08
Energy Flux (Free Index): 7.06e-05 +/- 2.80e-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/825185/cmap_HighResolution_574732801_574992001_4FGL_J0144.6+2705_daily_bin1294.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.42e-07', energy_flux2='7.06e-05', photon_flux_error='5.03e-08', dlogl='4.30e-02', energy_flux='7.48e-05', photon_flux2='1.56e-07', job_status='DONE', time_completed='2021-08-14 15:46:29.894293', photon_index_error2='0.34', photon_index2='2.13', ts='27.30', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.80e-05', EG='1.01', time_epoch_completed='1628981189.89', return_code='0', job_id='825185', GAL2='0.98', EG2='1.00', return_code2='0', energy_flux_error='2.65e-05', photon_flux_error2='7.20e-08', ts2='27.23', photon_index='2.03' WHERE bin_id='1294' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:46:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 825185: <4FGL_J0144.6+2705_daily_bin1294> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1294> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 15:30:39 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:33:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 15:33:05 2021
Terminated at Sat Aug 14 15:46:30 2021
Results reported at Sat Aug 14 15:46:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1294 26.1502 27.0899 574732801 574992001 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 :                                   674.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            951 sec.

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

