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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin658
RA = 26.1502, Dec = 27.0899
tmin = 409881601, tmax = 410140801
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='820938', job_status='RUN', time_executed='2021-08-14 15:18:09.438881', time_epoch_executed='1628979489.44' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='658'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820938

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820938/ft1_4FGL_J0144.6+2705_daily_bin658.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820938/ft2_4FGL_J0144.6+2705_daily_bin658.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820938/ft1_4FGL_J0144.6+2705_daily_bin658.fits outfile=/scratch/kocevski/820938/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin658.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=409881601.0 tmax=410140801.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 11.89
user 5.87
sys 5.85

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820938/ft1_filtered_4FGL_J0144.6+2705_daily_bin658.fits evtable="EVENTS" scfile=/scratch/kocevski/820938/ft2_4FGL_J0144.6+2705_daily_bin658.fits sctable="SC_DATA" expcube=/scratch/kocevski/820938/ltcube_409881601_410140801_4FGL_J0144.6+2705_daily_bin658.fits outfile=/scratch/kocevski/820938/expmap_409881601_410140801_4FGL_J0144.6+2705_daily_bin658.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/820938/ltcube_409881601_410140801_4FGL_J0144.6+2705_daily_bin658.fits
.....................!
real 199.70
user 185.84
sys 12.35

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/820938/ft1_filtered_4FGL_J0144.6+2705_daily_bin658.fits scfile=/scratch/kocevski/820938/ft2_4FGL_J0144.6+2705_daily_bin658.fits outfile=/scratch/kocevski/820938/cmap_409881601_410140801_4FGL_J0144.6+2705_daily_bin658.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.94
user 0.37
sys 5.50

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820938/ft1_filtered_4FGL_J0144.6+2705_daily_bin658.fits scfile=/scratch/kocevski/820938/ft2_4FGL_J0144.6+2705_daily_bin658.fits outfile=/scratch/kocevski/820938/cmap_HighResolution_409881601_410140801_4FGL_J0144.6+2705_daily_bin658.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.09
user 0.38
sys 5.58

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .45792       1.0000         .10000E-03   10000.    
     4 'norm      '    .85177       1.0000         .10000E-03   10000.    
     5 'Prefactor '    105.53       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.601       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10320E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.9205       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.7965       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.374       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19591E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    221.81       1.0000         .10000E-03   10000.    
    17 'Prefactor '    51.090       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.4107       1.0000         .10000E-03   10000.    
    20 'norm      '    .83118       1.0000         .10000E-03   10000.    
    21 'norm      '    8.5195       1.0000         .10000E-03   10000.    
    22 'Prefactor '    41.884       1.0000         .10000E-03   10000.    
    23 'norm      '    6.9583       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .91605       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99669       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=   5899.956     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     3428 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.512        .15368E-04** at limit **
   2  Prefactor     .10000E-03    20.607       -.76446E-05** at limit **
   3  norm          .45786        .50127        .10867E-06    .64137E-03
   4  norm          .85159        1.7510       -.40592E-06   -.14853E-02
   5  Prefactor     105.53        67.554       -.48340E-05    .72460E-04
   6  Prefactor     .10000E-03    2.8691       -.26022E-07** at limit **
   7  Prefactor     12.601        12.219       -.28803E-06    .34590E-05
   8  Prefactor     .10000E-03    25.986       -.98781E-05** at limit **
   9  Prefactor     .10000E-03    18.689        .21547E-05** at limit **
  10  Prefactor     .10000E-03    50.275       -.26178E-05** at limit **
  11  norm          3.9206        1.1378        .69359E-08    .30771E-03
  12  Prefactor     3.7955        9.1787        .19917E-06   -.15615E-03
  13  Prefactor     11.370        19.162        .14190E-05   -.10220E-04
  14  Prefactor     .10000E-03    187.16       -.88875E-05** at limit **
  15  norm          .10000E-03    2.7804       -.10672E-06** at limit **
  16  Prefactor     221.82        190.89        .85851E-05    .36966E-06
  17  Prefactor     51.089        15.773       -.79391E-06    .15256E-03
  18  Prefactor     .10000E-03    2.2028        .32046E-07** at limit **
  19  Prefactor     5.4113        11.544       -.16992E-06   -.96873E-04
  20  norm          .83125        .83950        .48350E-07   -.46043E-03
  21  norm          8.5497        145.45        .74297E-04   -.17138E-06
  22  Prefactor     41.864        78.833       -.24295E-04   -.44662E-05
  23  norm          6.9585        3.3214        .83324E-07   -.71450E-04
  24  Normalizat    .91619        .26355        .30239E-05    .52272E-05
  25  Prefactor     .99659        .14111       -.62077E-06    .16315E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.457861
  norm       = 0.851591
  Prefactor  = 105.528
  Prefactor  = 0.0001
  Prefactor  = 12.6006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.92056
  Prefactor  = 3.7955
  Prefactor  = 11.3696
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 221.823
  Prefactor  = 51.0886
  Prefactor  = 0.0001
  Prefactor  = 5.41132
  norm       = 0.831248
  norm       = 8.54973
  Prefactor  = 41.8641
  norm       = 6.95853
  Normalizat = 0.916195
  Prefactor  = 0.996595
 **********
 **   18 **HESSE 
 **********

 FCN=   5899.956     FROM HESSE     STATUS=OK           425 CALLS     3853 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .45786        .49362        .54989E-04   -1.5573    
   4  norm          .85159        1.5446        .13240E-02   -1.5523    
   5  Prefactor     105.53        67.474        .39145E-04   -1.3650    
   6  Prefactor     .10000E-03    2.8709        .12697E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.601        11.992        .11284E-03   -1.4998    
   8  Prefactor     .10000E-03    26.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    50.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.9206        1.1380        .42352E-04   -1.5312    
  12  Prefactor     3.7955        9.1623        .20717E-03   -1.5318    
  13  Prefactor     11.370        19.157        .11879E-03   -1.5033    
  14  Prefactor     .10000E-03    190.45        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.7900        .12493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     221.82        190.89        .13580E-03   -1.2718    
  17  Prefactor     51.089        15.673        .56108E-04   -1.4277    
  18  Prefactor     .10000E-03    2.2067        .11132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.4113        11.463        .17276E-03   -1.5243    
  20  norm          .83125        .80002        .67013E-03   -1.5526    
  21  norm          8.5497        144.75        .13734E-03   -1.5123    
  22  Prefactor     41.864        79.211        .61941E-04   -1.4413    
  23  norm          6.9585        3.3204        .93282E-04   -1.5180    
  24  Normalizat    .91619        .30093        .37060E-03   -.95893    
  25  Prefactor     .99659        .16375        .20265E-03   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6759e-10
