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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin10
RA = 26.1502, Dec = 27.0899
tmin = 241920001, tmax = 242179201
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='815075', job_status='RUN', time_executed='2021-08-14 14:57:26.866583', time_epoch_executed='1628978246.87' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='10'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/815075

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/815075/ft1_4FGL_J0144.6+2705_daily_bin10.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/815075/ft2_4FGL_J0144.6+2705_daily_bin10.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/815075/ft1_4FGL_J0144.6+2705_daily_bin10.fits outfile=/scratch/kocevski/815075/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin10.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=241920001.0 tmax=242179201.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 7.17
user 1.24
sys 5.86

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/815075/ft2_4FGL_J0144.6+2705_daily_bin10.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/815075/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin10.fits evtable="EVENTS" outfile="/scratch/kocevski/815075/ft1_filtered_4FGL_J0144.6+2705_daily_bin10.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 6.91
user 0.35
sys 6.47

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/815075/ft1_filtered_4FGL_J0144.6+2705_daily_bin10.fits" evtable="EVENTS" scfile=/scratch/kocevski/815075/ft2_4FGL_J0144.6+2705_daily_bin10.fits sctable="SC_DATA" outfile=/scratch/kocevski/815075/ltcube_241920001_242179201_4FGL_J0144.6+2705_daily_bin10.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/815075/ft2_4FGL_J0144.6+2705_daily_bin10.fits
.....................!
real 19.77
user 12.84
sys 6.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/815075/ft1_filtered_4FGL_J0144.6+2705_daily_bin10.fits evtable="EVENTS" scfile=/scratch/kocevski/815075/ft2_4FGL_J0144.6+2705_daily_bin10.fits sctable="SC_DATA" expcube=/scratch/kocevski/815075/ltcube_241920001_242179201_4FGL_J0144.6+2705_daily_bin10.fits outfile=/scratch/kocevski/815075/expmap_241920001_242179201_4FGL_J0144.6+2705_daily_bin10.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/815075/ltcube_241920001_242179201_4FGL_J0144.6+2705_daily_bin10.fits
.....................!
real 198.67
user 184.87
sys 13.17

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/815075/ft1_filtered_4FGL_J0144.6+2705_daily_bin10.fits scfile=/scratch/kocevski/815075/ft2_4FGL_J0144.6+2705_daily_bin10.fits outfile=/scratch/kocevski/815075/cmap_241920001_242179201_4FGL_J0144.6+2705_daily_bin10.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 6.70
user 0.36
sys 6.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/815075/ft1_filtered_4FGL_J0144.6+2705_daily_bin10.fits scfile=/scratch/kocevski/815075/ft2_4FGL_J0144.6+2705_daily_bin10.fits outfile=/scratch/kocevski/815075/cmap_HighResolution_241920001_242179201_4FGL_J0144.6+2705_daily_bin10.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 6.15
user 0.38
sys 5.71

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    30.482       1.0000         .10000E-03   10000.    
     3 'norm      '    .99336       1.0000         .10000E-03   10000.    
     4 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2006       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15742E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10286E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.109       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .94661       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.528       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.2907       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.2090       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.2690       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12030E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .13347E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .73076       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2208       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=   6713.305     FROM MIGRAD    STATUS=CONVERGED    612 CALLS     2534 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.2510        .95443E-06** at limit **
   2  Prefactor     30.479        26.614       -.45215E-06    .89269E-05
   3  norm          .99335        .55411        .82717E-08    .14679E-04
   4  norm          .10000E-03    .68386        .15640E-06** at limit **
   5  Prefactor     .10000E-03    16.175       -.87057E-06** at limit **
   6  Prefactor     2.2006        2.7385        .48478E-09    .36696E-04
   7  Prefactor     .10119E-03    5.8544       -.29313E-05** at limit **
   8  Prefactor     .10000E-03    10.478        .83679E-06** at limit **
   9  Prefactor     19.053        29.955       -.17137E-04   -.15530E-04
  10  Prefactor     .10000E-03    79.857        .67313E-04** at limit **
  11  norm          .94671        .68658       -.17860E-07   -.42453E-03
  12  Prefactor     30.525        14.686        .17222E-06   -.12404E-04
  13  Prefactor     .10000E-03    4.2122        .35109E-07** at limit **
  14  Prefactor     .10000E-03    9.1863       -.36647E-06** at limit **
  15  norm          4.2902        4.1341       -.11375E-06   -.14575E-03
  16  Prefactor     .10000E-03    56.231       -.90697E-05** at limit **
  17  Prefactor     9.2081        7.7554       -.19235E-06   -.11989E-04
  18  Prefactor     .10000E-03    4.9670       -.13578E-05** at limit **
  19  Prefactor     .10000E-03    4.4199       -.66660E-06** at limit **
  20  norm          1.2688        .98255       -.62206E-07   -.65673E-03
  21  norm          .10000E-03    30.977        .56549E-05** at limit **
  22  Prefactor     .10000E-03    131.78       -.42196E-04** at limit **
  23  norm          .10000E-03    1.3816        .11409E-06** at limit **
  24  Normalizat    .73091        .22080        .10453E-05    .30694E-03
  25  Prefactor     1.2208        .12777        .68854E-06    .48690E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 30.4791
  norm       = 0.993348
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.20063
  Prefactor  = 0.000101188
  Prefactor  = 0.0001
  Prefactor  = 19.0534
  Prefactor  = 0.0001
  norm       = 0.946714
  Prefactor  = 30.5246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.29024
  Prefactor  = 0.0001
  Prefactor  = 9.20809
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.26882
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Normalizat = 0.730908
  Prefactor  = 1.22085
 **********
 **   18 **HESSE 
 **********

 FCN=   6713.305     FROM HESSE     STATUS=OK           427 CALLS     2961 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     30.479        26.603        .72571E-04   -1.4603    
   3  norm          .99335        .55010        .43659E-04   -1.5509    
   4  norm          .10000E-03    2.5239        .12688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.2006        2.7309        .14720E-03   -1.5411    
   7  Prefactor     .10119E-03    51.255        .36009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.053        30.003        .91624E-04   -1.4835    
  10  Prefactor     .10000E-03    79.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .94671        .68052        .55271E-04   -1.5513    
  12  Prefactor     30.525        14.653        .72516E-04   -1.4602    
  13  Prefactor     .10000E-03    4.2209        .16423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.1963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.2902        4.1231        .15395E-03   -1.5294    
  16  Prefactor     .10000E-03    56.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.2081        7.7334        .13207E-03   -1.5101    
  18  Prefactor     .10000E-03    5.1003        .35655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.4340        .16814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.2688        .96310        .67872E-04   -1.5483    
  21  norm          .10000E-03    30.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    133.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    4.6136        .18587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .73091        .23677        .36456E-03   -1.0269    
  25  Prefactor     1.2208        .14167        .17855E-03   -.85692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20044e-08
