/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 208 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1358
RA = 26.1502, Dec = 27.0899
tmin = 591321601, tmax = 591580801
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='826430', job_status='RUN', time_executed='2021-08-14 15:41:15.313202', time_epoch_executed='1628980875.31' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1358'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826430

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826430/ft1_4FGL_J0144.6+2705_daily_bin1358.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826430/ft2_4FGL_J0144.6+2705_daily_bin1358.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826430/ft1_4FGL_J0144.6+2705_daily_bin1358.fits outfile=/scratch/kocevski/826430/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1358.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=591321601.0 tmax=591580801.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.03
user 2.68
sys 5.32

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826430/ft1_filtered_4FGL_J0144.6+2705_daily_bin1358.fits" evtable="EVENTS" scfile=/scratch/kocevski/826430/ft2_4FGL_J0144.6+2705_daily_bin1358.fits sctable="SC_DATA" outfile=/scratch/kocevski/826430/ltcube_591321601_591580801_4FGL_J0144.6+2705_daily_bin1358.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/826430/ft2_4FGL_J0144.6+2705_daily_bin1358.fits
.....................!
real 18.34
user 12.09
sys 6.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826430/ft1_filtered_4FGL_J0144.6+2705_daily_bin1358.fits evtable="EVENTS" scfile=/scratch/kocevski/826430/ft2_4FGL_J0144.6+2705_daily_bin1358.fits sctable="SC_DATA" expcube=/scratch/kocevski/826430/ltcube_591321601_591580801_4FGL_J0144.6+2705_daily_bin1358.fits outfile=/scratch/kocevski/826430/expmap_591321601_591580801_4FGL_J0144.6+2705_daily_bin1358.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/826430/ltcube_591321601_591580801_4FGL_J0144.6+2705_daily_bin1358.fits
.....................!
real 197.25
user 185.18
sys 11.64

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0144.6+2705 @ 26.1502 27.0899

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/826430/ft1_filtered_4FGL_J0144.6+2705_daily_bin1358.fits scfile=/scratch/kocevski/826430/ft2_4FGL_J0144.6+2705_daily_bin1358.fits outfile=/scratch/kocevski/826430/cmap_591321601_591580801_4FGL_J0144.6+2705_daily_bin1358.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 5.63
user 0.38
sys 5.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826430/ft1_filtered_4FGL_J0144.6+2705_daily_bin1358.fits scfile=/scratch/kocevski/826430/ft2_4FGL_J0144.6+2705_daily_bin1358.fits outfile=/scratch/kocevski/826430/cmap_HighResolution_591321601_591580801_4FGL_J0144.6+2705_daily_bin1358.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 5.62
user 0.37
sys 5.22

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    946.38       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13888E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    53.193       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.443       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10475E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    204.11       1.0000         .10000E-03   10000.    
    11 'norm      '    .94324       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.4129       1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.317       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.9808       1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.680       1.0000         .10000E-03   10000.    
    17 'Prefactor '    53.520       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11230E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.0370       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    40.022       1.0000         .10000E-03   10000.    
    23 'norm      '    13.101       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .23739       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .79930       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1232.806     FROM MIGRAD    STATUS=CONVERGED    991 CALLS     3589 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     946.35        835.38        .68326E-04   -.20882E-04
   2  Prefactor     .10017E-03    1237.3        .20530E-02** at limit **
   3  norm          .10000E-03    5.4155        .79740E-03** at limit **
   4  norm          .10000E-03    14.769        .13145E-02** at limit **
   5  Prefactor     52.669        967.60        .27497E-03    .62949E-05
   6  Prefactor     .10000E-03    45.653        .18142E-02** at limit **
   7  Prefactor     11.406        102.75        .11843E-03   -.35567E-04
   8  Prefactor     .10000E-03    195.63        .18142E-02** at limit **
   9  Prefactor     .10000E-03    84.959        .18142E-02** at limit **
  10  Prefactor     204.13        349.63        .28288E-04   -.25620E-04
  11  norm          .94331        1.6163        .57175E-03    .38996E-03
  12  Prefactor     5.4145        68.975        .17272E-03   -.65377E-04
  13  Prefactor     39.289        44.116        .63924E-04   -.50865E-04
  14  Prefactor     .10000E-03    83.276        .18142E-02** at limit **
  15  norm          4.9798        13.101        .17207E-03   -.82572E-04
  16  Prefactor     31.152        1480.6        .35594E-03    .41122E-05
  17  Prefactor     53.492        31.589        .54826E-04   -.12131E-04
  18  Prefactor     .10000E-03    17.817        .14410E-02** at limit **
  19  Prefactor     .10002E-03    95.409        .34049E-02** at limit **
  20  norm          2.0364        1.3087        .30578E-04    .14993E-03
  21  norm          .10000E-03    115.27        .18142E-02** at limit **
  22  Prefactor     39.986        116.37        .63360E-04   -.53129E-04
  23  norm          13.098        5.3987        .49240E-04   -.21438E-03
  24  Normalizat    .23877        .75541        .63864E-03   -.94436E-05
  25  Prefactor     .79894        .36342        .17896E-03    .37078E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 946.351
  Prefactor  = 0.000100173
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 52.6686
  Prefactor  = 0.000100001
  Prefactor  = 11.4065
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 204.125
  norm       = 0.943311
  Prefactor  = 5.41453
  Prefactor  = 39.2886
  Prefactor  = 0.0001
  norm       = 4.97982
  Prefactor  = 31.152
  Prefactor  = 53.4919
  Prefactor  = 0.0001
  Prefactor  = 0.000100022
  norm       = 2.03639
  norm       = 0.000100002
  Prefactor  = 39.986
  norm       = 13.098
  Normalizat = 0.238773
  Prefactor  = 0.798942
 **********
 **   18 **HESSE 
 **********

 FCN=   1232.806     FROM HESSE     STATUS=OK           401 CALLS     3990 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     946.35        835.08        .13665E-04   -.94540    
   2  Prefactor     .10017E-03    1237.3        .41061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.4156        .15948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    14.769        .26290E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     52.669        966.12        .10999E-04   -1.4255    
   6  Prefactor     .10000E-03    45.653        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.406        102.66        .47371E-05   -1.5032    
   8  Prefactor     .10000E-03    195.66        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    84.959        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     204.13        349.60        .56577E-05   -1.2841    
  11  norm          .94331        1.6160        .22870E-04   -1.5514    
  12  Prefactor     5.4145        68.836        .69088E-05   -1.5243    
  13  Prefactor     39.289        44.109        .12785E-04   -1.4454    
  14  Prefactor     .10000E-03    83.283        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.9798        13.096        .68827E-05   -1.5262    
  16  Prefactor     31.152        1477.9        .14238E-04   -1.4591    
  17  Prefactor     53.492        31.562        .21930E-05   -1.4244    
  18  Prefactor     .10000E-03    17.819        .28821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10002E-03    96.315        .68099E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.0364        1.3086        .12231E-05   -1.5423    
  21  norm          .10000E-03    115.27        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     39.986        116.37        .12672E-04   -1.4442    
  23  norm          13.098        5.3983        .98479E-05   -1.4984    
  24  Normalizat    .23877        .75296        .25546E-04   -1.2670    
  25  Prefactor     .79894        .36256        .35792E-04   -.99767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03186e-09
