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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin634
RA = 26.1502, Dec = 27.0899
tmin = 403660801, tmax = 403920001
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='820903', job_status='RUN', time_executed='2021-08-14 15:16:11.545935', time_epoch_executed='1628979371.55' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='634'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820903

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820903/ft1_4FGL_J0144.6+2705_daily_bin634.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820903/ft2_4FGL_J0144.6+2705_daily_bin634.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820903/ft1_4FGL_J0144.6+2705_daily_bin634.fits outfile=/scratch/kocevski/820903/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin634.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=403660801.0 tmax=403920001.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 8.35
user 7.35
sys 0.95

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/820903/ft2_4FGL_J0144.6+2705_daily_bin634.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/820903/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin634.fits evtable="EVENTS" outfile="/scratch/kocevski/820903/ft1_filtered_4FGL_J0144.6+2705_daily_bin634.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.32
sys 0.88

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820903/ft1_filtered_4FGL_J0144.6+2705_daily_bin634.fits" evtable="EVENTS" scfile=/scratch/kocevski/820903/ft2_4FGL_J0144.6+2705_daily_bin634.fits sctable="SC_DATA" outfile=/scratch/kocevski/820903/ltcube_403660801_403920001_4FGL_J0144.6+2705_daily_bin634.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/820903/ft2_4FGL_J0144.6+2705_daily_bin634.fits
.....................!
real 13.06
user 11.78
sys 1.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820903/ft1_filtered_4FGL_J0144.6+2705_daily_bin634.fits evtable="EVENTS" scfile=/scratch/kocevski/820903/ft2_4FGL_J0144.6+2705_daily_bin634.fits sctable="SC_DATA" expcube=/scratch/kocevski/820903/ltcube_403660801_403920001_4FGL_J0144.6+2705_daily_bin634.fits outfile=/scratch/kocevski/820903/expmap_403660801_403920001_4FGL_J0144.6+2705_daily_bin634.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/820903/ltcube_403660801_403920001_4FGL_J0144.6+2705_daily_bin634.fits
.....................!
real 192.98
user 184.94
sys 6.63

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/820903/ft1_filtered_4FGL_J0144.6+2705_daily_bin634.fits scfile=/scratch/kocevski/820903/ft2_4FGL_J0144.6+2705_daily_bin634.fits outfile=/scratch/kocevski/820903/cmap_403660801_403920001_4FGL_J0144.6+2705_daily_bin634.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.19
user 0.37
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820903/ft1_filtered_4FGL_J0144.6+2705_daily_bin634.fits scfile=/scratch/kocevski/820903/ft2_4FGL_J0144.6+2705_daily_bin634.fits outfile=/scratch/kocevski/820903/cmap_HighResolution_403660801_403920001_4FGL_J0144.6+2705_daily_bin634.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.37
sys 0.85

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    5.8581       1.0000         .10000E-03   10000.    
     3 'norm      '    .73777       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    34.790       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8540       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.384       1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.227       1.0000         .10000E-03   10000.    
    11 'norm      '    1.6773       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.818       1.0000         .10000E-03   10000.    
    15 'norm      '    2.3289       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.366       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8786       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.6999       1.0000         .10000E-03   10000.    
    23 'norm      '    8.9669       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0967       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96549       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=   9555.113     FROM MIGRAD    STATUS=CONVERGED    610 CALLS     2900 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.9637        .95590E-07** at limit **
   2  Prefactor     5.8516        21.331       -.31517E-04   -.43387E-04
   3  norm          .73768        .45834        .38895E-06    .52965E-03
   4  norm          .10000E-03    .27254       -.37239E-07** at limit **
   5  Prefactor     34.782        29.821        .30560E-05    .12716E-04
   6  Prefactor     .10000E-03    1.7200       -.56682E-07** at limit **
   7  Prefactor     .10000E-03    3.2813        .52577E-07** at limit **
   8  Prefactor     8.8578        8.4680        .12235E-05   -.74728E-04
   9  Prefactor     28.388        25.547       -.11515E-05   -.22866E-05
  10  Prefactor     27.789        82.156       -.78550E-05   -.12662E-05
  11  norm          1.6779        .64352        .79857E-07   -.19927E-03
  12  Prefactor     .10000E-03    2.6071        .52356E-07** at limit **
  13  Prefactor     .10000E-03    8.5710        .23639E-06** at limit **
  14  Prefactor     17.817        16.341        .10319E-05   -.88330E-05
  15  norm          2.3276        3.5081       -.56984E-06   -.98208E-03
  16  Prefactor     .10000E-03    59.156        .34993E-06** at limit **
  17  Prefactor     13.367        7.6147        .14995E-06   -.65582E-04
  18  Prefactor     .10000E-03    3.3601        .32670E-07** at limit **
  19  Prefactor     7.8778        6.9827       -.58289E-06   -.14194E-03
  20  norm          .10000E-03    .21435       -.39352E-07** at limit **
  21  norm          .10000E-03    23.451        .38509E-07** at limit **
  22  Prefactor     9.6788        29.801        .15198E-04   -.10935E-04
  23  norm          8.9664        2.8225       -.59500E-07   -.19657E-03
  24  Normalizat    1.0965        .17599        .12998E-05   -.72345E-04
  25  Prefactor     .96564        .10246       -.43638E-06    .12814E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.85162
  norm       = 0.737677
  norm       = 0.0001
  Prefactor  = 34.7822
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.8578
  Prefactor  = 28.3884
  Prefactor  = 27.7893
  norm       = 1.67792
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.8165
  norm       = 2.32758
  Prefactor  = 0.0001
  Prefactor  = 13.3667
  Prefactor  = 0.0001
  Prefactor  = 7.87781
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 9.67875
  norm       = 8.9664
  Normalizat = 1.09651
  Prefactor  = 0.965643
 **********
 **   18 **HESSE 
 **********

 FCN=   9555.113     FROM HESSE     STATUS=OK           425 CALLS     3325 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.9693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.8516        21.372        .16593E-03   -1.5224    
   3  norm          .73768        .46345        .49526E-04   -1.5536    
   4  norm          .10000E-03    .27671        .49810E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     34.782        29.789        .67942E-04   -1.4528    
   6  Prefactor     .10000E-03    1.7329        .12504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3247        .17281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.8578        8.4547        .13470E-03   -1.5113    
   9  Prefactor     28.388        25.551        .75198E-04   -1.4642    
  10  Prefactor     27.789        82.266        .75407E-04   -1.4653    
  11  norm          1.6779        .64307        .44508E-04   -1.5449    
  12  Prefactor     .10000E-03    2.6177        .15412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.6714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.817        16.336        .94882E-04   -1.4864    
  15  norm          2.3276        3.4860        .20362E-03   -1.5403    
  16  Prefactor     .10000E-03    59.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.367        7.5699        .10956E-03   -1.4977    
  18  Prefactor     .10000E-03    3.4753        .34980E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.8778        6.9788        .14285E-03   -1.5147    
  20  norm          .10000E-03    .21449        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    23.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.6788        29.737        .12867E-03   -1.5086    
  23  norm          8.9664        2.8226        .88346E-04   -1.5109    
  24  Normalizat    1.0965        .20503        .31214E-03   -.89864    
  25  Prefactor     .96564        .11981        .19542E-03   -.93884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.41604e-10
