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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1133
RA = 26.1502, Dec = 27.0899
tmin = 533001601, tmax = 533260801
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='824952', job_status='RUN', time_executed='2021-08-14 15:34:43.189781', time_epoch_executed='1628980483.19' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/824952

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/824952/ft1_4FGL_J0144.6+2705_daily_bin1133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/824952/ft2_4FGL_J0144.6+2705_daily_bin1133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/824952/ft1_4FGL_J0144.6+2705_daily_bin1133.fits outfile=/scratch/kocevski/824952/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1133.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=533001601.0 tmax=533260801.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.58
user 3.28
sys 1.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/824952/ft1_filtered_4FGL_J0144.6+2705_daily_bin1133.fits" evtable="EVENTS" scfile=/scratch/kocevski/824952/ft2_4FGL_J0144.6+2705_daily_bin1133.fits sctable="SC_DATA" outfile=/scratch/kocevski/824952/ltcube_533001601_533260801_4FGL_J0144.6+2705_daily_bin1133.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/824952/ft2_4FGL_J0144.6+2705_daily_bin1133.fits
.....................!
real 13.46
user 11.91
sys 1.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/824952/ft1_filtered_4FGL_J0144.6+2705_daily_bin1133.fits evtable="EVENTS" scfile=/scratch/kocevski/824952/ft2_4FGL_J0144.6+2705_daily_bin1133.fits sctable="SC_DATA" expcube=/scratch/kocevski/824952/ltcube_533001601_533260801_4FGL_J0144.6+2705_daily_bin1133.fits outfile=/scratch/kocevski/824952/expmap_533001601_533260801_4FGL_J0144.6+2705_daily_bin1133.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/824952/ltcube_533001601_533260801_4FGL_J0144.6+2705_daily_bin1133.fits
.....................!
real 193.42
user 186.91
sys 6.13

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/824952/ft1_filtered_4FGL_J0144.6+2705_daily_bin1133.fits scfile=/scratch/kocevski/824952/ft2_4FGL_J0144.6+2705_daily_bin1133.fits outfile=/scratch/kocevski/824952/cmap_533001601_533260801_4FGL_J0144.6+2705_daily_bin1133.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.56
user 0.36
sys 1.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/824952/ft1_filtered_4FGL_J0144.6+2705_daily_bin1133.fits scfile=/scratch/kocevski/824952/ft2_4FGL_J0144.6+2705_daily_bin1133.fits outfile=/scratch/kocevski/824952/cmap_HighResolution_533001601_533260801_4FGL_J0144.6+2705_daily_bin1133.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.56
user 0.38
sys 1.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.017       1.0000         .10000E-03   10000.    
     3 'norm      '    2.9790       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.444       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.884       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.6338       1.0000         .10000E-03   10000.    
    10 'Prefactor '    64.398       1.0000         .10000E-03   10000.    
    11 'norm      '    .74372       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5200       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.2999       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0511       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    7.8289       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .97351       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98078       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=   7472.037     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2933 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.9990        .97965E-08** at limit **
   2  Prefactor     19.015        42.510       -.35951E-05    .19393E-04
   3  norm          2.9788        1.0521        .11062E-06   -.11449E-03
   4  norm          .10000E-03    .54147       -.56954E-07** at limit **
   5  Prefactor     .10000E-03    31.537       -.19263E-04** at limit **
   6  Prefactor     11.442        6.0914       -.60372E-06    .20980E-03
   7  Prefactor     15.884        8.4009       -.15741E-06   -.11613E-04
   8  Prefactor     .10000E-03    10.001        .21531E-05** at limit **
   9  Prefactor     3.6415        55.376        .16747E-04   -.59840E-05
  10  Prefactor     64.399        65.695        .18690E-06    .11955E-04
  11  norm          .74386        .55750        .74899E-08   -.22886E-04
  12  Prefactor     1.5080        14.615       -.12295E-04   -.37991E-03
  13  Prefactor     .10000E-03    2.9415       -.59888E-07** at limit **
  14  Prefactor     .10000E-03    9.2790       -.15994E-05** at limit **
  15  norm          .10000E-03    2.3312       -.13948E-06** at limit **
  16  Prefactor     .10000E-03    40.628        .38402E-04** at limit **
  17  Prefactor     6.3021        8.2487        .90458E-06   -.13756E-03
  18  Prefactor     1.0519        4.0991       -.19703E-05   -.12272E-02
  19  Prefactor     .10000E-03    5.1283       -.35393E-07** at limit **
  20  norm          .10000E-03    .34917       -.31938E-07** at limit **
  21  norm          .10000E-03    49.900        .20697E-04** at limit **
  22  Prefactor     .10000E-03    60.707       -.48162E-04** at limit **
  23  norm          7.8288        3.3969        .13521E-05   -.68012E-04
  24  Normalizat    .97348        .20476        .49400E-06    .21474E-03
  25  Prefactor     .98081        .11227        .23099E-07    .42965E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.0152
  norm       = 2.97881
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4425
  Prefactor  = 15.884
  Prefactor  = 0.0001
  Prefactor  = 3.64149
  Prefactor  = 64.3985
  norm       = 0.743859
  Prefactor  = 1.50799
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.30214
  Prefactor  = 1.05191
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.8288
  Normalizat = 0.97348
  Prefactor  = 0.980807
 **********
 **   18 **HESSE 
 **********

 FCN=   7472.037     FROM HESSE     STATUS=OK           425 CALLS     3358 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0021        .16882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.015        42.772        .91844E-04   -1.4836    
   3  norm          2.9788        1.0577        .46197E-04   -1.5363    
   4  norm          .10000E-03    .55673        .12395E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    31.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.442        6.0844        .11842E-03   -1.5031    
   7  Prefactor     15.884        8.4587        .10050E-03   -1.4911    
   8  Prefactor     .10000E-03    10.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6415        55.131        .21193E-03   -1.5326    
  10  Prefactor     64.399        65.622        .50008E-04   -1.4101    
  11  norm          .74386        .54782        .53402E-04   -1.5535    
  12  Prefactor     1.5080        15.083        .34658E-03   -1.5462    
  13  Prefactor     .10000E-03    2.9437        .14479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.2867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.3501        .12863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    40.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3021        8.2217        .15992E-03   -1.5206    
  18  Prefactor     1.0519        4.0974        .33656E-03   -1.5503    
  19  Prefactor     .10000E-03    5.1504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .72287        .98833E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    49.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    60.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          7.8288        3.3888        .10057E-03   -1.5148    
  24  Normalizat    .97348        .23698        .32923E-03   -.93924    
  25  Prefactor     .98081        .13085        .18959E-03   -.93372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78557e-09
