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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1356
RA = 26.1502, Dec = 27.0899
tmin = 590803201, tmax = 591062401
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='826427', job_status='RUN', time_executed='2021-08-14 15:36:28.449220', time_epoch_executed='1628980588.45' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826427

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826427/ft1_4FGL_J0144.6+2705_daily_bin1356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826427/ft2_4FGL_J0144.6+2705_daily_bin1356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826427/ft1_4FGL_J0144.6+2705_daily_bin1356.fits outfile=/scratch/kocevski/826427/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1356.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=590803201.0 tmax=591062401.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 6.15
user 5.34
sys 0.78

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826427/ft1_filtered_4FGL_J0144.6+2705_daily_bin1356.fits" evtable="EVENTS" scfile=/scratch/kocevski/826427/ft2_4FGL_J0144.6+2705_daily_bin1356.fits sctable="SC_DATA" outfile=/scratch/kocevski/826427/ltcube_590803201_591062401_4FGL_J0144.6+2705_daily_bin1356.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/826427/ft2_4FGL_J0144.6+2705_daily_bin1356.fits
.....................!
real 12.55
user 11.66
sys 0.83

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826427/ft1_filtered_4FGL_J0144.6+2705_daily_bin1356.fits evtable="EVENTS" scfile=/scratch/kocevski/826427/ft2_4FGL_J0144.6+2705_daily_bin1356.fits sctable="SC_DATA" expcube=/scratch/kocevski/826427/ltcube_590803201_591062401_4FGL_J0144.6+2705_daily_bin1356.fits outfile=/scratch/kocevski/826427/expmap_590803201_591062401_4FGL_J0144.6+2705_daily_bin1356.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/826427/ltcube_590803201_591062401_4FGL_J0144.6+2705_daily_bin1356.fits
.....................!
real 191.21
user 185.74
sys 4.94

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/826427/ft1_filtered_4FGL_J0144.6+2705_daily_bin1356.fits scfile=/scratch/kocevski/826427/ft2_4FGL_J0144.6+2705_daily_bin1356.fits outfile=/scratch/kocevski/826427/cmap_590803201_591062401_4FGL_J0144.6+2705_daily_bin1356.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.04
user 0.38
sys 0.65

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826427/ft1_filtered_4FGL_J0144.6+2705_daily_bin1356.fits scfile=/scratch/kocevski/826427/ft2_4FGL_J0144.6+2705_daily_bin1356.fits outfile=/scratch/kocevski/826427/cmap_HighResolution_590803201_591062401_4FGL_J0144.6+2705_daily_bin1356.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.03
user 0.38
sys 0.64

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.9010       1.0000         .10000E-03   10000.    
     4 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.767       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2736       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.519       1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.565       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6440       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1430       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.6422       1.0000         .10000E-03   10000.    
    15 'norm      '    13.065       1.0000         .10000E-03   10000.    
    16 'Prefactor '    38.295       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.146       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .21678E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .35933E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.4375       1.0000         .10000E-03   10000.    
    21 'norm      '    .10174E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .51315E-01   1.0000         .10000E-03   10000.    
    23 'norm      '    10.192       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1356       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93251       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=   7541.154     FROM MIGRAD    STATUS=CONVERGED   1062 CALLS     3843 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.1178        .18142E-02** at limit **
   2  Prefactor     .10000E-03    18.876        .18142E-02** at limit **
   3  norm          1.9010        .75677        .45535E-04   -.86760E-03
   4  norm          .10001E-03    8.7780        .12104E-02** at limit **
   5  Prefactor     32.766        25.653        .70001E-04   -.16436E-04
   6  Prefactor     .10000E-03    3.8692        .16528E-02** at limit **
   7  Prefactor     2.2571        7.4805        .13617E-02    .77705E-03
   8  Prefactor     10.520        12.472        .12354E-03    .31657E-04
   9  Prefactor     35.562        38.331        .67200E-04    .29099E-04
  10  Prefactor     .10000E-03    48.332        .18142E-02** at limit **
  11  norm          1.6441        .71454        .46693E-04    .81735E-03
  12  Prefactor     .10000E-03    6.7393        .18142E-02** at limit **
  13  Prefactor     5.1423        12.673        .17728E-03    .15327E-04
  14  Prefactor     9.6436        18.090        .12905E-03    .29335E-04
  15  norm          13.066        5.7813        .11082E-03    .31997E-03
  16  Prefactor     38.305        69.384        .64768E-04   -.80182E-04
  17  Prefactor     13.146        9.2191        .11048E-03    .37026E-03
  18  Prefactor     .10006E-03    29.578        .32443E-02** at limit **
  19  Prefactor     .10001E-03    32.535        .36418E-02** at limit **
  20  norm          2.4376        .87961        .47354E-04    .13809E-02
  21  norm          .10003E-03    269.00        .18142E-02** at limit **
  22  Prefactor     .10225E-03    44.983        .16555    ** at limit **
  23  norm          10.192        3.3920        .88982E-04    .52409E-03
  24  Normalizat    1.1357        .25067        .31171E-03    .45424E-03
  25  Prefactor     .93244        .14068        .20300E-03    .45868E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.901
  norm       = 0.000100014
  Prefactor  = 32.7655
  Prefactor  = 0.0001
  Prefactor  = 2.25713
  Prefactor  = 10.5203
  Prefactor  = 35.5622
  Prefactor  = 0.0001
  norm       = 1.64414
  Prefactor  = 0.0001
  Prefactor  = 5.14227
  Prefactor  = 9.64357
  norm       = 13.0663
  Prefactor  = 38.3048
  Prefactor  = 13.1462
  Prefactor  = 0.000100061
  Prefactor  = 0.000100009
  norm       = 2.43764
  norm       = 0.000100029
  Prefactor  = 0.000102251
  norm       = 10.1917
  Normalizat = 1.13574
  Prefactor  = 0.93244
 **********
 **   18 **HESSE 
 **********

 FCN=   7541.154     FROM HESSE     STATUS=OK           411 CALLS     4254 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.1185        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.877        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.9010        .75671        .18214E-05   -1.5432    
   4  norm          .10001E-03    8.9355        .24208E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     32.766        25.653        .14000E-04   -1.4563    
   6  Prefactor     .10000E-03    3.8712        .33056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2571        7.4592        .54469E-04   -1.5407    
   8  Prefactor     10.520        12.470        .49415E-05   -1.5059    
   9  Prefactor     35.562        38.329        .13440E-04   -1.4515    
  10  Prefactor     .10000E-03    48.334        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6441        .71453        .18677E-05   -1.5452    
  12  Prefactor     .10000E-03    6.7419        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1423        12.672        .70910E-05   -1.5254    
  14  Prefactor     9.6436        18.091        .51621E-05   -1.5087    
  15  norm          13.066        5.7813        .44327E-05   -1.4985    
  16  Prefactor     38.305        69.385        .12954E-04   -1.4469    
  17  Prefactor     13.146        9.2178        .44190E-05   -1.4983    
  18  Prefactor     .10006E-03    30.650        .12977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    32.823        .72835E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.4376        .87946        .18942E-05   -1.5396    
  21  norm          .10003E-03    269.17        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10225E-03    47.243        .16023       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          10.192        3.3918        .35593E-05   -1.5069    
  24  Normalizat    1.1357        .25040        .62342E-04   -.88612    
  25  Prefactor     .93244        .14076        .40600E-04   -.95017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47042e-09
