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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1429
RA = 26.1502, Dec = 27.0899
tmin = 609724801, tmax = 609984001
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='826538', job_status='RUN', time_executed='2021-08-14 15:41:56.522461', time_epoch_executed='1628980916.52' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1429'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826538

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826538/ft1_4FGL_J0144.6+2705_daily_bin1429.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826538/ft2_4FGL_J0144.6+2705_daily_bin1429.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826538/ft1_4FGL_J0144.6+2705_daily_bin1429.fits outfile=/scratch/kocevski/826538/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1429.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=609724801.0 tmax=609984001.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 12.36
user 2.39
sys 9.78

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/826538/ft2_4FGL_J0144.6+2705_daily_bin1429.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/826538/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1429.fits evtable="EVENTS" outfile="/scratch/kocevski/826538/ft1_filtered_4FGL_J0144.6+2705_daily_bin1429.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 10.29
user 0.34
sys 9.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826538/ft1_filtered_4FGL_J0144.6+2705_daily_bin1429.fits" evtable="EVENTS" scfile=/scratch/kocevski/826538/ft2_4FGL_J0144.6+2705_daily_bin1429.fits sctable="SC_DATA" outfile=/scratch/kocevski/826538/ltcube_609724801_609984001_4FGL_J0144.6+2705_daily_bin1429.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/826538/ft2_4FGL_J0144.6+2705_daily_bin1429.fits
.....................!
real 24.37
user 13.12
sys 10.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826538/ft1_filtered_4FGL_J0144.6+2705_daily_bin1429.fits evtable="EVENTS" scfile=/scratch/kocevski/826538/ft2_4FGL_J0144.6+2705_daily_bin1429.fits sctable="SC_DATA" expcube=/scratch/kocevski/826538/ltcube_609724801_609984001_4FGL_J0144.6+2705_daily_bin1429.fits outfile=/scratch/kocevski/826538/expmap_609724801_609984001_4FGL_J0144.6+2705_daily_bin1429.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/826538/ltcube_609724801_609984001_4FGL_J0144.6+2705_daily_bin1429.fits
.....................!
real 204.32
user 185.91
sys 16.84

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/826538/ft1_filtered_4FGL_J0144.6+2705_daily_bin1429.fits scfile=/scratch/kocevski/826538/ft2_4FGL_J0144.6+2705_daily_bin1429.fits outfile=/scratch/kocevski/826538/cmap_609724801_609984001_4FGL_J0144.6+2705_daily_bin1429.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 10.01
user 0.38
sys 9.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826538/ft1_filtered_4FGL_J0144.6+2705_daily_bin1429.fits scfile=/scratch/kocevski/826538/ft2_4FGL_J0144.6+2705_daily_bin1429.fits outfile=/scratch/kocevski/826538/cmap_HighResolution_609724801_609984001_4FGL_J0144.6+2705_daily_bin1429.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 9.97
user 0.39
sys 9.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10763E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .45551E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     8 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     9 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9999.9       1.0000         .10000E-03   10000.    
    11 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    12 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    69.268       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .99259E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10413E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    774.10       1.0000         .10000E-03   10000.    
    22 'Prefactor '    329.15       1.0000         .10000E-03   10000.    
    23 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    .59814       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=   218.9429     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     4393 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    631.80       -.14317E-03** at limit **
   2  Prefactor     .10000E-03    535.14        .18339E-04** at limit **
   3  norm          .10000E-03    18.117       -.17200E-08** at limit **
   4  norm          .10000E-03    8125.8       -.19170E-02** at limit **
   5  Prefactor     .10000E-03    7847.8       -.31507E-03** at limit **
   6  Prefactor     .10000E-03    1047.0       -.66372E-03** at limit **
   7  Prefactor    10000.0        8102.3        .66179E-03** at limit **
   8  Prefactor    10000.0        6214.7        .35164E-02** at limit **
   9  Prefactor    10000.0        9342.8        .25433E-02** at limit **
  10  Prefactor    10000.0        9999.9        .58169E-02** at limit **
  11  norm         10000.0        936.27        .35018E-04** at limit **
  12  Prefactor     10000.        9942.0        .12420E-02** at limit **
  13  Prefactor     .10000E-03    64.868        .11468E-04** at limit **
  14  Prefactor     .10000E-03    168.39       -.11959E-03** at limit **
  15  norm          69.287        69.592        .58056E-05   -.28396E-03
  16  Prefactor     .10000E-03    9266.3       -.54610E-03** at limit **
  17  Prefactor     .10001E-03    243.07        .25669E-03** at limit **
  18  Prefactor     .10000E-03    57.232       -.66239E-05** at limit **
  19  Prefactor     .10000E-03    27.790       -.29299E-07** at limit **
  20  norm          .10000E-03    3.8508       -.40787E-07** at limit **
  21  norm          773.67        1096.1       -.16150E-03    .18295E-06
  22  Prefactor     329.20        568.64        .27238E-04   -.87320E-06
  23  norm          .10000E-03    7.5888       -.27697E-07** at limit **
  24  Normalizat    .10000E-01    .25660       -.15826E-06** at limit **
  25  Prefactor     .59812        .33568       -.10321E-05   -.66491E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 69.2872
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 773.67
  Prefactor  = 329.199
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.598119
 **********
 **   18 **HESSE 
 **********

 FCN=   218.9429     FROM HESSE     STATUS=OK           403 CALLS     4796 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    631.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    535.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    18.116        .61593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    8125.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7847.8        .21203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1047.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        8102.4        .20434E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor    10000.0        6215.4        .18358E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor    10000.0        9342.9        .18209E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor    10000.0        9999.9        .18883E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm         10000.0        936.26        .21341E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10000.        9941.9        .19415E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    64.868        .11664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    168.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          69.287        69.573        .48230E-04   -1.4041    
  16  Prefactor     .10000E-03    9266.4        .20767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    243.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    57.235        .10954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    27.812        .76290E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.1717        .56050E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          773.67        1096.1        .74839E-04   -1.0071    
  22  Prefactor     329.20        576.04        .22420E-04   -1.2059    
  23  norm          .10000E-03    7.6443        .39805E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .25666        .23277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .59812        .33648        .17548E-03   -1.0767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25722e-10
