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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1448
RA = 26.1502, Dec = 27.0899
tmin = 614649601, tmax = 614908801
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='826567', job_status='RUN', time_executed='2021-08-14 15:37:49.832430', time_epoch_executed='1628980669.83' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1448'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826567

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826567/ft1_4FGL_J0144.6+2705_daily_bin1448.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826567/ft2_4FGL_J0144.6+2705_daily_bin1448.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826567/ft1_4FGL_J0144.6+2705_daily_bin1448.fits outfile=/scratch/kocevski/826567/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1448.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=614649601.0 tmax=614908801.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 3.43
user 2.77
sys 0.64

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/826567/ft2_4FGL_J0144.6+2705_daily_bin1448.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/826567/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1448.fits evtable="EVENTS" outfile="/scratch/kocevski/826567/ft1_filtered_4FGL_J0144.6+2705_daily_bin1448.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.96
user 0.28
sys 0.62

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826567/ft1_filtered_4FGL_J0144.6+2705_daily_bin1448.fits" evtable="EVENTS" scfile=/scratch/kocevski/826567/ft2_4FGL_J0144.6+2705_daily_bin1448.fits sctable="SC_DATA" outfile=/scratch/kocevski/826567/ltcube_614649601_614908801_4FGL_J0144.6+2705_daily_bin1448.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/826567/ft2_4FGL_J0144.6+2705_daily_bin1448.fits
.....................!
real 11.27
user 10.42
sys 0.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826567/ft1_filtered_4FGL_J0144.6+2705_daily_bin1448.fits evtable="EVENTS" scfile=/scratch/kocevski/826567/ft2_4FGL_J0144.6+2705_daily_bin1448.fits sctable="SC_DATA" expcube=/scratch/kocevski/826567/ltcube_614649601_614908801_4FGL_J0144.6+2705_daily_bin1448.fits outfile=/scratch/kocevski/826567/expmap_614649601_614908801_4FGL_J0144.6+2705_daily_bin1448.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/826567/ltcube_614649601_614908801_4FGL_J0144.6+2705_daily_bin1448.fits
.....................!
real 156.63
user 151.62
sys 4.64

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/826567/ft1_filtered_4FGL_J0144.6+2705_daily_bin1448.fits scfile=/scratch/kocevski/826567/ft2_4FGL_J0144.6+2705_daily_bin1448.fits outfile=/scratch/kocevski/826567/cmap_614649601_614908801_4FGL_J0144.6+2705_daily_bin1448.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.88
user 0.32
sys 0.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826567/ft1_filtered_4FGL_J0144.6+2705_daily_bin1448.fits scfile=/scratch/kocevski/826567/ft2_4FGL_J0144.6+2705_daily_bin1448.fits outfile=/scratch/kocevski/826567/cmap_HighResolution_614649601_614908801_4FGL_J0144.6+2705_daily_bin1448.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.94
user 0.34
sys 0.59

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9690       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.9403       1.0000         .10000E-03   10000.    
     3 'norm      '    .64412       1.0000         .10000E-03   10000.    
     4 'norm      '    1.1493       1.0000         .10000E-03   10000.    
     5 'Prefactor '    67.631       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7712       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2200       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.937       1.0000         .10000E-03   10000.    
    11 'norm      '    .83502       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.715       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10407E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .94661       1.0000         .10000E-03   10000.    
    21 'norm      '    31.571       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.7303       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1179       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .82516       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=   7471.824     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2980 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9721        10.838        .24943E-05   -.80682E-04
   2  Prefactor     7.9406        40.805       -.20976E-05   -.23806E-04
   3  norm          .64453        .67754       -.86940E-07   -.15545E-02
   4  norm          1.1496        1.1151       -.20705E-06   -.12484E-02
   5  Prefactor     67.647        50.603        .14540E-04    .41543E-05
   6  Prefactor     4.7705        5.3690        .57259E-06   -.20133E-03
   7  Prefactor     .10000E-03    1.3406        .67662E-07** at limit **
   8  Prefactor     2.2188        16.677       -.55208E-05   -.33123E-03
   9  Prefactor     .10000E-03    46.171       -.50486E-06** at limit **
  10  Prefactor     32.933        64.795       -.61770E-05   -.52072E-04
  11  norm          .83497        .50906        .88225E-07   -.46853E-03
  12  Prefactor     .10076E-03    7.4209        .32264E-05** at limit **
  13  Prefactor     16.722        15.707        .26338E-06   -.44161E-04
  14  Prefactor     .10000E-03    8.2077       -.80613E-07** at limit **
  15  norm          .10000E-03    .78108        .61903E-07** at limit **
  16  Prefactor     .10000E-03    76.079       -.18709E-04** at limit **
  17  Prefactor     .10000E-03    2.9969       -.25551E-07** at limit **
  18  Prefactor     .10000E-03    1.9734       -.20750E-07** at limit **
  19  Prefactor     .10000E-03    6.9608       -.33256E-07** at limit **
  20  norm          .94689        .57750        .30011E-07   -.25022E-03
  21  norm          31.581        71.618        .15888E-04   -.16028E-05
  22  Prefactor     .10000E-03    15.277        .14279E-06** at limit **
  23  norm          1.7304        1.8794       -.12312E-07   -.56905E-03
  24  Normalizat    1.1175        .18436       -.15953E-05   -.45886E-03
  25  Prefactor     .82535        .10241       -.42993E-06   -.60476E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.97211
  Prefactor  = 7.94063
  norm       = 0.644528
  norm       = 1.14959
  Prefactor  = 67.6471
  Prefactor  = 4.77055
  Prefactor  = 0.0001
  Prefactor  = 2.21877
  Prefactor  = 0.0001
  Prefactor  = 32.9328
  norm       = 0.834974
  Prefactor  = 0.000100761
  Prefactor  = 16.7224
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.946886
  norm       = 31.5811
  Prefactor  = 0.0001
  norm       = 1.73039
  Normalizat = 1.11745
  Prefactor  = 0.825346
 **********
 **   18 **HESSE 
 **********

 FCN=   7471.824     FROM HESSE     STATUS=OK           427 CALLS     3407 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9721        10.795        .16436E-03   -1.5219    
   2  Prefactor     7.9406        39.704        .14229E-03   -1.5144    
   3  norm          .64453        .63322        .63023E-03   -1.5547    
   4  norm          1.1496        1.0892        .85756E-04   -1.5494    
   5  Prefactor     67.647        50.772        .48806E-04   -1.4061    
   6  Prefactor     4.7705        5.3354        .18419E-03   -1.5271    
   7  Prefactor     .10000E-03    1.3448        .97724E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.2188        16.776        .27600E-03   -1.5410    
   9  Prefactor     .10000E-03    46.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.933        64.430        .69821E-04   -1.4560    
  11  norm          .83497        .50850        .45737E-04   -1.5525    
  12  Prefactor     .10076E-03    66.924        .43335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.722        15.696        .97965E-04   -1.4890    
  14  Prefactor     .10000E-03    8.2192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .78247        .74602E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    75.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.0278        .14608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.9815        .11857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.1171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .94689        .57071        .49586E-04   -1.5513    
  21  norm          31.581        71.549        .71311E-04   -1.4583    
  22  Prefactor     .10000E-03    15.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.7304        1.8644        .11936E-03   -1.5445    
  24  Normalizat    1.1175        .21073        .27803E-03   -.89193    
  25  Prefactor     .82535        .11947        .18854E-03   -.98801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16547e-08
