aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 214 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 = 7702
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1672
RA = 26.1502, Dec = 27.0899
tmin = 672710401, tmax = 672969601
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='154016', job_status='RUN', time_executed='2022-04-30 00:14:58.463631', time_epoch_executed='1651302898.46' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1672'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/154016

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/154016/ft1_4FGL_J0144.6+2705_daily_bin1672.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/154016/ft2_4FGL_J0144.6+2705_daily_bin1672.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/154016/ft1_4FGL_J0144.6+2705_daily_bin1672.fits outfile=/scratch/kocevski/154016/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1672.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=672710401.0 tmax=672969601.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.12
user 2.90
sys 0.21

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

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

Number of photons that the gtmktime cut: 158

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/154016/ft1_filtered_4FGL_J0144.6+2705_daily_bin1672.fits" evtable="EVENTS" scfile=/scratch/kocevski/154016/ft2_4FGL_J0144.6+2705_daily_bin1672.fits sctable="SC_DATA" outfile=/scratch/kocevski/154016/ltcube_672710401_672969601_4FGL_J0144.6+2705_daily_bin1672.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/154016/ft2_4FGL_J0144.6+2705_daily_bin1672.fits
.....................!
real 16.18
user 15.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/154016/ft1_filtered_4FGL_J0144.6+2705_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/154016/ft2_4FGL_J0144.6+2705_daily_bin1672.fits sctable="SC_DATA" expcube=/scratch/kocevski/154016/ltcube_672710401_672969601_4FGL_J0144.6+2705_daily_bin1672.fits outfile=/scratch/kocevski/154016/expmap_672710401_672969601_4FGL_J0144.6+2705_daily_bin1672.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/154016/ltcube_672710401_672969601_4FGL_J0144.6+2705_daily_bin1672.fits
.....................!
real 193.93
user 187.66
sys 5.89

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/154016/ft1_filtered_4FGL_J0144.6+2705_daily_bin1672.fits scfile=/scratch/kocevski/154016/ft2_4FGL_J0144.6+2705_daily_bin1672.fits outfile=/scratch/kocevski/154016/cmap_672710401_672969601_4FGL_J0144.6+2705_daily_bin1672.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/154016/ft1_filtered_4FGL_J0144.6+2705_daily_bin1672.fits scfile=/scratch/kocevski/154016/ft2_4FGL_J0144.6+2705_daily_bin1672.fits outfile=/scratch/kocevski/154016/cmap_HighResolution_672710401_672969601_4FGL_J0144.6+2705_daily_bin1672.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.832       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .87880       1.0000         .10000E-03   10000.    
     4 'norm      '    .11185E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    93.989       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6348       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10633E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.879       1.0000         .10000E-03   10000.    
    10 'Prefactor '    142.15       1.0000         .10000E-03   10000.    
    11 'norm      '    .94376       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    45.993       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .80054E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    72.797       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .50370       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3077       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=   1816.626     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     3404 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.851        24.498       -.18793E-04   -.46357E-04
   2  Prefactor     .10000E-03    22.726       -.18580E-04** at limit **
   3  norm          .87879        .81860       -.93407E-08    .56169E-03
   4  norm          .10000E-03    2.1483        .74995E-06** at limit **
   5  Prefactor     93.991        83.552        .18150E-05    .55543E-04
   6  Prefactor     .10000E-03    4.1438        .46194E-07** at limit **
   7  Prefactor     1.6509        24.728       -.54978E-05   -.34019E-03
   8  Prefactor     .10003E-03    41.780       -.12861E-04** at limit **
   9  Prefactor     21.710        81.550       -.23834E-03    .28539E-04
  10  Prefactor     142.07        280.90       -.62845E-04    .53512E-04
  11  norm          .94320        1.8270        .23543E-05    .51814E-03
  12  Prefactor     .10000E-03    19.497        .10142E-04** at limit **
  13  Prefactor     .10000E-03    10.930       -.78378E-08** at limit **
  14  Prefactor     .10000E-03    34.374        .60979E-05** at limit **
  15  norm          45.985        24.360        .34243E-05   -.35028E-04
  16  Prefactor     .10000E-03    292.42        .15190E-03** at limit **
  17  Prefactor     .10000E-03    16.496       -.17295E-05** at limit **
  18  Prefactor     .10007E-03    256.75        .13939E-03** at limit **
  19  Prefactor     .10000E-03    28.400        .15024E-04** at limit **
  20  norm          .10000E-03    2.8686       -.59602E-06** at limit **
  21  norm          .10000E-03    422.65       -.27500E-03** at limit **
  22  Prefactor     .10000E-03    334.58       -.20562E-05** at limit **
  23  norm          72.777        62.307       -.11262E-04   -.41821E-04
  24  Normalizat    .50347        .52599        .41809E-05   -.26997E-03
  25  Prefactor     1.3077        .30614        .13955E-04   -.49387E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.8511
  Prefactor  = 0.0001
  norm       = 0.878786
  norm       = 0.000100001
  Prefactor  = 93.9908
  Prefactor  = 0.0001
  Prefactor  = 1.65085
  Prefactor  = 0.00010003
  Prefactor  = 21.7104
  Prefactor  = 142.068
  norm       = 0.943202
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 45.9852
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100074
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 72.7768
  Normalizat = 0.503467
  Prefactor  = 1.30775
 **********
 **   18 **HESSE 
 **********

 FCN=   1816.626     FROM HESSE     STATUS=OK           417 CALLS     3821 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.851        24.257        .89938E-04   -1.4817    
   2  Prefactor     .10000E-03    22.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .87879        .83014        .35657E-04   -1.5520    
   4  norm          .10000E-03    3.2164        .11566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     93.991        83.338        .41455E-04   -1.3766    
   6  Prefactor     .10000E-03    4.1458        .84701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6509        22.937        .33063E-03   -1.5451    
   8  Prefactor     .10003E-03    42.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.710        81.838        .85632E-04   -1.4776    
  10  Prefactor     142.07        282.81        .16896E-03   -1.3318    
  11  norm          .94320        1.7644        .68907E-03   -1.5514    
  12  Prefactor     .10000E-03    19.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.940        .13765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    34.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          45.985        24.318        .59121E-04   -1.4351    
  16  Prefactor     .10000E-03    292.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.504        .16906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10007E-03    262.16        .41804E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    28.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.9436        .14047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    423.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    334.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          72.777        62.263        .47054E-04   -1.4000    
  24  Normalizat    .50347        .53817        .22759E-02   -1.1225    
  25  Prefactor     1.3077        .32391        .18868E-03   -.83077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54295e-09