Minuit parameter uncertainties:
  1  2.3083e-06
  2  2.64609e-07
  3  3.33859e-09
  4  0.00127985
  5  2.44917e-05
  6  1.46365e-05
  7  0.000308362
  8  0.00134518
  9  0.00227035
  10  0.00484591
  11  0.000181205
  12  0.000212711
  13  1.58613e-06
  14  9.91179e-05
  15  69.6548
  16  0.00492235
  17  0.0025801
  18  1.50086e-05
  19  3.23133e-05
  20  9.64535e-06
  21  1129.46
  22  586.547
  23  8.23743e-06
  24  2.49004e-07
  25  0.337624
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e+04  1.812e-04  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:  5.981e-01  3.376e-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.000e-02  2.490e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.98
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 5.07e-04 +/- 9.19e-12
Energy Flux (Fixed Index): 2.67e-01 +/- 4.84e-09

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) = 200.013435563
delta logL = 18.9295122075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 200.011462483
delta logL = 18.9314852872

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56630       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=   200.0115     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      183 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm         10000.0        821.61        .90722E-02** at limit **
   2  alpha         5.0000        .66243E-01    .72178E-01** at limit **
   3  Normalizat    .10000E-01    .20627        .90274E-01** at limit **
   4  Prefactor     .56627        .26480        .40592E-01    .28438E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 10000
  alpha      = 5
  Normalizat = 0.01
  Prefactor  = 0.566271
 **********
 **   18 **HESSE 
 **********

 FCN=   200.0115     FROM HESSE     STATUS=OK            23 CALLS      206 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm         10000.0        821.61        .18144E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        .66204E-01    .15952E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .10000E-01    .20659        .19900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .56627        .26423        .15847E-03   -1.0903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60605e-13
Minuit parameter uncertainties:
  1  0.000165043
  2  5.9127e-09
  3  7.46402e-08
  4  0.264812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826538': 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) = 200.011456838
delta logL = 18.9314909329

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e+04  1.650e-04  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  5.000e+00  5.913e-09  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:  5.663e-01  2.648e-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.000e-02  7.464e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 53.90
Ra Dec: 26.150 27.090
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 4.86e-02 +/- 9.43e-10
Energy Flux (Free Index): 6.60e+00 +/- 1.27e-07

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/826538/cmap_HighResolution_609724801_609984001_4FGL_J0144.6+2705_daily_bin1429.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.07e-04', energy_flux2='6.60e+00', photon_flux_error='9.19e-12', dlogl='1.89e+01', energy_flux='2.67e-01', photon_flux2='4.86e-02', job_status='DONE', time_completed='2021-08-14 15:50:05.350225', photon_index_error2='0.00', photon_index2='5.00', ts='15.98', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', energy_flux_error2='1.27e-07', EG='0.01', time_epoch_completed='1628981405.35', return_code='0', job_id='826538', GAL2='0.57', EG2='0.01', return_code2='0', energy_flux_error='4.84e-09', photon_flux_error2='9.43e-10', ts2='53.90', photon_index='2.03' WHERE bin_id='1429' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:50:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0134>
Subject: Job 826538: <4FGL_J0144.6+2705_daily_bin1429> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1429> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Aug 14 15:35:36 2021
Job was executed on host(s) <bullet0134>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:37:06 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:37:06 2021
Terminated at Sat Aug 14 15:50:07 2021
Results reported at Sat Aug 14 15:50:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1429 26.1502 27.0899 609724801 609984001 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 :                                   624.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            871 sec.

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