Minuit parameter uncertainties:
  1  7.21522e-07
  2  21.3997
  3  0.463452
  4  2.79387e-07
  5  29.8022
  6  6.96999e-06
  7  4.6327e-06
  8  8.45579
  9  25.5609
  10  82.6042
  11  0.643071
  12  9.07081e-07
  13  9.8035e-06
  14  16.3404
  15  3.48635
  16  1.05649e-05
  17  7.57045
  18  1.31318e-05
  19  6.97954
  20  6.72915e-09
  21  6.0738e-06
  22  29.7826
  23  2.82267
  24  0.205181
  25  0.119841
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.678e+00  6.431e-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.656e-01  1.198e-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.097e+00  2.052e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 26.57
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 8.51e-08 +/- 3.26e-08
Energy Flux (Fixed Index): 4.48e-05 +/- 1.72e-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) = 9555.11177567
delta logL = 0.00116572545812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9555.11172184
delta logL = 0.00121954922542

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6803       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0153       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0983       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96512       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=   9555.112     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      230 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6799        10.450        .81246E-02    .13166E-03
   2  alpha         2.0151        3.4392        .30987        .14531E-04
   3  Normalizat    1.0981        .15524        .70503E-01    .22350E-04
   4  Prefactor     .96519        .65111E-01    .45830E-01    .88594E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67994
  alpha      = 2.01507
  Normalizat = 1.09808
  Prefactor  = 0.965189
 **********
 **   18 **HESSE 
 **********

 FCN=   9555.112     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6799        .61514        .44723E-04   -1.5449    
   2  alpha         2.0151        .36019        .11711E-01   -.19521    
   3  Normalizat    1.0981        .20190        .31196E-03   -.89813    
   4  Prefactor     .96519        .11892        .19546E-03   -.93899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54921e-11
Minuit parameter uncertainties:
  1  0.615139
  2  0.361496
  3  0.202044
  4  0.118949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820903': 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) = 9555.11172012
delta logL = 0.00122127196846

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.680e+00  6.151e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.015e+00  3.615e-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.652e-01  1.189e-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.098e+00  2.020e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.55
Ra Dec: 26.150 27.090
Photon Index (Free Index): 2.02 +/- 0.36
Photon Flux (Free Index): 8.37e-08 +/- 4.15e-08
Energy Flux (Free Index): 4.54e-05 +/- 2.07e-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/820903/cmap_HighResolution_403660801_403920001_4FGL_J0144.6+2705_daily_bin634.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.51e-08', energy_flux2='4.54e-05', photon_flux_error='3.26e-08', dlogl='1.22e-03', energy_flux='4.48e-05', photon_flux2='8.37e-08', job_status='DONE', time_completed='2021-08-14 15:30:11.574314', photon_index_error2='0.36', photon_index2='2.02', ts='26.57', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='1.10', time_epoch_completed='1628980211.57', return_code='0', job_id='820903', GAL2='0.97', EG2='1.10', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='4.15e-08', ts2='26.55', photon_index='2.03' WHERE bin_id='634' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:30:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 820903: <4FGL_J0144.6+2705_daily_bin634> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin634> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 14 15:15:20 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:15:47 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:15:47 2021
Terminated at Sat Aug 14 15:30:12 2021
Results reported at Sat Aug 14 15:30:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin634 26.1502 27.0899 403660801 403920001 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 :                                   847.41 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             342.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            892 sec.

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

