/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 157 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 = 7436
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1442.2+0622_daily_bin329
RA = 220.561, Dec = 6.3755
tmin = 324604801, tmax = 324864001
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='712359', job_status='RUN', time_executed='2021-09-10 05:44:11.266299', time_epoch_executed='1631277851.27' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='329'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712359

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712359/ft1_4FGL_J1442.2+0622_daily_bin329.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712359/ft2_4FGL_J1442.2+0622_daily_bin329.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712359/ft1_4FGL_J1442.2+0622_daily_bin329.fits outfile=/scratch/kocevski/712359/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin329.fits ra=220.561 dec=6.3755 rad=12.0 tmin=324604801.0 tmax=324864001.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 9.48
user 9.05
sys 0.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/712359/ft2_4FGL_J1442.2+0622_daily_bin329.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/712359/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin329.fits evtable="EVENTS" outfile="/scratch/kocevski/712359/ft1_filtered_4FGL_J1442.2+0622_daily_bin329.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.52
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712359/ft1_filtered_4FGL_J1442.2+0622_daily_bin329.fits" evtable="EVENTS" scfile=/scratch/kocevski/712359/ft2_4FGL_J1442.2+0622_daily_bin329.fits sctable="SC_DATA" outfile=/scratch/kocevski/712359/ltcube_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.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/712359/ft2_4FGL_J1442.2+0622_daily_bin329.fits
.....................!
real 11.32
user 10.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712359/ft1_filtered_4FGL_J1442.2+0622_daily_bin329.fits evtable="EVENTS" scfile=/scratch/kocevski/712359/ft2_4FGL_J1442.2+0622_daily_bin329.fits sctable="SC_DATA" expcube=/scratch/kocevski/712359/ltcube_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.fits outfile=/scratch/kocevski/712359/expmap_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.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/712359/ltcube_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.fits
.....................!
real 191.02
user 185.20
sys 5.46

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/712359/ft1_filtered_4FGL_J1442.2+0622_daily_bin329.fits scfile=/scratch/kocevski/712359/ft2_4FGL_J1442.2+0622_daily_bin329.fits outfile=/scratch/kocevski/712359/cmap_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712359/ft1_filtered_4FGL_J1442.2+0622_daily_bin329.fits scfile=/scratch/kocevski/712359/ft2_4FGL_J1442.2+0622_daily_bin329.fits outfile=/scratch/kocevski/712359/cmap_HighResolution_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.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.53
user 0.37
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/712359/ft1_filtered_4FGL_J1442.2+0622_daily_bin329.fits', '/scratch/kocevski/712359/ft2_4FGL_J1442.2+0622_daily_bin329.fits', expMap='/scratch/kocevski/712359/expmap_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.fits', expCube='/scratch/kocevski/712359/ltcube_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/712359/Model_4FGL_J1442.2+0622_daily_bin329.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/712359/ft1_filtered_4FGL_J1442.2+0622_daily_bin329.fits
Spacecraft file(s): /scratch/kocevski/712359/ft2_4FGL_J1442.2+0622_daily_bin329.fits
Exposure map: /scratch/kocevski/712359/expmap_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.fits
Exposure cube: /scratch/kocevski/712359/ltcube_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/712359/Model_4FGL_J1442.2+0622_daily_bin329.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) = 3788.08492295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.625       1.0000         .10000E-03   10000.    
     2 'Prefactor '    37.496       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    41.524       1.0000         .10000E-03   10000.    
     6 'norm      '    35.538       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.047       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.347       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.990       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .83302       1.0000         .10000E-03   10000.    
    18 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10528E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.4346       1.0000         .10000E-03   10000.    
    21 'Prefactor '    46.236       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .85802       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97932       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=   3788.047     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2540 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.623        27.294       -.12886E-06   -.68288E-04
   2  Prefactor     37.496        34.043       -.95500E-07   -.23702E-04
   3  Prefactor     .10001E-03    39.101        .19285E-05** at limit **
   4  norm          .10000E-03    8.5311        .25871E-07** at limit **
   5  Prefactor     41.519        43.719       -.64634E-06   -.85636E-04
   6  norm          35.546        59.565        .10108E-05    .80436E-04
   7  Prefactor     .10000E-03    10.122        .37017E-06** at limit **
   8  Prefactor     16.039        12.959        .42079E-06    .32366E-03
   9  Prefactor     .10001E-03    68.713       -.22230E-05** at limit **
  10  Prefactor     11.357        27.860       -.14902E-05   -.89372E-04
  11  norm          .10000E-03    12.850       -.83099E-08** at limit **
  12  Prefactor     11.991        21.751        .43745E-06    .94218E-04
  13  Prefactor     .10000E-03    8.5221       -.75540E-07** at limit **
  14  Prefactor     .10000E-03    6.0948        .28487E-07** at limit **
  15  Prefactor     .10001E-03    15.024        .21980E-05** at limit **
  16  Prefactor     .10001E-03    38.462        .18206E-05** at limit **
  17  norm          .83302        .30258       -.10983E-07    .12852E-02
  18  norm          .10000E-03    1.5860       -.84703E-07** at limit **
  19  norm          .10001E-03    24.592       -.13874E-04** at limit **
  20  norm          4.4353        4.2055        .43088E-07    .49880E-04
  21  Prefactor     46.228        47.205       -.89663E-06   -.17391E-03
  22  Normalizat    .85832        .29131        .97531E-06    .95785E-04
  23  Prefactor     .97915        .16939       -.48714E-06    .16982E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.6233
  Prefactor  = 37.4955
  Prefactor  = 0.000100009
  norm       = 0.0001
  Prefactor  = 41.5192
  norm       = 35.5464
  Prefactor  = 0.0001
  Prefactor  = 16.0391
  Prefactor  = 0.000100013
  Prefactor  = 11.3569
  norm       = 0.000100001
  Prefactor  = 11.9911
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 0.000100008
  norm       = 0.833018
  norm       = 0.0001
  norm       = 0.000100005
  norm       = 4.43527
  Prefactor  = 46.2285
  Normalizat = 0.858316
  Prefactor  = 0.979145
 **********
 **   18 **HESSE 
 **********

 FCN=   3788.047     FROM HESSE     STATUS=OK           360 CALLS     2900 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.623        27.336        .59358E-04   -1.4356    
   2  Prefactor     37.496        34.061        .65452E-04   -1.4483    
   3  Prefactor     .10001E-03    39.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    8.5383        .17559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.519        43.888        .62208E-04   -1.4418    
   6  norm          35.546        59.766        .67225E-04   -1.4515    
   7  Prefactor     .10000E-03    10.178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.039        13.046        .99983E-04   -1.4907    
   9  Prefactor     .10001E-03    69.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.357        28.076        .11893E-03   -1.5034    
  11  norm          .10000E-03    13.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.991        21.757        .11569E-03   -1.5015    
  13  Prefactor     .10000E-03    8.5275        .17550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.0972        .14840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    15.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    38.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .83302        .30142        .19257E-04   -1.5525    
  18  norm          .10000E-03    1.6329        .15119E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10001E-03    24.615        .31615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.4353        4.2080        .11900E-03   -1.5287    
  21  Prefactor     46.228        47.424        .58966E-04   -1.4347    
  22  Normalizat    .85832        .35047        .33647E-03   -.97941    
  23  Prefactor     .97915        .20435        .18939E-03   -.93428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1584e-09
