/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 9 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 = 7395
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0144.6+2705_daily_bin354
RA = 26.1502, Dec = 27.0899
tmin = 331084801, tmax = 331344001
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='816866', job_status='RUN', time_executed='2021-08-14 15:02:30.307516', time_epoch_executed='1628978550.31' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='354'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816866

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816866/ft1_4FGL_J0144.6+2705_daily_bin354.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816866/ft2_4FGL_J0144.6+2705_daily_bin354.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816866/ft1_4FGL_J0144.6+2705_daily_bin354.fits outfile=/scratch/kocevski/816866/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin354.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=331084801.0 tmax=331344001.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.35
user 3.10
sys 0.85

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/816866/ft1_filtered_4FGL_J0144.6+2705_daily_bin354.fits" evtable="EVENTS" scfile=/scratch/kocevski/816866/ft2_4FGL_J0144.6+2705_daily_bin354.fits sctable="SC_DATA" outfile=/scratch/kocevski/816866/ltcube_331084801_331344001_4FGL_J0144.6+2705_daily_bin354.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/816866/ft2_4FGL_J0144.6+2705_daily_bin354.fits
.....................!
real 12.82
user 11.75
sys 0.99

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816866/ft1_filtered_4FGL_J0144.6+2705_daily_bin354.fits evtable="EVENTS" scfile=/scratch/kocevski/816866/ft2_4FGL_J0144.6+2705_daily_bin354.fits sctable="SC_DATA" expcube=/scratch/kocevski/816866/ltcube_331084801_331344001_4FGL_J0144.6+2705_daily_bin354.fits outfile=/scratch/kocevski/816866/expmap_331084801_331344001_4FGL_J0144.6+2705_daily_bin354.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/816866/ltcube_331084801_331344001_4FGL_J0144.6+2705_daily_bin354.fits
.....................!
real 193.19
user 186.83
sys 5.56

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/816866/ft1_filtered_4FGL_J0144.6+2705_daily_bin354.fits scfile=/scratch/kocevski/816866/ft2_4FGL_J0144.6+2705_daily_bin354.fits outfile=/scratch/kocevski/816866/cmap_331084801_331344001_4FGL_J0144.6+2705_daily_bin354.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.07
user 0.36
sys 0.69

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/816866/ft1_filtered_4FGL_J0144.6+2705_daily_bin354.fits scfile=/scratch/kocevski/816866/ft2_4FGL_J0144.6+2705_daily_bin354.fits outfile=/scratch/kocevski/816866/cmap_HighResolution_331084801_331344001_4FGL_J0144.6+2705_daily_bin354.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.13
user 0.39
sys 0.73

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4171       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.035       1.0000         .10000E-03   10000.    
     3 'norm      '    .41202       1.0000         .10000E-03   10000.    
     4 'norm      '    2.2561       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4742       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    73.522       1.0000         .10000E-03   10000.    
    11 'norm      '    .87879       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .43671       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.302       1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.785       1.0000         .10000E-03   10000.    
    15 'norm      '    1.2965       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .40612       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10991E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .25248E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    8.0814       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .81752       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0548       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=   8470.063     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     2959 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4226        18.391       -.35406E-05    .14974E-03
   2  Prefactor     18.046        25.214       -.55723E-06   -.31913E-04
   3  norm          .41194        .42472       -.17156E-06   -.59768E-03
   4  norm          2.2563        1.1418        .23479E-07    .66120E-03
   5  Prefactor     .10000E-03    54.600       -.67292E-06** at limit **
   6  Prefactor     4.4753        4.2592       -.21884E-06    .33849E-03
   7  Prefactor     .10000E-03    5.9294       -.27778E-06** at limit **
   8  Prefactor     .10000E-03    6.1310        .27612E-06** at limit **
   9  Prefactor     .10000E-03    12.908       -.39465E-07** at limit **
  10  Prefactor     73.484        78.817        .19809E-05    .17993E-03
  11  norm          .87896        .54153        .64313E-08   -.14314E-03
  12  Prefactor     .55207        8.6385       -.41605E-05    .54453E-04
  13  Prefactor     15.306        10.966        .51940E-07    .14179E-03
  14  Prefactor     32.788        22.346        .14500E-05    .55891E-04
  15  norm          1.2969        2.7423       -.44926E-06    .15470E-04
  16  Prefactor     .10000E-03    58.887        .86093E-06** at limit **
  17  Prefactor     .39395        25.901       -.12960E-04    .14784E-03
  18  Prefactor     .10000E-03    7.1739       -.57264E-06** at limit **
  19  Prefactor     .10000E-03    4.0885       -.19300E-06** at limit **
  20  norm          .10000E-03    .39752        .21583E-06** at limit **
  21  norm          .10001E-03    238.09        .76147E-05** at limit **
  22  Prefactor     .10000E-03    30.179        .33000E-07** at limit **
  23  norm          8.0825        3.0714       -.46724E-07    .19870E-03
  24  Normalizat    .81701        .18861        .32636E-05    .60009E-03
  25  Prefactor     1.0548        .10687       -.27971E-06    .47976E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42262
  Prefactor  = 18.0457
  norm       = 0.411944
  norm       = 2.2563
  Prefactor  = 0.0001
  Prefactor  = 4.47527
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 73.4841
  norm       = 0.878961
  Prefactor  = 0.55207
  Prefactor  = 15.3064
  Prefactor  = 32.7884
  norm       = 1.29691
  Prefactor  = 0.0001
  Prefactor  = 0.393949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100008
  Prefactor  = 0.0001
  norm       = 8.08253
  Normalizat = 0.817011
  Prefactor  = 1.05483
 **********
 **   18 **HESSE 
 **********

 FCN=   8470.063     FROM HESSE     STATUS=OK           437 CALLS     3396 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4226        18.570        .36358E-03   -1.5469    
   2  Prefactor     18.046        25.091        .94311E-04   -1.4858    
   3  norm          .41194        .40708        .57549E-03   -1.5580    
   4  norm          2.2563        1.1369        .66900E-04   -1.5408    
   5  Prefactor     .10000E-03    55.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4753        4.2459        .17680E-03   -1.5285    
   7  Prefactor     .10000E-03    6.1720        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.1547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     73.484        79.227        .23412E-03   -1.3991    
  11  norm          .87896        .53605        .49792E-04   -1.5520    
  12  Prefactor     .55207        45.774        .44510E-02   -1.5559    
  13  Prefactor     15.306        10.970        .10239E-03   -1.4925    
  14  Prefactor     32.788        22.360        .69982E-04   -1.4562    
  15  norm          1.2969        2.6917        .20693E-03   -1.5480    
  16  Prefactor     .10000E-03    58.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .39395        28.021        .30143E-02   -1.5582    
  18  Prefactor     .10000E-03    7.4024        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.1173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.5617        .11085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10001E-03    240.79        .21461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    30.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          8.0825        3.0724        .95670E-04   -1.5139    
  24  Normalizat    .81701        .21374        .33470E-03   -.99441    
  25  Prefactor     1.0548        .12154        .17973E-03   -.90923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84867e-09
