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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin237
RA = 220.561, Dec = 6.3755
tmin = 300758401, tmax = 301017601
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='712228', job_status='RUN', time_executed='2021-09-10 05:43:32.254009', time_epoch_executed='1631277812.25' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='237'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712228

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712228/ft1_4FGL_J1442.2+0622_daily_bin237.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712228/ft2_4FGL_J1442.2+0622_daily_bin237.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712228/ft1_4FGL_J1442.2+0622_daily_bin237.fits outfile=/scratch/kocevski/712228/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin237.fits ra=220.561 dec=6.3755 rad=12.0 tmin=300758401.0 tmax=301017601.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.49
user 3.27
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712228/ft1_filtered_4FGL_J1442.2+0622_daily_bin237.fits" evtable="EVENTS" scfile=/scratch/kocevski/712228/ft2_4FGL_J1442.2+0622_daily_bin237.fits sctable="SC_DATA" outfile=/scratch/kocevski/712228/ltcube_300758401_301017601_4FGL_J1442.2+0622_daily_bin237.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/712228/ft2_4FGL_J1442.2+0622_daily_bin237.fits
.....................!
real 11.69
user 11.34
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712228/ft1_filtered_4FGL_J1442.2+0622_daily_bin237.fits evtable="EVENTS" scfile=/scratch/kocevski/712228/ft2_4FGL_J1442.2+0622_daily_bin237.fits sctable="SC_DATA" expcube=/scratch/kocevski/712228/ltcube_300758401_301017601_4FGL_J1442.2+0622_daily_bin237.fits outfile=/scratch/kocevski/712228/expmap_300758401_301017601_4FGL_J1442.2+0622_daily_bin237.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/712228/ltcube_300758401_301017601_4FGL_J1442.2+0622_daily_bin237.fits
.....................!
real 191.27
user 185.42
sys 5.36

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/712228/ft1_filtered_4FGL_J1442.2+0622_daily_bin237.fits scfile=/scratch/kocevski/712228/ft2_4FGL_J1442.2+0622_daily_bin237.fits outfile=/scratch/kocevski/712228/cmap_300758401_301017601_4FGL_J1442.2+0622_daily_bin237.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712228/ft1_filtered_4FGL_J1442.2+0622_daily_bin237.fits scfile=/scratch/kocevski/712228/ft2_4FGL_J1442.2+0622_daily_bin237.fits outfile=/scratch/kocevski/712228/cmap_HighResolution_300758401_301017601_4FGL_J1442.2+0622_daily_bin237.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0496       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.077       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10357E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.6724       1.0000         .10000E-03   10000.    
     5 'Prefactor '    48.356       1.0000         .10000E-03   10000.    
     6 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0199       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.8286       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2252       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.701       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.766       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .45626       1.0000         .10000E-03   10000.    
    18 'norm      '    9.1666       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    26.616       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0944       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88079       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=   7327.367     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2591 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0487        13.280        .67338E-05   -.28973E-04
   2  Prefactor     14.081        23.448       -.13653E-05   -.19817E-04
   3  Prefactor     .10000E-03    102.02       -.79225E-06** at limit **
   4  norm          6.6722        6.8615       -.28429E-07   -.28434E-06
   5  Prefactor     48.365        32.050       -.66991E-07    .76189E-05
   6  norm          .10000E-03    9.7099       -.23501E-07** at limit **
   7  Prefactor     3.0167        10.236        .15384E-06    .31525E-05
   8  Prefactor     7.8309        7.5398       -.14866E-06   -.79625E-05
   9  Prefactor     7.1234        86.068       -.21283E-05   -.51203E-04
  10  Prefactor     .10000E-03    79.134       -.10744E-06** at limit **
  11  norm          13.706        19.665        .29505E-05   -.67292E-05
  12  Prefactor     11.772        17.996        .25908E-07   -.83848E-05
  13  Prefactor     .10000E-03    9.0826        .19227E-06** at limit **
  14  Prefactor     .10000E-03    6.2325        .18410E-06** at limit **
  15  Prefactor     .10000E-03    35.638        .48088E-06** at limit **
  16  Prefactor     .10000E-03    17.803        .16968E-06** at limit **
  17  norm          .45628        .17197        .92790E-08   -.90798E-04
  18  norm          9.1664        3.0216       -.35708E-08    .45011E-03
  19  norm          .10000E-03    2.8862        .82860E-07** at limit **
  20  norm          .10003E-03    2.0699       -.61295E-06** at limit **
  21  Prefactor     26.598        36.963        .59585E-07    .58366E-06
  22  Normalizat    1.0942        .21177       -.19625E-06    .17003E-04
  23  Prefactor     .88093        .11951       -.77515E-06    .13565E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.04867
  Prefactor  = 14.0815
  Prefactor  = 0.0001
  norm       = 6.67218
  Prefactor  = 48.3652
  norm       = 0.0001
  Prefactor  = 3.0167
  Prefactor  = 7.83088
  Prefactor  = 7.12338
  Prefactor  = 0.0001
  norm       = 13.7055
  Prefactor  = 11.772
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.456279
  norm       = 9.16642
  norm       = 0.0001
  norm       = 0.000100025
  Prefactor  = 26.5981
  Normalizat = 1.09424
  Prefactor  = 0.880933
 **********
 **   18 **HESSE 
 **********

 FCN=   7327.367     FROM HESSE     STATUS=OK           376 CALLS     2967 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0487        13.309        .89469E-03   -1.5259    
   2  Prefactor     14.081        23.518        .10675E-03   -1.4957    
   3  Prefactor     .10000E-03    103.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.6722        6.8647        .15535E-03   -1.5191    
   5  Prefactor     48.365        32.412        .57665E-04   -1.4316    
   6  norm          .10000E-03    9.7175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0167        10.077        .23353E-03   -1.5361    
   8  Prefactor     7.8309        7.4370        .14331E-03   -1.5148    
   9  Prefactor     7.1234        87.430        .14923E-03   -1.5174    
  10  Prefactor     .10000E-03    79.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.706        19.628        .10821E-03   -1.4967    
  12  Prefactor     11.772        18.003        .11679E-03   -1.5022    
  13  Prefactor     .10000E-03    9.1022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.2647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    36.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .45628        .17125        .20820E-04   -1.5573    
  18  norm          9.1664        2.9816        .79155E-04   -1.5102    
  19  norm          .10000E-03    2.9026        .14202E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10003E-03    9.3018        .22735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     26.598        36.957        .77651E-04   -1.4676    
  22  Normalizat    1.0942        .25580        .30241E-03   -.89937    
  23  Prefactor     .88093        .14287        .19940E-03   -.96811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80896e-09
