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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin457
RA = 26.1502, Dec = 27.0899
tmin = 357782401, tmax = 358041601
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='818152', job_status='RUN', time_executed='2021-08-14 15:08:09.668400', time_epoch_executed='1628978889.67' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='457'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/818152

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/818152/ft1_4FGL_J0144.6+2705_daily_bin457.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/818152/ft2_4FGL_J0144.6+2705_daily_bin457.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/818152/ft1_4FGL_J0144.6+2705_daily_bin457.fits outfile=/scratch/kocevski/818152/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin457.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=357782401.0 tmax=358041601.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.25
user 3.28
sys 0.93

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/818152/ft1_filtered_4FGL_J0144.6+2705_daily_bin457.fits" evtable="EVENTS" scfile=/scratch/kocevski/818152/ft2_4FGL_J0144.6+2705_daily_bin457.fits sctable="SC_DATA" outfile=/scratch/kocevski/818152/ltcube_357782401_358041601_4FGL_J0144.6+2705_daily_bin457.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/818152/ft2_4FGL_J0144.6+2705_daily_bin457.fits
.....................!
real 13.88
user 12.67
sys 1.15

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/818152/ft1_filtered_4FGL_J0144.6+2705_daily_bin457.fits evtable="EVENTS" scfile=/scratch/kocevski/818152/ft2_4FGL_J0144.6+2705_daily_bin457.fits sctable="SC_DATA" expcube=/scratch/kocevski/818152/ltcube_357782401_358041601_4FGL_J0144.6+2705_daily_bin457.fits outfile=/scratch/kocevski/818152/expmap_357782401_358041601_4FGL_J0144.6+2705_daily_bin457.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/818152/ltcube_357782401_358041601_4FGL_J0144.6+2705_daily_bin457.fits
.....................!
real 192.25
user 185.61
sys 6.18

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/818152/ft1_filtered_4FGL_J0144.6+2705_daily_bin457.fits scfile=/scratch/kocevski/818152/ft2_4FGL_J0144.6+2705_daily_bin457.fits outfile=/scratch/kocevski/818152/cmap_357782401_358041601_4FGL_J0144.6+2705_daily_bin457.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.24
user 0.38
sys 0.84

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/818152/ft1_filtered_4FGL_J0144.6+2705_daily_bin457.fits scfile=/scratch/kocevski/818152/ft2_4FGL_J0144.6+2705_daily_bin457.fits outfile=/scratch/kocevski/818152/cmap_HighResolution_357782401_358041601_4FGL_J0144.6+2705_daily_bin457.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.24
user 0.39
sys 0.83

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .91749       1.0000         .10000E-03   10000.    
     4 'norm      '    .81807       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4803       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12245E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10860E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.378       1.0000         .10000E-03   10000.    
    10 'Prefactor '    37.783       1.0000         .10000E-03   10000.    
    11 'norm      '    .95537       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.3799       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.893       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8089       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.2744       1.0000         .10000E-03   10000.    
    20 'norm      '    1.3485       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    16.046       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .89285       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0866       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=   8082.848     FROM MIGRAD    STATUS=CONVERGED    624 CALLS     2583 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1149        .27380E-07** at limit **
   2  Prefactor     .10000E-03    10.867       -.26554E-06** at limit **
   3  norm          .91741        .51472        .67229E-08    .16990E-03
   4  norm          .81811        .98695        .10622E-06   -.32487E-07
   5  Prefactor     .10001E-03    59.292       -.62878E-05** at limit **
   6  Prefactor     4.4807        4.8143        .79175E-07    .52174E-04
   7  Prefactor     .10000E-03    3.2716        .66880E-07** at limit **
   8  Prefactor     .10000E-03    9.9722       -.87262E-06** at limit **
   9  Prefactor     32.375        27.505        .19165E-05    .29085E-03
  10  Prefactor     37.621        53.260       -.67477E-06   -.28708E-04
  11  norm          .95468        .63298        .28859E-07   -.20833E-03
  12  Prefactor     5.3790        7.3483       -.83160E-08   -.86977E-04
  13  Prefactor     .10000E-03    10.359        .91777E-06** at limit **
  14  Prefactor     .10000E-03    49.835        .21393E-05** at limit **
  15  norm          11.892        4.4232       -.18203E-07   -.64409E-04
  16  Prefactor     .10001E-03    68.453        .44540E-05** at limit **
  17  Prefactor     .10000E-03    9.6806        .10736E-06** at limit **
  18  Prefactor     1.8085        4.2715        .57671E-06   -.23058E-03
  19  Prefactor     8.2722        7.7904        .17178E-05   -.88369E-03
  20  norm          1.3485        .69010       -.49733E-07   -.24733E-03
  21  norm          .10000E-03    33.301       -.25704E-06** at limit **
  22  Prefactor     .10000E-03    25.042        .35547E-07** at limit **
  23  norm          16.046        3.5105       -.18569E-07   -.39089E-04
  24  Normalizat    .89298        .19075       -.48773E-06   -.25479E-04
  25  Prefactor     1.0865        .11498       -.16984E-06   -.31414E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.917412
  norm       = 0.818105
  Prefactor  = 0.000100013
  Prefactor  = 4.4807
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.3751
  Prefactor  = 37.6207
  norm       = 0.954678
  Prefactor  = 5.37902
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 11.8922
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 1.80854
  Prefactor  = 8.27222
  norm       = 1.34847
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 16.0457
  Normalizat = 0.89298
  Prefactor  = 1.08653
 **********
 **   18 **HESSE 
 **********

 FCN=   8082.848     FROM HESSE     STATUS=OK           425 CALLS     3008 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .91741        .52159        .46488E-04   -1.5516    
   4  norm          .81811        .86753        .94114E-03   -1.5527    
   5  Prefactor     .10001E-03    63.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4807        4.8039        .19022E-03   -1.5285    
   7  Prefactor     .10000E-03    13.968        .31080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.282        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.375        28.325        .70419E-04   -1.4569    
  10  Prefactor     37.621        53.266        .65203E-04   -1.4480    
  11  norm          .95468        .61552        .55202E-04   -1.5513    
  12  Prefactor     5.3790        7.3520        .17326E-03   -1.5244    
  13  Prefactor     .10000E-03    10.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    51.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.892        4.4191        .11129E-03   -1.5018    
  16  Prefactor     .10001E-03    70.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.069        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.8085        4.2846        .27812E-03   -1.5439    
  19  Prefactor     8.2722        8.6565        .69685E-03   -1.5133    
  20  norm          1.3485        .68702        .51036E-04   -1.5476    
  21  norm          .10000E-03    33.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    25.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          16.046        3.5100        .76260E-04   -1.4907    
  24  Normalizat    .89298        .21460        .33558E-03   -.96707    
  25  Prefactor     1.0865        .13123        .18903E-03   -.89898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35784e-09