Minuit parameter uncertainties:
  1  846.839
  2  0.0298879
  3  4.31429e-05
  4  8.34496e-05
  5  460.054
  6  0.000339067
  7  68.5972
  8  0.00145714
  9  0.000256955
  10  353.261
  11  1.61607
  12  38.6663
  13  44.1458
  14  0.000320461
  15  13.1031
  16  441.245
  17  31.5722
  18  5.46454e-05
  19  0.00292536
  20  1.30861
  21  0.000976015
  22  117.04
  23  5.39846
  24  0.789125
  25  0.363645
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  9.433e-01  1.616e+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

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  7.989e-01  3.636e-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:  2.388e-01  7.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.62
Ra Dec: 26.150 27.090
Photon Flux Upper Limit: 3.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.68e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/826430/likelihoodResults_591321601_591580801_4FGL_J0144.6+2705_daily_bin1358.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) = 1232.70747779
delta logL = 0.098996319196

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1232.70403868
delta logL = 0.102435425809

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85952       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6496       1.0000          .0000       5.0000    
     3 'Normalizat'    .20962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80714       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=   1232.704     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      226 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85904        62.379        .10361E-01    .10141E-03
   2  alpha         2.6486        3.6652        .36857        .79971E-05
   3  Normalizat    .21147        .19515        .15400       -.16103E-04
   4  Prefactor     .80623        .92527E-01    .43810E-01   -.11171E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.859042
  alpha      = 2.64858
  Normalizat = 0.211471
  Prefactor  = 0.80623
 **********
 **   18 **HESSE 
 **********

 FCN=   1232.704     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85904        1.4849        .47245E-03   -1.5523    
   2  alpha         2.6486        1.3507        .14618E-01    .59468E-01
   3  Normalizat    .21147        .65293        .67547E-03   -1.2858    
   4  Prefactor     .80623        .34123        .17804E-03   -.99499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09655e-11
Minuit parameter uncertainties:
  1  1.485
  2  1.42724
  3  0.679089
  4  0.342126
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826430': 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) = 1232.70403451
delta logL = 0.102439596659

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  8.590e-01  1.485e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.649e+00  1.427e+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:  8.062e-01  3.421e-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:  2.115e-01  6.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.62
Ra Dec: 26.150 27.090

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/826430/cmap_HighResolution_591321601_591580801_4FGL_J0144.6+2705_daily_bin1358.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.68e-04', job_status='DONE', photon_flux_upper_limit='3.18e-07', time_completed='2021-08-14 15:49:09.880638', job_id='826430', GAL2='0.81', fit_tolerance='1e-08', EG2='0.21', EG='0.24', time_epoch_completed='1628981349.88', return_code2='0', ts='0.62', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.02e-01', ts2='0.83', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1358' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:49:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 826430: <4FGL_J0144.6+2705_daily_bin1358> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1358> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Aug 14 15:35:29 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:36:11 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:36:11 2021
Terminated at Sat Aug 14 15:49:11 2021
Results reported at Sat Aug 14 15:49:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1358 26.1502 27.0899 591321601 591580801 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 :                                   551.11 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             213.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            822 sec.

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