Minuit parameter uncertainties:
  1  3.475e-05
  2  2.22978e-05
  3  0.493624
  4  1.54465
  5  67.5236
  6  1.51614e-05
  7  11.9942
  8  0.000124824
  9  1.28777e-06
  10  9.883e-06
  11  1.13801
  12  9.16565
  13  19.1671
  14  0.00105584
  15  7.41496e-06
  16  191.431
  17  15.6745
  18  4.33385e-06
  19  11.4676
  20  0.800031
  21  70.5587
  22  79.4109
  23  3.32052
  24  0.301486
  25  0.163837
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.966e-01  1.638e-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.162e-01  3.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 39.97
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 1.99e-07 +/- 5.77e-08
Energy Flux (Fixed Index): 1.05e-04 +/- 3.04e-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) = 5898.44028603
delta logL = 1.51598557275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5898.43118336
delta logL = 1.52508824681

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8884       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5993       1.0000          .0000       5.0000    
     3 'Normalizat'    .96235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98589       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5898.431     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      217 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 15.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8884        1.2817        .76935E-08   -.14943E-03
   2  alpha         1.5993        .15947        .24700E-07    .22316E-04
   3  Normalizat    .96235        .21041       -.67811E-07   -.24154E-05
   4  Prefactor     .98589        .13157        .75853E-08    .13334E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.88842
  alpha      = 1.59935
  Normalizat = 0.962348
  Prefactor  = 0.985892
 **********
 **   18 **HESSE 
 **********

 FCN=   5898.431     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8884        1.2361        .43954E-04   -1.5314    
   2  alpha         1.5993        .23886        .70220E-02   -.36855    
   3  Normalizat    .96235        .27912        .36281E-03   -.94303    
   4  Prefactor     .98589        .15979        .20373E-03   -.93201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10227e-12
Minuit parameter uncertainties:
  1  1.23612
  2  0.239277
  3  0.279539
  4  0.159864
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820938': 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) = 5898.43118336
delta logL = 1.52508824681

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  3.888e+00  1.236e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.599e+00  2.393e-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.859e-01  1.599e-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.623e-01  2.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 42.91
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.60 +/- 0.24
Photon Flux (Free Index): 1.39e-07 +/- 5.30e-08
Energy Flux (Free Index): 1.80e-04 +/- 8.31e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/820938/cmap_HighResolution_409881601_410140801_4FGL_J0144.6+2705_daily_bin658.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.99e-07', energy_flux2='1.80e-04', photon_flux_error='5.77e-08', dlogl='1.53e+00', energy_flux='1.05e-04', photon_flux2='1.39e-07', job_status='DONE', time_completed='2021-08-14 15:30:32.996479', photon_index_error2='0.24', photon_index2='1.60', ts='39.97', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='8.31e-05', EG='0.92', time_epoch_completed='1628980233.0', return_code='0', job_id='820938', GAL2='0.99', EG2='0.96', return_code2='0', energy_flux_error='3.04e-05', photon_flux_error2='5.30e-08', ts2='42.91', photon_index='2.03' WHERE bin_id='658' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:30:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 820938: <4FGL_J0144.6+2705_daily_bin658> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin658 26.1502 27.0899 409881601 410140801 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 :                                   825.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            912 sec.

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

