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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin787
RA = 220.561, Dec = 6.3755
tmin = 443318401, tmax = 443577601
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='714187', job_status='RUN', time_executed='2021-09-10 05:49:26.853801', time_epoch_executed='1631278166.85' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='787'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714187

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714187/ft1_4FGL_J1442.2+0622_daily_bin787.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714187/ft2_4FGL_J1442.2+0622_daily_bin787.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714187/ft1_4FGL_J1442.2+0622_daily_bin787.fits outfile=/scratch/kocevski/714187/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin787.fits ra=220.561 dec=6.3755 rad=12.0 tmin=443318401.0 tmax=443577601.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.58
user 4.36
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/714187/ft2_4FGL_J1442.2+0622_daily_bin787.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714187/ft2_4FGL_J1442.2+0622_daily_bin787.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/714187/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin787.fits evtable="EVENTS" outfile="/scratch/kocevski/714187/ft1_filtered_4FGL_J1442.2+0622_daily_bin787.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714187/ft1_filtered_4FGL_J1442.2+0622_daily_bin787.fits" evtable="EVENTS" scfile=/scratch/kocevski/714187/ft2_4FGL_J1442.2+0622_daily_bin787.fits sctable="SC_DATA" outfile=/scratch/kocevski/714187/ltcube_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.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/714187/ft2_4FGL_J1442.2+0622_daily_bin787.fits
.....................!
real 11.58
user 11.26
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714187/ft1_filtered_4FGL_J1442.2+0622_daily_bin787.fits evtable="EVENTS" scfile=/scratch/kocevski/714187/ft2_4FGL_J1442.2+0622_daily_bin787.fits sctable="SC_DATA" expcube=/scratch/kocevski/714187/ltcube_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.fits outfile=/scratch/kocevski/714187/expmap_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.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/714187/ltcube_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.fits
.....................!
real 190.56
user 185.66
sys 4.45

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 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/714187/ft1_filtered_4FGL_J1442.2+0622_daily_bin787.fits scfile=/scratch/kocevski/714187/ft2_4FGL_J1442.2+0622_daily_bin787.fits outfile=/scratch/kocevski/714187/cmap_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.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=220.561 yref=6.3755 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714187/ft1_filtered_4FGL_J1442.2+0622_daily_bin787.fits scfile=/scratch/kocevski/714187/ft2_4FGL_J1442.2+0622_daily_bin787.fits outfile=/scratch/kocevski/714187/cmap_HighResolution_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.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=220.561 yref=6.3755 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/714187/ft1_filtered_4FGL_J1442.2+0622_daily_bin787.fits evtable="EVENTS" scfile=/scratch/kocevski/714187/ft2_4FGL_J1442.2+0622_daily_bin787.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714187/Model_4FGL_J1442.2+0622_daily_bin787.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/714187/ft1_filtered_4FGL_J1442.2+0622_daily_bin787.fits.....................!
real 51.79
user 50.43
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/714187/ft1_filtered_4FGL_J1442.2+0622_daily_bin787.fits', '/scratch/kocevski/714187/ft2_4FGL_J1442.2+0622_daily_bin787.fits', expMap='/scratch/kocevski/714187/expmap_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.fits', expCube='/scratch/kocevski/714187/ltcube_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/714187/Model_4FGL_J1442.2+0622_daily_bin787.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/714187/ft1_filtered_4FGL_J1442.2+0622_daily_bin787.fits
Spacecraft file(s): /scratch/kocevski/714187/ft2_4FGL_J1442.2+0622_daily_bin787.fits
Exposure map: /scratch/kocevski/714187/expmap_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.fits
Exposure cube: /scratch/kocevski/714187/ltcube_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/714187/Model_4FGL_J1442.2+0622_daily_bin787.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) = 6790.39770539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    12.445       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.4986       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7742       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.4837       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11673E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    32.467       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.7589       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.288       1.0000         .10000E-03   10000.    
    15 'Prefactor '    57.391       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .83373       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.4145       1.0000         .10000E-03   10000.    
    21 'Prefactor '    51.505       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1595       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80868       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6790.389     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2563 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3479       -.89627E-08** at limit **
   2  Prefactor     12.442        21.323        .56077E-06    .27921E-05
   3  Prefactor     .10000E-03    10.644        .10192E-05** at limit **
   4  norm          7.4985        7.3532       -.38462E-06   -.87992E-05
   5  Prefactor     .10000E-03    12.209       -.15654E-05** at limit **
   6  norm          .10000E-03    8.1219       -.56050E-06** at limit **
   7  Prefactor     2.7743        4.9741        .22477E-05    .25250E-04
   8  Prefactor     9.4833        7.4088       -.33014E-06   -.25104E-04
   9  Prefactor     .10000E-03    19.131        .18568E-05** at limit **
  10  Prefactor     .10000E-03    78.454        .17427E-05** at limit **
  11  norm          32.442        22.621        .90636E-06   -.11491E-03
  12  Prefactor     8.7452        24.376        .24399E-05    .13273E-04
  13  Prefactor     .10000E-03    8.2246        .45100E-06** at limit **
  14  Prefactor     10.286        14.992        .14863E-06    .97715E-06
  15  Prefactor     57.396        34.177       -.68315E-06    .19008E-06
  16  Prefactor     .10000E-03    31.366       -.23310E-05** at limit **
  17  norm          .83374        .22512        .36330E-08   -.24997E-03
  18  norm          .10000E-03    .85941       -.15091E-07** at limit **
  19  norm          .10000E-03    3.5846        .24560E-08** at limit **
  20  norm          6.4143        4.1174        .69938E-07   -.46349E-05
  21  Prefactor     51.499        44.477        .85669E-06    .32910E-05
  22  Normalizat    1.1595        .20485       -.26861E-06   -.27264E-04
  23  Prefactor     .80869        .11979       -.34181E-06   -.48931E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.4424
  Prefactor  = 0.0001
  norm       = 7.49852
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.77429
  Prefactor  = 9.48329
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 32.4419
  Prefactor  = 8.74516
  Prefactor  = 0.0001
  Prefactor  = 10.2857
  Prefactor  = 57.3958
  Prefactor  = 0.0001
  norm       = 0.833742
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.41428
  Prefactor  = 51.4992
  Normalizat = 1.15953
  Prefactor  = 0.808689
 **********
 **   18 **HESSE 
 **********

 FCN=   6790.389     FROM HESSE     STATUS=OK           372 CALLS     2935 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.3505        .16780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.442        21.411        .11355E-03   -1.5002    
   3  Prefactor     .10000E-03    10.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.4985        7.3564        .73228E-03   -1.5160    
   5  Prefactor     .10000E-03    12.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.1324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7743        4.9847        .11798E-02   -1.5375    
   8  Prefactor     9.4833        7.4277        .13013E-03   -1.5092    
   9  Prefactor     .10000E-03    19.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    76.575        .20657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          32.442        22.272        .70323E-04   -1.4568    
  12  Prefactor     8.7452        24.415        .13544E-03   -1.5116    
  13  Prefactor     .10000E-03    8.2392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.286        14.978        .12492E-03   -1.5066    
  15  Prefactor     57.396        34.130        .52955E-04   -1.4191    
  16  Prefactor     .10000E-03    31.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .83374        .22485        .19351E-04   -1.5525    
  18  norm          .10000E-03    .87371        .74516E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.6137        .15235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.4143        4.1188        .12891E-03   -1.5201    
  21  Prefactor     51.499        44.546        .55883E-04   -1.4271    
  22  Normalizat    1.1595        .24452        .28790E-03   -.87863    
  23  Prefactor     .80869        .14262        .20303E-03   -.99409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75069e-11
