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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin5
RA = 26.1502, Dec = 27.0899
tmin = 240624001, tmax = 240883201
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='816556', job_status='RUN', time_executed='2021-08-14 15:01:51.012418', time_epoch_executed='1628978511.01' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='5'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816556

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816556/ft1_4FGL_J0144.6+2705_daily_bin5.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816556/ft2_4FGL_J0144.6+2705_daily_bin5.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816556/ft1_4FGL_J0144.6+2705_daily_bin5.fits outfile=/scratch/kocevski/816556/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin5.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=240624001.0 tmax=240883201.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.80
user 1.20
sys 5.32

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/816556/ft1_filtered_4FGL_J0144.6+2705_daily_bin5.fits" evtable="EVENTS" scfile=/scratch/kocevski/816556/ft2_4FGL_J0144.6+2705_daily_bin5.fits sctable="SC_DATA" outfile=/scratch/kocevski/816556/ltcube_240624001_240883201_4FGL_J0144.6+2705_daily_bin5.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/816556/ft2_4FGL_J0144.6+2705_daily_bin5.fits
.....................!
real 20.96
user 14.17
sys 6.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816556/ft1_filtered_4FGL_J0144.6+2705_daily_bin5.fits evtable="EVENTS" scfile=/scratch/kocevski/816556/ft2_4FGL_J0144.6+2705_daily_bin5.fits sctable="SC_DATA" expcube=/scratch/kocevski/816556/ltcube_240624001_240883201_4FGL_J0144.6+2705_daily_bin5.fits outfile=/scratch/kocevski/816556/expmap_240624001_240883201_4FGL_J0144.6+2705_daily_bin5.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/816556/ltcube_240624001_240883201_4FGL_J0144.6+2705_daily_bin5.fits
.....................!
real 198.09
user 185.87
sys 11.67

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/816556/ft1_filtered_4FGL_J0144.6+2705_daily_bin5.fits scfile=/scratch/kocevski/816556/ft2_4FGL_J0144.6+2705_daily_bin5.fits outfile=/scratch/kocevski/816556/cmap_240624001_240883201_4FGL_J0144.6+2705_daily_bin5.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=26.1502 yref=27.0899 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 5.61
user 0.38
sys 5.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/816556/ft1_filtered_4FGL_J0144.6+2705_daily_bin5.fits scfile=/scratch/kocevski/816556/ft2_4FGL_J0144.6+2705_daily_bin5.fits outfile=/scratch/kocevski/816556/cmap_HighResolution_240624001_240883201_4FGL_J0144.6+2705_daily_bin5.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=26.1502 yref=27.0899 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 5.58
user 0.38
sys 5.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9992       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.6546       1.0000         .10000E-03   10000.    
     3 'norm      '    .37499       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0245       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .26689E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.1280       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .87833       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.8621       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.4619       1.0000         .10000E-03   10000.    
    15 'norm      '    .37107       1.0000         .10000E-03   10000.    
    16 'Prefactor '    84.489       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2013       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15337E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.6020       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.0615       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .88571       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0307       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=   10158.86     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     2954 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9984        12.439        .34735E-06   -.64265E-04
   2  Prefactor     7.6614        19.653        .88777E-05   -.28128E-04
   3  norm          .37519        .48632       -.39328E-06   -.44785E-02
   4  norm          .10000E-03    .25970        .28962E-07** at limit **
   5  Prefactor     .10000E-03    15.608       -.14137E-04** at limit **
   6  Prefactor     2.0241        1.9660        .71725E-07    .38331E-03
   7  Prefactor     .10000E-03    1.2201        .11366E-07** at limit **
   8  Prefactor     .10000E-03    4.9806        .14362E-05** at limit **
   9  Prefactor     8.1241        40.959       -.10025E-04   -.55161E-04
  10  Prefactor     .10000E-03    25.690        .14236E-04** at limit **
  11  norm          .87836        .56965       -.38321E-07   -.17882E-02
  12  Prefactor     .10000E-03    4.5116       -.61843E-07** at limit **
  13  Prefactor     5.8620        6.9464        .15507E-07   -.91060E-04
  14  Prefactor     6.4693        21.096        .11962E-04    .12529E-04
  15  norm          .36943        1.7942       -.70669E-06   -.25665E-03
  16  Prefactor     84.589        107.40        .10563E-03    .54001E-04
  17  Prefactor     7.2002        8.1344       -.14181E-05   -.16100E-03
  18  Prefactor     .10000E-03    2.4705       -.28501E-05** at limit **
  19  Prefactor     .10000E-03    7.5898        .48323E-05** at limit **
  20  norm          1.6021        .72397        .35501E-07   -.96023E-03
  21  norm          .10000E-03    19.701        .18070E-04** at limit **
  22  Prefactor     .10000E-03    29.836       -.21393E-04** at limit **
  23  norm          3.0616        2.1883        .42794E-07   -.47579E-03
  24  Normalizat    .88570        .16158       -.60221E-06    .10661E-03
  25  Prefactor     1.0307        .95497E-01   -.15598E-05    .80305E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99844
  Prefactor  = 7.66142
  norm       = 0.375187
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.02412
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.12414
  Prefactor  = 0.0001
  norm       = 0.878363
  Prefactor  = 0.0001
  Prefactor  = 5.86198
  Prefactor  = 6.46927
  norm       = 0.369433
  Prefactor  = 84.589
  Prefactor  = 7.20023
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 1.60209
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.06162
  Normalizat = 0.885698
  Prefactor  = 1.03072
 **********
 **   18 **HESSE 
 **********

 FCN=   10158.86     FROM HESSE     STATUS=OK           439 CALLS     3393 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9984        12.434        .12672E-03   -1.5075    
   2  Prefactor     7.6614        19.364        .14494E-03   -1.5154    
   3  norm          .37519        .44396        .71197E-03   -1.5585    
   4  norm          .10000E-03    .26885        .10021E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0241        1.9765        .13521E-03   -1.5423    
   7  Prefactor     .10000E-03    1.2242        .10870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    26.480        .42234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.1241        40.290        .14063E-03   -1.5138    
  10  Prefactor     .10000E-03    25.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .87836        .54591        .58363E-03   -1.5521    
  12  Prefactor     .10000E-03    4.5554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.8620        6.9412        .16587E-03   -1.5224    
  14  Prefactor     6.4693        20.959        .15788E-03   -1.5199    
  15  norm          .36943        6.4237        .23245E-02   -1.5586    
  16  Prefactor     84.589        107.22        .21851E-03   -1.3866    
  17  Prefactor     7.2002        8.1258        .14947E-03   -1.5171    
  18  Prefactor     .10000E-03    7.0760        .30531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.7457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.6021        .71772        .55459E-04   -1.5455    
  21  norm          .10000E-03    19.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    29.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.0616        2.1825        .12148E-03   -1.5358    
  24  Normalizat    .88570        .18489        .31689E-03   -.96965    
  25  Prefactor     1.0307        .11100        .17873E-03   -.91712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82273e-08
