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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1410
RA = 26.1502, Dec = 27.0899
tmin = 604800001, tmax = 605059201
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='826509', job_status='RUN', time_executed='2021-08-14 15:37:40.204955', time_epoch_executed='1628980660.2' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826509

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826509/ft1_4FGL_J0144.6+2705_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826509/ft2_4FGL_J0144.6+2705_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826509/ft1_4FGL_J0144.6+2705_daily_bin1410.fits outfile=/scratch/kocevski/826509/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1410.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=604800001.0 tmax=605059201.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 4.76
user 3.97
sys 0.77

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/826509/ft2_4FGL_J0144.6+2705_daily_bin1410.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/826509/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1410.fits evtable="EVENTS" outfile="/scratch/kocevski/826509/ft1_filtered_4FGL_J0144.6+2705_daily_bin1410.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.97
user 0.28
sys 0.68

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826509/ft1_filtered_4FGL_J0144.6+2705_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/826509/ft2_4FGL_J0144.6+2705_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/826509/ltcube_604800001_605059201_4FGL_J0144.6+2705_daily_bin1410.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/826509/ft2_4FGL_J0144.6+2705_daily_bin1410.fits
.....................!
real 11.49
user 10.53
sys 0.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826509/ft1_filtered_4FGL_J0144.6+2705_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/826509/ft2_4FGL_J0144.6+2705_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/826509/ltcube_604800001_605059201_4FGL_J0144.6+2705_daily_bin1410.fits outfile=/scratch/kocevski/826509/expmap_604800001_605059201_4FGL_J0144.6+2705_daily_bin1410.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/826509/ltcube_604800001_605059201_4FGL_J0144.6+2705_daily_bin1410.fits
.....................!
real 156.86
user 151.50
sys 4.48

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/826509/ft1_filtered_4FGL_J0144.6+2705_daily_bin1410.fits scfile=/scratch/kocevski/826509/ft2_4FGL_J0144.6+2705_daily_bin1410.fits outfile=/scratch/kocevski/826509/cmap_604800001_605059201_4FGL_J0144.6+2705_daily_bin1410.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 1.07
user 0.32
sys 0.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826509/ft1_filtered_4FGL_J0144.6+2705_daily_bin1410.fits scfile=/scratch/kocevski/826509/ft2_4FGL_J0144.6+2705_daily_bin1410.fits outfile=/scratch/kocevski/826509/cmap_HighResolution_604800001_605059201_4FGL_J0144.6+2705_daily_bin1410.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 1.03
user 0.33
sys 0.66

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.9648       1.0000         .10000E-03   10000.    
     4 'norm      '    .82182       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10967E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3050       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11760E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.522       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10986E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6217       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11601E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .96769E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.3229       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.174       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.910       1.0000         .10000E-03   10000.    
    20 'norm      '    1.4590       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    27.162       1.0000         .10000E-03   10000.    
    23 'norm      '    7.8032       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .76341       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97943       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=   6930.179     FROM MIGRAD    STATUS=CONVERGED    590 CALLS     2873 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2339        .39907E-07** at limit **
   2  Prefactor     .10000E-03    18.845       -.20812E-06** at limit **
   3  norm          1.9645        .74114        .10226E-07   -.56694E-03
   4  norm          .81935        .82279        .14622E-06    .30240E-04
   5  Prefactor     .10000E-03    10.264       -.43473E-07** at limit **
   6  Prefactor     .10000E-03    3.0831        .42247E-07** at limit **
   7  Prefactor     4.3100        6.6438       -.67922E-06   -.43405E-03
   8  Prefactor     .10000E-03    5.0679       -.48563E-06** at limit **
   9  Prefactor     19.563        45.123        .51814E-04   -.21045E-05
  10  Prefactor     .10000E-03    53.966       -.51515E-05** at limit **
  11  norm          1.6220        .69534       -.74074E-07   -.67163E-03
  12  Prefactor     .10000E-03    6.1099       -.28355E-06** at limit **
  13  Prefactor     .10000E-03    6.5464        .29698E-07** at limit **
  14  Prefactor     .10012E-03    16.374        .29918E-05** at limit **
  15  norm          1.3214        2.9655       -.92990E-07   -.86991E-03
  16  Prefactor     .10000E-03    90.437        .78585E-05** at limit **
  17  Prefactor     10.179        7.0618       -.27935E-06   -.54295E-03
  18  Prefactor     .10000E-03    1.8271        .31933E-07** at limit **
  19  Prefactor     12.910        9.3194        .41714E-06   -.16280E-03
  20  norm          1.4586        .70352        .55885E-07   -.50410E-03
  21  norm          .10000E-03    25.667        .73655E-06** at limit **
  22  Prefactor     27.170        31.540        .44552E-05   -.83445E-05
  23  norm          7.8030        3.1051        .16583E-06   -.21005E-03
  24  Normalizat    .76414        .18639       -.30409E-05   -.19023E-03
  25  Prefactor     .97906        .10944       -.13028E-05   -.16331E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.96455
  norm       = 0.819349
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.31005
  Prefactor  = 0.000100001
  Prefactor  = 19.5634
  Prefactor  = 0.0001
  norm       = 1.62196
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010012
  norm       = 1.32139
  Prefactor  = 0.0001
  Prefactor  = 10.1793
  Prefactor  = 0.0001
  Prefactor  = 12.9099
  norm       = 1.45863
  norm       = 0.0001
  Prefactor  = 27.1704
  norm       = 7.80298
  Normalizat = 0.764144
  Prefactor  = 0.979059
 **********
 **   18 **HESSE 
 **********

 FCN=   6930.179     FROM HESSE     STATUS=OK           429 CALLS     3302 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2450        .16729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.9645        .73877        .42283E-04   -1.5428    
   4  norm          .81935        .80146        .72307E-04   -1.5527    
   5  Prefactor     .10000E-03    10.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.2159        .28538E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3100        6.6450        .19416E-03   -1.5293    
   8  Prefactor     .10000E-03    5.1016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.563        44.938        .90651E-04   -1.4823    
  10  Prefactor     .10000E-03    54.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6220        .69576        .43581E-04   -1.5453    
  12  Prefactor     .10000E-03    6.1774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.5689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10012E-03    97.776        .63738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3214        2.8926        .19981E-03   -1.5478    
  16  Prefactor     .10000E-03    90.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.179        6.8774        .12562E-03   -1.5070    
  18  Prefactor     .10000E-03    1.8338        .10988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.910        9.3059        .11148E-03   -1.4989    
  20  norm          1.4586        .69968        .46391E-04   -1.5466    
  21  norm          .10000E-03    25.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     27.170        31.547        .76867E-04   -1.4665    
  23  norm          7.8030        3.1044        .88806E-04   -1.5149    
  24  Normalizat    .76414        .21367        .32300E-03   -1.0141    
  25  Prefactor     .97906        .12638        .17749E-03   -.93431    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97467e-09
