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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin132
RA = 26.1502, Dec = 27.0899
tmin = 273542401, tmax = 273801601
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='815285', job_status='RUN', time_executed='2021-08-14 14:56:51.408641', time_epoch_executed='1628978211.41' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='132'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/815285

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/815285/ft1_4FGL_J0144.6+2705_daily_bin132.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/815285/ft2_4FGL_J0144.6+2705_daily_bin132.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/815285/ft1_4FGL_J0144.6+2705_daily_bin132.fits outfile=/scratch/kocevski/815285/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin132.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=273542401.0 tmax=273801601.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.73
user 3.37
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/815285/ft1_filtered_4FGL_J0144.6+2705_daily_bin132.fits" evtable="EVENTS" scfile=/scratch/kocevski/815285/ft2_4FGL_J0144.6+2705_daily_bin132.fits sctable="SC_DATA" outfile=/scratch/kocevski/815285/ltcube_273542401_273801601_4FGL_J0144.6+2705_daily_bin132.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/815285/ft2_4FGL_J0144.6+2705_daily_bin132.fits
.....................!
real 12.30
user 11.85
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/815285/ft1_filtered_4FGL_J0144.6+2705_daily_bin132.fits evtable="EVENTS" scfile=/scratch/kocevski/815285/ft2_4FGL_J0144.6+2705_daily_bin132.fits sctable="SC_DATA" expcube=/scratch/kocevski/815285/ltcube_273542401_273801601_4FGL_J0144.6+2705_daily_bin132.fits outfile=/scratch/kocevski/815285/expmap_273542401_273801601_4FGL_J0144.6+2705_daily_bin132.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/815285/ltcube_273542401_273801601_4FGL_J0144.6+2705_daily_bin132.fits
.....................!
real 191.05
user 184.82
sys 5.70

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/815285/ft1_filtered_4FGL_J0144.6+2705_daily_bin132.fits scfile=/scratch/kocevski/815285/ft2_4FGL_J0144.6+2705_daily_bin132.fits outfile=/scratch/kocevski/815285/cmap_273542401_273801601_4FGL_J0144.6+2705_daily_bin132.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 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/815285/ft1_filtered_4FGL_J0144.6+2705_daily_bin132.fits scfile=/scratch/kocevski/815285/ft2_4FGL_J0144.6+2705_daily_bin132.fits outfile=/scratch/kocevski/815285/cmap_HighResolution_273542401_273801601_4FGL_J0144.6+2705_daily_bin132.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 0.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.4752       1.0000         .10000E-03   10000.    
     4 'norm      '    2.4940       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.0988       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.214       1.0000         .10000E-03   10000.    
    10 'Prefactor '    106.67       1.0000         .10000E-03   10000.    
    11 'norm      '    1.6798       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.744       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.819       1.0000         .10000E-03   10000.    
    15 'norm      '    3.2049       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15891E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.9285       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .30222E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.979       1.0000         .10000E-03   10000.    
    20 'norm      '    1.2552       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.6028       1.0000         .10000E-03   10000.    
    23 'norm      '    2.9546       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .93566       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89659       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=   7436.238     FROM MIGRAD    STATUS=CONVERGED    588 CALLS     2972 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.338        .20585E-06** at limit **
   2  Prefactor     .10000E-03    9.3703        .32073E-06** at limit **
   3  norm          1.4753        .64993        .20840E-07    .88861E-04
   4  norm          2.4939        1.3609        .13141E-07    .38582E-04
   5  Prefactor     .10000E-03    9.8031       -.30263E-06** at limit **
   6  Prefactor     .10000E-03    1.2449       -.21554E-06** at limit **
   7  Prefactor     .10000E-03    2.2405       -.24767E-06** at limit **
   8  Prefactor     8.0998        9.5706        .45337E-06   -.26479E-03
   9  Prefactor     12.214        18.022        .59462E-06    .37687E-05
  10  Prefactor     106.64        113.20       -.19700E-04    .65147E-05
  11  norm          1.6796        .89353        .46485E-06   -.24930E-03
  12  Prefactor     .10000E-03    4.6500       -.13519E-06** at limit **
  13  Prefactor     14.747        12.064       -.53364E-06    .11380E-04
  14  Prefactor     17.830        18.281       -.92423E-05   -.26439E-04
  15  norm          3.2078        3.3235        .16212E-06    .23506E-04
  16  Prefactor     .10000E-03    168.31       -.38067E-05** at limit **
  17  Prefactor     1.9191        1.7352        .18014E-06   -.17980E-02
  18  Prefactor     .10000E-03    3.3465       -.16954E-06** at limit **
  19  Prefactor     19.984        10.073       -.10167E-07    .24723E-04
  20  norm          1.2553        .64941       -.74765E-07    .15575E-03
  21  norm          .10000E-03    23.115       -.95613E-06** at limit **
  22  Prefactor     4.5894        58.722       -.96771E-05   -.25276E-05
  23  norm          2.9548        2.2986       -.10866E-06    .38238E-05
  24  Normalizat    .93541        .18650        .19813E-05    .24636E-04
  25  Prefactor     .89667        .10744        .56753E-06    .11729E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.47526
  norm       = 2.49391
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.0998
  Prefactor  = 12.2138
  Prefactor  = 106.645
  norm       = 1.67957
  Prefactor  = 0.0001
  Prefactor  = 14.7468
  Prefactor  = 17.8303
  norm       = 3.20782
  Prefactor  = 0.0001
  Prefactor  = 1.91913
  Prefactor  = 0.0001
  Prefactor  = 19.9836
  norm       = 1.25528
  norm       = 0.0001
  Prefactor  = 4.58943
  norm       = 2.95484
  Normalizat = 0.935414
  Prefactor  = 0.896667
 **********
 **   18 **HESSE 
 **********

 FCN=   7436.238     FROM HESSE     STATUS=OK           431 CALLS     3403 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.853        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.3730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4753        .65093        .44299E-04   -1.5465    
   4  norm          2.4939        1.3579        .70857E-04   -1.5392    
   5  Prefactor     .10000E-03    9.8083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.2476        .93955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.2507        .12599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.0998        9.6294        .70442E-03   -1.5139    
   9  Prefactor     12.214        18.022        .11462E-03   -1.5009    
  10  Prefactor     106.64        113.51        .38938E-04   -1.3639    
  11  norm          1.6796        .88993        .50312E-04   -1.5449    
  12  Prefactor     .10000E-03    4.6907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.747        12.070        .10431E-03   -1.4940    
  14  Prefactor     17.830        18.752        .94880E-04   -1.4863    
  15  norm          3.2078        3.4919        .15282E-03   -1.5350    
  16  Prefactor     .10000E-03    168.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9191        7.3182        .14956E-02   -1.5431    
  18  Prefactor     .10000E-03    9.3213        .30516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.984        10.127        .89608E-04   -1.4814    
  20  norm          1.2553        .64818        .47824E-04   -1.5484    
  21  norm          .10000E-03    23.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.5894        58.857        .18761E-03   -1.5279    
  23  norm          2.9548        2.2993        .11105E-03   -1.5364    
  24  Normalizat    .93541        .21564        .30893E-03   -.95227    
  25  Prefactor     .89667        .12415        .18834E-03   -.96258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.9459e-09
