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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin318
RA = 220.561, Dec = 6.3755
tmin = 321753601, tmax = 322012801
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='712343', job_status='RUN', time_executed='2021-09-10 05:45:22.876777', time_epoch_executed='1631277922.88' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='318'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712343

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712343/ft1_4FGL_J1442.2+0622_daily_bin318.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712343/ft2_4FGL_J1442.2+0622_daily_bin318.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712343/ft1_4FGL_J1442.2+0622_daily_bin318.fits outfile=/scratch/kocevski/712343/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin318.fits ra=220.561 dec=6.3755 rad=12.0 tmin=321753601.0 tmax=322012801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.35
user 3.14
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712343/ft1_filtered_4FGL_J1442.2+0622_daily_bin318.fits" evtable="EVENTS" scfile=/scratch/kocevski/712343/ft2_4FGL_J1442.2+0622_daily_bin318.fits sctable="SC_DATA" outfile=/scratch/kocevski/712343/ltcube_321753601_322012801_4FGL_J1442.2+0622_daily_bin318.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/712343/ft2_4FGL_J1442.2+0622_daily_bin318.fits
.....................!
real 12.11
user 11.77
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712343/ft1_filtered_4FGL_J1442.2+0622_daily_bin318.fits evtable="EVENTS" scfile=/scratch/kocevski/712343/ft2_4FGL_J1442.2+0622_daily_bin318.fits sctable="SC_DATA" expcube=/scratch/kocevski/712343/ltcube_321753601_322012801_4FGL_J1442.2+0622_daily_bin318.fits outfile=/scratch/kocevski/712343/expmap_321753601_322012801_4FGL_J1442.2+0622_daily_bin318.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/712343/ltcube_321753601_322012801_4FGL_J1442.2+0622_daily_bin318.fits
.....................!
real 192.70
user 187.32
sys 4.99

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/712343/ft1_filtered_4FGL_J1442.2+0622_daily_bin318.fits scfile=/scratch/kocevski/712343/ft2_4FGL_J1442.2+0622_daily_bin318.fits outfile=/scratch/kocevski/712343/cmap_321753601_322012801_4FGL_J1442.2+0622_daily_bin318.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.54
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712343/ft1_filtered_4FGL_J1442.2+0622_daily_bin318.fits scfile=/scratch/kocevski/712343/ft2_4FGL_J1442.2+0622_daily_bin318.fits outfile=/scratch/kocevski/712343/cmap_HighResolution_321753601_322012801_4FGL_J1442.2+0622_daily_bin318.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10464E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.152       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.048       1.0000         .10000E-03   10000.    
     4 'norm      '    9.0523       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.0178       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5820       1.0000         .10000E-03   10000.    
    11 'norm      '    .14054E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12474E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.057       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10433E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .50852       1.0000         .10000E-03   10000.    
    18 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.5306       1.0000         .10000E-03   10000.    
    20 'norm      '    2.6285       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.3574       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6017       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .72568       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=   6319.151     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2519 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.444       -.17886E-05** at limit **
   2  Prefactor     20.152        26.190       -.47305E-06    .16790E-04
   3  Prefactor     14.046        21.047       -.21511E-06   -.62626E-05
   4  norm          9.0527        9.2226       -.69485E-06    .30316E-04
   5  Prefactor     .10000E-03    12.009        .49888E-06** at limit **
   6  norm          .10000E-03    16.793        .29022E-06** at limit **
   7  Prefactor     .10000E-03    3.3831       -.53467E-07** at limit **
   8  Prefactor     7.0156        7.1674       -.95733E-07   -.23554E-04
   9  Prefactor     .10000E-03    37.759        .46405E-06** at limit **
  10  Prefactor     3.5341        63.843       -.89527E-05   -.87245E-04
  11  norm          .10000E-03    19.507       -.23799E-05** at limit **
  12  Prefactor     .10000E-03    14.723       -.83079E-06** at limit **
  13  Prefactor     .10000E-03    58.332        .19634E-05** at limit **
  14  Prefactor     10.054        12.972       -.11743E-06    .25840E-05
  15  Prefactor     .10000E-03    11.305       -.24696E-06** at limit **
  16  Prefactor     .10000E-03    66.792       -.86233E-06** at limit **
  17  norm          .50838        .21975        .10232E-07    .57374E-05
  18  norm          .10000E-03    .81403        .53068E-07** at limit **
  19  norm          4.5307        4.3955       -.19521E-05    .18150E-03
  20  norm          2.6287        2.6925        .93130E-08   -.81734E-05
  21  Prefactor     8.3574        22.371        .20308E-07   -.28557E-05
  22  Normalizat    1.6018        .22597        .11016E-05   -.24950E-04
  23  Prefactor     .72554        .12853       -.48927E-06    .84828E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 20.1522
  Prefactor  = 14.0458
  norm       = 9.0527
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.01559
  Prefactor  = 0.0001
  Prefactor  = 3.53412
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 10.0541
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.508376
  norm       = 0.0001
  norm       = 4.53065
  norm       = 2.6287
  Prefactor  = 8.3574
  Normalizat = 1.60185
  Prefactor  = 0.725538
 **********
 **   18 **HESSE 
 **********

 FCN=   6319.151     FROM HESSE     STATUS=OK           372 CALLS     2891 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.412        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.152        26.237        .89222E-04   -1.4810    
   3  Prefactor     14.046        21.061        .10686E-03   -1.4958    
   4  norm          9.0527        9.2369        .66606E-03   -1.5106    
   5  Prefactor     .10000E-03    12.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    16.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4000        .14267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.0156        7.1842        .15143E-03   -1.5178    
   9  Prefactor     .10000E-03    37.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5341        70.160        .21352E-03   -1.5332    
  11  norm          .10000E-03    19.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    59.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.054        12.977        .12635E-03   -1.5074    
  15  Prefactor     .10000E-03    11.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    68.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .50838        .21851        .23151E-04   -1.5565    
  18  norm          .10000E-03    1.3717        .13850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.5307        4.4930        .81722E-03   -1.5282    
  20  norm          2.6287        2.6855        .12813E-03   -1.5384    
  21  Prefactor     8.3574        22.384        .13867E-03   -1.5130    
  22  Normalizat    1.6018        .26842        .26473E-03   -.74955    
  23  Prefactor     .72554        .15266        .22089E-03   -1.0253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71266e-10
