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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin783
RA = 26.1502, Dec = 27.0899
tmin = 442281601, tmax = 442540801
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='822355', job_status='RUN', time_executed='2021-08-14 15:22:24.270307', time_epoch_executed='1628979744.27' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='783'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822355

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822355/ft1_4FGL_J0144.6+2705_daily_bin783.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822355/ft2_4FGL_J0144.6+2705_daily_bin783.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822355/ft1_4FGL_J0144.6+2705_daily_bin783.fits outfile=/scratch/kocevski/822355/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin783.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=442281601.0 tmax=442540801.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.45
user 3.23
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822355/ft1_filtered_4FGL_J0144.6+2705_daily_bin783.fits" evtable="EVENTS" scfile=/scratch/kocevski/822355/ft2_4FGL_J0144.6+2705_daily_bin783.fits sctable="SC_DATA" outfile=/scratch/kocevski/822355/ltcube_442281601_442540801_4FGL_J0144.6+2705_daily_bin783.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/822355/ft2_4FGL_J0144.6+2705_daily_bin783.fits
.....................!
real 12.54
user 12.14
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822355/ft1_filtered_4FGL_J0144.6+2705_daily_bin783.fits evtable="EVENTS" scfile=/scratch/kocevski/822355/ft2_4FGL_J0144.6+2705_daily_bin783.fits sctable="SC_DATA" expcube=/scratch/kocevski/822355/ltcube_442281601_442540801_4FGL_J0144.6+2705_daily_bin783.fits outfile=/scratch/kocevski/822355/expmap_442281601_442540801_4FGL_J0144.6+2705_daily_bin783.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/822355/ltcube_442281601_442540801_4FGL_J0144.6+2705_daily_bin783.fits
.....................!
real 191.61
user 186.18
sys 4.97

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/822355/ft1_filtered_4FGL_J0144.6+2705_daily_bin783.fits scfile=/scratch/kocevski/822355/ft2_4FGL_J0144.6+2705_daily_bin783.fits outfile=/scratch/kocevski/822355/cmap_442281601_442540801_4FGL_J0144.6+2705_daily_bin783.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822355/ft1_filtered_4FGL_J0144.6+2705_daily_bin783.fits scfile=/scratch/kocevski/822355/ft2_4FGL_J0144.6+2705_daily_bin783.fits outfile=/scratch/kocevski/822355/cmap_HighResolution_442281601_442540801_4FGL_J0144.6+2705_daily_bin783.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.9739       1.0000         .10000E-03   10000.    
     4 'norm      '    5.1791       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16944E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.512       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    57.807       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.816       1.0000         .10000E-03   10000.    
    11 'norm      '    1.4456       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2534       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .47757E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11592E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.774       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .62653E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .69757E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .37567       1.0000         .10000E-03   10000.    
    21 'norm      '    57.578       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12882E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.2598       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96329       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=   8116.217     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     2952 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.5615       -.93463E-07** at limit **
   2  Prefactor     .10000E-03    11.323       -.91273E-07** at limit **
   3  norm          2.9738        .82694       -.26836E-08    .27827E-04
   4  norm          5.1791        1.9984        .24929E-07    .29564E-03
   5  Prefactor     .10000E-03    19.626       -.21727E-06** at limit **
   6  Prefactor     .10443E-03    2.7088        .10009E-05** at limit **
   7  Prefactor     10.507        10.672       -.66313E-06    .21498E-03
   8  Prefactor     .10000E-03    11.002        .79634E-08** at limit **
   9  Prefactor     57.824        39.168       -.18774E-06    .81432E-05
  10  Prefactor     19.850        54.851        .24728E-06    .13609E-04
  11  norm          1.4456        .69826        .33224E-07    .15063E-03
  12  Prefactor     1.2521        25.622        .37056E-05    .10927E-03
  13  Prefactor     .10019E-03    12.795       -.38077E-05** at limit **
  14  Prefactor     .10000E-03    10.419       -.15130E-06** at limit **
  15  norm          .10000E-03    1.0713       -.54844E-07** at limit **
  16  Prefactor     .10000E-03    64.077       -.22371E-07** at limit **
  17  Prefactor     12.773        9.2424        .83893E-08    .86688E-03
  18  Prefactor     .10000E-03    4.7708        .10171E-06** at limit **
  19  Prefactor     .10057E-03    6.2065       -.24139E-05** at limit **
  20  norm          .37594        .61414        .45898E-06    .28480E-02
  21  norm          57.904        105.17        .27323E-05    .40315E-04
  22  Prefactor     .10001E-03    137.13        .41587E-05** at limit **
  23  norm          3.2601        2.6662        .33870E-06    .54825E-03
  24  Normalizat    1.0959        .24911        .99160E-05    .43592E-03
  25  Prefactor     .96289        .13528       -.59678E-05    .55387E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.9738
  norm       = 5.17912
  Prefactor  = 0.0001
  Prefactor  = 0.000104429
  Prefactor  = 10.5067
  Prefactor  = 0.0001
  Prefactor  = 57.8245
  Prefactor  = 19.85
  norm       = 1.4456
  Prefactor  = 1.25213
  Prefactor  = 0.00010019
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.7726
  Prefactor  = 0.0001
  Prefactor  = 0.000100569
  norm       = 0.375939
  norm       = 57.9035
  Prefactor  = 0.000100005
  norm       = 3.26006
  Normalizat = 1.09588
  Prefactor  = 0.96289
 **********
 **   18 **HESSE 
 **********

 FCN=   8116.217     FROM HESSE     STATUS=OK           443 CALLS     3395 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.5666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.9738        .82660        .41550E-04   -1.5363    
   4  norm          5.1791        1.9921        .72516E-04   -1.5253    
   5  Prefactor     .10000E-03    19.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10443E-03    2.3987        .49713E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.507        10.669        .12358E-03   -1.5060    
   8  Prefactor     .10000E-03    11.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     57.824        39.090        .52765E-04   -1.4186    
  10  Prefactor     19.850        54.777        .89975E-04   -1.4817    
  11  norm          1.4456        .69485        .49875E-04   -1.5467    
  12  Prefactor     1.2521        25.784        .39915E-03   -1.5484    
  13  Prefactor     .10019E-03    68.807        .57687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.0728        .91037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    64.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.773        9.0419        .11208E-03   -1.4993    
  18  Prefactor     .10000E-03    19.174        .37564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10057E-03    76.414        .39463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .37594        .56027        .87899E-03   -1.5585    
  21  norm          57.904        105.12        .26435E-03   -1.4185    
  22  Prefactor     .10001E-03    138.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.2601        2.6591        .12803E-03   -1.5347    
  24  Normalizat    1.0959        .25016        .33302E-03   -.89884    
  25  Prefactor     .96289        .13493        .19995E-03   -.93977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12186e-08