Minuit parameter uncertainties:
  1  4.46094e-08
  2  42.8415
  3  1.0577
  4  3.00559e-07
  5  9.77615e-05
  6  6.08477
  7  8.45929
  8  5.45715e-06
  9  28.3689
  10  65.6962
  11  0.54782
  12  9.54117
  13  1.12972e-06
  14  1.17105e-05
  15  1.06013e-05
  16  2.14411e-05
  17  8.22322
  18  4.09851
  19  1.91824e-05
  20  8.70898e-06
  21  9.97053e-06
  22  0.000141605
  23  3.38889
  24  0.237235
  25  0.130891
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  7.439e-01  5.478e-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.808e-01  1.309e-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.735e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.79
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.77e-08 +/- 2.78e-08
Energy Flux (Fixed Index): 1.99e-05 +/- 1.46e-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) = 7471.99088611
delta logL = 0.0460343268287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7471.99068275
delta logL = 0.0462376802625

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74785       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8681       1.0000          .0000       5.0000    
     3 'Normalizat'    .97839       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97951       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=   7471.991     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74803        19.713        .12135E-01    .36729E-03
   2  alpha         1.8684        2.5998        .41658       -.11302E-04
   3  Normalizat    .97838        .12228        .74239E-01    .72858E-04
   4  Prefactor     .97951        .77000E-01    .46010E-01   -.22290E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.748031
  alpha      = 1.86842
  Normalizat = 0.978381
  Prefactor  = 0.979509
 **********
 **   18 **HESSE 
 **********

 FCN=   7471.991     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74803        .55546        .54268E-04   -1.5535    
   2  alpha         1.8684        .52738        .15569E-01   -.25540    
   3  Normalizat    .97838        .22115        .32851E-03   -.93758    
   4  Prefactor     .97951        .12880        .18971E-03   -.93416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46092e-11
Minuit parameter uncertainties:
  1  0.555466
  2  0.53165
  3  0.221356
  4  0.128845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/824952': 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) = 7471.99068257
delta logL = 0.0462378638149

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  7.480e-01  5.555e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.868e+00  5.316e-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.795e-01  1.288e-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.784e-01  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.88
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.87 +/- 0.53
Photon Flux (Free Index): 3.24e-08 +/- 2.93e-08
Energy Flux (Free Index): 2.30e-05 +/- 2.10e-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/824952/cmap_HighResolution_533001601_533260801_4FGL_J0144.6+2705_daily_bin1133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.77e-08', energy_flux2='2.30e-05', photon_flux_error='2.78e-08', dlogl='4.62e-02', energy_flux='1.99e-05', photon_flux2='3.24e-08', job_status='DONE', time_completed='2021-08-14 15:46:35.227855', photon_index_error2='0.53', photon_index2='1.87', ts='4.79', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.10e-05', EG='0.97', time_epoch_completed='1628981195.23', return_code='0', job_id='824952', GAL2='0.98', EG2='0.98', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='2.93e-08', ts2='4.88', photon_index='2.03' WHERE bin_id='1133' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:46:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 824952: <4FGL_J0144.6+2705_daily_bin1133> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1133> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 15:30:21 2021
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:30:37 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:30:37 2021
Terminated at Sat Aug 14 15:46:36 2021
Results reported at Sat Aug 14 15:46:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1133 26.1502 27.0899 533001601 533260801 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 :                                   724.43 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             273.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            975 sec.

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