Minuit parameter uncertainties:
  1  24.2694
  2  1.39573e-05
  3  0.830149
  4  0.000132745
  5  83.4425
  6  5.35509e-06
  7  12.3123
  8  0.00225724
  9  82.2654
  10  285.574
  11  1.7645
  12  0.000166253
  13  3.7143e-05
  14  9.61377e-05
  15  24.3235
  16  2.99061e-06
  17  9.45871e-05
  18  0.00885934
  19  3.74467e-05
  20  0.000135703
  21  9.62036e-06
  22  4.27852e-05
  23  62.319
  24  0.543874
  25  0.324406
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  9.432e-01  1.764e+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:  1.308e+00  3.244e-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:  5.035e-01  5.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 26.150 27.090
Photon Flux Upper Limit: 2.71e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.43e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/154016/likelihoodResults_672710401_672969601_4FGL_J0144.6+2705_daily_bin1672.txt

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) = 1816.55173445
delta logL = 0.074084341838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1816.54766535
delta logL = 0.078153441917

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0862       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6804       1.0000          .0000       5.0000    
     3 'Normalizat'    .51244       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3021       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=   1816.548     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      202 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0863        3.5602        .11510E-01    .98183E-03
   2  alpha         1.6797        1.4684        .33073       -.22636E-05
   3  Normalizat    .51248        .45510        .10182        .15317E-04
   4  Prefactor     1.3023        .30146        .32573E-01   -.29785E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.08626
  alpha      = 1.6797
  Normalizat = 0.512482
  Prefactor  = 1.30231
 **********
 **   18 **HESSE 
 **********

 FCN=   1816.548     FROM HESSE     STATUS=OK            35 CALLS      237 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0863        1.6344        .66193E-03   -1.5500    
   2  alpha         1.6797        .81960        .13126E-01   -.33431    
   3  Normalizat    .51248        .47372        .45140E-03   -1.1184    
   4  Prefactor     1.3023        .31063        .18894E-03   -.83238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72709e-10
Minuit parameter uncertainties:
  1  1.63449
  2  0.837012
  3  0.477518
  4  0.31107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/154016': 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) = 1816.54766385
delta logL = 0.0781549332344

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.086e+00  1.634e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.680e+00  8.370e-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.302e+00  3.111e-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:  5.125e-01  4.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.51
Ra Dec: 26.150 27.090

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/154016/cmap_HighResolution_672710401_672969601_4FGL_J0144.6+2705_daily_bin1672.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-04', job_status='DONE', photon_flux_upper_limit='2.71e-07', time_completed='2022-04-30 00:22:15.533627', job_id='154016', GAL2='1.30', fit_tolerance='1e-08', EG2='0.51', EG='0.50', time_epoch_completed='1651303335.53', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='7.82e-02', ts2='0.67', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1672' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 30 00:22:15 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 153935: <4FGL_J0144.6+2705_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1672> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:47 2022
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:09:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:09:22 2022
Terminated at Sat Apr 30 00:17:52 2022
Results reported at Sat Apr 30 00:17:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1672 26.1502 27.0899 672710401 672969601 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 :                                   436.22 sec.
    Max Memory :                                 1018 MB
    Average Memory :                             307.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   509 sec.
    Turnaround time :                            725 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 154016: <4FGL_J0144.6+2705_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1672> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:51 2022
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:11:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:11:14 2022
Terminated at Sat Apr 30 00:22:16 2022
Results reported at Sat Apr 30 00:22:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1672 26.1502 27.0899 672710401 672969601 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 :                                   440.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            985 sec.

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