Minuit parameter uncertainties:
  1  10.798
  2  35.5494
  3  0.633225
  4  1.08924
  5  50.8041
  6  5.33595
  7  5.94448e-07
  8  12.2065
  9  0.000114481
  10  64.567
  11  0.508503
  12  0.0142897
  13  15.7
  14  8.57315e-06
  15  1.07302e-06
  16  1.19648e-05
  17  8.684e-06
  18  1.40689e-06
  19  2.38521e-05
  20  0.570715
  21  71.7441
  22  3.95517e-06
  23  1.86449
  24  0.210885
  25  0.119503
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  8.350e-01  5.085e-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:  8.253e-01  1.195e-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.117e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.30
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 4.23e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.36e-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) = 7470.73248797
delta logL = 1.0916154166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7470.73014607
delta logL = 1.09395731653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57328       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2885       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1369       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82268       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=   7470.730     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57359        .37822        .92115E-02   -.29521E-03
   2  alpha         1.2884        .34092        .30525       -.48664E-04
   3  Normalizat    1.1367        .17040        .62393E-01    .12655E-04
   4  Prefactor     .82276        .10145        .44012E-01    .84888E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.573594
  alpha      = 1.28844
  Normalizat = 1.13673
  Prefactor  = 0.822762
 **********
 **   18 **HESSE 
 **********

 FCN=   7470.730     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57359        .48927        .39940E-04   -1.5557    
   2  alpha         1.2884        .46451        .12539E-01   -.50593    
   3  Normalizat    1.1367        .19780        .27597E-03   -.88581    
   4  Prefactor     .82276        .11794        .18883E-03   -.98895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97428e-12
Minuit parameter uncertainties:
  1  0.489276
  2  0.468071
  3  0.197925
  4  0.117981
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826567': 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) = 7470.73014515
delta logL = 1.09395823763

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  5.736e-01  4.893e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.288e+00  4.681e-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:  8.228e-01  1.180e-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.137e+00  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.50
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.29 +/- 0.47
Photon Flux (Free Index): 1.87e-08 +/- 1.59e-08
Energy Flux (Free Index): 5.47e-05 +/- 5.23e-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/826567/cmap_HighResolution_614649601_614908801_4FGL_J0144.6+2705_daily_bin1448.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.23e-08', energy_flux2='5.47e-05', photon_flux_error='2.58e-08', dlogl='1.09e+00', energy_flux='2.23e-05', photon_flux2='1.87e-08', job_status='DONE', time_completed='2021-08-14 15:47:42.138877', photon_index_error2='0.47', photon_index2='1.29', ts='9.30', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='5.23e-05', EG='1.12', time_epoch_completed='1628981262.14', return_code='0', job_id='826567', GAL2='0.82', EG2='1.14', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='1.59e-08', ts2='11.50', photon_index='2.03' WHERE bin_id='1448' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:47:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 826567: <4FGL_J0144.6+2705_daily_bin1448> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1448 26.1502 27.0899 614649601 614908801 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 :                                   596.00 sec.
    Max Memory :                                 1203 MB
    Average Memory :                             358.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            723 sec.

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

