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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1407
RA = 26.1502, Dec = 27.0899
tmin = 604022401, tmax = 604281601
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='826504', job_status='RUN', time_executed='2021-08-14 15:38:41.633261', time_epoch_executed='1628980721.63' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1407'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826504

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826504/ft1_4FGL_J0144.6+2705_daily_bin1407.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826504/ft2_4FGL_J0144.6+2705_daily_bin1407.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826504/ft1_4FGL_J0144.6+2705_daily_bin1407.fits outfile=/scratch/kocevski/826504/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1407.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=604022401.0 tmax=604281601.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.01
user 3.99
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/826504/ft2_4FGL_J0144.6+2705_daily_bin1407.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/826504/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1407.fits evtable="EVENTS" outfile="/scratch/kocevski/826504/ft1_filtered_4FGL_J0144.6+2705_daily_bin1407.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.66
user 0.34
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826504/ft1_filtered_4FGL_J0144.6+2705_daily_bin1407.fits evtable="EVENTS" scfile=/scratch/kocevski/826504/ft2_4FGL_J0144.6+2705_daily_bin1407.fits sctable="SC_DATA" expcube=/scratch/kocevski/826504/ltcube_604022401_604281601_4FGL_J0144.6+2705_daily_bin1407.fits outfile=/scratch/kocevski/826504/expmap_604022401_604281601_4FGL_J0144.6+2705_daily_bin1407.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/826504/ltcube_604022401_604281601_4FGL_J0144.6+2705_daily_bin1407.fits
.....................!
real 191.53
user 185.49
sys 5.37

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/826504/ft1_filtered_4FGL_J0144.6+2705_daily_bin1407.fits scfile=/scratch/kocevski/826504/ft2_4FGL_J0144.6+2705_daily_bin1407.fits outfile=/scratch/kocevski/826504/cmap_604022401_604281601_4FGL_J0144.6+2705_daily_bin1407.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826504/ft1_filtered_4FGL_J0144.6+2705_daily_bin1407.fits scfile=/scratch/kocevski/826504/ft2_4FGL_J0144.6+2705_daily_bin1407.fits outfile=/scratch/kocevski/826504/cmap_HighResolution_604022401_604281601_4FGL_J0144.6+2705_daily_bin1407.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.61
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1332       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.753       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0200       1.0000         .10000E-03   10000.    
     4 'norm      '    1.1504       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.628       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28952E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5250       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.323       1.0000         .10000E-03   10000.    
    10 'Prefactor '    162.99       1.0000         .10000E-03   10000.    
    11 'norm      '    2.2550       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0147       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8940       1.0000         .10000E-03   10000.    
    15 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.0078       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.9550       1.0000         .10000E-03   10000.    
    20 'norm      '    .96711       1.0000         .10000E-03   10000.    
    21 'norm      '    54.322       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.5066       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .62793       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0840       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=   7757.626     FROM MIGRAD    STATUS=CONVERGED    585 CALLS     2973 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1328        9.7104       -.19848E-05   -.79266E-04
   2  Prefactor     10.744        24.413       -.20256E-05   -.31294E-03
   3  norm          2.0200        .73378       -.65330E-08   -.17207E-04
   4  norm          1.1505        1.0094       -.11742E-06   -.33541E-03
   5  Prefactor     .10000E-03    12.116       -.93980E-06** at limit **
   6  Prefactor     11.628        5.3861       -.53820E-07    .65030E-04
   7  Prefactor     .10085E-03    5.8937        .32123E-06** at limit **
   8  Prefactor     2.5248        9.0916       -.27047E-05   -.24483E-03
   9  Prefactor     21.322        22.224        .72651E-07   -.26891E-05
  10  Prefactor     162.98        82.256       -.16698E-05    .34632E-04
  11  norm          2.2549        .70387       -.23492E-07    .79217E-06
  12  Prefactor     .10000E-03    13.304        .68143E-06** at limit **
  13  Prefactor     2.0106        15.437       -.18727E-04    .11231E-04
  14  Prefactor     2.8870        40.382        .14224E-05   -.84569E-04
  15  norm          .10000E-03    2.8286       -.26524E-06** at limit **
  16  Prefactor     .10000E-03    124.31       -.12535E-04** at limit **
  17  Prefactor     8.0114        8.3858        .29396E-05   -.23627E-03
  18  Prefactor     .10000E-03    2.4716       -.60428E-07** at limit **
  19  Prefactor     8.9517        10.390       -.71538E-05    .32208E-03
  20  norm          .96722        .72856        .29354E-06    .62591E-03
  21  norm          54.305        71.927       -.18163E-04    .16700E-03
  22  Prefactor     .10000E-03    10.120        .14641E-06** at limit **
  23  norm          2.5065        2.1387       -.50407E-07   -.41698E-03
  24  Normalizat    .62817        .19743        .40769E-05    .63997E-04
  25  Prefactor     1.0839        .11157        .25035E-06    .22487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.13277
  Prefactor  = 10.7442
  norm       = 2.02005
  norm       = 1.15052
  Prefactor  = 0.0001
  Prefactor  = 11.6275
  Prefactor  = 0.00010085
  Prefactor  = 2.52482
  Prefactor  = 21.3224
  Prefactor  = 162.984
  norm       = 2.25493
  Prefactor  = 0.0001
  Prefactor  = 2.01064
  Prefactor  = 2.88699
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 8.01137
  Prefactor  = 0.0001
  Prefactor  = 8.95173
  norm       = 0.967219
  norm       = 54.3048
  Prefactor  = 0.0001
  norm       = 2.50654
  Normalizat = 0.628166
  Prefactor  = 1.08392
 **********
 **   18 **HESSE 
 **********

 FCN=   7757.626     FROM HESSE     STATUS=OK           443 CALLS     3416 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1328        9.7028        .19827E-03   -1.5301    
   2  Prefactor     10.744        24.635        .61091E-03   -1.5052    
   3  norm          2.0200        .73436        .42191E-04   -1.5424    
   4  norm          1.1505        1.0121        .76841E-04   -1.5493    
   5  Prefactor     .10000E-03    12.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.628        5.3780        .11748E-03   -1.5026    
   7  Prefactor     .10085E-03    7.5291        .53398E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.5248        9.0956        .25707E-03   -1.5390    
   9  Prefactor     21.322        22.215        .86739E-04   -1.4784    
  10  Prefactor     162.98        82.212        .31590E-04   -1.3148    
  11  norm          2.2549        .70498        .39081E-04   -1.5408    
  12  Prefactor     .10000E-03    13.847        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.0106        16.183        .29163E-03   -1.5424    
  14  Prefactor     2.8870        39.444        .23887E-03   -1.5368    
  15  norm          .10000E-03    2.9405        .28842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    124.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.0114        8.2433        .14169E-03   -1.5142    
  18  Prefactor     .10000E-03    2.4958        .13520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.9517        10.321        .13394E-03   -1.5109    
  20  norm          .96722        .69478        .60602E-03   -1.5511    
  21  norm          54.305        71.539        .54422E-04   -1.4233    
  22  Prefactor     .10000E-03    10.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.5065        2.1309        .11468E-03   -1.5391    
  24  Normalizat    .62817        .21964        .36435E-03   -1.0680    
  25  Prefactor     1.0839        .12541        .17588E-03   -.89982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32261e-09
