/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 62 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 = 7452
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1006
RA = 26.1502, Dec = 27.0899
tmin = 500083201, tmax = 500342401
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='823863', job_status='RUN', time_executed='2021-08-14 15:29:07.511737', time_epoch_executed='1628980147.51' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1006'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823863

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823863/ft1_4FGL_J0144.6+2705_daily_bin1006.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823863/ft2_4FGL_J0144.6+2705_daily_bin1006.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823863/ft1_4FGL_J0144.6+2705_daily_bin1006.fits outfile=/scratch/kocevski/823863/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1006.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=500083201.0 tmax=500342401.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.56
user 5.39
sys 1.09

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823863/ft1_filtered_4FGL_J0144.6+2705_daily_bin1006.fits" evtable="EVENTS" scfile=/scratch/kocevski/823863/ft2_4FGL_J0144.6+2705_daily_bin1006.fits sctable="SC_DATA" outfile=/scratch/kocevski/823863/ltcube_500083201_500342401_4FGL_J0144.6+2705_daily_bin1006.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/823863/ft2_4FGL_J0144.6+2705_daily_bin1006.fits
.....................!
real 12.81
user 11.54
sys 1.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823863/ft1_filtered_4FGL_J0144.6+2705_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/823863/ft2_4FGL_J0144.6+2705_daily_bin1006.fits sctable="SC_DATA" expcube=/scratch/kocevski/823863/ltcube_500083201_500342401_4FGL_J0144.6+2705_daily_bin1006.fits outfile=/scratch/kocevski/823863/expmap_500083201_500342401_4FGL_J0144.6+2705_daily_bin1006.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/823863/ltcube_500083201_500342401_4FGL_J0144.6+2705_daily_bin1006.fits
.....................!
real 191.12
user 184.58
sys 6.00

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/823863/ft1_filtered_4FGL_J0144.6+2705_daily_bin1006.fits scfile=/scratch/kocevski/823863/ft2_4FGL_J0144.6+2705_daily_bin1006.fits outfile=/scratch/kocevski/823863/cmap_500083201_500342401_4FGL_J0144.6+2705_daily_bin1006.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.37
user 0.38
sys 0.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823863/ft1_filtered_4FGL_J0144.6+2705_daily_bin1006.fits scfile=/scratch/kocevski/823863/ft2_4FGL_J0144.6+2705_daily_bin1006.fits outfile=/scratch/kocevski/823863/cmap_HighResolution_500083201_500342401_4FGL_J0144.6+2705_daily_bin1006.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.42
user 0.38
sys 0.96

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.1516       1.0000         .10000E-03   10000.    
     4 'norm      '    2.3246       1.0000         .10000E-03   10000.    
     5 'Prefactor '    41.492       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.912       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.386       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.2052       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.532       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.266       1.0000         .10000E-03   10000.    
    15 'norm      '    .10170E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .33048E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.815       1.0000         .10000E-03   10000.    
    20 'norm      '    2.8614       1.0000         .10000E-03   10000.    
    21 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.4392       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .75554       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0198       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=   6166.475     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2953 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.871       -.12210E-05** at limit **
   2  Prefactor     .10000E-03    26.626        .36254E-06** at limit **
   3  norm          1.1517        .70209        .42496E-08   -.13540E-03
   4  norm          2.3246        1.4933       -.98085E-07   -.61732E-04
   5  Prefactor     41.504        47.942        .19403E-05    .10270E-03
   6  Prefactor     .10000E-03    7.0978        .91154E-06** at limit **
   7  Prefactor     10.911        7.7994        .12898E-05   -.19600E-03
   8  Prefactor     .10000E-03    5.8793        .43187E-07** at limit **
   9  Prefactor     27.377        47.464       -.17914E-05   -.78523E-04
  10  Prefactor     .10000E-03    33.276        .12149E-05** at limit **
  11  norm          4.2052        1.0513        .47400E-08   -.12728E-03
  12  Prefactor     30.537        13.690        .24264E-06   -.23720E-04
  13  Prefactor     .10000E-03    10.424       -.69693E-07** at limit **
  14  Prefactor     18.257        17.148       -.12152E-06   -.11615E-03
  15  norm          .10000E-03    2.3750       -.37740E-07** at limit **
  16  Prefactor     .10000E-03    39.869       -.15803E-05** at limit **
  17  Prefactor     .10001E-03    4.1006        .52284E-06** at limit **
  18  Prefactor     .10000E-03    3.0186       -.16703E-08** at limit **
  19  Prefactor     15.810        10.593        .14555E-06   -.11017E-03
  20  norm          2.8613        .87757        .43267E-08   -.20242E-03
  21  norm          .10000E-03    35.088        .90621E-06** at limit **
  22  Prefactor     .10000E-03    17.281        .32618E-06** at limit **
  23  norm          4.4391        2.6747        .36770E-07   -.28192E-04
  24  Normalizat    .75541        .22341       -.14229E-05   -.50138E-04
  25  Prefactor     1.0198        .12761        .32307E-06   -.14304E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.15171
  norm       = 2.32464
  Prefactor  = 41.5038
  Prefactor  = 0.0001
  Prefactor  = 10.9113
  Prefactor  = 0.0001
  Prefactor  = 27.3775
  Prefactor  = 0.0001
  norm       = 4.20518
  Prefactor  = 30.537
  Prefactor  = 0.0001
  Prefactor  = 18.2574
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 15.81
  norm       = 2.86134
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.43915
  Normalizat = 0.755411
  Prefactor  = 1.01985
 **********
 **   18 **HESSE 
 **********

 FCN=   6166.475     FROM HESSE     STATUS=OK           421 CALLS     3374 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.688        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    26.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1517        .69788        .49361E-04   -1.5493    
   4  norm          2.3246        1.4899        .72502E-04   -1.5403    
   5  Prefactor     41.504        48.899        .62232E-04   -1.4419    
   6  Prefactor     .10000E-03    7.1119        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.911        8.1193        .60643E-03   -1.5047    
   8  Prefactor     .10000E-03    5.9016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.377        48.329        .76554E-04   -1.4661    
  10  Prefactor     .10000E-03    33.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2052        1.0514        .38631E-04   -1.5298    
  12  Prefactor     30.537        13.693        .36255E-03   -1.4602    
  13  Prefactor     .10000E-03    10.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.257        16.938        .93713E-04   -1.4853    
  15  norm          .10000E-03    4.8315        .23111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    40.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    19.141        .28661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.0787        .13321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.810        10.475        .10071E-03   -1.4913    
  20  norm          2.8613        .87705        .39096E-04   -1.5370    
  21  norm          .10000E-03    35.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    17.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4391        2.6746        .96038E-04   -1.5287    
  24  Normalizat    .75541        .24648        .35445E-03   -1.0174    
  25  Prefactor     1.0198        .14347        .18833E-03   -.92071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47355e-10