Minuit parameter uncertainties:
  1  12.4376
  2  19.3802
  3  0.443969
  4  1.30618e-06
  5  3.01604e-05
  6  1.97659
  7  2.45939e-06
  8  0.000339758
  9  36.223
  10  1.76447e-05
  11  0.545909
  12  3.36279e-05
  13  6.94212
  14  20.9829
  15  3.08097
  16  107.461
  17  8.12707
  18  0.000235527
  19  1.21121e-05
  20  0.717723
  21  1.2267e-06
  22  6.14906e-05
  23  2.18251
  24  0.185023
  25  0.11103
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  8.784e-01  5.459e-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.031e+00  1.110e-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.857e-01  1.850e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.09
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 4.45e-08 +/- 2.77e-08
Energy Flux (Fixed Index): 2.35e-05 +/- 1.46e-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) = 10158.7260619
delta logL = 0.13323869232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10158.7154617
delta logL = 0.143838952663

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81993       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2997       1.0000          .0000       5.0000    
     3 'Normalizat'    .87159       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0354       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=   10158.72     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81999        6.9291        .11624E-01    .12236E-02
   2  alpha         2.2997        3.6420        .40306        .42400E-04
   3  Normalizat    .87156        .47217E-01    .72128E-01    .33200E-04
   4  Prefactor     1.0354        .28010E-01    .40852E-01   -.35695E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 0.819988
  alpha      = 2.2997
  Normalizat = 0.871556
  Prefactor  = 1.03542
 **********
 **   18 **HESSE 
 **********

 FCN=   10158.72     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81999        .55801        .53063E-03   -1.5527    
   2  alpha         2.2997        .53111        .13884E-01   -.80207E-01
   3  Normalizat    .87156        .18296        .31917E-03   -.97467    
   4  Prefactor     1.0354        .11054        .17836E-03   -.91558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13965e-09
Minuit parameter uncertainties:
  1  0.558009
  2  0.535218
  3  0.183093
  4  0.110566
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816556': 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) = 10158.7154616
delta logL = 0.14383898358

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  8.200e-01  5.580e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.300e+00  5.352e-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.035e+00  1.106e-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.716e-01  1.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 26.150 27.090
Photon Index (Free Index): 2.30 +/- 0.54
Photon Flux (Free Index): 5.61e-08 +/- 3.72e-08
Energy Flux (Free Index): 2.03e-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/816556/cmap_HighResolution_240624001_240883201_4FGL_J0144.6+2705_daily_bin5.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.45e-08', energy_flux2='2.03e-05', photon_flux_error='2.77e-08', dlogl='1.44e-01', energy_flux='2.35e-05', photon_flux2='5.61e-08', job_status='DONE', time_completed='2021-08-14 15:16:56.401145', photon_index_error2='0.54', photon_index2='2.30', ts='4.09', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.37e-05', EG='0.89', time_epoch_completed='1628979416.4', return_code='0', job_id='816556', GAL2='1.04', EG2='0.87', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='3.72e-08', ts2='4.36', photon_index='2.03' WHERE bin_id='5' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:16:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 816556: <4FGL_J0144.6+2705_daily_bin5> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin5> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 15:00:22 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:00:24 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:00:24 2021
Terminated at Sat Aug 14 15:16:57 2021
Results reported at Sat Aug 14 15:16:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin5 26.1502 27.0899 240624001 240883201 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 :                                   971.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