Minuit parameter uncertainties:
  1  1.80498e-06
  2  26.613
  3  0.550107
  4  6.58878e-06
  5  3.02884e-06
  6  2.73103
  7  0.0156174
  8  3.08958e-05
  9  30.0265
  10  5.7175e-06
  11  0.680529
  12  14.6543
  13  2.03188e-06
  14  2.32264e-06
  15  4.1234
  16  6.1929e-06
  17  7.73423
  18  1.59929e-06
  19  2.75676e-06
  20  0.963116
  21  1.61679e-06
  22  0.000407538
  23  0.000160483
  24  0.237103
  25  0.141713
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  9.467e-01  6.805e-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:  1.221e+00  1.417e-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.309e-01  2.371e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 4.80e-08 +/- 3.45e-08
Energy Flux (Fixed Index): 2.53e-05 +/- 1.82e-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) = 6712.67152119
delta logL = 0.633715838445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6712.66330689
delta logL = 0.641930131141

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75056       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9508       1.0000          .0000       5.0000    
     3 'Normalizat'    .64292       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2477       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=   6712.663     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      204 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75031        4.5340        .77055E-02   -.89605E-03
   2  alpha         2.9505        3.8904        .30630       -.42750E-05
   3  Normalizat    .64237        .69704E-01    .87243E-01   -.11216E-03
   4  Prefactor     1.2481        .37510E-01    .33591E-01    .49668E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.750309
  alpha      = 2.95053
  Normalizat = 0.642371
  Prefactor  = 1.24813
 **********
 **   18 **HESSE 
 **********

 FCN=   6712.663     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75031        .76852        .34452E-04   -1.5535    
   2  alpha         2.9505        .89436        .11141E-01    .18120    
   3  Normalizat    .64237        .24615        .38645E-03   -1.0621    
   4  Prefactor     1.2481        .14555        .17666E-03   -.84863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94225e-10
Minuit parameter uncertainties:
  1  0.768534
  2  0.915352
  3  0.24657
  4  0.1456
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/815075': 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) = 6712.66330031
delta logL = 0.641936710297

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  7.503e-01  7.685e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.951e+00  9.154e-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.248e+00  1.456e-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:  6.424e-01  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 26.150 27.090
Photon Index (Free Index): 2.95 +/- 0.92
Photon Flux (Free Index): 1.24e-07 +/- 8.51e-08
Energy Flux (Free Index): 2.66e-05 +/- 1.37e-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/815075/cmap_HighResolution_241920001_242179201_4FGL_J0144.6+2705_daily_bin10.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.80e-08', energy_flux2='2.66e-05', photon_flux_error='3.45e-08', dlogl='6.42e-01', energy_flux='2.53e-05', photon_flux2='1.24e-07', job_status='DONE', time_completed='2021-08-14 15:09:22.418864', photon_index_error2='0.92', photon_index2='2.95', ts='5.14', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='1.37e-05', EG='0.73', time_epoch_completed='1628978962.42', return_code='0', job_id='815075', GAL2='1.25', EG2='0.64', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='8.51e-08', ts2='6.56', photon_index='2.03' WHERE bin_id='10' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:09:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 815075: <4FGL_J0144.6+2705_daily_bin10> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin10 26.1502 27.0899 241920001 242179201 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 :                                   809.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             266.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            839 sec.

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