Minuit parameter uncertainties:
  1  1.04878e-05
  2  1.96909e-05
  3  0.826603
  4  1.99216
  5  4.94664e-05
  6  0.00651895
  7  10.6714
  8  3.41581e-05
  9  39.1073
  10  54.9166
  11  0.694854
  12  11.3691
  13  0.00724059
  14  1.54799e-05
  15  2.1687e-06
  16  5.00424e-06
  17  9.04285
  18  3.11861e-05
  19  0.0132077
  20  0.560276
  21  105.464
  22  0.00174818
  23  2.65924
  24  0.250435
  25  0.134974
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.629e-01  1.350e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.096e+00  2.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.32
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 7.33e-08 +/- 3.52e-08
Energy Flux (Fixed Index): 3.86e-05 +/- 1.86e-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) = 8115.62505881
delta logL = 0.592288106821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8115.61420441
delta logL = 0.603142500567

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2332       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5747       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1211       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95846       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=   8115.614     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2332        .63119        .10116E-01   -.12180E-02
   2  alpha         1.5747        .31564        .29552       -.53523E-04
   3  Normalizat    1.1211        .19708        .74522E-01    .14065E-04
   4  Prefactor     .95846        .11222        .45746E-01    .71010E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.23322
  alpha      = 1.57469
  Normalizat = 1.12108
  Prefactor  = 0.958456
 **********
 **   18 **HESSE 
 **********

 FCN=   8115.614     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2332        .74196        .49644E-04   -1.5486    
   2  alpha         1.5747        .40525        .11940E-01   -.37914    
   3  Normalizat    1.1211        .22917        .32981E-03   -.89078    
   4  Prefactor     .95846        .13086        .20045E-03   -.94127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01479e-10
Minuit parameter uncertainties:
  1  0.741962
  2  0.40733
  3  0.229372
  4  0.130904
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822355': 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) = 8115.61420441
delta logL = 0.60314250418

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.233e+00  7.420e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.575e+00  4.073e-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.585e-01  1.309e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.121e+00  2.294e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.53
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.57 +/- 0.41
Photon Flux (Free Index): 4.34e-08 +/- 3.19e-08
Energy Flux (Free Index): 5.97e-05 +/- 4.23e-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/822355/cmap_HighResolution_442281601_442540801_4FGL_J0144.6+2705_daily_bin783.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.33e-08', energy_flux2='5.97e-05', photon_flux_error='3.52e-08', dlogl='6.03e-01', energy_flux='3.86e-05', photon_flux2='4.34e-08', job_status='DONE', time_completed='2021-08-14 15:34:26.539221', photon_index_error2='0.41', photon_index2='1.57', ts='14.32', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='4.23e-05', EG='1.10', time_epoch_completed='1628980466.54', return_code='0', job_id='822355', GAL2='0.96', EG2='1.12', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='3.19e-08', ts2='15.53', photon_index='2.03' WHERE bin_id='783' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:34:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0129>
Subject: Job 822355: <4FGL_J0144.6+2705_daily_bin783> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin783> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 14 15:20:30 2021
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:22:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 15:22:08 2021
Terminated at Sat Aug 14 15:34:27 2021
Results reported at Sat Aug 14 15:34:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin783 26.1502 27.0899 442281601 442540801 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 :                                   721.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             364.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            837 sec.

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

