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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1357
RA = 26.1502, Dec = 27.0899
tmin = 591062401, tmax = 591321601
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='826428', job_status='RUN', time_executed='2021-08-14 15:39:58.664882', time_epoch_executed='1628980798.66' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1357'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826428

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826428/ft1_4FGL_J0144.6+2705_daily_bin1357.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826428/ft2_4FGL_J0144.6+2705_daily_bin1357.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826428/ft1_4FGL_J0144.6+2705_daily_bin1357.fits outfile=/scratch/kocevski/826428/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1357.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=591062401.0 tmax=591321601.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.65
user 2.81
sys 2.79

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826428/ft1_filtered_4FGL_J0144.6+2705_daily_bin1357.fits" evtable="EVENTS" scfile=/scratch/kocevski/826428/ft2_4FGL_J0144.6+2705_daily_bin1357.fits sctable="SC_DATA" outfile=/scratch/kocevski/826428/ltcube_591062401_591321601_4FGL_J0144.6+2705_daily_bin1357.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/826428/ft2_4FGL_J0144.6+2705_daily_bin1357.fits
.....................!
real 16.57
user 13.24
sys 3.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826428/ft1_filtered_4FGL_J0144.6+2705_daily_bin1357.fits evtable="EVENTS" scfile=/scratch/kocevski/826428/ft2_4FGL_J0144.6+2705_daily_bin1357.fits sctable="SC_DATA" expcube=/scratch/kocevski/826428/ltcube_591062401_591321601_4FGL_J0144.6+2705_daily_bin1357.fits outfile=/scratch/kocevski/826428/expmap_591062401_591321601_4FGL_J0144.6+2705_daily_bin1357.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/826428/ltcube_591062401_591321601_4FGL_J0144.6+2705_daily_bin1357.fits
.....................!
real 196.67
user 187.24
sys 8.89

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/826428/ft1_filtered_4FGL_J0144.6+2705_daily_bin1357.fits scfile=/scratch/kocevski/826428/ft2_4FGL_J0144.6+2705_daily_bin1357.fits outfile=/scratch/kocevski/826428/cmap_591062401_591321601_4FGL_J0144.6+2705_daily_bin1357.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 3.12
user 0.38
sys 2.64

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826428/ft1_filtered_4FGL_J0144.6+2705_daily_bin1357.fits scfile=/scratch/kocevski/826428/ft2_4FGL_J0144.6+2705_daily_bin1357.fits outfile=/scratch/kocevski/826428/cmap_HighResolution_591062401_591321601_4FGL_J0144.6+2705_daily_bin1357.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 3.14
user 0.39
sys 2.68

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2402.6       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15948E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.219       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    146.42       1.0000         .10000E-03   10000.    
     9 'Prefactor '    335.40       1.0000         .10000E-03   10000.    
    10 'Prefactor '    217.14       1.0000         .10000E-03   10000.    
    11 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.0719       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    48.364       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    69.047       1.0000         .10000E-03   10000.    
    18 'Prefactor '    50.945       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.9783       1.0000         .10000E-03   10000.    
    21 'norm      '    162.01       1.0000         .10000E-03   10000.    
    22 'Prefactor '    149.64       1.0000         .10000E-03   10000.    
    23 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .87176E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97818       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1286.560     FROM MIGRAD    STATUS=CONVERGED     93 CALLS     3201 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2402.6        1.0046       -.13575E-09    .81966E-03
   2  Prefactor     .32207E-02    40.762       -.54748E-06    .23842E-02
   3  norm          10.214        10.610       -.17567E-07   -.26829E-02
   4  norm          .10000E-03    15.766        .18818E-05** at limit **
   5  Prefactor     .12851E-03    120.24        .60007E-06** at limit **
   6  Prefactor     .10061E-03    44.177        .74196E-05** at limit **
   7  Prefactor     .15039E-02    73.745       -.54201E-06** at limit **
   8  Prefactor     146.42        1.0711       -.20590E-08    .80142E-03
   9  Prefactor     335.40        1.0260        .68249E-09   -.84536E-03
  10  Prefactor     217.14        1.0022       -.37839E-09    .19016E-03
  11  norm          .10000E-03    2.4725       -.59822E-06** at limit **
  12  Prefactor     4.0740        1.0294       -.15294E-07   -.21367E-04
  13  Prefactor     .10256E-03    51.697        .55967E-06** at limit **
  14  Prefactor     .10759E-03    86.003       -.14375E-05** at limit **
  15  norm          48.366        1.0459       -.86638E-08    .23221E-04
  16  Prefactor     .20553E-03    114.25        .98572E-06** at limit **
  17  Prefactor     69.042        1.1724       -.64010E-08    .36350E-03
  18  Prefactor     50.951        1.1183       -.70718E-08    .67305E-03
  19  Prefactor     .10000E-03    8.1634       -.10539E-05** at limit **
  20  norm          3.9785        1.7853        .23450E-06    .40217E-03
  21  norm          162.01        1.0083        .65481E-09   -.30937E-03
  22  Prefactor     149.64        1.0006       -.65422E-09    .13618E-03
  23  norm          .10000E-03    4.1756       -.66125E-06** at limit **
  24  Normalizat    .86877E-01    1.4340       -.63669E-04    .12178E-04
  25  Prefactor     .97822        .33771        .13540E-04    .17814E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2402.58
  Prefactor  = 0.00322071
  norm       = 10.2144
  norm       = 0.0001
  Prefactor  = 0.000128509
  Prefactor  = 0.000100612
  Prefactor  = 0.00150388
  Prefactor  = 146.419
  Prefactor  = 335.402
  Prefactor  = 217.139
  norm       = 0.0001
  Prefactor  = 4.07402
  Prefactor  = 0.000102561
  Prefactor  = 0.00010759
  norm       = 48.3657
  Prefactor  = 0.000205531
  Prefactor  = 69.0417
  Prefactor  = 50.9512
  Prefactor  = 0.0001
  norm       = 3.97847
  norm       = 162.015
  Prefactor  = 149.64
  norm       = 0.0001
  Normalizat = 0.0868769
  Prefactor  = 0.978219
 **********
 **   18 **HESSE 
 **********

 FCN=   1286.560     FROM HESSE     STATUS=NOT POSDEF   469 CALLS     3670 TOTAL
                     EDM=   .51E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2402.6        2508.9        .23406E-03   -.54625    
   2  Prefactor     .32207E-02    970.29        .90712E-02   -1.5697    
   3  norm          10.214        9.8601        .31335E-02   -1.5069    
   4  norm          .10000E-03    13.505        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12851E-03    242.42        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10061E-03    37.977        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .15039E-02    636.15        .90712E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     146.42        159.43        .83254E-03   -1.3282    
   9  Prefactor     335.40        279.48        .55543E-03   -1.2024    
  10  Prefactor     217.14        648.98        .68612E-03   -1.2750    
  11  norm          .10000E-03    2.1025        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.0740        1958.5        .49951E-02   -1.5304    
  13  Prefactor     .10256E-03    45.368        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10759E-03    75.214        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          48.366        35.617        .14415E-02   -1.4316    
  16  Prefactor     .20553E-03    203.70        .90712E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     69.042        124.84        .12077E-02   -1.4044    
  18  Prefactor     50.951        37.970        .14047E-02   -1.4279    
  19  Prefactor     .10000E-03    7.0228        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.9785        2.4958        .50554E-02   -1.5309    
  21  norm          162.01        195.02        .79209E-03   -1.3155    
  22  Prefactor     149.64        301.29        .82367E-03   -1.3255    
  23  norm          .10000E-03    3.9437        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .86877E-01    8.6342        .31402       -1.3951    
  25  Prefactor     .97822        1.5427        .45994E-01   -.93459    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.07506e-06