Minuit parameter uncertainties:
  1  0.000150258
  2  1.02875e-05
  3  0.697888
  4  1.48989
  5  48.9462
  6  5.22595e-05
  7  8.12008
  8  2.24336e-07
  9  48.3977
  10  0.000243331
  11  1.05143
  12  13.694
  13  3.19056e-06
  14  16.9421
  15  1.33664e-05
  16  0.000343404
  17  0.000790131
  18  9.21304e-07
  19  10.476
  20  0.877053
  21  0.000183998
  22  4.82653e-05
  23  2.67469
  24  0.246846
  25  0.143519
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  4.205e+00  1.051e+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:  1.020e+00  1.435e-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:  7.554e-01  2.468e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 64.80
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 2.13e-07 +/- 5.33e-08
Energy Flux (Fixed Index): 1.12e-04 +/- 2.81e-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) = 6166.44002458
delta logL = 0.034821151703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6166.43654673
delta logL = 0.0382990035459

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2848       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9667       1.0000          .0000       5.0000    
     3 'Normalizat'    .76547       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0168       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=   6166.437     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2849        1.5780        .48658E-02    .44140E-04
   2  alpha         1.9666        .32816        .16100        .55094E-04
   3  Normalizat    .76549        .21008        .79598E-01    .47368E-04
   4  Prefactor     1.0168        .12682        .42473E-01    .50898E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.28495
  alpha      = 1.96665
  Normalizat = 0.765489
  Prefactor  = 1.01681
 **********
 **   18 **HESSE 
 **********

 FCN=   6166.437     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2849        1.1104        .39438E-04   -1.5294    
   2  alpha         1.9666        .23876        .68600E-02   -.21499    
   3  Normalizat    .76549        .23471        .35241E-03   -1.0136    
   4  Prefactor     1.0168        .14254        .18862E-03   -.92171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31986e-11
Minuit parameter uncertainties:
  1  1.1104
  2  0.239138
  3  0.235023
  4  0.142597
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823863': 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) = 6166.43654669
delta logL = 0.0382990431826

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  4.285e+00  1.110e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.967e+00  2.391e-01  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.017e+00  1.426e-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:  7.655e-01  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 64.54
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.97 +/- 0.24
Photon Flux (Free Index): 2.03e-07 +/- 6.21e-08
Energy Flux (Free Index): 1.20e-04 +/- 4.30e-05

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/823863/cmap_HighResolution_500083201_500342401_4FGL_J0144.6+2705_daily_bin1006.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.13e-07', energy_flux2='1.20e-04', photon_flux_error='5.33e-08', dlogl='3.83e-02', energy_flux='1.12e-04', photon_flux2='2.03e-07', job_status='DONE', time_completed='2021-08-14 15:40:05.672240', photon_index_error2='0.24', photon_index2='1.97', ts='64.80', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='4.30e-05', EG='0.76', time_epoch_completed='1628980805.67', return_code='0', job_id='823863', GAL2='1.02', EG2='0.77', return_code2='0', energy_flux_error='2.81e-05', photon_flux_error2='6.21e-08', ts2='64.54', photon_index='2.03' WHERE bin_id='1006' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:40:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 823863: <4FGL_J0144.6+2705_daily_bin1006> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1006> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 14 15:25:36 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:27:33 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:27:33 2021
Terminated at Sat Aug 14 15:40:06 2021
Results reported at Sat Aug 14 15:40:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1006 26.1502 27.0899 500083201 500342401 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 :                                   669.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            870 sec.

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