Minuit parameter uncertainties:
  1  6.18515e-07
  2  21.4237
  3  1.30433e-05
  4  7.35724
  5  1.44375e-05
  6  4.77755e-06
  7  4.98541
  8  7.42843
  9  2.53808e-05
  10  0.00101543
  11  22.2776
  12  24.4424
  13  6.73299e-07
  14  14.9836
  15  34.1416
  16  8.45219e-06
  17  0.224853
  18  1.92003e-07
  19  9.66847e-07
  20  4.11896
  21  44.5747
  22  0.244758
  23  0.142687
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.244e+01  2.228e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  8.087e-01  1.427e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.160e+00  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.17
Ra Dec: 220.561 6.375
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 5.38e-08 +/- 3.69e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 1.34e-05

TS (Fixed Index): 3.17
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/714187/likelihoodResults_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.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) = 6789.4390719
delta logL = 0.949878348283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6789.43344273
delta logL = 0.955507523036

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6789.433     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      284 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.781        17.588        .11670E-03    .71076E-03
   2  alpha         3.6145        .81819        .99927E-02    .96941E-04
   3  Normalizat    1.1063        .23831        .29363E-03   -.16277E-03
   4  Prefactor     .82768        .14159        .20080E-03   -.35915E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7807
  alpha      = 3.61455
  Normalizat = 1.10631
  Prefactor  = 0.82768
 **********
 **   18 **HESSE 
 **********

 FCN=   6789.433     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.781        14.060        .46680E-05   -1.5021    
   2  alpha         3.6145        .65900        .39971E-03    .46209    
   3  Normalizat    1.1063        .23802        .11745E-04   -.89549    
   4  Prefactor     .82768        .14142        .40159E-04   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04996e-10
Minuit parameter uncertainties:
  1  14.0639
  2  0.668915
  3  0.238249
  4  0.141482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714187': 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) = 6789.43344265
delta logL = 0.955507596919

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.178e+01  1.406e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  3.615e+00  6.689e-01  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  8.277e-01  1.415e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.106e+00  2.382e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.13
Ra Dec: 220.561 6.375
Photon Index (Free Index): 3.61 +/- 0.67
Photon Flux (Free Index): 9.78e-08 +/- 5.77e-08
Energy Flux (Free Index): 2.11e-05 +/- 1.16e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/714187/cmap_HighResolution_443318401_443577601_4FGL_J1442.2+0622_daily_bin787.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-05', comment='SUCCESS', photon_flux='5.38e-08', energy_flux2='2.11e-05', photon_flux_error='3.69e-08', dlogl='9.56e-01', energy_flux='1.95e-05', photon_flux2='9.78e-08', job_status='DONE', time_completed='2021-09-10 05:59:50.131738', photon_index_error2='0.67', photon_index2='3.61', ts='3.17', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='1.16e-05', EG='1.16', time_epoch_completed='1631278790.13', return_code='0', job_id='714187', GAL2='0.83', EG2='1.11', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='5.77e-08', ts2='5.13', photon_index='2.70' WHERE bin_id='787' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:59:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 714187: <4FGL_J1442.2+0622_daily_bin787> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin787> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 05:46:40 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:46:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:46:42 2021
Terminated at Fri Sep 10 05:59:50 2021
Results reported at Fri Sep 10 05:59:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin787 220.561 6.3755 443318401 443577601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   621.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            790 sec.

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