Minuit parameter uncertainties:
  1  7.65038e-06
  2  1.6319e-05
  3  0.738778
  4  0.801474
  5  7.12651e-06
  6  6.07304e-06
  7  6.64613
  8  0.000108175
  9  45.0159
  10  0.000275384
  11  0.695767
  12  8.21794e-05
  13  2.51287e-05
  14  0.00685766
  15  2.8929
  16  3.59394e-05
  17  6.87792
  18  3.61891e-06
  19  9.30692
  20  0.69968
  21  3.70398e-06
  22  31.5662
  23  3.10448
  24  0.213909
  25  0.126416
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.622e+00  6.958e-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.791e-01  1.264e-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:  7.641e-01  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.10
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 8.23e-08 +/- 3.53e-08
Energy Flux (Fixed Index): 4.33e-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) = 6929.35737375
delta logL = 0.821566994871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6929.35334801
delta logL = 0.825592739108

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1756       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4480       1.0000          .0000       5.0000    
     3 'Normalizat'    .79894       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97617       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=   6929.353     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1755        .60294        .97819E-02   -.11133E-02
   2  alpha         1.4479        .31595        .25823       -.54647E-04
   3  Normalizat    .79897        .17507        .71555E-01    .45308E-03
   4  Prefactor     .97618        .10811        .45969E-01    .82864E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.17549
  alpha      = 1.44791
  Normalizat = 0.798966
  Prefactor  = 0.976177
 **********
 **   18 **HESSE 
 **********

 FCN=   6929.353     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1755        .84581        .42635E-04   -1.5491    
   2  alpha         1.4479        .46346        .10726E-01   -.43436    
   3  Normalizat    .79897        .20167        .31665E-03   -1.0011    
   4  Prefactor     .97618        .12489        .17786E-03   -.93528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16126e-10
Minuit parameter uncertainties:
  1  0.845817
  2  0.466751
  3  0.201863
  4  0.124931
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826509': 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) = 6929.35334795
delta logL = 0.825592795824

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.175e+00  8.458e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.448e+00  4.668e-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.762e-01  1.249e-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:  7.990e-01  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.72
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.45 +/- 0.47
Photon Flux (Free Index): 3.93e-08 +/- 3.26e-08
Energy Flux (Free Index): 7.49e-05 +/- 5.61e-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/826509/cmap_HighResolution_604800001_605059201_4FGL_J0144.6+2705_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.23e-08', energy_flux2='7.49e-05', photon_flux_error='3.53e-08', dlogl='8.26e-01', energy_flux='4.33e-05', photon_flux2='3.93e-08', job_status='DONE', time_completed='2021-08-14 15:47:12.271120', photon_index_error2='0.47', photon_index2='1.45', ts='18.10', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.61e-05', EG='0.76', time_epoch_completed='1628981232.27', return_code='0', job_id='826509', GAL2='0.98', EG2='0.80', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='3.26e-08', ts2='19.72', photon_index='2.03' WHERE bin_id='1410' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:47:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 826509: <4FGL_J0144.6+2705_daily_bin1410> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1410 26.1502 27.0899 604800001 605059201 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 :                                   576.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            699 sec.

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

