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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin25
RA = 26.1502, Dec = 27.0899
tmin = 245808001, tmax = 246067201
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='815100', job_status='RUN', time_executed='2021-08-14 14:56:28.975955', time_epoch_executed='1628978188.98' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='25'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/815100

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/815100/ft1_4FGL_J0144.6+2705_daily_bin25.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/815100/ft2_4FGL_J0144.6+2705_daily_bin25.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/815100/ft1_4FGL_J0144.6+2705_daily_bin25.fits outfile=/scratch/kocevski/815100/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin25.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=245808001.0 tmax=246067201.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.75
user 1.27
sys 2.40

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/815100/ft1_filtered_4FGL_J0144.6+2705_daily_bin25.fits" evtable="EVENTS" scfile=/scratch/kocevski/815100/ft2_4FGL_J0144.6+2705_daily_bin25.fits sctable="SC_DATA" outfile=/scratch/kocevski/815100/ltcube_245808001_246067201_4FGL_J0144.6+2705_daily_bin25.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/815100/ft2_4FGL_J0144.6+2705_daily_bin25.fits
.....................!
real 15.13
user 12.27
sys 2.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/815100/ft1_filtered_4FGL_J0144.6+2705_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/815100/ft2_4FGL_J0144.6+2705_daily_bin25.fits sctable="SC_DATA" expcube=/scratch/kocevski/815100/ltcube_245808001_246067201_4FGL_J0144.6+2705_daily_bin25.fits outfile=/scratch/kocevski/815100/expmap_245808001_246067201_4FGL_J0144.6+2705_daily_bin25.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/815100/ltcube_245808001_246067201_4FGL_J0144.6+2705_daily_bin25.fits
.....................!
real 194.11
user 185.85
sys 7.89

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/815100/ft1_filtered_4FGL_J0144.6+2705_daily_bin25.fits scfile=/scratch/kocevski/815100/ft2_4FGL_J0144.6+2705_daily_bin25.fits outfile=/scratch/kocevski/815100/cmap_245808001_246067201_4FGL_J0144.6+2705_daily_bin25.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 2.49
user 0.36
sys 2.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/815100/ft1_filtered_4FGL_J0144.6+2705_daily_bin25.fits scfile=/scratch/kocevski/815100/ft2_4FGL_J0144.6+2705_daily_bin25.fits outfile=/scratch/kocevski/815100/cmap_HighResolution_245808001_246067201_4FGL_J0144.6+2705_daily_bin25.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 2.69
user 0.37
sys 2.31

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.392       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .92488       1.0000         .10000E-03   10000.    
     4 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.461       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0997       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.940       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.592       1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.345       1.0000         .10000E-03   10000.    
    11 'norm      '    .24454       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .52714E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.0829       1.0000         .10000E-03   10000.    
    16 'Prefactor '    109.09       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.866       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .27344       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    79.399       1.0000         .10000E-03   10000.    
    23 'norm      '    5.0229       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .89713       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93133       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=   7480.604     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     2916 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.393        11.395       -.12948E-06    .11944E-04
   2  Prefactor     .10000E-03    7.2198       -.14958E-06** at limit **
   3  norm          .92489        .47320       -.24493E-07    .96520E-04
   4  norm          .10000E-03    .45917        .59441E-07** at limit **
   5  Prefactor     23.465        40.862       -.13710E-05    .20446E-04
   6  Prefactor     1.0971        3.5613        .10608E-05   -.23910E-03
   7  Prefactor     .10000E-03    3.5783       -.13470E-06** at limit **
   8  Prefactor     14.941        10.687        .11941E-06    .12521E-03
   9  Prefactor     18.550        38.192       -.35019E-05   -.24156E-05
  10  Prefactor     32.309        84.383        .47601E-05    .52070E-04
  11  norm          .24472        .44085       -.98354E-06   -.14295E-02
  12  Prefactor     .10011E-03    6.5213       -.14367E-05** at limit **
  13  Prefactor     .10000E-03    4.1317       -.78048E-07** at limit **
  14  Prefactor     .10000E-03    6.9397        .10629E-06** at limit **
  15  norm          5.0833        4.4169       -.25201E-06   -.10684E-04
  16  Prefactor     109.05        118.55       -.12545E-05   -.65844E-06
  17  Prefactor     10.866        8.5396        .10518E-05   -.59140E-03
  18  Prefactor     .10000E-03    3.7042        .36849E-06** at limit **
  19  Prefactor     .10000E-03    2.7802       -.42706E-07** at limit **
  20  norm          .27353        .52401        .14190E-06   -.32279E-03
  21  norm          .10000E-03    36.346        .22902E-06** at limit **
  22  Prefactor     79.418        67.415        .10338E-05    .20596E-04
  23  norm          5.0232        2.4053       -.47405E-07    .11730E-04
  24  Normalizat    .89716        .18350        .11045E-05    .18188E-03
  25  Prefactor     .93122        .10778        .18428E-06    .23754E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3927
  Prefactor  = 0.0001
  norm       = 0.924888
  norm       = 0.0001
  Prefactor  = 23.4646
  Prefactor  = 1.09708
  Prefactor  = 0.0001
  Prefactor  = 14.9409
  Prefactor  = 18.5505
  Prefactor  = 32.309
  norm       = 0.244724
  Prefactor  = 0.000100109
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.08326
  Prefactor  = 109.049
  Prefactor  = 10.8664
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.273534
  norm       = 0.0001
  Prefactor  = 79.418
  norm       = 5.02318
  Normalizat = 0.897158
  Prefactor  = 0.93122
 **********
 **   18 **HESSE 
 **********

 FCN=   7480.604     FROM HESSE     STATUS=OK           435 CALLS     3351 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.393        11.383        .96039E-04   -1.4874    
   2  Prefactor     .10000E-03    7.2239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .92489        .46967        .41139E-04   -1.5516    
   4  norm          .10000E-03    .84694        .11352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.465        40.052        .82699E-04   -1.4739    
   6  Prefactor     1.0971        3.3963        .25692E-03   -1.5498    
   7  Prefactor     .10000E-03    3.6366        .15969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.941        10.670        .10362E-03   -1.4935    
   9  Prefactor     18.550        38.372        .92888E-04   -1.4846    
  10  Prefactor     32.309        84.363        .70455E-04   -1.4571    
  11  norm          .24472        .43361        .81973E-03   -1.5609    
  12  Prefactor     .10011E-03    24.503        .40935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.1427        .17171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.9419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.0833        4.3972        .15212E-03   -1.5257    
  16  Prefactor     109.05        118.66        .19254E-03   -1.3616    
  17  Prefactor     10.866        8.4226        .60770E-03   -1.5049    
  18  Prefactor     .10000E-03    3.7459        .16231E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.7904        .14082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .27353        .42570        .83258E-03   -1.5603    
  21  norm          .10000E-03    36.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     79.418        67.535        .45070E-04   -1.3923    
  23  norm          5.0232        2.4063        .90033E-04   -1.5260    
  24  Normalizat    .89716        .21119        .30554E-03   -.96560    
  25  Prefactor     .93122        .12668        .18204E-03   -.95059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.47199e-09