Minuit parameter uncertainties:
  1  9.70649
  2  24.6579
  3  0.734365
  4  1.01216
  5  2.36239e-05
  6  5.37826
  7  0.00505886
  8  9.10059
  9  22.2234
  10  82.2703
  11  0.704987
  12  0.000150767
  13  11.4123
  14  21.3592
  15  4.7098e-05
  16  0.00115876
  17  8.24449
  18  7.21777e-06
  19  10.323
  20  0.69479
  21  71.6526
  22  9.13126e-06
  23  2.131
  24  0.219944
  25  0.12544
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  2.255e+00  7.050e-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.084e+00  1.254e-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:  6.282e-01  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 44.17
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 1.14e-07 +/- 3.57e-08
Energy Flux (Fixed Index): 6.02e-05 +/- 1.88e-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) = 7756.67859438
delta logL = 0.947509919972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7756.65879179
delta logL = 0.967312504986

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2605       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6642       1.0000          .0000       5.0000    
     3 'Normalizat'    .65285       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0782       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=   7756.659     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .94E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2607        .73364        .68306E-02   -.17854E-03
   2  alpha         1.6642        .24452        .20637       -.24368E-04
   3  Normalizat    .65310        .17658        .80864E-01    .20538E-04
   4  Prefactor     1.0780        .10975        .38480E-01   -.16987E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.26072
  alpha      = 1.66421
  Normalizat = 0.6531
  Prefactor  = 1.07801
 **********
 **   18 **HESSE 
 **********

 FCN=   7756.659     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2607        .74480        .41027E-04   -1.5407    
   2  alpha         1.6642        .25886        .87199E-02   -.34088    
   3  Normalizat    .65310        .19698        .35810E-03   -1.0577    
   4  Prefactor     1.0780        .12290        .17641E-03   -.90172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76183e-12
Minuit parameter uncertainties:
  1  0.744799
  2  0.259379
  3  0.19719
  4  0.122931
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826504': 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) = 7756.65879043
delta logL = 0.967313869131

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  2.261e+00  7.448e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.664e+00  2.594e-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:  1.078e+00  1.229e-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:  6.531e-01  1.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 46.22
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.66 +/- 0.26
Photon Flux (Free Index): 8.38e-08 +/- 3.39e-08
Energy Flux (Free Index): 9.28e-05 +/- 4.50e-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/826504/cmap_HighResolution_604022401_604281601_4FGL_J0144.6+2705_daily_bin1407.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-07', energy_flux2='9.28e-05', photon_flux_error='3.57e-08', dlogl='9.67e-01', energy_flux='6.02e-05', photon_flux2='8.38e-08', job_status='DONE', time_completed='2021-08-14 15:50:47.058913', photon_index_error2='0.26', photon_index2='1.66', ts='44.17', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='4.50e-05', EG='0.63', time_epoch_completed='1628981447.06', return_code='0', job_id='826504', GAL2='1.08', EG2='0.65', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='3.39e-08', ts2='46.22', photon_index='2.03' WHERE bin_id='1407' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:50:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 826504: <4FGL_J0144.6+2705_daily_bin1407> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1407> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Aug 14 15:35:33 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:36:48 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:36:48 2021
Terminated at Sat Aug 14 15:50:47 2021
Results reported at Sat Aug 14 15:50:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1407 26.1502 27.0899 604022401 604281601 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 :                                   721.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            914 sec.

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