Minuit parameter uncertainties:
  1  2681.54
  2  3.53912
  3  9.86166
  4  7.25816e-05
  5  0.166945
  6  0.0096452
  7  1.91069
  8  159.905
  9  280.614
  10  672.602
  11  8.31552e-06
  12  185.105
  13  0.0215742
  14  0.0478466
  15  35.6332
  16  0.294237
  17  125.322
  18  37.9884
  19  3.05592e-05
  20  2.49586
  21  195.804
  22  304.474
  23  1.29842e-05
  24  3.83753
  25  1.62206
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1286.55991066

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  8.316e-06  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.782e-01  1.622e+00  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.688e-02  3.838e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 26.150 27.090
Photon Flux Upper Limit: 4.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.26e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/826428/likelihoodResults_591062401_591321601_4FGL_J0144.6+2705_daily_bin1357.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) = 1286.56178552
delta logL = -0.00187485624747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1286.55991122
delta logL = -5.60209173273e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10402E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0546       1.0000          .0000       5.0000    
     3 'Normalizat'    .86610E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97840       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=   1286.560     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      198 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.097         .0000    ** at limit **
   2  alpha         2.0783        3.4074         .0000       -.47107E-04
   3  Normalizat    .86871E-01    8.7332         .0000       -.27838E-05
   4  Prefactor     .97822        8.4475         .0000       -.34844E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.07828
  Normalizat = 0.0868714
  Prefactor  = 0.978219
 **********
 **   18 **HESSE 
 **********

 FCN=   1286.560     FROM HESSE     STATUS=OK            27 CALLS      225 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5789        .55688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0783        3.4399        .16803E-01   -.16950    
   3  Normalizat    .86871E-01    .99318        .11188E-01   -1.3951    
   4  Prefactor     .97822        .30037        .20296E-03   -.93459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60665e-09
Minuit parameter uncertainties:
  1  8.0689e-05
  2  2.46473
  3  0.564563
  4  0.300887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826428': 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) = 1286.55990981
delta logL = 8.54566224007e-07

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  8.069e-05  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.078e+00  2.465e+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:  9.782e-01  3.009e-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.687e-02  5.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 26.150 27.090

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/826428/cmap_HighResolution_591062401_591321601_4FGL_J0144.6+2705_daily_bin1357.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.26e-04', job_status='DONE', photon_flux_upper_limit='4.28e-07', time_completed='2021-08-14 15:47:26.252827', job_id='826428', GAL2='0.98', fit_tolerance='1e-08', EG2='0.09', EG='0.09', time_epoch_completed='1628981246.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='102', GAL='0.98', dlogl='8.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1357' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:47:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 826428: <4FGL_J0144.6+2705_daily_bin1357> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1357 26.1502 27.0899 591062401 591321601 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 :                                   485.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             224.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            718 sec.

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