Minuit parameter uncertainties:
  1  11.3847
  2  7.1399e-06
  3  0.469674
  4  1.62566e-05
  5  40.098
  6  3.39686
  7  1.18197e-05
  8  10.6718
  9  38.4233
  10  84.6774
  11  0.433613
  12  0.00326862
  13  8.07556e-06
  14  6.56774e-06
  15  4.3975
  16  118.916
  17  8.42351
  18  1.22177e-05
  19  7.5762e-06
  20  0.425701
  21  2.97378e-06
  22  67.5999
  23  2.4063
  24  0.211381
  25  0.126717
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  2.447e-01  4.336e-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.312e-01  1.267e-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.972e-01  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 26.150 27.090
Photon Flux Upper Limit: 7.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.86e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/815100/likelihoodResults_245808001_246067201_4FGL_J0144.6+2705_daily_bin25.txt

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) = 7480.10417996
delta logL = 0.500042201636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7480.09343064
delta logL = 0.510791520827

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25397       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1625       1.0000          .0000       5.0000    
     3 'Normalizat'    .85139       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94309       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=   7480.093     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25401        2.8615        .84037E-02    .33655E-02
   2  alpha         3.1624        3.9561        .43146        .94375E-04
   3  Normalizat    .85137        .36713E-01    .70648E-01    .27389E-03
   4  Prefactor     .94310        .22374E-01    .45552E-01    .17034E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.254007
  alpha      = 3.16238
  Normalizat = 0.851375
  Prefactor  = 0.943098
 **********
 **   18 **HESSE 
 **********

 FCN=   7480.093     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25401        .65650        .38290E-03   -1.5607    
   2  alpha         3.1624        1.6232        .15706E-01    .26815    
   3  Normalizat    .85137        .21043        .31260E-03   -.98190    
   4  Prefactor     .94310        .12582        .18089E-03   -.94651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55399e-10
Minuit parameter uncertainties:
  1  0.656523
  2  1.78077
  3  0.210628
  4  0.125864
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/815100': 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) = 7480.09343061
delta logL = 0.510791549817

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  2.540e-01  6.565e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  3.162e+00  1.781e+00  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.431e-01  1.259e-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.514e-01  2.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.56
Ra Dec: 26.150 27.090
Photon Index (Free Index): 3.16 +/- 1.78
Photon Flux (Free Index): 5.75e-08 +/- 5.50e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.13e-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/815100/cmap_HighResolution_245808001_246067201_4FGL_J0144.6+2705_daily_bin25.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-05', comment='SUCCESS', energy_flux2='1.12e-05', dlogl='5.11e-01', photon_flux2='5.75e-08', job_status='DONE', time_completed='2021-08-14 15:09:42.832899', photon_index_error2='1.78', photon_index2='3.16', ts='0.51', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='7.33e-08', energy_flux_error2='1.13e-05', EG='0.90', time_epoch_completed='1628978982.83', return_code='0', job_id='815100', GAL2='0.94', EG2='0.85', return_code2='0', photon_flux_error2='5.50e-08', ts2='1.56', photon_index='2.03' WHERE bin_id='25' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:09:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 815100: <4FGL_J0144.6+2705_daily_bin25> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin25> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 14:55:27 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 14:55:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 14:55:40 2021
Terminated at Sat Aug 14 15:09:43 2021
Results reported at Sat Aug 14 15:09:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin25 26.1502 27.0899 245808001 246067201 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 :                                   824.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            856 sec.

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