Minuit parameter uncertainties:
  1  10.2833
  2  25.1059
  3  0.407081
  4  1.13687
  5  0.000172496
  6  4.24622
  7  3.69103e-05
  8  4.87903e-05
  9  4.73636e-05
  10  79.3412
  11  0.536048
  12  10.061
  13  10.9711
  14  22.3658
  15  2.69193
  16  0.000230461
  17  6.64731
  18  5.1004e-05
  19  3.97965e-06
  20  5.56178e-05
  21  0.00272316
  22  1.26797e-05
  23  3.07248
  24  0.21396
  25  0.121568
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  8.790e-01  5.360e-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.055e+00  1.216e-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.170e-01  2.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.19
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 4.46e-08 +/- 2.72e-08
Energy Flux (Fixed Index): 2.35e-05 +/- 1.43e-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) = 8470.05507414
delta logL = 0.00757573543888

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8470.05482498
delta logL = 0.00782490484198

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .87855       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9601       1.0000          .0000       5.0000    
     3 'Normalizat'    .82048       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0538       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=   8470.055     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87921        12.268        .11346E-01    .14309E-03
   2  alpha         1.9605        3.0139        .42435       -.69290E-05
   3  Normalizat    .82034        .98584E-01    .75482E-01    .29537E-04
   4  Prefactor     1.0539        .46815E-01    .39691E-01    .87556E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.879212
  alpha      = 1.96049
  Normalizat = 0.820339
  Prefactor  = 1.05387
 **********
 **   18 **HESSE 
 **********

 FCN=   8470.055     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .36E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87921        .52783        .50302E-04   -1.5520    
   2  alpha         1.9605        .56960        .16067E-01   -.21752    
   3  Normalizat    .82034        .19963        .33409E-03   -.99319    
   4  Prefactor     1.0539        .12050        .17981E-03   -.90955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61278e-13
Minuit parameter uncertainties:
  1  0.527835
  2  0.574901
  3  0.199808
  4  0.120527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816866': 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) = 8470.05482382
delta logL = 0.00782606342727

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  8.792e-01  5.278e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.960e+00  5.749e-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.054e+00  1.205e-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.203e-01  1.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.20
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.96 +/- 0.57
Photon Flux (Free Index): 4.15e-08 +/- 3.42e-08
Energy Flux (Free Index): 2.48e-05 +/- 1.88e-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/816866/cmap_HighResolution_331084801_331344001_4FGL_J0144.6+2705_daily_bin354.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.46e-08', energy_flux2='2.48e-05', photon_flux_error='2.72e-08', dlogl='7.83e-03', energy_flux='2.35e-05', photon_flux2='4.15e-08', job_status='DONE', time_completed='2021-08-14 15:15:08.951885', photon_index_error2='0.57', photon_index2='1.96', ts='8.19', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.88e-05', EG='0.82', time_epoch_completed='1628979308.95', return_code='0', job_id='816866', GAL2='1.05', EG2='0.82', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='3.42e-08', ts2='8.20', photon_index='2.03' WHERE bin_id='354' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:15:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 816866: <4FGL_J0144.6+2705_daily_bin354> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin354> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 15:00:50 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:02:00 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:02:00 2021
Terminated at Sat Aug 14 15:15:09 2021
Results reported at Sat Aug 14 15:15:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin354 26.1502 27.0899 331084801 331344001 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 :                                   764.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            859 sec.

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