Minuit parameter uncertainties:
  1  0.000199101
  2  26.2524
  3  21.0717
  4  9.23836
  5  4.60466e-05
  6  3.48484e-05
  7  1.62566e-06
  8  7.18507
  9  9.92558e-05
  10  31.5353
  11  0.000274258
  12  8.72893e-05
  13  0.000523891
  14  12.9805
  15  2.50325e-05
  16  0.000200334
  17  0.218512
  18  6.02119e-06
  19  4.49337
  20  2.68559
  21  22.4067
  22  0.268659
  23  0.152752
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  2.743e-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:  7.255e-01  1.528e-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.602e+00  2.687e-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.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712343/likelihoodResults_321753601_322012801_4FGL_J1442.2+0622_daily_bin318.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) = 6319.15119934
delta logL = -0.000244141359872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6319.15095543
delta logL = -2.34298568103e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6645       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6019       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72555       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.

 FCN=   6319.151     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      193 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.256        .90712E-02** at limit **
   2  alpha         2.6845        3.6649        .41265       -.56244E-05
   3  Normalizat    1.6019        .21454        .59865E-01    .22211E-05
   4  Prefactor     .72554        .12704        .42740E-01    .22322E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.68452
  Normalizat = 1.60185
  Prefactor  = 0.725538
 **********
 **   18 **HESSE 
 **********

 FCN=   6319.151     FROM HESSE     STATUS=OK            31 CALLS      224 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    19.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6845        3.5920        .16506        .73876E-01
   3  Normalizat    1.6019        .25387        .26473E-03   -.74955    
   4  Prefactor     .72554        .15035        .22089E-03   -1.0253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33111e-11
Minuit parameter uncertainties:
  1  4.08496e-05
  2  2.4951
  3  0.254075
  4  0.150431
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712343': 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) = 6319.15095522
delta logL = -2.97350197798e-08

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  4.085e-05  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.685e+00  2.495e+00  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:  7.255e-01  1.504e-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.602e+00  2.541e-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/712343/cmap_HighResolution_321753601_322012801_4FGL_J1442.2+0622_daily_bin318.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.73e-05', job_status='DONE', photon_flux_upper_limit='7.55e-08', time_completed='2021-09-10 05:55:15.630484', job_id='712343', GAL2='0.73', fit_tolerance='1e-08', EG2='1.60', EG='1.60', time_epoch_completed='1631278515.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='-2.97e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='318' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:55:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 712343: <4FGL_J1442.2+0622_daily_bin318> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin318 220.561 6.3755 321753601 322012801 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 :                                   590.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             234.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