Minuit parameter uncertainties:
  1  13.3171
  2  23.533
  3  0.000355185
  4  6.86552
  5  32.4234
  6  5.5452e-06
  7  10.0827
  8  7.43783
  9  50.0025
  10  0.000269114
  11  19.6373
  12  18.0111
  13  3.28459e-06
  14  4.157e-06
  15  1.15112e-06
  16  1.03256e-05
  17  0.17125
  18  2.98164
  19  1.60751e-06
  20  0.000970537
  21  36.9891
  22  0.256086
  23  0.14293
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.371e+01  1.964e+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.809e-01  1.429e-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.094e+00  2.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/712228/likelihoodResults_300758401_301017601_4FGL_J1442.2+0622_daily_bin237.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) = 7326.63289207
delta logL = 0.733970003509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7326.62405007
delta logL = 0.742812004692

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6275       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8080       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0415       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89745       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7326.624     FROM MIGRAD    STATUS=FAILED        86 CALLS      286 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6258        14.325        .15156E-03    .56634E-04
   2  alpha         3.8085        1.2749        .14224E-01    .26741E-03
   3  Normalizat    1.0415        .24063        .30883E-03   -.25890E-03
   4  Prefactor     .89742        .14226        .19762E-03   -.45210E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7326.624     FROM SIMPLEX   STATUS=UNCHANGED     70 CALLS      356 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6258        14.325        .20932E-03   -1.5234    
   2  alpha         3.8085        1.2749        .23211E-02    .55085    
   3  Normalizat    1.0415        .24063        .26310E-03   -.91651    
   4  Prefactor     .89742        .14226        .21638E-03   -.96231    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7326.624     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      385 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6257        9.9329        .60623E-05   -.44632E-04
   2  alpha         3.8085        .91555        .28447E-02    .40683E-05
   3  Normalizat    1.0415        .24003        .12353E-04   -.93318E-04
   4  Prefactor     .89742        .14180        .39525E-04   -.16131E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.62572
  alpha      = 3.80854
  Normalizat = 1.04154
  Prefactor  = 0.897424
 **********
 **   18 **HESSE 
 **********

 FCN=   7326.624     FROM HESSE     STATUS=OK            23 CALLS      408 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6257        9.4480        .12125E-05   -1.5234    
   2  alpha         3.8085        .87323        .11379E-03    .55086    
   3  Normalizat    1.0415        .24003        .24707E-05   -.91651    
   4  Prefactor     .89742        .14178        .79050E-05   -.96231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47714e-11
Minuit parameter uncertainties:
  1  9.45051
  2  0.89975
  3  0.240281
  4  0.141841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712228': 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) = 7326.62404955
delta logL = 0.742812521244

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  5.626e+00  9.451e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  3.809e+00  8.998e-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.974e-01  1.418e-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.042e+00  2.403e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.13
Ra Dec: 220.561 6.375
Photon Index (Free Index): 3.81 +/- 0.90
Photon Flux (Free Index): 6.80e-08 +/- 5.75e-08
Energy Flux (Free Index): 1.36e-05 +/- 1.09e-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/712228/cmap_HighResolution_300758401_301017601_4FGL_J1442.2+0622_daily_bin237.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-05', comment='SUCCESS', energy_flux2='1.36e-05', dlogl='7.43e-01', photon_flux2='6.80e-08', job_status='DONE', time_completed='2021-09-10 05:54:15.888841', photon_index_error2='0.90', photon_index2='3.81', ts='0.60', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='9.49e-08', energy_flux_error2='1.09e-05', EG='1.09', time_epoch_completed='1631278455.89', return_code='0', job_id='712228', GAL2='0.90', EG2='1.04', return_code2='0', photon_flux_error2='5.75e-08', ts2='2.13', photon_index='2.70' WHERE bin_id='237' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:54:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 712228: <4FGL_J1442.2+0622_daily_bin237> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin237 220.561 6.3755 300758401 301017601 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 :                                   640.43 sec.
    Max Memory :                                 1097 MB
    Average Memory :                             319.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            784 sec.

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