Minuit parameter uncertainties:
  1  1.44465e-05
  2  1.36942e-05
  3  0.756712
  4  0.000703306
  5  25.6612
  6  1.14454e-05
  7  7.46227
  8  12.4731
  9  38.356
  10  0.00030743
  11  0.714532
  12  7.94556e-05
  13  12.6787
  14  18.1016
  15  5.78152
  16  69.5319
  17  9.21881
  18  0.0027462
  19  0.00106967
  20  0.879463
  21  0.00560254
  22  0.0206432
  23  3.39189
  24  0.250666
  25  0.140813
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.644e+00  7.145e-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.324e-01  1.408e-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.136e+00  2.507e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.03
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 8.34e-08 +/- 3.62e-08
Energy Flux (Fixed Index): 4.39e-05 +/- 1.91e-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) = 7541.06803514
delta logL = 0.086080425157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7541.06594268
delta logL = 0.0881728866125

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6706       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8683       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1490       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92817       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=   7541.066     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      239 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6706        .73992        .48090E-04    .51158E-03
   2  alpha         1.8683        .38476        .11748E-01    .18356E-04
   3  Normalizat    1.1487        .23186        .31023E-03   -.16916E-03
   4  Prefactor     .92831        .13850        .20341E-03    .17589E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67064
  alpha      = 1.86827
  Normalizat = 1.14869
  Prefactor  = 0.92831
 **********
 **   18 **HESSE 
 **********

 FCN=   7541.066     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6706        .74062        .19236E-05   -1.5449    
   2  alpha         1.8683        .38504        .46990E-03   -.25546    
   3  Normalizat    1.1487        .23201        .12409E-04   -.88204    
   4  Prefactor     .92831        .13859        .40682E-04   -.95159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33112e-10
Minuit parameter uncertainties:
  1  0.740622
  2  0.386686
  3  0.232217
  4  0.138648
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826427': 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) = 7541.06594167
delta logL = 0.0881738935623

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.671e+00  7.406e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.868e+00  3.867e-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.283e-01  1.386e-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.149e+00  2.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.17
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.87 +/- 0.39
Photon Flux (Free Index): 7.24e-08 +/- 4.14e-08
Energy Flux (Free Index): 5.14e-05 +/- 3.08e-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/826427/cmap_HighResolution_590803201_591062401_4FGL_J0144.6+2705_daily_bin1356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.34e-08', energy_flux2='5.14e-05', photon_flux_error='3.62e-08', dlogl='8.82e-02', energy_flux='4.39e-05', photon_flux2='7.24e-08', job_status='DONE', time_completed='2021-08-14 15:49:55.301234', photon_index_error2='0.39', photon_index2='1.87', ts='13.03', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='3.08e-05', EG='1.14', time_epoch_completed='1628981395.3', return_code='0', job_id='826427', GAL2='0.93', EG2='1.15', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='4.14e-08', ts2='13.17', photon_index='2.03' WHERE bin_id='1356' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:49:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 826427: <4FGL_J0144.6+2705_daily_bin1356> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1356 26.1502 27.0899 590803201 591062401 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 :                                   811.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            868 sec.

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