Minuit parameter uncertainties:
  1  6.42081e-05
  2  4.97347e-06
  3  0.650936
  4  1.35795
  5  2.83828e-06
  6  7.60576e-07
  7  1.64172e-06
  8  9.63122
  9  18.03
  10  113.742
  11  0.889939
  12  7.31716e-07
  13  12.072
  14  18.7583
  15  3.49217
  16  0.000105358
  17  7.32161
  18  4.90356e-05
  19  10.1277
  20  0.648188
  21  3.68638e-06
  22  32.9103
  23  2.29942
  24  0.215837
  25  0.12419
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.680e+00  8.899e-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:  8.967e-01  1.242e-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:  9.354e-01  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.79
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 8.52e-08 +/- 4.51e-08
Energy Flux (Fixed Index): 4.49e-05 +/- 2.38e-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) = 7434.34401053
delta logL = 1.8937928231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7434.33345009
delta logL = 1.90435326568

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1556       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8368       1.0000          .0000       5.0000    
     3 'Normalizat'    .85026       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92399       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=   7434.333     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      243 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1556        5.2957        .73223E-02    .14779E-02
   2  alpha         2.8368        3.7474        .19975        .78909E-04
   3  Normalizat    .85026        .80980E-01    .72698E-01    .15728E-03
   4  Prefactor     .92399        .44332E-01    .45310E-01    .27283E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.15564
  alpha      = 2.83677
  Normalizat = 0.850257
  Prefactor  = 0.923992
 **********
 **   18 **HESSE 
 **********

 FCN=   7434.333     FROM HESSE     STATUS=OK            31 CALLS      274 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1556        .75668        .32673E-04   -1.5493    
   2  alpha         2.8368        .48037        .83294E-02    .13512    
   3  Normalizat    .85026        .21156        .32171E-03   -.98231    
   4  Prefactor     .92399        .12498        .18559E-03   -.95308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4324e-11
Minuit parameter uncertainties:
  1  0.75669
  2  0.483434
  3  0.211764
  4  0.125015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/815285': 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) = 7434.33345009
delta logL = 1.90435326792

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.156e+00  7.567e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.837e+00  4.834e-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.240e-01  1.250e-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.503e-01  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.76
Ra Dec: 26.150 27.090
Photon Index (Free Index): 2.84 +/- 0.48
Photon Flux (Free Index): 1.62e-07 +/- 6.49e-08
Energy Flux (Free Index): 3.70e-05 +/- 1.46e-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/815285/cmap_HighResolution_273542401_273801601_4FGL_J0144.6+2705_daily_bin132.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.52e-08', energy_flux2='3.70e-05', photon_flux_error='4.51e-08', dlogl='1.90e+00', energy_flux='4.49e-05', photon_flux2='1.62e-07', job_status='DONE', time_completed='2021-08-14 15:08:39.857608', photon_index_error2='0.48', photon_index2='2.84', ts='7.79', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.46e-05', EG='0.94', time_epoch_completed='1628978919.86', return_code='0', job_id='815285', GAL2='0.92', EG2='0.85', return_code2='0', energy_flux_error='2.38e-05', photon_flux_error2='6.49e-08', ts2='11.76', photon_index='2.03' WHERE bin_id='132' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:08:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 815285: <4FGL_J0144.6+2705_daily_bin132> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin132> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 14:55:44 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 14:56:34 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:56:34 2021
Terminated at Sat Aug 14 15:08:40 2021
Results reported at Sat Aug 14 15:08:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin132 26.1502 27.0899 273542401 273801601 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 :                                   705.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             385.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            776 sec.

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