Minuit parameter uncertainties:
  1  27.344
  2  34.0782
  3  0.00119516
  4  7.32198e-06
  5  43.9222
  6  59.867
  7  0.000111292
  8  13.0479
  9  0.00193252
  10  28.1089
  11  0.000165991
  12  21.7711
  13  2.4096e-05
  14  4.92085e-06
  15  0.000852951
  16  0.00108355
  17  0.301416
  18  6.50131e-06
  19  0.000722632
  20  4.20827
  21  47.4627
  22  0.351398
  23  0.204506
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  1.660e-04  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:  9.791e-01  2.045e-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:  8.583e-01  3.514e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 7.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.86e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712359/likelihoodResults_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.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): 102
logL (Free Index) = 3788.04715199
delta logL = -0.000365255751603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3788.04678672
delta logL = 1.29148247652e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6867       1.0000          .0000       5.0000    
     3 'Normalizat'    .85831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97916       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=   3788.047     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      242 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    636.70        .18142E-01** at limit **
   2  alpha         1.9536        2.8676        .16519       -.68133E-08
   3  Normalizat    .85832        .47720E-01    .33647E-03    .24480E-04
   4  Prefactor     .97915        .28716E-01    .18939E-03    .46611E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.95357
  Normalizat = 0.858316
  Prefactor  = 0.979145
 **********
 **   18 **HESSE 
 **********

 FCN=   3788.047     FROM HESSE     STATUS=OK            23 CALLS      265 TOTAL
                     EDM=   .72E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.251        .23433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9536        3.3326        .66076E-02   -.22035    
   3  Normalizat    .85832        .33348        .13459E-04   -.97941    
   4  Prefactor     .97915        .20100        .37879E-04   -.93428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.24002e-12
Minuit parameter uncertainties:
  1  3.12089e-05
  2  744.01
  3  0.334284
  4  0.201156
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712359': 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) = 3788.04678618
delta logL = 5.5052623793e-07

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  3.121e-05  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  1.954e+00  7.440e+02  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:  9.791e-01  2.012e-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:  8.583e-01  3.343e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.561 6.375

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/712359/cmap_HighResolution_324604801_324864001_4FGL_J1442.2+0622_daily_bin329.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-05', job_status='DONE', photon_flux_upper_limit='7.90e-08', time_completed='2021-09-10 05:52:44.724875', job_id='712359', GAL2='0.98', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1631278364.72', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='5.51e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='329' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:52:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 712359: <4FGL_J1442.2+0622_daily_bin329> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin329> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:41:20 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:41:21 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:41:21 2021
Terminated at Fri Sep 10 05:52:45 2021
Results reported at Fri Sep 10 05:52:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin329 220.561 6.3755 324604801 324864001 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 :                                   507.46 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             260.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            685 sec.

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