Minuit parameter uncertainties:
  1  2.75015e-06
  2  3.20896e-05
  3  0.521594
  4  0.867548
  5  0.00183218
  6  4.80435
  7  8.78694e-06
  8  9.75916e-05
  9  28.3372
  10  53.3331
  11  0.615524
  12  7.35322
  13  0.00011181
  14  0.000541035
  15  4.41918
  16  0.00143962
  17  3.08474e-06
  18  4.28531
  19  8.65784
  20  0.687022
  21  5.65193e-05
  22  8.80663e-06
  23  3.51
  24  0.214807
  25  0.131264
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  9.547e-01  6.155e-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.087e+00  1.313e-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.930e-01  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.55
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 4.84e-08 +/- 3.12e-08
Energy Flux (Fixed Index): 2.55e-05 +/- 1.64e-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) = 8082.55481985
delta logL = 0.293262894539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8082.55132473
delta logL = 0.296758008393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .82300       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4105       1.0000          .0000       5.0000    
     3 'Normalizat'    .87652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0914       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=   8082.551     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82299        8.1761        .10363E-01   -.52848E-03
   2  alpha         2.4105        3.7052        .33062        .64231E-04
   3  Normalizat    .87652        .63501E-01    .76430E-01   -.72854E-04
   4  Prefactor     1.0913        .38499E-01    .37925E-01   -.16174E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.822987
  alpha      = 2.41053
  Normalizat = 0.876519
  Prefactor  = 1.09135
 **********
 **   18 **HESSE 
 **********

 FCN=   8082.551     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82299        .59580        .46835E-04   -1.5527    
   2  alpha         2.4105        .52064        .12628E-01   -.35796E-01
   3  Normalizat    .87652        .21153        .33828E-03   -.97290    
   4  Prefactor     1.0913        .13055        .18861E-03   -.89744    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48688e-10
Minuit parameter uncertainties:
  1  0.595807
  2  0.524481
  3  0.211732
  4  0.130588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/818152': 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) = 8082.55132473
delta logL = 0.296758013737

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  8.230e-01  5.958e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.411e+00  5.245e-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.091e+00  1.306e-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.765e-01  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.13
Ra Dec: 26.150 27.090
Photon Index (Free Index): 2.41 +/- 0.52
Photon Flux (Free Index): 6.45e-08 +/- 4.06e-08
Energy Flux (Free Index): 2.07e-05 +/- 1.36e-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/818152/cmap_HighResolution_357782401_358041601_4FGL_J0144.6+2705_daily_bin457.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.84e-08', energy_flux2='2.07e-05', photon_flux_error='3.12e-08', dlogl='2.97e-01', energy_flux='2.55e-05', photon_flux2='6.45e-08', job_status='DONE', time_completed='2021-08-14 15:20:20.091937', photon_index_error2='0.52', photon_index2='2.41', ts='4.55', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='1.36e-05', EG='0.89', time_epoch_completed='1628979620.09', return_code='0', job_id='818152', GAL2='1.09', EG2='0.88', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='4.06e-08', ts2='5.13', photon_index='2.03' WHERE bin_id='457' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:20:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 818152: <4FGL_J0144.6+2705_daily_bin457> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin457> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Aug 14 15:05:27 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:07:45 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:07:45 2021
Terminated at Sat Aug 14 15:20:20 2021
Results reported at Sat Aug 14 15:20:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin457 26.1502 27.0899 357782401 358041601 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 :                                   738.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            893 sec.

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

